Commit Graph

2482 Commits (2eecf19edb584529802680a48b11bac7b8cde091)

Author SHA1 Message Date
yexo f044ad6f80 (svn r16439) -Change: Make the default vehicle servicing settings company-based settings, so in a multiplayer game everyone can change them. 15 years ago
yexo 0d56cfabfa (svn r16439) -Change: Make the default vehicle servicing settings company-based settings, so in a multiplayer game everyone can change them. 15 years ago
rubidium d39f442bd0 (svn r16434) -Cleanup: remove some dead code; primarily stuff that can't be reached like break after returns or break after functions that never return (i.e. NOT_REACHED) 15 years ago
rubidium e3c5bc8d2e (svn r16434) -Cleanup: remove some dead code; primarily stuff that can't be reached like break after returns or break after functions that never return (i.e. NOT_REACHED) 15 years ago
smatz bebab3cd79 (svn r16407) -Fix [FS#2913]: set CargoPacket::source to INVALID_STATION when source station is deleted 15 years ago
smatz 7854e68b95 (svn r16407) -Fix [FS#2913]: set CargoPacket::source to INVALID_STATION when source station is deleted 15 years ago
smatz 1eb48cdded (svn r16403) -Codechange: move code related to subsidies to separate file 15 years ago
smatz b2aed51f8e (svn r16403) -Codechange: move code related to subsidies to separate file 15 years ago
rubidium cd382b28a3 (svn r16394) -Codechange: move (NewGRF) cache variables into a separate struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier. 15 years ago
rubidium 6237fe1462 (svn r16394) -Codechange: move (NewGRF) cache variables into a separate struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier. 15 years ago
rubidium 4c0542c17f (svn r16393) -Codechange: move VehicleRail to Train. 15 years ago
rubidium da5661a0c8 (svn r16393) -Codechange: move VehicleRail to Train. 15 years ago
rubidium 6350648a6c (svn r16392) -Codechange: move some variables (the ones that aren't caches) from VehicleRail to Train 15 years ago
rubidium c4b627af42 (svn r16392) -Codechange: move some variables (the ones that aren't caches) from VehicleRail to Train 15 years ago
rubidium 1324100d69 (svn r16391) -Codechange: use Train instead of Vehicle where appropriate. 15 years ago
rubidium 80e94b9bb1 (svn r16391) -Codechange: use Train instead of Vehicle where appropriate. 15 years ago
rubidium 489253b630 (svn r16390) -Codechange: move u.road to RoadVehicle. 15 years ago
rubidium 7a37220881 (svn r16390) -Codechange: move u.road to RoadVehicle. 15 years ago
rubidium 1ceb349779 (svn r16389) -Codechange: use RoadVehicle instead of Vehicle where appropriate 15 years ago
rubidium d37b840cf3 (svn r16389) -Codechange: use RoadVehicle instead of Vehicle where appropriate 15 years ago
rubidium 4ae19b7451 (svn r16388) -Codechange: move u.air to Aircraft 15 years ago
rubidium c882248348 (svn r16388) -Codechange: move u.air to Aircraft 15 years ago
rubidium 1e853b1226 (svn r16387) -Codechange: use Aircraft instead of Vehicle where appropriate 15 years ago
rubidium ada3067960 (svn r16387) -Codechange: use Aircraft instead of Vehicle where appropriate 15 years ago
rubidium d40c61749f (svn r16385) -Codechange: move u.disaster to DisasterVehicle. 15 years ago
rubidium 74ea34ca66 (svn r16385) -Codechange: move u.disaster to DisasterVehicle. 15 years ago
rubidium 521c265282 (svn r16384) -Codechange: move u.effect to EffectVehicle 15 years ago
rubidium 6d1c974254 (svn r16384) -Codechange: move u.effect to EffectVehicle 15 years ago
rubidium 86fc432293 (svn r16382) -Codechange: make GetVehicleTrackdir a member function of Vehicle. 15 years ago
rubidium 441011b782 (svn r16382) -Codechange: make GetVehicleTrackdir a member function of Vehicle. 15 years ago
smatz 50624d5c0f (svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved 15 years ago
smatz 62a7948af0 (svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved 15 years ago
smatz 85043a1fb7 (svn r16373) -Codechange: use () instead of (void) for functions without parameters 15 years ago
smatz 6afce484bb (svn r16373) -Codechange: use () instead of (void) for functions without parameters 15 years ago
smatz af57719513 (svn r16357) -Codechange: delete invalid depots in TTD savegames caused by improper SVXConverter conversions 15 years ago
smatz 1e45f4bc4c (svn r16357) -Codechange: delete invalid depots in TTD savegames caused by improper SVXConverter conversions 15 years ago
smatz fe498e21e7 (svn r16353) -Fix (r1): invalid read when OTTD savegame contains VEH_INVALID 15 years ago
smatz a0ff6363e6 (svn r16353) -Fix (r1): invalid read when OTTD savegame contains VEH_INVALID 15 years ago
smatz 512db5248e (svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get() 15 years ago
smatz 8808f3beea (svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get() 15 years ago
smatz 1eca6aefeb (svn r16351) -Fix (r14773): signal handler could end in endless loop 15 years ago
smatz 5fe906e149 (svn r16351) -Fix (r14773): signal handler could end in endless loop 15 years ago
smatz 05db91dc65 (svn r16349) -Codechange: rename IsPlainRailTile() to IsPlainRail(), introduce shiny new IsPlainRailTile() 15 years ago
smatz 0af27062c4 (svn r16349) -Codechange: rename IsPlainRailTile() to IsPlainRail(), introduce shiny new IsPlainRailTile() 15 years ago
rubidium d46d1e706e (svn r16346) -Codechange: don't exploit the pool system in the way done for the saveload pool; it makes writing replacements unnecessarily difficult. And now we've got SmallVector that does more than enough for saving with less lines of 'interface' code. 15 years ago
rubidium 10406e8ad6 (svn r16346) -Codechange: don't exploit the pool system in the way done for the saveload pool; it makes writing replacements unnecessarily difficult. And now we've got SmallVector that does more than enough for saving with less lines of 'interface' code. 15 years ago
smatz 769de62daf (svn r16338) -Codechange: split loading of references to two phases
In the first phase, indexes are stored. In the second phase, indexes are checked for validity and converted to pointers
15 years ago
smatz 570af0ce44 (svn r16338) -Codechange: split loading of references to two phases
In the first phase, indexes are stored. In the second phase, indexes are checked for validity and converted to pointers
15 years ago
smatz 1287f01872 (svn r16335) -Codechange: indenting fixes in saveload.cpp 15 years ago
smatz 76784501a8 (svn r16335) -Codechange: indenting fixes in saveload.cpp 15 years ago
smatz 59e1d05995 (svn r16334) -Codechange: use NeedLength enum 15 years ago
smatz 4876e346d5 (svn r16334) -Codechange: use NeedLength enum 15 years ago
smatz 45f9d334fb (svn r16331) -Codechange: replace _sl.save by an enum 15 years ago
smatz 3322cc978f (svn r16331) -Codechange: replace _sl.save by an enum 15 years ago
rubidium b96770ab84 (svn r16330) -Fix (r16329): we were shortly visited by Mr. Kenobi. 15 years ago
rubidium b23c967230 (svn r16330) -Fix (r16329): we were shortly visited by Mr. Kenobi. 15 years ago
rubidium c0204dc186 (svn r16329) -Fix: possible desync when removing lots of towns in-game (not that we allow removing towns now, but better not have desync prone code lingering around) 15 years ago
rubidium f457cff73c (svn r16329) -Fix: possible desync when removing lots of towns in-game (not that we allow removing towns now, but better not have desync prone code lingering around) 15 years ago
rubidium 57a7313ea5 (svn r16328) -Fix: desync when removing lots of stations 15 years ago
rubidium 6b2f9e8c9e (svn r16328) -Fix: desync when removing lots of stations 15 years ago
smatz 0c10daa243 (svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index) 15 years ago
smatz 871107f529 (svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index) 15 years ago
smatz cf986c3099 (svn r16326) -Codechange: replace GetPoolItemPoolSize() by PoolItem::GetPoolSize() 15 years ago
smatz ed1e54bd84 (svn r16326) -Codechange: replace GetPoolItemPoolSize() by PoolItem::GetPoolSize() 15 years ago
smatz d495dc5dbc (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) 15 years ago
smatz 6221d74644 (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) 15 years ago
smatz 3d5ca93674 (svn r16320) -Fix (r11939): loading of savegames created in revision between 0.3.5 and 0.3.6 caused crash 15 years ago
smatz aff7a9e953 (svn r16320) -Fix (r11939): loading of savegames created in revision between 0.3.5 and 0.3.6 caused crash 15 years ago
yexo d489f93473 (svn r16315) -Codechange: move the autorenew settings to a new CompanySettings struct 15 years ago
yexo 31eff1d4c3 (svn r16315) -Codechange: move the autorenew settings to a new CompanySettings struct 15 years ago
smatz ce7dff4acc (svn r16269) -Codechange: use gcc's ability to check parameters sent to printf-like functions
-Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places
15 years ago
smatz f5316c5cbd (svn r16269) -Codechange: use gcc's ability to check parameters sent to printf-like functions
-Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places
15 years ago
rubidium 241af768f0 (svn r16242) -Codechange: rework pausing
-Fix [FS#2864]: autopause and manual pausing conflict with eachother
-Fix: new game + pause on new game + autopause make the game not unpause on the first join
15 years ago
rubidium 2664f2a2d9 (svn r16242) -Codechange: rework pausing
-Fix [FS#2864]: autopause and manual pausing conflict with eachother
-Fix: new game + pause on new game + autopause make the game not unpause on the first join
15 years ago
rubidium 57841b93a4 (svn r16214) -Fix [FS#2878]: shared orders without orders weren't properly converted causing corrupt/invalid orders when loading pre 0.7 savegames. 15 years ago
rubidium 73fd0db237 (svn r16214) -Fix [FS#2878]: shared orders without orders weren't properly converted causing corrupt/invalid orders when loading pre 0.7 savegames. 15 years ago
rubidium 8d3b681b6b (svn r16133) -Fix (r16129): who would've thought that the saveload system couldn't handle skipping strings on load yet? 15 years ago
rubidium d21f406b03 (svn r16133) -Fix (r16129): who would've thought that the saveload system couldn't handle skipping strings on load yet? 15 years ago
rubidium ca04dc1916 (svn r16129) -Feature-ish: configurable digit group separator per language with user override. 15 years ago
rubidium ff05dc8446 (svn r16129) -Feature-ish: configurable digit group separator per language with user override. 15 years ago
rubidium 5c5b357043 (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. 15 years ago
rubidium 59d45a04d6 (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. 15 years ago
rubidium 4c707c7414 (svn r16037) -Feature: allow (per order) to let a train stop at the near end, middle or far end of a platform from the point of view of the driver of the train that enters the station. 15 years ago
rubidium 5790293af6 (svn r16037) -Feature: allow (per order) to let a train stop at the near end, middle or far end of a platform from the point of view of the driver of the train that enters the station. 15 years ago
glx ec704b21ca (svn r15893) -Add: watermark crash.sav and don't generate crash information if a loaded crash.sav causes a crash 15 years ago
glx 75c99d8b9b (svn r15893) -Add: watermark crash.sav and don't generate crash information if a loaded crash.sav causes a crash 15 years ago
peter1138 b23d16d76f (svn r15799) -Codechange: Save rail type label list to savegame and perform mapping on load if necessary. 16 years ago
peter1138 3abddfe705 (svn r15799) -Codechange: Save rail type label list to savegame and perform mapping on load if necessary. 16 years ago
smatz 2168f2f4b9 (svn r15727) -Codechange: apply coding style to namegen arrays
-Fix (r1307): missing comma in _name_original_english_4
16 years ago
smatz 36dfa1f21e (svn r15727) -Codechange: apply coding style to namegen arrays
-Fix (r1307): missing comma in _name_original_english_4
16 years ago
rubidium c3e87f345d (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 16 years ago
rubidium b25a4f8231 (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 16 years ago
rubidium f3e0fd7416 (svn r15711) -Codechange: lots of whitespace cleanup/fixes 16 years ago
rubidium 9d018723b7 (svn r15711) -Codechange: lots of whitespace cleanup/fixes 16 years ago
belugas aa441cd4d7 (svn r15695) -Feature [FS#2672]: Allow the number of towns that will be generated in the generate world window to be customized.
Some warnings: 
-the maximum number of towns to be accepted is set to 5000
-the minimum number of towns to be accepted is set to 1
-the number that is specified is NOT guaranteed to be the exact number of towns generated.  The normal mechanism of town creation has not been modified.  So town placement can still fail.
-setting a custom number of town will change your difficulty settings to custom as well
16 years ago
belugas f6e4bc765a (svn r15695) -Feature [FS#2672]: Allow the number of towns that will be generated in the generate world window to be customized.
Some warnings: 
-the maximum number of towns to be accepted is set to 5000
-the minimum number of towns to be accepted is set to 1
-the number that is specified is NOT guaranteed to be the exact number of towns generated.  The normal mechanism of town creation has not been modified.  So town placement can still fail.
-setting a custom number of town will change your difficulty settings to custom as well
16 years ago
rubidium 0ca15db98f (svn r15678) -Fix (r15676): crash when (re)applying newgrf settings 16 years ago
rubidium f67e2a41ce (svn r15678) -Fix (r15676): crash when (re)applying newgrf settings 16 years ago
rubidium b003536ea8 (svn r15676) -Codechange: remove the need for BeginVehicleMove and merge VehiclePositionChanged and EndVehicleMove. 16 years ago
rubidium 655b0ccc2e (svn r15676) -Codechange: remove the need for BeginVehicleMove and merge VehiclePositionChanged and EndVehicleMove. 16 years ago
rubidium 9d0c77b123 (svn r15672) -Codechange: (left,right,top,bottom)_coord -> coord.(left,right,top,bottom), i.e. use Rect. 16 years ago
rubidium fb2ea6c9ed (svn r15672) -Codechange: (left,right,top,bottom)_coord -> coord.(left,right,top,bottom), i.e. use Rect. 16 years ago
frosch 959c297fb9 (svn r15645) -Fix (r12924)[FS#2612]: Add an EngineOverrideManager to give the term 'compatible newgrf' again some sense and to not crash because of trivial changes. 16 years ago
frosch 987e72f4f2 (svn r15645) -Fix (r12924)[FS#2612]: Add an EngineOverrideManager to give the term 'compatible newgrf' again some sense and to not crash because of trivial changes. 16 years ago
smatz f5b24edc1e (svn r15642) -Codechange: use a default parameter value in CalcClosestTownFromTile 16 years ago
smatz 7c8474da13 (svn r15642) -Codechange: use a default parameter value in CalcClosestTownFromTile 16 years ago
rubidium 34bd9ee636 (svn r15626) -Fix [FS#2698]: UTF8 string handling could cause buffer overruns. 16 years ago
rubidium 86ca408d46 (svn r15626) -Fix [FS#2698]: UTF8 string handling could cause buffer overruns. 16 years ago
rubidium a6ca7b8237 (svn r15610) -Change: allow loading of heightmaps and savegames (any form) that are in .tar files 16 years ago
rubidium 0d8da02ec1 (svn r15610) -Change: allow loading of heightmaps and savegames (any form) that are in .tar files 16 years ago
rubidium 9f2a906bc1 (svn r15601) -Fix [FS#2615]: bridges/tunnels don't store tram owner making it possible to remove someone's tram tracks.
-Feature: allow building road stops on road/tram tracks of competitors.
16 years ago
rubidium 7831346ef8 (svn r15601) -Fix [FS#2615]: bridges/tunnels don't store tram owner making it possible to remove someone's tram tracks.
-Feature: allow building road stops on road/tram tracks of competitors.
16 years ago
smatz e7c2479216 (svn r15588) -Fix: change owner of waypoints and deleted stations when merging companies or when a company benkrupts 16 years ago
smatz 3fdac6f702 (svn r15588) -Fix: change owner of waypoints and deleted stations when merging companies or when a company benkrupts 16 years ago
yexo b8601d903d (svn r15584) -Codechange: Move several variables from variables.h to more appropriate headers. 16 years ago
yexo fb7b0536e7 (svn r15584) -Codechange: Move several variables from variables.h to more appropriate headers. 16 years ago
rubidium 1f028894b5 (svn r15532) -Fix (r15525): don't try to load (and forget) AI data from a non-existing AI when joining a server. In other words: you can join network servers again. 16 years ago
rubidium c4fb879561 (svn r15532) -Fix (r15525): don't try to load (and forget) AI data from a non-existing AI when joining a server. In other words: you can join network servers again. 16 years ago
yexo 5223212624 (svn r15528) -Fix (r15525): Check should be the other way around (thanks SmatZ). 16 years ago
yexo ef67e59145 (svn r15528) -Fix (r15525): Check should be the other way around (thanks SmatZ). 16 years ago
yexo 8d4fed85e9 (svn r15525) -Fix: Don't try to find the AIs the server runs when joining a mp server. 16 years ago
yexo 2fdc395d45 (svn r15525) -Fix: Don't try to find the AIs the server runs when joining a mp server. 16 years ago
smatz b83b58dd54 (svn r15500) -Fix (r12648): pre-0.5 OTTD stored new_nonstop and full_load_any in a different way, savegame conversion wasn't working for them 16 years ago
smatz b9b14bd803 (svn r15500) -Fix (r12648): pre-0.5 OTTD stored new_nonstop and full_load_any in a different way, savegame conversion wasn't working for them 16 years ago
peter1138 4b1728079c (svn r15436) -Codechange: Return index of station spec within station class as a return parameter of GetCustomStationSpecByGrf(), as the index is already known. Saves on an extra loop and an extern... 16 years ago
peter1138 ad30a3c4ca (svn r15436) -Codechange: Return index of station spec within station class as a return parameter of GetCustomStationSpecByGrf(), as the index is already known. Saves on an extra loop and an extern... 16 years ago
rubidium 89e1afdaa0 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 16 years ago
rubidium c0a8d09ca7 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 16 years ago
rubidium 66cb1fe1ff (svn r15423) -Codechange: split widget related types to their own header and add a bit of type strictness. 16 years ago
rubidium 9907742a0f (svn r15423) -Codechange: split widget related types to their own header and add a bit of type strictness. 16 years ago
rubidium 283b3d16ab (svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability. 16 years ago
rubidium 377ce6c5bf (svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability. 16 years ago
peter1138 bf42e60bba (svn r15407) -Codechange: When loading a save game with an invalid pool index, report the problem (invalid index) rather than an impossible symptom (too many items), and report it in game instead of causing a crash. 16 years ago
peter1138 5f8c2b1b4e (svn r15407) -Codechange: When loading a save game with an invalid pool index, report the problem (invalid index) rather than an impossible symptom (too many items), and report it in game instead of causing a crash. 16 years ago
smatz 3a8d57816a (svn r15340) -Fix [FS#2121]: changing town road layout in-game caused ugly road networks
-Fix: use a flag instead of TL_NO_ROADS to forbid towns to build roads. The flag is ignored during world generation, so there won't be 'ghost' towns anymore
-Feature: town layout is now stored per town, so it is possible to (manually) set different layout for each town
16 years ago
smatz 832e392855 (svn r15340) -Fix [FS#2121]: changing town road layout in-game caused ugly road networks
-Fix: use a flag instead of TL_NO_ROADS to forbid towns to build roads. The flag is ignored during world generation, so there won't be 'ghost' towns anymore
-Feature: town layout is now stored per town, so it is possible to (manually) set different layout for each town
16 years ago
frosch 4b0223976f (svn r15304) -Fix [FS#2587]: When loading savegames use the roadtype of the front vehicles just like it is done on construction. 16 years ago
frosch 2afa9312fc (svn r15304) -Fix [FS#2587]: When loading savegames use the roadtype of the front vehicles just like it is done on construction. 16 years ago
smatz c71949729e (svn r15303) -Fix (r12381): desync if a GRF used town's last month max. pass/mail 16 years ago
smatz 16b9dcd0ea (svn r15303) -Fix (r12381): desync if a GRF used town's last month max. pass/mail 16 years ago
smatz 9021c20b5e (svn r15299) -Cleanup: remove many redundant includes 16 years ago
smatz 0d3f5e6e74 (svn r15299) -Cleanup: remove many redundant includes 16 years ago
belugas a57c73e2f9 (svn r15290) -Codechange: Isolate size and section of the UnMovable HQ object, in order to keep the Unmovable type free of any irrelevant data 16 years ago
belugas 3671ed9e4f (svn r15290) -Codechange: Isolate size and section of the UnMovable HQ object, in order to keep the Unmovable type free of any irrelevant data 16 years ago
rubidium 4e0505633d (svn r15287) -Cleanup: some code style, remove erroneous comment.
-Document: the fact that zlib reads uninitialised data (valgrind notices this) and that it won't be fixed in zlib and that we can't do anything about it except ignoring it.
16 years ago
rubidium 7d64441008 (svn r15287) -Cleanup: some code style, remove erroneous comment.
-Document: the fact that zlib reads uninitialised data (valgrind notices this) and that it won't be fixed in zlib and that we can't do anything about it except ignoring it.
16 years ago
smatz 7bc60a19d0 (svn r15274) -Fix (r8705): oldloader wasn't updated to use 64bit airport_flags 16 years ago
smatz 562299d809 (svn r15274) -Fix (r8705): oldloader wasn't updated to use 64bit airport_flags 16 years ago
peter1138 280fb99f62 (svn r15272) -Codechange: Check that engine types of vehicles are valid and for the correct type on loading a game. This prevents a crash/assertion failure if required NewGRFs are not available. This won't make the game playable, but will let you see what NewGRFs are required. 16 years ago
peter1138 7afd506301 (svn r15272) -Codechange: Check that engine types of vehicles are valid and for the correct type on loading a game. This prevents a crash/assertion failure if required NewGRFs are not available. This won't make the game playable, but will let you see what NewGRFs are required. 16 years ago
smatz adb5eac77e (svn r15257) -Cleanup: remove Company::is_noai, it is not needed anymore 16 years ago
smatz dbc4a8b331 (svn r15257) -Cleanup: remove Company::is_noai, it is not needed anymore 16 years ago
smatz 8654925923 (svn r15256) -Fix (r15027): use of uninitialised variable while saving/loading game with AIs 16 years ago
smatz 4493bd03e3 (svn r15256) -Fix (r15027): use of uninitialised variable while saving/loading game with AIs 16 years ago
smatz aeceef9437 (svn r15251) -Fix (r15249): trains from 0.2.0-0.3.0 could be in 'stopping' state instead of 'stopped' (this problem doesn't affect trains in depot) 16 years ago
smatz 12bcc254c8 (svn r15251) -Fix (r15249): trains from 0.2.0-0.3.0 could be in 'stopping' state instead of 'stopped' (this problem doesn't affect trains in depot) 16 years ago
smatz 6a147caa25 (svn r15249) -Fix [FS#2576]: force trains from old (and other vehicles from 'recent') savegames to have zero cur_speed while stopped (cooperation with frosch123) 16 years ago
smatz 8278fc2149 (svn r15249) -Fix [FS#2576]: force trains from old (and other vehicles from 'recent') savegames to have zero cur_speed while stopped (cooperation with frosch123) 16 years ago
smatz 59be733b1b (svn r15248) -Fix [FS#2561]: we require v->cur_speed to be zero for wagons and non-front engines 16 years ago
smatz 3964b2dd8c (svn r15248) -Fix [FS#2561]: we require v->cur_speed to be zero for wagons and non-front engines 16 years ago
Yexo 2ce1c074b9 (svn r15239) -Fix [FS#2579]: The start date of random AIs was not stored in the config file or the savegame. 16 years ago
Yexo 757b11325b (svn r15239) -Fix [FS#2579]: The start date of random AIs was not stored in the config file or the savegame. 16 years ago
smatz 0e8a5bc908 (svn r15230) -Fix (r1): aircraft could have zero speed while in air after loading old savegame 16 years ago
smatz 789fa42f52 (svn r15230) -Fix (r1): aircraft could have zero speed while in air after loading old savegame 16 years ago
smatz bba42dc0fe (svn r15227) -Fix [FS#2571](r1): aircraft could be 'loading in the air' after converting old savegames 16 years ago
smatz e3cc807c7a (svn r15227) -Fix [FS#2571](r1): aircraft could be 'loading in the air' after converting old savegames 16 years ago
smatz 3126914f36 (svn r15223) -Codechange: move GetOldTownName to oldloader_sl.cpp as it is specific to loading of TTO/TTD savegames 16 years ago
smatz 042d7800d0 (svn r15223) -Codechange: move GetOldTownName to oldloader_sl.cpp as it is specific to loading of TTO/TTD savegames 16 years ago
rubidium 93b8a6fb3e (svn r15220) -Fix (r15216): signedness warning 16 years ago
rubidium 67a2dd12e8 (svn r15220) -Fix (r15216): signedness warning 16 years ago
Yexo c4cc8712af (svn r15219) -Fix (r15216): MSVC failed to find the proper casts. 16 years ago
Yexo c8cbdc17d3 (svn r15219) -Fix (r15216): MSVC failed to find the proper casts. 16 years ago
smatz f0ff90d71c (svn r15216) -Feature: native support for Transport Tycoon (Original) savegames. Based on SVXConverter's source code and documentation by Roman Vetter 16 years ago
smatz 6dffd8ae82 (svn r15216) -Feature: native support for Transport Tycoon (Original) savegames. Based on SVXConverter's source code and documentation by Roman Vetter 16 years ago
smatz 50956b4f7a (svn r15211) -Fix (r15190): loading of TTD savegames was broken 16 years ago
smatz 3852ae1264 (svn r15211) -Fix (r15190): loading of TTD savegames was broken 16 years ago
Yexo e3c69b7c4e (svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map. 16 years ago
Yexo db3ee34b44 (svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map. 16 years ago
smatz 470437df70 (svn r15189) -Cleanup: remove unused includes 16 years ago
smatz 5e7669b539 (svn r15189) -Cleanup: remove unused includes 16 years ago
smatz 5c96749471 (svn r15183) -Fix: stand-alone rail tiles with invalid owner were not removed. Also, make the whole check a bit more intelligent. 16 years ago
smatz 376edabb65 (svn r15183) -Fix: stand-alone rail tiles with invalid owner were not removed. Also, make the whole check a bit more intelligent. 16 years ago
smatz 8c07295dad (svn r15181) -Fix (r15180): of course it is enough to update aircraft once... 16 years ago
smatz 3511218e37 (svn r15181) -Fix (r15180): of course it is enough to update aircraft once... 16 years ago
smatz f8ef801281 (svn r15180) -Fix [FS#2560](r8498): old aircraft have to be updated after updating airport_type of oil rigs 16 years ago
smatz 90381d5d63 (svn r15180) -Fix [FS#2560](r8498): old aircraft have to be updated after updating airport_type of oil rigs 16 years ago
smatz 15e783afa0 (svn r15179) -Fix [FS#2560](r12096): removing of leftover level crossings (from very old savegames) failed 16 years ago
smatz 5aa1171988 (svn r15179) -Fix [FS#2560](r12096): removing of leftover level crossings (from very old savegames) failed 16 years ago
smatz 8d3f0dee85 (svn r15174) -Codechange: split oldloader.cpp 16 years ago
smatz 49c5c71348 (svn r15174) -Codechange: split oldloader.cpp 16 years ago
smatz d6b7c11dd9 (svn r15173) -Codechange: shuffle a few lines of code in oldloader.cpp 16 years ago
smatz c8e26be649 (svn r15173) -Codechange: shuffle a few lines of code in oldloader.cpp 16 years ago
smatz 6e6bab2b45 (svn r15170) -Fix: vehicle value is 64bit now, oldloader was reading it as 32bit 16 years ago
smatz 38afe1fe3f (svn r15170) -Fix: vehicle value is 64bit now, oldloader was reading it as 32bit 16 years ago
smatz 2a2aa282e5 (svn r15169) -Revert (r11271): it was broken by r12924, and the issue is fixed again in r12948 in a cleaner way 16 years ago
smatz 091d82470b (svn r15169) -Revert (r11271): it was broken by r12924, and the issue is fixed again in r12948 in a cleaner way 16 years ago
smatz 5dc32bb262 (svn r15168) -Codechange: use only really basic map accessors in oldloader.cpp, shuffle the code a bit 16 years ago
smatz 7a13ade405 (svn r15168) -Codechange: use only really basic map accessors in oldloader.cpp, shuffle the code a bit 16 years ago
smatz e7af36ae79 (svn r15166) -Codechange: reduce number of includes in afterload.cpp 16 years ago
smatz a9a8bb3590 (svn r15166) -Codechange: reduce number of includes in afterload.cpp 16 years ago
rubidium 202aeb8306 (svn r15158) -Cleanup: remove some unused/unneeded cruft from the thread generalisation. 16 years ago
rubidium bb77071749 (svn r15158) -Cleanup: remove some unused/unneeded cruft from the thread generalisation. 16 years ago
Yexo e84ff99a8b (svn r15148) -Cleanup: Remove the options "competitor start time" and "competitor intelligence" from the difficulty options because they already were unused. 16 years ago
Yexo 8fabd3982d (svn r15148) -Cleanup: Remove the options "competitor start time" and "competitor intelligence" from the difficulty options because they already were unused. 16 years ago
glx 80af9b446a (svn r15147) -Fix (r15146): compile before commit 16 years ago
glx ee1331bb46 (svn r15147) -Fix (r15146): compile before commit 16 years ago
smatz a7fc02a900 (svn r15146) -Fix: show savegame name even when opening it failed 16 years ago
smatz 0e83fb37c0 (svn r15146) -Fix: show savegame name even when opening it failed 16 years ago
smatz 14834e67cb (svn r15145) -Fix: crash when one tried to load a TTO savegame
-Fix (r15144): it wasn't safe at all, but the code broken code isn't needed anymore
16 years ago
smatz a337c47d4f (svn r15145) -Fix: crash when one tried to load a TTO savegame
-Fix (r15144): it wasn't safe at all, but the code broken code isn't needed anymore
16 years ago
smatz 575a3a4563 (svn r15144) -Codechange: make sure we don't run out of bounds while determining old savegame name
Note this can't happen in current code
16 years ago
smatz 3bceaf41b4 (svn r15144) -Codechange: make sure we don't run out of bounds while determining old savegame name
Note this can't happen in current code
16 years ago
smatz 9cc64bfa21 (svn r15137) -Fix (r11822)(r14340): signs with sign 'Sign' were lost when converting from TTD savegames 16 years ago
smatz 52e0c6fd35 (svn r15137) -Fix (r11822)(r14340): signs with sign 'Sign' were lost when converting from TTD savegames 16 years ago
smatz bd14084f40 (svn r15116) -Fix (r1): company money weren't correctly converted from TTD(P) savegames 16 years ago
smatz e77462a866 (svn r15116) -Fix (r1): company money weren't correctly converted from TTD(P) savegames 16 years ago
smatz ca45774160 (svn r15077) -Codechange: enumify DAYS_IN_YEAR and DAYS_IN_LEAP_YEAR
-Change: when computing daily running cost, divide by 365 (instead of 364). Since r12134, the rounding errors don't need this correction anymore
16 years ago
smatz e00cf92f47 (svn r15077) -Codechange: enumify DAYS_IN_YEAR and DAYS_IN_LEAP_YEAR
-Change: when computing daily running cost, divide by 365 (instead of 364). Since r12134, the rounding errors don't need this correction anymore
16 years ago
truebrain e05d2ef453 (svn r15075) -Fix: store _next_competitor_start as uint32, else it might overflow for values > 2.4 years 16 years ago
truebrain 89da8820e5 (svn r15075) -Fix: store _next_competitor_start as uint32, else it might overflow for values > 2.4 years 16 years ago
truebrain 5573d9a459 (svn r15045) -Add [NoAI API CHANGE]: in info.nut you can now have (optional) a CanLoadFromVersion(version), which should return true/false, to indicate if you can load a savegame made with your AI of version 'version'
-Add [NoAI API CHANGE]: in main.nut the Load() function now should be Load(version, data), where 'version' is the version of your AI which made the savegame
-Codechange [NoAI]: various of function renames to make things more sane
-Add [NoAI]: push the 'version' of the AI through various of layers
-Codechange [NoAI]: various of code cleanups
-Add [NoAI]: store the version of the AI in the savegame too
16 years ago
truebrain bcbbf2c366 (svn r15045) -Add [NoAI API CHANGE]: in info.nut you can now have (optional) a CanLoadFromVersion(version), which should return true/false, to indicate if you can load a savegame made with your AI of version 'version'
-Add [NoAI API CHANGE]: in main.nut the Load() function now should be Load(version, data), where 'version' is the version of your AI which made the savegame
-Codechange [NoAI]: various of function renames to make things more sane
-Add [NoAI]: push the 'version' of the AI through various of layers
-Codechange [NoAI]: various of code cleanups
-Add [NoAI]: store the version of the AI in the savegame too
16 years ago
truebrain c2406cd42d (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see.
NoAI is an API (a framework) to build your own AIs in. See:
   http://wiki.openttd.org/wiki/index.php/AI:Main_Page
 With many thanks to:
  - glx and Rubidium for their syncing, feedback and hard work
  - Yexo for his feedback, patches, and AIs which tested the system very deep
  - Morloth for his feedback and patches
  - TJIP for hosting a challenge which kept NoAI on track
  - All AI authors for testing our AI API, and all other people who helped in one way or another
-Remove: all old AIs and their cheats/hacks
16 years ago
truebrain a3dd7506d3 (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see.
NoAI is an API (a framework) to build your own AIs in. See:
   http://wiki.openttd.org/wiki/index.php/AI:Main_Page
 With many thanks to:
  - glx and Rubidium for their syncing, feedback and hard work
  - Yexo for his feedback, patches, and AIs which tested the system very deep
  - Morloth for his feedback and patches
  - TJIP for hosting a challenge which kept NoAI on track
  - All AI authors for testing our AI API, and all other people who helped in one way or another
-Remove: all old AIs and their cheats/hacks
16 years ago
rubidium 28ea38ae55 (svn r14949) -Cleanup: pointer coding style 16 years ago
rubidium 11da45ee55 (svn r14949) -Cleanup: pointer coding style 16 years ago
rubidium 7a5798695d (svn r14919) -Feature: distant joining of stations (Frostregen and PhilSophus) 16 years ago
rubidium c8c61e36bd (svn r14919) -Feature: distant joining of stations (Frostregen and PhilSophus) 16 years ago
smatz 30884396e6 (svn r14829) -Fix (r14828): forgot CH_LAST 16 years ago
smatz 9658c83a33 (svn r14829) -Fix (r14828): forgot CH_LAST 16 years ago
smatz 91233ea596 (svn r14828) -Codechange: move most of save/load-specific code to separate files 16 years ago
smatz 7368c740a6 (svn r14828) -Codechange: move most of save/load-specific code to separate files 16 years ago