summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
AgeCommit message (Collapse)Author
2009-02-08(svn r15410) -Cleanup: get rid of most of the references to the 'patches' ↵rubidium
except where it's used for backward compatability.
2009-02-07(svn r15390) -Cleanup: Remove old hack that wasn't used anymore.Yexo
2009-02-07(svn r15386) -Codechange: During start up, store driver/blitter/graphicsset ↵peter1138
selection in local variable instead of in the global _ini_* variables. This means that specifying a driver/blitter/graphicsset on the command line does not clobber the configuration value, which can now be saved like other values.
2009-02-06(svn r15383) -Cleanup: Don't call MakeNewgameSettingsLive more often than ↵Yexo
necessary.
2009-02-04(svn r15338) -Fix [FS#2598]: close all construction related windows whenever ↵rubidium
changing company.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-23(svn r15243) -Fix [FS#2446]: rejoining a server would abort the join (and ↵rubidium
kick the client) because trying to join with an invalid player ID
2009-01-20(svn r15157) -Codechange: wrap the hostname/ip and port into a single ↵rubidium
structure so we can pass either one of them and not convert an ip to a string and then back again.
2009-01-18(svn r15144) -Codechange: make sure we don't run out of bounds while ↵smatz
determining old savegame name Note this can't happen in current code
2009-01-12(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to ↵truebrain
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
2009-01-08(svn r14911) -Fix (r14909): -D did not workpeter1138
2009-01-08(svn r14907) -Codechange: Remove 32 character limit from driver/blitter ↵peter1138
selection and parameters.
2009-01-04(svn r14828) -Codechange: move most of save/load-specific code to separate filessmatz
2009-01-03(svn r14815) -Codechange: separate 'highscore' code from 'company' codesmatz
2009-01-03(svn r14812) -Codechange: use INVALID_TILE instead of 0 to mark company ↵smatz
without HQ
2009-01-03(svn r14803) -Codechange: move order list management into it's own class and ↵rubidium
remove the order count from the savegame as we can easily count that (PhilSophus)
2009-01-02(svn r14790) -Codechange: unify generation of default savegame/screenshot ↵rubidium
names (PhilSophus)
2008-12-30(svn r14773) -Fix-ish[FS#2469]: attach a signal handler during loading ↵rubidium
savegames to catch any crashes due to broken savegames/missing NewGRFs and tell the user about that instead of "just" crashing without explanation.
2008-12-29(svn r14772) -Codechange: make the "dump log of game to reproduce" desync ↵rubidium
debug stuff a runtime configurable debug option instead of a compile time option.
2008-12-28(svn r14754) -Codechange: get rid of _cmd_text and just pass it as ↵rubidium
(optional) parameter.
2008-12-26(svn r14744) -Fix [FS#2474]: don't tell loading a savegame failed in two ↵rubidium
distinct ways.
2008-12-26(svn r14743) -Codechange: use INVALID_TILE to indicate station doesn't have ↵smatz
queried facility (or station/roadstop is invalid) instead of 0 (Yexo)
2008-12-24(svn r14735) -Codechange: remove a bit of bit-waste in the map array ↵rubidium
(without changing the map array) and make the CompanyIDs contiguous. -Note: 15 should be enough for now... making it any more means adding more bytes to the map array and thus wasting more bits instead of reducing the bit waste.
2008-12-20(svn r14700) -Fix (r1): loading of very old savegames was broken (STNS chunk ↵smatz
is stored before MAP in old savegame)
2008-12-16(svn r14682) -Fix (r14672): Check the correct savegame version. (Thanks SmatZ)frosch
2008-12-13(svn r14672) -Fix [FS#2444]: Property 7 and callback 12 were broken for ↵frosch
aircraft. Now callback 12 is properly called also for 'mail'. If the callback is not used, 'mail' uses 1/4 of property 7 (rounded up).
2008-11-25(svn r14631) -Add: support for Allegro as sound backend.rubidium
2008-11-23(svn r14612) -Change: force the argument given to '-i' parameter to be ↵smatz
valid. Accept '2', too
2008-11-23(svn r14611) -Fix (r13437)[FS#2421]: Store the age of a house in the map ↵frosch
array instead of the construction year. Note: Savegames from r13437 to now are broken and have a age of 255 years for a lot houses.
2008-11-19(svn r14598) -Feature: Action0Industries property 24 (industry suuplies ↵rubidium
default name for nearby station).
2008-11-18(svn r14591) -Fix [FS#2388](r14528): cached nearest town could be invalid ↵smatz
after importing older savegame and during town generation -Codechange: rewrite parts of code responsible for caching index of nearest town
2008-11-02(svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat ↵skidd13
and strecpy where direct conversion is possible
2008-10-28(svn r14540) -Codechange: introduce [v]seprintf which are like [v]snprintf ↵rubidium
but do return the number of characters written instead of the number of characters that would be written; as size_t is unsigned substraction can cause integer underflows quite quickly.
2008-10-25(svn r14535) -Fix: Description of '-i' commandline option.frosch
2008-10-25(svn r14528) -Codechange: cache the closest town for all road tiles instead ↵rubidium
of only roads owned by tiles. This replaces a O(n) search over all towns from the road's tileloop with a O(1) lookup (PhilSophus)
2008-10-19(svn r14493) -Fix[FS#planetmaker]: Do not assign a station spread to buoys ↵frosch
on loading games.
2008-10-14(svn r14464) -Codechange: replace (uint)-1 with UINT_MAX (PhilSophus)rubidium
2008-09-30(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.rubidium
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-09-27(svn r14408) -Fix (r9205): generation seed set using -G was always ↵glx
overwritten by -g
2008-09-18(svn r14359) -Fix [FS#2311]: the ownership of roadtiles was not properly set ↵rubidium
for very old savegames (including TTD's) making it impossible to remove some pieces of road.
2008-09-16(svn r14348) -Fix (r1667): signs were not updated on company bankrupcy/sell, ↵smatz
they have colour of invalid player
2008-09-16(svn r14340) -Fix (r11822): signs from old savegames were lost (causing ↵smatz
little memory leaks)
2008-09-15(svn r14339) -Fix (r13731): crash when loading the intro game failedsmatz
2008-09-15(svn r14336) -Fix (r14334): when there was a station with custom name in an ↵smatz
old savegame, it's default name was empty
2008-09-11(svn r14290) -Fix (r13932): level crossings could be barred when they ↵smatz
shouldn't be after savegame conversion
2008-09-09(svn r14280) -Codechange: use IsRailWaypointTile() instead of IsTileType() ↵smatz
and IsRailWaypoint() checks at several places
2008-08-31(svn r14199) -Codechange: split fileio.h into fileio_type.h and ↵rubidium
fileio_func.h so not everything that includes saveload.h needs to include everything else too.
2008-08-31(svn r14197) -Codechange: rework (original) base graphics determination ↵rubidium
methods. This yields in the following: -Feature: make configuring the to-be-used base graphics via openttd.cfg and the command line possible. -Feature: allow both the German as well as non-German toyland graphics as "correct" and official graphics. -Feature: allow people to create their own base graphics easily and without requiring code changes.
2008-08-24(svn r14151) -Codechange: make it possible to choose between the DOS and ↵rubidium
Windows graphics packs while retaining the possibility to override the palette.