Age | Commit message (Collapse) | Author |
|
|
|
DrawRoadVehImage.
|
|
functions
|
|
Is/Set/HasArticulatedPart member of RoadVehicle.
|
|
constructor will zero the whole class. This caused all vehicle indices to be 0, which causes all kinds of trouble.
|
|
instead of constructor of each vehicle type
|
|
|
|
for all vehicle types
|
|
struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.
|
|
|
|
|
|
|
|
was deleted
|
|
|
|
|
|
show the clone/refit button when the vehicle was not completely stopped in the depot.
|
|
primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
|
|
WindowClass lookup
|
|
using correct types and less duplication.
|
|
|
|
road vehicles.
|
|
unneeded inclusions of engine.h and/or replace them with engine_type.h.
|
|
vehicles' running cost, and show running cost of wagons if they have it.
|
|
with an OnNewDay method in the Vehicle class
|
|
needed.
|
|
useless includes.
|
|
their respective places.
|
|
Vehicle::first pointer correctly set.
|
|
Vehicle->SetNext() so we can trap instances that change a next pointer and (in the future) update the first/previous pointers based on that.
|
|
a depot.
|
|
determined. Patch by nycom.
|
|
a vehicle. Patch by nycom.
|
|
CcClone(Aircraft|RoadVeh|Ship|Train) in favour of CcCloneVehicle.
|
|
same forwat so we can display it.
|
|
|
|
type *var.
|
|
Tick method in the Vehicle class.
|
|
Get(Aircraft|RoadVeh|Ship|Train)Image.
|
|
callbacks 11 and 17 for
road vehicles for those who prefer the technical explanation.
|
|
individual checks depending on the vehicle type.
|
|
|
|
|
|
|
|
|
|
nicer/better maintainable code, i.e. virtual methods instead of switches.
|
|
|
|
|
|
coding style (and rest of the code).
|
|
Note: now all build vehicle windows are merged into build_vehicle_gui.cpp
|
|
- A proper ./configure, so everything needs to be configured only once, not for every make.
- Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies.
- A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC.
- Proper support for OSX universal binaries.
- Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files.
- Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files.
Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.
|