alberth
b6d198ca0b
(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
db1be47d76
(svn r16368) -Codechange: Only leaf widgets use min_x and min_y.
2009-05-21 16:00:52 +00:00
alberth
054deab7b3
(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
82532ac12e
(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
b801d801b5
(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
2d8d5580b6
(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
26070726ac
(svn r16361) -Fix: pointer incremented with wrong count
2009-05-19 21:25:20 +00:00
rubidium
9f4d64bda0
(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
00bc2659f2
(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
ec76117379
(svn r16358) -Fix (r16343): strdup doesn't like NULL
2009-05-19 17:04:42 +00:00
smatz
1e45f4bc4c
(svn r16357) -Codechange: delete invalid depots in TTD savegames caused by improper SVXConverter conversions
2009-05-19 12:47:47 +00:00
smatz
3bd52accd9
(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
70aab8bf04
(svn r16354) -Codechange: use 'new' pool accessors and methods for Engine too
2009-05-18 19:32:16 +00:00
smatz
a0ff6363e6
(svn r16353) -Fix (r1): invalid read when OTTD savegame contains VEH_INVALID
2009-05-18 17:40:03 +00:00
smatz
8808f3beea
(svn r16352) -Codechange: use PoolItem::GetIfValid() instead of PoolItem::IsValidID() and PoolItem::Get()
2009-05-18 16:21:28 +00:00
smatz
5fe906e149
(svn r16351) -Fix (r14773): signal handler could end in endless loop
2009-05-18 12:01:13 +00:00
smatz
9af2e38d44
(svn r16350) -Codechange: make some 'rail track is present' checks more 'secure'
2009-05-18 01:35:15 +00:00
smatz
0af27062c4
(svn r16349) -Codechange: rename IsPlainRailTile() to IsPlainRail(), introduce shiny new IsPlainRailTile()
2009-05-18 01:26:23 +00:00
smatz
d1f9a90d32
(svn r16348) -Fix (r16280): buoys with invalid station ID could be left in the game
2009-05-18 00:33:24 +00:00
rubidium
b385cf31cb
(svn r16347) -Cleanup: remove some unused defines from oldpool.h.
2009-05-17 20:38:22 +00:00
rubidium
10406e8ad6
(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
543cc6b75e
(svn r16345) -Codechange: replace the Sound(Entry) pool with a simple vector of SoundEntries.
2009-05-17 19:36:28 +00:00
rubidium
4a04dfc07c
(svn r16344) -Codechange: s/FileEntry/SoundEntry/
2009-05-17 19:27:50 +00:00
frosch
ceca68fca7
(svn r16343) -Fix (r16066): Invalid free on exit after changing base graphics set in game.
2009-05-17 19:14:22 +00:00
frosch
5507a5b233
(svn r16342) -Feature(tte): Display base graphics description in game options window.
2009-05-17 18:21:21 +00:00
rubidium
e56cc911f1
(svn r16341) -Codechange: just use a static array instead of a never freed malloc
2009-05-17 17:48:05 +00:00
rubidium
9c24e2bb8f
(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
e3bd95e7b6
(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
570af0ce44
(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
83dc6ef6e6
(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
10ea72a08e
(svn r16336) -Codechange: make the SpriteGroup pool more like the 'normal' pools
2009-05-17 14:32:13 +00:00
smatz
76784501a8
(svn r16335) -Codechange: indenting fixes in saveload.cpp
2009-05-17 11:47:56 +00:00
smatz
4876e346d5
(svn r16334) -Codechange: use NeedLength enum
2009-05-17 11:43:51 +00:00
rubidium
88201ccd5c
(svn r16333) -Cleanup: remove a bunch of unused wrapper functions.
2009-05-17 11:18:34 +00:00
rubidium
e7dedf4e1b
(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
3322cc978f
(svn r16331) -Codechange: replace _sl.save by an enum
2009-05-17 11:15:11 +00:00
rubidium
b23c967230
(svn r16330) -Fix (r16329): we were shortly visited by Mr. Kenobi.
2009-05-17 10:59:40 +00:00
rubidium
f457cff73c
(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
6b2f9e8c9e
(svn r16328) -Fix: desync when removing lots of stations
2009-05-17 10:19:00 +00:00
smatz
871107f529
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
2009-05-17 01:00:56 +00:00
smatz
ed1e54bd84
(svn r16326) -Codechange: replace GetPoolItemPoolSize() by PoolItem::GetPoolSize()
2009-05-16 23:44:36 +00:00
smatz
6221d74644
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
2009-05-16 23:34:14 +00:00
rubidium
814f153b5a
(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
8324cfc875
(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
bdbbe3a09b
(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
aff7a9e953
(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
f9930e190b
(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
a34d5bb6ab
(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
db7e24e211
(svn r16317) -Codechange: Generalized finding a widget by type.
2009-05-16 11:25:19 +00:00
yexo
c299a38e1f
(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
yexo
31eff1d4c3
(svn r16315) -Codechange: move the autorenew settings to a new CompanySettings struct
2009-05-15 23:55:06 +00:00
frosch
aea2fcd0a0
(svn r16314) -Fix (r9315): Allow accessing the houseage when the house is not yet built.
2009-05-15 22:45:31 +00:00
rubidium
917621b639
(svn r16312) -Codechange: unduplicate yapf (rail) cache debugging.
2009-05-15 17:32:07 +00:00
frosch
8ffb93c358
(svn r16311) -Fix: (Get|Set)TrackBits() is only valid for RAIL_TILE_NORMAL and _SIGNALS.
2009-05-15 16:07:36 +00:00
smatz
683a6ca039
(svn r16308) -Fix: parameter is invalid when it's equal to length of an array (Yexo)
2009-05-14 23:40:03 +00:00
glx
b3a539b016
(svn r16307) -Fix: makedepend can't handle the amount of files we have and it also miss some dependencies. That's why we introduce our custom implementation of makedepend.
2009-05-14 21:59:24 +00:00
yexo
203cd6c2dd
(svn r16306) -Fix [FS#2901] (r15027): Close all windows before unloading the AI system as closing the content-download window will rescan for AIs
2009-05-14 18:09:50 +00:00
rubidium
a5d6e23e9d
(svn r16305) -Codechange: force-enable extra sync checking when random debugging is enable and give the calling location of Chance16(R) instead of the Random call within those functions.
2009-05-14 12:08:24 +00:00
rubidium
9dff385c38
(svn r16304) -Codechange: remove some magic numbers from the newgrf add window so it mirrors nicely.
2009-05-13 22:51:31 +00:00
frosch
32ecc48ec8
(svn r16303) -Codechange: Use the question mark as default sprite when creating vehicles, instead of arbitrary sprites not related to the vehicle. (though that also applies to the question mark)
2009-05-13 21:45:56 +00:00
smatz
a1addc1d95
(svn r16302) -Codechange: remove Vehicle::AllocateList
2009-05-13 21:38:23 +00:00
smatz
c0ed9f779b
(svn r16301) -Cleanup: remove unused parameter
2009-05-13 20:30:46 +00:00
smatz
0274886ae1
(svn r16300) -Codechange: reduce usage of Vehicle::AllocateList
2009-05-13 19:26:47 +00:00
smatz
2bc5189ad5
(svn r16299) -Fix (r16242): don't use DoCommandP when the function can be called from another command
2009-05-13 19:13:36 +00:00
rubidium
5f81ba886c
(svn r16297) -Codechange: silence more ICC warnings
2009-05-13 17:39:00 +00:00
rubidium
d23f616e9f
(svn r16296) -Codechange: silence some ICC warnings
2009-05-13 16:52:51 +00:00
rubidium
3d3b5256f0
(svn r16295) -Fix: ICC defined __GNUC__ but does not define __builtin_bswap32, so fall back to the default swap method for ICC.
2009-05-13 16:51:17 +00:00
yexo
67723e42aa
(svn r16292) -Fix (r16287): autorenew settings were set to 0 when creating a new company in multiplayer
2009-05-13 12:07:36 +00:00
rubidium
aa0459309c
(svn r16291) -Fix [FS#2893]: RVs were unable to find a depot when turning around (in some cases), causing 'nearest depot' orders to be occasionally lost.
2009-05-13 10:58:41 +00:00
rubidium
111e62bba6
(svn r16290) -Fix [FS#2888]: unable to (re)set the desert state for watery tiles
2009-05-13 10:57:32 +00:00
smatz
1f3dce6f85
(svn r16289) -Fix (r16211): 'Display map' dropdown in scenario editor was broken
2009-05-13 10:38:46 +00:00
smatz
3afce9b641
(svn r16288) -Fix (r16237): crash after clicking in the ClientList window
2009-05-13 00:24:21 +00:00
yexo
90ba8e1bc8
(svn r16287) -Fix: fix possible (in theory) desync related to autorenew settings
2009-05-12 22:32:22 +00:00
rubidium
095a30efb0
(svn r16286) -Change: make the scrolling ticker RTL/LTR aware (scroll in different directions)
2009-05-12 22:28:18 +00:00
rubidium
31272407f5
(svn r16284) -Codechange: replace some magic numbers with the left/right/top/bottom of a widget
2009-05-12 20:01:39 +00:00
rubidium
c96dac5443
(svn r16283) -Fix [FS#2890]: news ticker truncated too early
2009-05-12 19:59:33 +00:00
translators
9e6e0c6b09
(svn r16282) -Update: WebTranslator2 update to 2009-05-12 17:55:59
...
czech - 10 fixed by Hadez (10)
german - 13 changed by planetmaker (13)
spanish - 11 fixed by eusebio (11)
2009-05-12 17:56:06 +00:00
smatz
0b547928be
(svn r16281) -Fix: silence some of compile farm warnings for target win9x
2009-05-11 18:48:05 +00:00
smatz
15a5a33c70
(svn r16280) -Fix (r13731): crash after using the 'Reset landscape' function
...
-Fix: remove all waypoint signs and buoys after resetting landscape
2009-05-11 18:17:21 +00:00
smatz
e1e6687bfd
(svn r16277) -Codechange: enumerize values and remove unneeded values used for testing town rating
2009-05-11 11:55:41 +00:00
rubidium
d9e1de0281
(svn r16276) -Fix: huh, old AI? What is that? What about all the time I thought there was no AI?
2009-05-11 11:13:37 +00:00
frosch
4710c3fe31
(svn r16274) -Fix: Disable multitile houses for which the newgrf does not define proper additional tiles. (instead of crashing later)
2009-05-10 22:16:51 +00:00
smatz
f5316c5cbd
(svn r16269) -Codechange: use gcc's ability to check parameters sent to printf-like functions
...
-Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places
2009-05-10 17:27:25 +00:00
frosch
552f10bb09
(svn r16268) -Fix (r9876): When callback 2E returns an amount of 0, do not transport 1 unit to the station.
2009-05-10 15:42:59 +00:00
frosch
bdf0b9491d
(svn r16267) -Documentation: [NoAI] Explain how to deal with IDs of various objects.
2009-05-10 15:23:55 +00:00
frosch
c6f08e1247
(svn r16266) -Documentation: [NoAI] Add details to AITile::(Raise|Lower)Tile wrt. modifiing multiple corners at once.
2009-05-10 15:23:08 +00:00
smatz
d4971a22d0
(svn r16265) -Fix (r16238): wrong format string for debug output
2009-05-10 13:23:23 +00:00
frosch
96dace426b
(svn r16264) -Change/Fix (r16262): [NoAI] Change SLOPE_INVALID to 0xFFFF so that SLOPE_INVALID != (SLOPE_ELEVATED | SLOPE_STEEP | SLOPE_HALFTILE_MASK).
2009-05-10 12:26:55 +00:00
frosch
294d7ee9d6
(svn r16263) -Change: Interpret setting bridge property 08 to 0 as always available.
2009-05-09 19:48:14 +00:00
yexo
8d22e4bec3
(svn r16262) -Fix [NoAI]: Check slopes passed to the API better for validity
2009-05-09 19:45:02 +00:00
frosch
f8944cc9b3
(svn r16261) -Fix (r16260): Replace a space with a newline and a tab. (thanks smatz)
2009-05-09 14:23:19 +00:00
frosch
677ea100b3
(svn r16260) -Codechange: Add Vehicle::IncrementOrderIndex() to deduplicate some code.
2009-05-09 13:37:18 +00:00
alberth
a8aa4e2148
(svn r16259) -Codechange: Added nested widgets to the load and save dialogue windows.
2009-05-09 13:03:45 +00:00
alberth
bbb951151d
(svn r16258) -Codechange: Remove panel with negative height and some small adjustments in the load/save dialogue windows.
2009-05-09 12:56:55 +00:00
alberth
0cd6dde6a7
(svn r16257) -Codechange: Added empty widgets in load dialogue to move the resize box to the right place in the array.
2009-05-09 12:49:28 +00:00
alberth
590becf567
(svn r16256) -Codechange: Moved load/save dialogue widget numbers outside the window struct.
2009-05-09 12:44:12 +00:00
alberth
977db77921
(svn r16255) -Fix [FS#2887] (r16237): Nested widgets of client list window used incorrect length.
2009-05-09 08:02:17 +00:00
frosch
8fc723800f
(svn r16254) -Fix [FS#2886]: Magic constant removed.
2009-05-08 09:00:47 +00:00
yexo
a00b22b1cd
(svn r16253) -Add [NoAI]: AIController::GetVersion, this returns the newgrf-version of OpenTTD
2009-05-07 21:33:38 +00:00
yexo
9b4a32deb4
(svn r16252) -Add [NoAI]: AIAirport::GetPrice, returning the building cost of an airport
2009-05-07 21:30:18 +00:00