summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
AgeCommit message (Collapse)Author
2009-03-14(svn r15711) -Codechange: lots of whitespace cleanup/fixesrubidium
2009-03-08(svn r15645) -Fix (r12924)[FS#2612]: Add an EngineOverrideManager to give ↵frosch
the term 'compatible newgrf' again some sense and to not crash because of trivial changes.
2009-02-26(svn r15590) -Fix (r15584): _screenshot_name is an array, not a char * pointer.yexo
2009-02-25(svn r15584) -Codechange: Move several variables from variables.h to more ↵yexo
appropriate headers.
2009-02-25(svn r15576) -Codechange: rename SwitchModes to SwitchMode and don't ↵yexo
hardcode the values for that enum.
2009-02-25(svn r15575) -Codechange: Rename GameModes to GameMode and store _game_mode ↵yexo
as GameMode instead of as byte.
2009-02-21(svn r15546) -Fix [FS#2651]: keep_all_autosave ignored for dedicated ↵rubidium
servers/spectators.
2009-02-21(svn r15543) -Change: allow the default debug level of 6 for a dedicated ↵rubidium
server to be overriden by -d (if used after -D).
2009-02-14(svn r15495) -Revert (r15383,r15422): Loading NewGRFs depends on correct ↵yexo
settings, but the economy can only be started after loading NewGRFs. In short: r15383 causes more problems then it's worth.
2009-02-12(svn r15455) -Fix: font autodetection didn't occur when directly loading a ↵rubidium
game via e.g. -g.
2009-02-09(svn r15428) -Codechange: consistently use colour instead of having both ↵rubidium
color and colour.
2009-02-08(svn r15422) -Fix [FS#2623] (r15383): loading NewGRFs before copying the ↵rubidium
settings.
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