Commit Graph

894 Commits (65818db1f4332fecb9395df2e41f2068bb86feeb)

Author SHA1 Message Date
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 562299d809 (svn r15274) -Fix (r8705): oldloader wasn't updated to use 64bit airport_flags 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 dbc4a8b331 (svn r15257) -Cleanup: remove Company::is_noai, it is not needed anymore 16 years ago
smatz 4493bd03e3 (svn r15256) -Fix (r15027): use of uninitialised variable while saving/loading game with AIs 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 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 3964b2dd8c (svn r15248) -Fix [FS#2561]: we require v->cur_speed to be zero for wagons and non-front engines 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 789fa42f52 (svn r15230) -Fix (r1): aircraft could have zero speed while in air after loading old savegame 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 042d7800d0 (svn r15223) -Codechange: move GetOldTownName to oldloader_sl.cpp as it is specific to loading of TTO/TTD savegames 16 years ago
rubidium 67a2dd12e8 (svn r15220) -Fix (r15216): signedness warning 16 years ago
Yexo c8cbdc17d3 (svn r15219) -Fix (r15216): MSVC failed to find the proper casts. 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 3852ae1264 (svn r15211) -Fix (r15190): loading of TTD savegames was broken 16 years ago
Yexo db3ee34b44 (svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map. 16 years ago
smatz 5e7669b539 (svn r15189) -Cleanup: remove unused includes 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 3511218e37 (svn r15181) -Fix (r15180): of course it is enough to update aircraft once... 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 5aa1171988 (svn r15179) -Fix [FS#2560](r12096): removing of leftover level crossings (from very old savegames) failed 16 years ago
smatz 49c5c71348 (svn r15174) -Codechange: split oldloader.cpp 16 years ago
smatz c8e26be649 (svn r15173) -Codechange: shuffle a few lines of code in oldloader.cpp 16 years ago
smatz 38afe1fe3f (svn r15170) -Fix: vehicle value is 64bit now, oldloader was reading it as 32bit 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 7a13ade405 (svn r15168) -Codechange: use only really basic map accessors in oldloader.cpp, shuffle the code a bit 16 years ago
smatz a9a8bb3590 (svn r15166) -Codechange: reduce number of includes in afterload.cpp 16 years ago
rubidium bb77071749 (svn r15158) -Cleanup: remove some unused/unneeded cruft from the thread generalisation. 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 ee1331bb46 (svn r15147) -Fix (r15146): compile before commit 16 years ago
smatz 0e83fb37c0 (svn r15146) -Fix: show savegame name even when opening it failed 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 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 52e0c6fd35 (svn r15137) -Fix (r11822)(r14340): signs with sign 'Sign' were lost when converting from TTD savegames 16 years ago
smatz e77462a866 (svn r15116) -Fix (r1): company money weren't correctly converted from TTD(P) savegames 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 89da8820e5 (svn r15075) -Fix: store _next_competitor_start as uint32, else it might overflow for values > 2.4 years 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 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 11da45ee55 (svn r14949) -Cleanup: pointer coding style 16 years ago
rubidium c8c61e36bd (svn r14919) -Feature: distant joining of stations (Frostregen and PhilSophus) 16 years ago
smatz 9658c83a33 (svn r14829) -Fix (r14828): forgot CH_LAST 16 years ago
smatz 7368c740a6 (svn r14828) -Codechange: move most of save/load-specific code to separate files 16 years ago