summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
AgeCommit message (Collapse)Author
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.
2008-08-23(svn r14146) -Codechange: allow palette override in both ways and remove ↵rubidium
some unneeded '(x == 0) ? 0 : 1' constructs.
2008-08-23(svn r14141) -Fix (r14135): Savegame conversion could assign a recently ↵frosch
removed waypoint (grey sign) to a wrong owner.
2008-08-23(svn r14135) -Codechange: Add owner to waypoints. Previously, it was guessed ↵belugas
from rail underneath it.
2008-08-20(svn r14105) -Fix: Some typos that are more grammatical errors, as it seems.belugas
Provided by ln I've added a little fix on currency.cpp too, why not :)
2008-08-17(svn r14096) -Codechange: merge the shared order's vehicle list management ↵rubidium
to a single location.
2008-08-10(svn r14036) -Fix [FS#2197,FS#2198]: trains crashing into eachother when ↵rubidium
signals are changed (michi_cc)
2008-08-02(svn r13932) -Add [YAPP]: PBS signals added to the map array. The signals ↵rubidium
are drawn using the old Patch-like PBS sprites. (michi_cc)
2008-07-28(svn r13859) -Fix: loading of TTD(Patch) savegames from the command line ↵smatz
didn't work
2008-07-28(svn r13858) -Fix: buffer overflow for too long filename supplied as '-g' ↵smatz
parameter
2008-07-26(svn r13838) -Codechange: Make industry tiles aware of WaterClasses.frosch
2008-07-26(svn r13836) -Fix [FS#2074]: Automatically recalculate inflation if NewGRFs ↵peter1138
are changed and cargo types are added, so that cargo payment rates are correct.
2008-07-24(svn r13816) -Fix [FS#2150]: check for vehicle length changes outside a ↵smatz
depot (callback 0x11) and give a warning about that
2008-07-20(svn r13754) -Fix (r13731): one could not join companies from the command line.rubidium
2008-07-18(svn r13731) -Codechange: make a pool of the array of players.rubidium
2008-07-18(svn r13727) -Fix (r13375): compilation with NO_DEBUG_MESSAGES was brokensmatz
2008-07-17(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line ↵rubidium
with all other structs/classes that are in a pool.
2008-07-17(svn r13715) -Fix [FS#2129]: C-like strings had to be rebound each time they ↵rubidium
were printed, otherwise the text could change due to the few number of slots that could be used to bind. -Codechange: remove all BindCString and related functions and replace it by RAW_STRING which prints the C-string raw pointer that is on the 'print stack'.
2008-07-08(svn r13681) -Revert (r13678, r13677): the fixes didn't work in all cases ↵rubidium
(assertions on savegame loads). -Fix [FS#2102]: but now in a hopefully beter way.
2008-07-06(svn r13678) -Fix (r13677): electric trains from pre elrail savegames would ↵rubidium
get stopped on load.
2008-07-04(svn r13677) -Fix [FS#2102]: in the case that elrails and 'realistic' ↵rubidium
acceleration are disabled all electrified engines would have no power on load, until the vehicle got turned around, loaded or got into a depot.
2008-07-03(svn r13673) -Fix [FS#2122]: desync when building electrified trains on a ↵rubidium
dedicated server that was started with electrification disabled.
2008-06-16(svn r13537) -Fix [FS#2090](r13523): QSortT won't work this way, use ↵smatz
Dimension instead of uint16[2] for resolutions
2008-06-05(svn r13390) -Codechange: introduce usererror() for fatal but not openttd ↵glx
related errors. Now all error() will 'crash' openttd after showing the message in win32 releases (MSVC), creating a crash.log and crash.dmp (like the '!' hack used before). On the other hand, usererror() will just close the game. So use error() only when it can be helpful to debugging, else use usererror().
2008-06-05(svn r13386) -Fix: global currency/units setting being overriden when ↵rubidium
loading a savegame.
2008-06-03(svn r13375) -Add: logging of actions that could possibly cause desyncs and ↵smatz
crashes to simplify debugging. See readme.txt for details
2008-05-30(svn r13344) -Codechange: remove some code duplication.rubidium
2008-05-30(svn r13343) -Codechange: reorder/move variable/functions in the network ↵rubidium
headers so that nothing from the network directory needs to include basically all network headers.
2008-05-29(svn r13334) -Codechange: move the network settings variables from ↵rubidium
network/network_internal to settings.
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-29(svn r13322) -Codechange: _no_scroll belongs more with the window code.rubidium
2008-05-29(svn r13321) -Codechange: move some GUI/viewport related functions out op ↵rubidium
openttd.cpp to viewport.cpp/window.cpp.