alberth
b7fc3fba32
(svn r16369) -Codechange: Renaming ComputeMinimalSize() to SetupSmallestSize(), and AssignMinimalPosition() to AssignSizePosition(), they do not compute minimal size anymore.
2009-05-21 16:14:04 +00:00
alberth
3d32e2cc69
(svn r16368) -Codechange: Only leaf widgets use min_x and min_y.
2009-05-21 16:00:52 +00:00
alberth
fd98f18ac4
(svn r16367) -Codechange: Do not use min_x and min_y for storing smallest size to allow initialization more than once.
2009-05-21 15:48:27 +00:00
frosch
12a09a0dda
(svn r16366) -Fix: Use a valid StringID as fall-back when undefined generic newgrf strings of vehicles are requested.
2009-05-21 13:05:48 +00:00
peter1138
5a3c73729d
(svn r16363) -Fix: The previously selected newgrf station type was still remembered after switching to a different game without newstations enabled, preventing stations from being built.
2009-05-21 07:29:50 +00:00
translators
5cce2f8624
(svn r16362) -Update: WebTranslator2 update to 2009-05-20 17:30:16
...
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-20 17:30:30 +00:00
rubidium
1daa10520c
(svn r16361) -Fix: pointer incremented with wrong count
2009-05-19 21:25:20 +00:00
rubidium
789999ecf3
(svn r16360) -Codechange: don't use _network_playas as a 'second' _local_company, but only as a storage location for the company you want to join in MP.
2009-05-19 21:20:14 +00:00
smatz
53ae829b0b
(svn r16359) -Codechange: don't abuse company 0 when determining 'cost to clear land' in the LandInfoWindow
2009-05-19 19:26:03 +00:00
glx
9f5472bf1d
(svn r16358) -Fix (r16343): strdup doesn't like NULL
2009-05-19 17:04:42 +00:00
smatz
af57719513
(svn r16357) -Codechange: delete invalid depots in TTD savegames caused by improper SVXConverter conversions
2009-05-19 12:47:47 +00:00
smatz
67696c8a15
(svn r16356) -Codechange: use 'size_t' instead of 'uint' as parameter of functions in mem_func.hpp
2009-05-19 08:21:37 +00:00
smatz
6636ed7589
(svn r16354) -Codechange: use 'new' pool accessors and methods for Engine too
2009-05-18 19:32:16 +00:00
smatz
fe498e21e7
(svn r16353) -Fix (r1): invalid read when OTTD savegame contains VEH_INVALID
2009-05-18 17:40:03 +00:00
smatz
512db5248e
(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get()
2009-05-18 16:21:28 +00:00
smatz
1eca6aefeb
(svn r16351) -Fix (r14773): signal handler could end in endless loop
2009-05-18 12:01:13 +00:00
smatz
74a667cb21
(svn r16350) -Codechange: make some 'rail track is present' checks more 'secure'
2009-05-18 01:35:15 +00:00
smatz
05db91dc65
(svn r16349) -Codechange: rename IsPlainRailTile() to IsPlainRail(), introduce shiny new IsPlainRailTile()
2009-05-18 01:26:23 +00:00
smatz
bad5d6d6a2
(svn r16348) -Fix (r16280): buoys with invalid station ID could be left in the game
2009-05-18 00:33:24 +00:00
rubidium
c2e778224a
(svn r16347) -Cleanup: remove some unused defines from oldpool.h.
2009-05-17 20:38:22 +00:00
rubidium
d46d1e706e
(svn r16346) -Codechange: don't exploit the pool system in the way done for 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 20:38:05 +00:00
rubidium
ad031c3f7d
(svn r16345) -Codechange: replace the Sound(Entry) pool with a simple vector of SoundEntries.
2009-05-17 19:36:28 +00:00
rubidium
41c4c48add
(svn r16344) -Codechange: s/FileEntry/SoundEntry/
2009-05-17 19:27:50 +00:00
frosch
14c7cc16a6
(svn r16343) -Fix (r16066): Invalid free on exit after changing base graphics set in game.
2009-05-17 19:14:22 +00:00
frosch
3f9fa18671
(svn r16342) -Feature(tte): Display base graphics description in game options window.
2009-05-17 18:21:21 +00:00
rubidium
c85e41b3ed
(svn r16341) -Codechange: just use a static array instead of a never freed malloc
2009-05-17 17:48:05 +00:00
rubidium
8df6765823
(svn r16340) -Codechange: introduce SoundID (uint16) and use that instead of SoundFX, which was used as a byte and uint16 at different places, when the uint16 sound ID is meant.
2009-05-17 17:17:48 +00:00
rubidium
cf368bcfbc
(svn r16339) -Fix: [NewGRF] When overriding 'original sounds', only allow overriding of the 'original sounds' and not any other that is already loaded.
2009-05-17 17:00:30 +00:00
smatz
769de62daf
(svn r16338) -Codechange: split loading of references to two phases
...
In the first phase, indexes are stored. In the second phase, indexes are checked for validity and converted to pointers
2009-05-17 16:28:29 +00:00
rubidium
21e2842f34
(svn r16337) -Codechange: remove pointless variable + wrapper function; 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 14:57:14 +00:00
rubidium
b27adec700
(svn r16336) -Codechange: make the SpriteGroup pool more like the 'normal' pools
2009-05-17 14:32:13 +00:00
smatz
1287f01872
(svn r16335) -Codechange: indenting fixes in saveload.cpp
2009-05-17 11:47:56 +00:00
smatz
59e1d05995
(svn r16334) -Codechange: use NeedLength enum
2009-05-17 11:43:51 +00:00
rubidium
1cc82de384
(svn r16333) -Cleanup: remove a bunch of unused wrapper functions.
2009-05-17 11:18:34 +00:00
rubidium
f1955333c9
(svn r16332) -Codechange: replace some -1 + 1 with 'nothing' or <= .. - 1 with < .. - 1 (both caused due to wrapper functions)
2009-05-17 11:17:53 +00:00
smatz
45f9d334fb
(svn r16331) -Codechange: replace _sl.save by an enum
2009-05-17 11:15:11 +00:00
rubidium
b96770ab84
(svn r16330) -Fix (r16329): we were shortly visited by Mr. Kenobi.
2009-05-17 10:59:40 +00:00
rubidium
c0204dc186
(svn r16329) -Fix: possible desync when removing lots of towns in-game (not that we allow removing towns now, but better not have desync prone code lingering around)
2009-05-17 10:35:13 +00:00
rubidium
57a7313ea5
(svn r16328) -Fix: desync when removing lots of stations
2009-05-17 10:19:00 +00:00
smatz
0c10daa243
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
2009-05-17 01:00:56 +00:00
smatz
cf986c3099
(svn r16326) -Codechange: replace GetPoolItemPoolSize() by PoolItem::GetPoolSize()
2009-05-16 23:44:36 +00:00
smatz
d495dc5dbc
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
2009-05-16 23:34:14 +00:00
rubidium
f9b692c921
(svn r16323) -Fix [FS#2900]: desyncs due to the fact that depot searching with a maximum search depth simply does not work with YAPF's caches.
2009-05-16 20:10:58 +00:00
rubidium
3ab3cfcff3
(svn r16322) -Fix [FS#2873]: trains could get stuck in a depot when they wanted to go to the same depot again.
2009-05-16 20:08:49 +00:00
rubidium
f08ff3e707
(svn r16321) -Fix (r5946): in the scenario editor change the (starting) game year of the scenario, not the (starting) game year for new games/scenarios.
2009-05-16 18:58:15 +00:00
smatz
3d5ca93674
(svn r16320) -Fix (r11939): loading of savegames created in revision between 0.3.5 and 0.3.6 caused crash
2009-05-16 18:28:31 +00:00
translators
5db950085f
(svn r16319) -Update: WebTranslator2 update to 2009-05-16 17:35:44
...
arabic_egypt - 1 fixed by khaloofah (1)
english_US - 24 fixed by WhiteRabbit (24)
esperanto - 6 fixed by maristo (6)
german - 1 changed by planetmaker (1)
welsh - 9 fixed by welshdragon (9)
2009-05-16 17:35:53 +00:00
rubidium
5d2b6f8474
(svn r16318) -Change: use !! instead of @@ in src/*.in too.
...
-Change: use @ instead of ~ in configure/Makefiles so Debian's build system(s) can also build RC binaries.
2009-05-16 12:36:33 +00:00
alberth
b46d9079ce
(svn r16317) -Codechange: Generalized finding a widget by type.
2009-05-16 11:25:19 +00:00
yexo
8461e505dc
(svn r16316) -Fix (r16287,before): Set the autorenew settings for new AI companies to the default values, not to 0 or the local settings
2009-05-16 00:16:43 +00:00