Commit Graph

6171 Commits (b178a94c19ce670063f63a18aca9e48a12ce0fc9)

Author SHA1 Message Date
smatz 9af2e38d44 (svn r16350) -Codechange: make some 'rail track is present' checks more 'secure' 16 years ago
smatz 0af27062c4 (svn r16349) -Codechange: rename IsPlainRailTile() to IsPlainRail(), introduce shiny new IsPlainRailTile() 16 years ago
smatz d1f9a90d32 (svn r16348) -Fix (r16280): buoys with invalid station ID could be left in the game 16 years ago
rubidium b385cf31cb (svn r16347) -Cleanup: remove some unused defines from oldpool.h. 16 years ago
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. 16 years ago
rubidium 543cc6b75e (svn r16345) -Codechange: replace the Sound(Entry) pool with a simple vector of SoundEntries. 16 years ago
rubidium 4a04dfc07c (svn r16344) -Codechange: s/FileEntry/SoundEntry/ 16 years ago
frosch ceca68fca7 (svn r16343) -Fix (r16066): Invalid free on exit after changing base graphics set in game. 16 years ago
frosch 5507a5b233 (svn r16342) -Feature(tte): Display base graphics description in game options window. 16 years ago
rubidium e56cc911f1 (svn r16341) -Codechange: just use a static array instead of a never freed malloc 16 years ago
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. 16 years ago
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. 16 years ago
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
16 years ago
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 16 years ago
rubidium 10ea72a08e (svn r16336) -Codechange: make the SpriteGroup pool more like the 'normal' pools 16 years ago
smatz 76784501a8 (svn r16335) -Codechange: indenting fixes in saveload.cpp 16 years ago
smatz 4876e346d5 (svn r16334) -Codechange: use NeedLength enum 16 years ago
rubidium 88201ccd5c (svn r16333) -Cleanup: remove a bunch of unused wrapper functions. 16 years ago
rubidium e7dedf4e1b (svn r16332) -Codechange: replace some -1 + 1 with 'nothing' or <= .. - 1 with < .. - 1 (both caused due to wrapper functions) 16 years ago
smatz 3322cc978f (svn r16331) -Codechange: replace _sl.save by an enum 16 years ago
rubidium b23c967230 (svn r16330) -Fix (r16329): we were shortly visited by Mr. Kenobi. 16 years ago
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) 16 years ago
rubidium 6b2f9e8c9e (svn r16328) -Fix: desync when removing lots of stations 16 years ago
smatz 871107f529 (svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index) 16 years ago
smatz ed1e54bd84 (svn r16326) -Codechange: replace GetPoolItemPoolSize() by PoolItem::GetPoolSize() 16 years ago
smatz 6221d74644 (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) 16 years ago
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. 16 years ago
rubidium 8324cfc875 (svn r16322) -Fix [FS#2873]: trains could get stuck in a depot when they wanted to go to the same depot again. 16 years ago
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. 16 years ago
smatz aff7a9e953 (svn r16320) -Fix (r11939): loading of savegames created in revision between 0.3.5 and 0.3.6 caused crash 16 years ago
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)
16 years ago
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.
16 years ago
alberth db7e24e211 (svn r16317) -Codechange: Generalized finding a widget by type. 16 years ago
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 16 years ago
yexo 31eff1d4c3 (svn r16315) -Codechange: move the autorenew settings to a new CompanySettings struct 16 years ago
frosch aea2fcd0a0 (svn r16314) -Fix (r9315): Allow accessing the houseage when the house is not yet built. 16 years ago
rubidium 917621b639 (svn r16312) -Codechange: unduplicate yapf (rail) cache debugging. 16 years ago
frosch 8ffb93c358 (svn r16311) -Fix: (Get|Set)TrackBits() is only valid for RAIL_TILE_NORMAL and _SIGNALS. 16 years ago
smatz 683a6ca039 (svn r16308) -Fix: parameter is invalid when it's equal to length of an array (Yexo) 16 years ago
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. 16 years ago
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 16 years ago
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. 16 years ago
rubidium 9dff385c38 (svn r16304) -Codechange: remove some magic numbers from the newgrf add window so it mirrors nicely. 16 years ago
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) 16 years ago
smatz a1addc1d95 (svn r16302) -Codechange: remove Vehicle::AllocateList 16 years ago
smatz c0ed9f779b (svn r16301) -Cleanup: remove unused parameter 16 years ago
smatz 0274886ae1 (svn r16300) -Codechange: reduce usage of Vehicle::AllocateList 16 years ago
smatz 2bc5189ad5 (svn r16299) -Fix (r16242): don't use DoCommandP when the function can be called from another command 16 years ago
rubidium 5f81ba886c (svn r16297) -Codechange: silence more ICC warnings 16 years ago
rubidium d23f616e9f (svn r16296) -Codechange: silence some ICC warnings 16 years ago
rubidium 3d3b5256f0 (svn r16295) -Fix: ICC defined __GNUC__ but does not define __builtin_bswap32, so fall back to the default swap method for ICC. 16 years ago
yexo 67723e42aa (svn r16292) -Fix (r16287): autorenew settings were set to 0 when creating a new company in multiplayer 16 years ago
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. 16 years ago
rubidium 111e62bba6 (svn r16290) -Fix [FS#2888]: unable to (re)set the desert state for watery tiles 16 years ago
smatz 1f3dce6f85 (svn r16289) -Fix (r16211): 'Display map' dropdown in scenario editor was broken 16 years ago
smatz 3afce9b641 (svn r16288) -Fix (r16237): crash after clicking in the ClientList window 16 years ago
yexo 90ba8e1bc8 (svn r16287) -Fix: fix possible (in theory) desync related to autorenew settings 16 years ago
rubidium 095a30efb0 (svn r16286) -Change: make the scrolling ticker RTL/LTR aware (scroll in different directions) 16 years ago
rubidium 31272407f5 (svn r16284) -Codechange: replace some magic numbers with the left/right/top/bottom of a widget 16 years ago
rubidium c96dac5443 (svn r16283) -Fix [FS#2890]: news ticker truncated too early 16 years ago
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)
16 years ago
smatz 0b547928be (svn r16281) -Fix: silence some of compile farm warnings for target win9x 16 years ago
smatz 15a5a33c70 (svn r16280) -Fix (r13731): crash after using the 'Reset landscape' function
-Fix: remove all waypoint signs and buoys after resetting landscape
16 years ago
smatz e1e6687bfd (svn r16277) -Codechange: enumerize values and remove unneeded values used for testing town rating 16 years ago
rubidium d9e1de0281 (svn r16276) -Fix: huh, old AI? What is that? What about all the time I thought there was no AI? 16 years ago
frosch 4710c3fe31 (svn r16274) -Fix: Disable multitile houses for which the newgrf does not define proper additional tiles. (instead of crashing later) 16 years ago
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
16 years ago
frosch 552f10bb09 (svn r16268) -Fix (r9876): When callback 2E returns an amount of 0, do not transport 1 unit to the station. 16 years ago
frosch bdf0b9491d (svn r16267) -Documentation: [NoAI] Explain how to deal with IDs of various objects. 16 years ago
frosch c6f08e1247 (svn r16266) -Documentation: [NoAI] Add details to AITile::(Raise|Lower)Tile wrt. modifiing multiple corners at once. 16 years ago
smatz d4971a22d0 (svn r16265) -Fix (r16238): wrong format string for debug output 16 years ago
frosch 96dace426b (svn r16264) -Change/Fix (r16262): [NoAI] Change SLOPE_INVALID to 0xFFFF so that SLOPE_INVALID != (SLOPE_ELEVATED | SLOPE_STEEP | SLOPE_HALFTILE_MASK). 16 years ago
frosch 294d7ee9d6 (svn r16263) -Change: Interpret setting bridge property 08 to 0 as always available. 16 years ago
yexo 8d22e4bec3 (svn r16262) -Fix [NoAI]: Check slopes passed to the API better for validity 16 years ago
frosch f8944cc9b3 (svn r16261) -Fix (r16260): Replace a space with a newline and a tab. (thanks smatz) 16 years ago
frosch 677ea100b3 (svn r16260) -Codechange: Add Vehicle::IncrementOrderIndex() to deduplicate some code. 16 years ago
alberth a8aa4e2148 (svn r16259) -Codechange: Added nested widgets to the load and save dialogue windows. 16 years ago
alberth bbb951151d (svn r16258) -Codechange: Remove panel with negative height and some small adjustments in the load/save dialogue windows. 16 years ago
alberth 0cd6dde6a7 (svn r16257) -Codechange: Added empty widgets in load dialogue to move the resize box to the right place in the array. 16 years ago
alberth 590becf567 (svn r16256) -Codechange: Moved load/save dialogue widget numbers outside the window struct. 16 years ago
alberth 977db77921 (svn r16255) -Fix [FS#2887] (r16237): Nested widgets of client list window used incorrect length. 16 years ago
frosch 8fc723800f (svn r16254) -Fix [FS#2886]: Magic constant removed. 16 years ago
yexo a00b22b1cd (svn r16253) -Add [NoAI]: AIController::GetVersion, this returns the newgrf-version of OpenTTD 16 years ago
yexo 9b4a32deb4 (svn r16252) -Add [NoAI]: AIAirport::GetPrice, returning the building cost of an airport 16 years ago
translators e92efe028c (svn r16251) -Update: WebTranslator2 update to 2009-05-07 17:36:23
danish     - 26 fixed, 1 changed by ThomasA (27)
romanian   - 1 fixed by kkmic (1)
welsh      - 10 fixed by welshdragon (10)
16 years ago
rubidium 101af1f9b5 (svn r16250) -Fix (r16242): do not try to unpause when paused for a joining company 16 years ago
yexo 73e1d18871 (svn r16249) -Fix [NoAI]: Enable parameter checking for AIController::* functions again 16 years ago
yexo afc5c66386 (svn r16244) -Fix [NoAI]: Make sure AITunnel::BuildTunnel returns what the documentation says it does 16 years ago
yexo ca435fcece (svn r16243) -Fix [FS#2875]: CmdBuildTunnel could be called with invalid parameters from the api code, causing crashes later 16 years ago
rubidium 2664f2a2d9 (svn r16242) -Codechange: rework pausing
-Fix [FS#2864]: autopause and manual pausing conflict with eachother
-Fix: new game + pause on new game + autopause make the game not unpause on the first join
16 years ago
rubidium bb121a1510 (svn r16241) -Fix (r16181): regression failing due to wrongly initialised amount of traps 16 years ago
frosch ff7f2bdb20 (svn r16240) -Fix: Make 'stop in depot'-orders only apply on the target depot, not those which are entered on the way to them. 16 years ago
yexo fe5defbacc (svn r16239) -Fix (r16199): Use the stop/non-stop intermediate orderflags AIs can give for goto-depot orders 16 years ago
rubidium 951b9e7615 (svn r16238) -Change: improve/clarify some network related debug "error" messages by adding more information to them. Also give some clues on how to fix certain issues (like failing advertising). 16 years ago
alberth 29675278c4 (svn r16237) -Codechange: Add nested widgets to remaining network windows. 16 years ago
alberth b967b45ae8 (svn r16236) -Codechange: Make widget enums complete of various network windows, and add them as comment. 16 years ago
alberth 4d3f8bbb97 (svn r16235) -Codechange (r16234): But keep the window description. 16 years ago
alberth 6d783983e7 (svn r16234) -Codechange (r16231, r16233): Do not add test functions to trunk. 16 years ago
alberth 819588c51f (svn r16233) -Codechange: Added nested widgets to network content windows. 16 years ago
alberth 4add445012 (svn r16232) -Codechange: Moving network content widgets enums outside window structs. 16 years ago
alberth fb1dbd6d19 (svn r16231) -Codechange: Added nested widgets to chat window. 16 years ago
alberth e04d2c88d9 (svn r16230) -Codechange: Moving chat widgets enum outside window struct. 16 years ago
translators a75e73fa1f (svn r16229) -Update: WebTranslator2 update to 2009-05-05 12:43:50
korean     - 1 changed by dlunch (1)
luxembourgish - 53 fixed by Gubius (53)
simplified_chinese - 3 fixed, 3 changed by ww9980 (6)
16 years ago
frosch 9023c24acf (svn r16228) -Fix/Change (r16187): If we are heading for a different depot, do also not do the refitting-part of the depot-order.
-Fix (r16198): && != &, GetDepotOrderType != GetDepotActionType and - uhm - ODATFB_NEAREST_DEPOT is not set for current_order either.
16 years ago
alberth 34066a6027 (svn r16227) -Codechange: Added nested widgets for error windows, tooltip window, and dropdown window. 16 years ago
alberth efde51e452 (svn r16226) -Codechange: Separating generation of a widget array from WindowDesc to the InitializeWidgetArrayFromNestedWidgets function. 16 years ago
alberth d953f3e4c7 (svn r16225) -Codechange: Added nested widgets to all rail_gui windows (except the build depot window). 16 years ago
alberth a5e9e837a1 (svn r16224) -Codechange: Move BuildRailStationWidgets and BuildRailWaypointWidgets enums out of their Window structs, extend horizontal scrollbar by 1 pixel. 16 years ago
frosch ddd47a056d (svn r16223) -Fix (r8881): ActionB should use the online parameters from GRFFile instead of the initial user-specified values from GRFConfig. Also use the values as they were set when the ActionB was executed, not as they are set when the message is shown. 16 years ago
rubidium 21f5f602f9 (svn r16222) -Fix: unneeded pointer dereferencing 16 years ago
rubidium 5f4eeee5f0 (svn r16221) -Change: support building 64 bits OSX binaries and add optional support for 64 bits binaries in OSX universal binaries. However, do not default to adding 64 bits binaries because benchmarking has shown that they are slower than the 32 bits binaries. 16 years ago
rubidium d685ca0619 (svn r16220) -Fix [FS#2862]: possible crashes when quiting OpenTTD or forcing resizes/redraws of the screen during map generation 16 years ago
alberth c29f4fd738 (svn r16219) -Codechange: Added nested widgets to rv station picker window. 16 years ago
alberth 8ae0696447 (svn r16218) -Codechange: Move BuildRoadStationWidgets enum outside window struct. 16 years ago
alberth c8ac8decce (svn r16217) -Codechange: Make rv station picker widgets non-overlapping, fix doc typo. 16 years ago
alberth 6887660fab (svn r16216) -Codechange: Added nested widgets to vehicle view window. 16 years ago
alberth fef68aa2e9 (svn r16215) -Codechange: Added tooltip to resizebox of vehicle view window. 16 years ago
rubidium 73fd0db237 (svn r16214) -Fix [FS#2878]: shared orders without orders weren't properly converted causing corrupt/invalid orders when loading pre 0.7 savegames. 16 years ago
alberth 4cd689035d (svn r16213) -Codechange: Added nested widgets to timetable window. 16 years ago
alberth f52abe53eb (svn r16212) -Codechange: Added nested widgets for all station_gui windows. 16 years ago
alberth 58a2d5aa94 (svn r16211) -Codechange: Moving StationListWidgets out of the window class, completing StationViewWidgets. 16 years ago
alberth 99ce97b7f3 (svn r16210) -Codechange: Make panels non-overlapping in company stations window. 16 years ago
alberth 9d81a3d262 (svn r16209) -Codechange: Removed bottom panel from join station window. 16 years ago
alberth 7abcb8d368 (svn r16208) -Codechange: Added nested widgets for the buy company and show company windows. 16 years ago
alberth 553dcd02a7 (svn r16207) -Codechange: Added and applied BuyCompanyWidgets enum.
-Doc: Small fixes and additions to documentation.
16 years ago
translators 3b96c0313b (svn r16206) -Update: WebTranslator2 update to 2009-05-02 17:39:59
german     - 10 changed by planetmaker (10)
korean     - 30 fixed, 2 changed by leejaeuk5 (32)
16 years ago
alberth 86eb1ca626 (svn r16205) -Codechange: Added nested widgets for news windows and news-settings window. 16 years ago
alberth 1728dd8046 (svn r16204) -Codechange: Completing widget numbers of news settings window. 16 years ago
alberth 551e377614 (svn r16203) -Codechange: Simplify widget layout of news settings window. 16 years ago
alberth c3c527c9b8 (svn r16202) -Codechange: Use widget top coordinate instead of hardcoded value. 16 years ago
alberth 37afd58fdb (svn r16201) -Codechange: Add NWidgetBase::SetPadding method. 16 years ago
alberth eab4fb07c6 (svn r16200) -Codechange: Moving news-type description to NewsTypeData array. 16 years ago
frosch d518b3d0ac (svn r16199) -Codechange: Pass OrderNonStopFlags also to MakeGoToDepotOrder().
-Fix: 'Go non-stop to nearest depot'-orders did not work wrt. the 'non-stop' part.
-Fix: Adding 'Go to nearest depot'-orders did not respect the default setting for 'non-stop'.
16 years ago
frosch a22ff74ef2 (svn r16198) -Fix/Change (r16187): 'Go to nearest depot'-orders are fulfilled when reaching any depot, even though the train decided for a different depot on the last junction/order-skip. 16 years ago
alberth ea7891fc6a (svn r16197) -Codechange: Structure buttons of train order window based on related functions rather than position. 16 years ago
alberth f65cb3cd5b (svn r16196) -Codechange: Added nested widgets for non-train and other-companies order windows. 16 years ago
alberth 47ba900958 (svn r16195) -Codechange: Even empty widgets should live within window boundaries. 16 years ago
translators b976703c45 (svn r16194) -Update: WebTranslator2 update to 2009-05-01 17:45:47
finnish    - 10 fixed by jpx_ (10)
romanian   - 22 fixed by kkmic (22)
turkish    - 11 fixed by Emin (11)
16 years ago
alberth dfbf698392 (svn r16193) -Codechange: Added nested widgets for smallmap and extra viewport windows. 16 years ago
alberth b1de51b8d6 (svn r16192) -Codechange: Moving smallmap and extra viewport widget enums out of the window structs, completing smallmap enum. 16 years ago
alberth 9dd72dfaa3 (svn r16191) -Codechange: Added nested widgets of one order window. 16 years ago
alberth 585440c38d (svn r16190) -Codechange: Allow stacking of nested widgets. 16 years ago
alberth 94bc498c42 (svn r16189) -Doc: Additions and improvement of (mainly) nested widgets/widget-parts doxygen docs. 16 years ago
rubidium 90fe46123a (svn r16188) -Fix [FS#2874] (r16124): printing the first 4 bytes worth of a 8 byte integer causes some unwanted side effects when the system is not little-endian. 16 years ago
rubidium 2a68294990 (svn r16187) -Fix [FS#2871]: do mark the "go to depot X" order fulfilled when reaching any depot, but only when reaching depot X. 16 years ago
alberth e62df0abf9 (svn r16186) -Codechange: Adding nested widgets to _newgrf_desc and _newgrf_add_dlg_desc window descriptions. 16 years ago
alberth a0e7f1647d (svn r16185) -Codechange: Moving the ShowNewGRFStateWidgets and AddNewGRFWindowWidgets widget enums outside their window structs.
-Codechange: Improvements to the _newgrf_add_dlg_widgets and _newgrf_widgets widget arrays in preparation for nested widgets.
16 years ago
translators ef82b4cb2c (svn r16184) -Update: WebTranslator2 update to 2009-04-29 17:32:47
estonian   - 6 changed by kristjans (6)
french     - 10 fixed by glx (10)
polish     - 17 fixed by xaxa (17)
simplified_chinese - 25 fixed, 6 changed by ww9980 (31)
16 years ago
rubidium e825d56786 (svn r16183) -Fix [FS#2872]: wrong string alignment for error messages with face 16 years ago
rubidium afada70bac (svn r16182) -Fix: hardcoded (old sized) MAX_COMPANIES constant 16 years ago