smatz
|
f1c0555d2e
|
(svn r13816) -Fix [FS#2150]: check for vehicle length changes outside a depot (callback 0x11) and give a warning about that
|
16 years ago |
smatz
|
cf4aff4a86
|
(svn r13806) -Fix [FS#2162]: checking for train waiting at other side of two-way signal was broken
|
16 years ago |
smatz
|
a47b118a80
|
(svn r13691) -Codechange: make it easier to determine whether a command is ran in the context of autoreplace or not
|
16 years ago |
peter1138
|
7d877c0c05
|
(svn r13507) -Fix (r12856): first engine change should've been moved too
|
17 years ago |
smatz
|
506cde94b6
|
(svn r13456) -Codechange: use AllocaM() macro instead of alloca() at most places
|
17 years ago |
glx
|
b60a1326bf
|
(svn r13390) -Codechange: introduce usererror() for fatal but not openttd related errors. Now all error() will 'crash' openttd after showing the message in win32 releases (MSVC), creating a crash.log and crash.dmp (like the '!' hack used before). On the other hand, usererror() will just close the game. So use error() only when it can be helpful to debugging, else use usererror().
|
17 years ago |
rubidium
|
e7a501100a
|
(svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
|
17 years ago |
rubidium
|
d289464d69
|
(svn r13255) -Codechange: move _opt to _settings.
|
17 years ago |
rubidium
|
dc77647ea4
|
(svn r13251) -Codechange: rename _patches to _settings as that is more logic.
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
|
17 years ago |
peter1138
|
42f78d2fc3
|
(svn r13205) -Codechange: Remove unnecessary code-style-buggering-up macro.
|
17 years ago |
rubidium
|
3ee2556585
|
(svn r13165) -Codechange: replace some RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData.
|
17 years ago |
rubidium
|
ad6e52080c
|
(svn r13140) -Codechange: move the gui-list-sorting out of window_gui.h so window_gui.h only needs to be included in *_gui.cpp.
|
17 years ago |
rubidium
|
373343cef6
|
(svn r13100) -Codechange: reduce the amount of parameters passed via AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls.
|
17 years ago |
smatz
|
2be223fc03
|
(svn r13090) -Codechange: add functions for direct conversion from DiagDirection to Track and Trackbits
|
17 years ago |
smatz
|
9b8d16b7ff
|
(svn r13088) -Codechange: use SigSegState enum instead of bool variable (michi_cc)
|
17 years ago |
peter1138
|
839070028e
|
(svn r13074) -Fix: For multiheaded engines, halve power and running cost when used instead of when loading, to allow callback values to work properly.
|
17 years ago |
rubidium
|
8796331d83
|
(svn r12975) -Codechange: replace DeleteWindow(w) with delete w.
|
17 years ago |
rubidium
|
1ce0b03bf0
|
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
|
17 years ago |
peter1138
|
45034bc522
|
(svn r12924) -Feature: Introducing the so called 'engine pool' which primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
|
17 years ago |
peter1138
|
6ac8ced9af
|
(svn r12860) -Fix [FS#1947]: Train depart animation trigger was not called in some cases.
|
17 years ago |
peter1138
|
7c8fe9791b
|
(svn r12856) -Fix: Taking r12377 further, ensure that prop 25 is set for all vehicles in the consist before other properties.
|
17 years ago |
peter1138
|
a05e9b4c6b
|
(svn r12824) -Codechange: Standardise routines for drawing vehicle images, using correct types and less duplication.
|
17 years ago |
rubidium
|
e947fde701
|
(svn r12819) -Codechange: handle more NewGRFs in the same way as TTDP does it, i.e. testing the low bits for 0xFF or 0 instead of all bits.
|
17 years ago |
rubidium
|
bbe13a0623
|
(svn r12818) -Codechange: make callbacks 31 and 37 behave like they do in TTDP according to frosch's survey.
|
17 years ago |
rubidium
|
8186344628
|
(svn r12804) -Codechange: move the effect vehicle handling out of vehicle.cpp
|
17 years ago |
rubidium
|
40b19f3997
|
(svn r12803) -Cleanup: rename SpecialVehicle to EffectVehicle to have a uniform naming of the thing instead of using both names for the same thing.
|
17 years ago |
peter1138
|
3b7558b89c
|
(svn r12798) -Feature: Add some support for NewGRF station animation. (Thanks to mart3p for samples and fixes)
|
17 years ago |
rubidium
|
a63974547b
|
(svn r12795) -Fix [FS#1938]: vehicles could break down during loading and keep loading. The intention of the break down code is not to break down when having zero speed, therefor break downs now do not happen when loading.
|
17 years ago |
rubidium
|
ca1f8fbe2e
|
(svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators.
|
17 years ago |
rubidium
|
6d063c3ad6
|
(svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.
|
17 years ago |
smatz
|
ec588da9e8
|
(svn r12753) -Codechange: do not use IsDepotTypeTile() where simpler function can be used
|
17 years ago |
smatz
|
966e476df8
|
(svn r12745) -Codechange: a bit of naming conventions, introduce Is*DepotTile()
|
17 years ago |
glx
|
90bd1e45eb
|
(svn r12711) -Codechange: remove unneeded loops
|
17 years ago |
rubidium
|
760a57867f
|
(svn r12698) -Codechange: skip orders to stations that do not have a train part anymore, just like is done for road vehicles and ships.
|
17 years ago |
rubidium
|
daf5a2f1bc
|
(svn r12658) -Codechange: unify a vast portion of the CmdSend<VehicleType>ToDepot commands.
|
17 years ago |
rubidium
|
aa8a5b2c39
|
(svn r12657) -Codechange: add 'FindClosestDepot' to the vehicle class.
|
17 years ago |
frosch
|
b91781b715
|
(svn r12629) -Codechange: Split VehicleNeedsService() into Vehicle::NeedsServicing() and Vehicle::NeedsAutomaticServicing().
-Fix (r11052): Disable servicing by service-interval if a vehicle has depot orders.
|
17 years ago |
rubidium
|
cf250390c5
|
(svn r12615) -Codechange: rename some enums related to depot orders to make it more clear that they are no loading/unloading flags. Also add more type strictness.
|
17 years ago |
smatz
|
7dc63836ea
|
(svn r12605) -Cleanup: variable scope and coding style in train*
|
17 years ago |
rubidium
|
53d101cc99
|
(svn r12593) -Codechange: hide Order's flags in most of the code.
|
17 years ago |
rubidium
|
935b562074
|
(svn r12588) -Codechange: do not access the destination of an order directly.
|
17 years ago |
rubidium
|
3b0e3d8d30
|
(svn r12584) -Codechange: do not access the order type directly.
|
17 years ago |
rubidium
|
ed2acd6f3d
|
(svn r12580) -Codechange: merge some logical related to non-stop orders.
|
17 years ago |
rubidium
|
ba0a9538cf
|
(svn r12578) -Codechange: merge the aircrafts ProcessOrder too into the 'unified' ProcessOrder.
|
17 years ago |
rubidium
|
3fdddeac40
|
(svn r12575) -Codechange: unduplicate Process*Orders for trains, ships and road vehicles.
|
17 years ago |
frosch
|
2de802567a
|
(svn r12532) -Cleanup: Replace two tables of magic values with already existing functions.
|
17 years ago |
frosch
|
51155403a4
|
(svn r12531) -Codechange: Rename some variables for consistency.
|
17 years ago |
rubidium
|
df1d9bd880
|
(svn r12490) -Codechange: rename engine.h to engine_func.h and remove unneeded inclusions of engine.h and/or replace them with engine_type.h.
|
17 years ago |
rubidium
|
c51b81c247
|
(svn r12489) -Codechange: split station.h into station_base.h and station_func.h.
|
17 years ago |
rubidium
|
b84b16cfcd
|
(svn r12488) -Codechange: split order.h into order_base.h and order_func.h.
|
17 years ago |