summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-05-22(svn r16377) -Codechange: unify FOR_ALL_* macros, use separate index ↵smatz
variable instead of var->index
2009-05-22(svn r16376) -Codechange: Vehicle::Tick() now returns false if the vehicle ↵smatz
was deleted
2009-05-22(svn r16375) -Codechange: don't be afraid of deleting NULL pointerssmatz
2009-05-22(svn r16374) -Fix (r11622): Valid UTF-8 sequences between 0x20 and 0xFF ↵peter1138
should be allowed as is instead of being treated as control codes.
2009-05-21(svn r16373) -Codechange: use () instead of (void) for functions without ↵smatz
parameters
2009-05-21(svn r16372) -Codechange: Simplify size calculations with a few helper ↵alberth
functions.
2009-05-21(svn r16371) -Codechange (r16367): Properly align comments.alberth
2009-05-21(svn r16370) -Doc: Improvements to the nested widgets documentation, added ↵alberth
explanation about computations, fixed typo in param description.
2009-05-21(svn r16369) -Codechange: Renaming ComputeMinimalSize() to ↵alberth
SetupSmallestSize(), and AssignMinimalPosition() to AssignSizePosition(), they do not compute minimal size anymore.
2009-05-21(svn r16368) -Codechange: Only leaf widgets use min_x and min_y.alberth
2009-05-21(svn r16367) -Codechange: Do not use min_x and min_y for storing smallest ↵alberth
size to allow initialization more than once.
2009-05-21(svn r16366) -Fix: Use a valid StringID as fall-back when undefined generic ↵frosch
newgrf strings of vehicles are requested.
2009-05-21(svn r16363) -Fix: The previously selected newgrf station type was still ↵peter1138
remembered after switching to a different game without newstations enabled, preventing stations from being built.
2009-05-20(svn r16362) -Update: WebTranslator2 update to 2009-05-20 17:30:16translators
catalan - 2 fixed by arnaullv (2) czech - 2 fixed by Hadez (2) dutch - 2 fixed by habell (2) finnish - 2 fixed by jpx_ (2) german - 2 fixed by planetmaker (2) hungarian - 2 fixed by oklmernok (2) italian - 2 fixed by lorenzodv (2) japanese - 20 fixed by ickoonite (20) turkish - 2 fixed by Emin (2)
2009-05-19(svn r16361) -Fix: pointer incremented with wrong countrubidium
2009-05-19(svn r16360) -Codechange: don't use _network_playas as a 'second' ↵rubidium
_local_company, but only as a storage location for the company you want to join in MP.
2009-05-19(svn r16359) -Codechange: don't abuse company 0 when determining 'cost to ↵smatz
clear land' in the LandInfoWindow
2009-05-19(svn r16358) -Fix (r16343): strdup doesn't like NULLglx
2009-05-19(svn r16357) -Codechange: delete invalid depots in TTD savegames caused by ↵smatz
improper SVXConverter conversions
2009-05-19(svn r16356) -Codechange: use 'size_t' instead of 'uint' as parameter of ↵smatz
functions in mem_func.hpp
2009-05-18(svn r16354) -Codechange: use 'new' pool accessors and methods for Engine toosmatz
2009-05-18(svn r16353) -Fix (r1): invalid read when OTTD savegame contains VEH_INVALIDsmatz
2009-05-18(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of ↵smatz
PoolItem::IsValidID() and PoolItem::Get()
2009-05-18(svn r16351) -Fix (r14773): signal handler could end in endless loopsmatz
2009-05-18(svn r16350) -Codechange: make some 'rail track is present' checks more 'secure'smatz
2009-05-18(svn r16349) -Codechange: rename IsPlainRailTile() to IsPlainRail(), ↵smatz
introduce shiny new IsPlainRailTile()
2009-05-18(svn r16348) -Fix (r16280): buoys with invalid station ID could be left in ↵smatz
the game
2009-05-17(svn r16347) -Cleanup: remove some unused defines from oldpool.h.rubidium
2009-05-17(svn r16346) -Codechange: don't exploit the pool system in the way done for ↵rubidium
the saveload pool; it makes writing replacements unnecessarily difficult. And now we've got SmallVector that does more than enough for saving with less lines of 'interface' code.
2009-05-17(svn r16345) -Codechange: replace the Sound(Entry) pool with a simple vector ↵rubidium
of SoundEntries.
2009-05-17(svn r16344) -Codechange: s/FileEntry/SoundEntry/rubidium
2009-05-17(svn r16343) -Fix (r16066): Invalid free on exit after changing base ↵frosch
graphics set in game.
2009-05-17(svn r16342) -Feature(tte): Display base graphics description in game ↵frosch
options window.
2009-05-17(svn r16341) -Codechange: just use a static array instead of a never freed ↵rubidium
malloc
2009-05-17(svn r16340) -Codechange: introduce SoundID (uint16) and use that instead of ↵rubidium
SoundFX, which was used as a byte and uint16 at different places, when the uint16 sound ID is meant.
2009-05-17(svn r16339) -Fix: [NewGRF] When overriding 'original sounds', only allow ↵rubidium
overriding of the 'original sounds' and not any other that is already loaded.
2009-05-17(svn r16338) -Codechange: split loading of references to two phasessmatz
In the first phase, indexes are stored. In the second phase, indexes are checked for validity and converted to pointers
2009-05-17(svn r16337) -Codechange: remove pointless variable + wrapper function; ↵rubidium
having it return anything else than ORIGINAL_SAMPLE_COUNT is asking for NewGRFs failing to load (due to invalid sample index), thus desyncs
2009-05-17(svn r16336) -Codechange: make the SpriteGroup pool more like the 'normal' poolsrubidium
2009-05-17(svn r16335) -Codechange: indenting fixes in saveload.cppsmatz
2009-05-17(svn r16334) -Codechange: use NeedLength enumsmatz
2009-05-17(svn r16333) -Cleanup: remove a bunch of unused wrapper functions.rubidium
2009-05-17(svn r16332) -Codechange: replace some -1 + 1 with 'nothing' or <= .. - 1 ↵rubidium
with < .. - 1 (both caused due to wrapper functions)
2009-05-17(svn r16331) -Codechange: replace _sl.save by an enumsmatz
2009-05-17(svn r16330) -Fix (r16329): we were shortly visited by Mr. Kenobi.rubidium
2009-05-17(svn r16329) -Fix: possible desync when removing lots of towns in-game (not ↵rubidium
that we allow removing towns now, but better not have desync prone code lingering around)
2009-05-17(svn r16328) -Fix: desync when removing lots of stationsrubidium
2009-05-17(svn r16327) -Codechange: replace IsValidPoolItemID(index) by ↵smatz
PoolItem::IsValidID(index)
2009-05-16(svn r16326) -Codechange: replace GetPoolItemPoolSize() by ↵smatz
PoolItem::GetPoolSize()
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz