frosch
0c1fcc02ec
(svn r27757) -Change: Make StringID 32bit.
7 years ago
frosch
49b940f69c
(svn r27756) -Codechange: Add StringTab enum
7 years ago
frosch
02967c3c08
(svn r27754) -Codechange: Add GetStringTab(), GetStringIndex() and MakeStringID() to access the structure of StringIDs.
7 years ago
rubidium
20f54c2f61
(svn r26590) -Fix: possible desync (big/little endian) due to not writing complete variables upon saveload
10 years ago
rubidium
2be4215f43
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
10 years ago
planetmaker
f46b2fd4b3
(svn r24619) -Change: Check for bankruptcy on a monthly basis (ZxBioHazardZx)
12 years ago
michi_cc
07f32df363
(svn r24134) -Add: Configurable limits for tree planting.
12 years ago
frosch
808f1151c2
(svn r23920) -Fix: Consider only the middle tile of a lock for lock-infrastructure costs. The other two tiles may be owned by other companies. Also do not count the middle tile of a lock as canal, independent of whether it is build on ground or river slope.
13 years ago
michi_cc
f2fc765290
(svn r23844) -Fix (r23414): Infrastructure count for stations wasn't updated properly on company takeover. And don't count buoys while loading a game either.
13 years ago
rubidium
464d51905a
(svn r23826) -Fix [FS#4972]: the detailed performance rating window showed the cargo count of the current quarter instead of the last quarter like the tooltip says
13 years ago
rubidium
d5eeab43b7
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
13 years ago
truebrain
8ac2d13c79
(svn r23636) -Add: introduce ScriptText in parameters where it can be used
13 years ago
michi_cc
bf5ef7537e
(svn r23414) -Add: Company infrastructure counts for stations/airports.
13 years ago
michi_cc
796fe54a2f
(svn r23413) -Add: Company infrastructure counts for canals.
13 years ago
michi_cc
7a6b45c133
(svn r23412) -Add: Company infrastructure counts for road.
13 years ago
michi_cc
85ec2f07af
(svn r23411) -Add: Company infrastructure counts for rail.
13 years ago
rubidium
e11b817281
(svn r22958) -Fix [FS#4778]: the savegame description and loading of savegames would crash with savegames from a patched stable (which didn't bump the savegame version)
13 years ago
rubidium
d6a0e5f240
(svn r22737) -Fix [FS#4717]: some corrupted savegames could crash OpenTTD instead of showing the "savegame corrupted" message
13 years ago
rubidium
be077e030e
(svn r21728) -Fix/Feature [FS#4331]: (configurably) limit amount of tiles that can be cleared/terraformed by a company
14 years ago
alberth
16f678a990
(svn r21284) -Codechange: Rename CheckSavegameVersion() to IsSavegameVersionBefore().
14 years ago
rubidium
360d6daf34
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
yexo
3cf8186f54
(svn r20311) -Codechange: don't reserve extra space in the savegame that is never used
14 years ago
frosch
9468cce730
(svn r19985) -Fix (r19980): Loading preview data from old savegames failed indeterministically due to non-zeroed memory allocation. Thanks smatz.
14 years ago
frosch
928ecf82bb
(svn r19980) -Add: Load some general data from savegames on SL_LOAD_CHECK.
14 years ago
frosch
c9628dd568
(svn r19979) -Codechange: Separate static loadable fields from Company into separate struct.
14 years ago
frosch
fe063af382
(svn r19973) -Codechange: Add another procedure to chunk handlers for checking savegames (empty for now).
14 years ago
rubidium
982b8ee5fc
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
rubidium
c1fe2ce4bc
(svn r17343) -Codechange: it's bankruptcy, not bankrupcy, according to my Oxford Dictionary of English and Merriam-Webster.
15 years ago
rubidium
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
smatz
a2567c84a0
(svn r16559) -Codechange: introduce Company::IsValidAiID() and Company::IsValidHumanID(), don't use IsHumanCompany() where possible
15 years ago
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
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
yexo
d489f93473
(svn r16315) -Codechange: move the autorenew settings to a new CompanySettings struct
15 years ago
rubidium
89e1afdaa0
(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
smatz
9021c20b5e
(svn r15299) -Cleanup: remove many redundant includes
16 years ago
smatz
adb5eac77e
(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
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
smatz
91233ea596
(svn r14828) -Codechange: move most of save/load-specific code to separate files
16 years ago