summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
AgeCommit message (Collapse)Author
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.
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.