Commit Graph

8488 Commits (0e97146d4de2c43fbbba845e63f4dcd151c7843c)

Author SHA1 Message Date
peter1138 07b285c5ca (svn r18932) -Codechange: Don't constantly redraw drop drop list. 15 years ago
frosch a3168269f9 (svn r18931) -Fix: Disabling autoreplace rules might count invalid engines. 15 years ago
frosch 7b237ee607 (svn r18930) -Fix: [NoAI] Autoreplace is also valid for the default group. 15 years ago
frosch ec9ac775bf (svn r18929) -Fix [FS#3568]: Preserve some timetable related vehicle flags during autorenew/-replace. 15 years ago
frosch 9a1dddd137 (svn r18928) -Fix (r18304): The date in case of 'early arrival' was misaligned in the timetable GUI. 15 years ago
rubidium 9a4a120b6e (svn r18927) -Change: move Vietnamese out of unfinished 15 years ago
translators 68344778e3 (svn r18926) -Update from WebTranslator v3.0:
romanian - 3 changes by kkmic
ukrainian - 2 changes by Madvin
vietnamese - 738 changes by myquartz
15 years ago
yexo ea7c90d471 (svn r18925) -Fix (r18924): a waypoint can have a buoy but no rail waypoint tile 15 years ago
yexo 849e676410 (svn r18924) -Fix [NoAI]: AIOrder::GetOrderDestination could return a non-waypoint tile when the waypoint was a multitile waypoint 15 years ago
peter1138 cd6eac77c3 (svn r18923) -Fix [FS#3565]: Check source stationspec exists before copying layouts. 15 years ago
yexo 4df90cddee (svn r18922) -Doc: add doxygen documentation to all functions in station_map.h 15 years ago
yexo 7f998ce80d (svn r18921) -Codechange: make the preconditions for Get/Set CustomStationSpecIndex a bit more strict 15 years ago
translators 0bc1b736d7 (svn r18920) -Update from WebTranslator v3.0:
afrikaans - 4 changes by Maccie123
dutch - 3 changes by habell
vietnamese - 638 changes by myquartz
15 years ago
glx 918b3aff5e (svn r18919) -Fix (r15371): strcasestr() return should not be const 15 years ago
translators 078e1edabc (svn r18917) -Update from WebTranslator v3.0:
danish - 1 changes by Hatsen
lithuanian - 17 changes by BlinK_, Devastator
malay - 17 changes by toadhall
norwegian_bokmal - 84 changes by mantaray
norwegian_nynorsk - 4 changes by mantaray
polish - 1 changes by xaxa
swedish - 6 changes by tobjork
15 years ago
frosch f379b0a1d9 (svn r18916) -Fix (r18809): Don't rely on 'time.h' being included via dark roads. 15 years ago
glx 32fa5384d2 (svn r18915) -Fix (r18912): use a macro for empty DrawTileSprites elements (and solve missing braces/initializer warnings) 15 years ago
glx 57718cc5a7 (svn r18913) -Fix (r18892): the deadlock was still possible 15 years ago
yexo 388c713f08 (svn r18912) -Codechange: free up a bunch of airporttile ids by using the tile animation frame 15 years ago
yexo 6ff482f515 (svn r18911) -Fix (r18910): forgot to svn add the new file 15 years ago
yexo de3c92dd06 (svn r18910) -Codechange: move the enum with airporttile names to table/airporttile_ids.h 15 years ago
translators 3a23e38898 (svn r18909) -Update from WebTranslator v3.0:
hebrew - 5 changes by dnd_man
norwegian_bokmal - 284 changes by mantaray
norwegian_nynorsk - 1 changes by mantaray
portuguese - 1 changes by JayCity
romanian - 2 changes by tonny
russian - 2 changes by Lone_Wolf
slovenian - 89 changes by ntadej
welsh - 2 changes by welshdragon
15 years ago
rubidium 3d0b3818dd (svn r18908) -Fix [FS#3561]: on bankruptcy the company value did include the loan and as such the value at which you bought the company was too low 15 years ago
alberth b2f9b0ac43 (svn r18907) -Cleanup: Smallmap was the last user of SetPixelIfEmpty(). 15 years ago
alberth d2fc24d61c (svn r18906) -Codechange: Use start and end column position instead of a mask for drawing a column in the smallmap. 15 years ago
peter1138 c83d57f228 (svn r18905) -Fix (r18902): Compile error on 64-bit with gcc 15 years ago
michi_cc a4f50de959 (svn r18904) -Fix: Writing LZO-compressed savegames would produce invalid files and potentially overwrite memory. 15 years ago
rubidium 299d405680 (svn r18902) -Fix [FS#3559]: the default button for the advanced settings didn't work 15 years ago
rubidium afcce5ed90 (svn r18901) -Change: make the default button work again for the world generation window; previously it worked due to the bug fixed in r18899. Do not add it again for the town custom number because there is no default for that one. 15 years ago
rubidium 37b0a61b42 (svn r18900) -Document: that an empty string for OnQueryTextFinished means 'use default' 15 years ago
rubidium 2b82db72ef (svn r18899) -Fix: the default button was enabled even when the ENABLE_DEFAULT flag wasn't set 15 years ago
translators 4d184e9b16 (svn r18898) -Update from WebTranslator v3.0:
italian - 2 changes by lorenzodv
japanese - 16 changes by PouncingAnt
korean - 1 changes by junho2813
lithuanian - 275 changes by BlinK_
norwegian_bokmal - 7 changes by Zhygometh
spanish - 4 changes by Terkhen
swedish - 91 changes by tobjork
15 years ago
frosch 4034f249db (svn r18897) -Fix: Land area information read the stationspec also for non-rail-stationtiles, which is no longer valid since r18876. 15 years ago
rubidium 9e106dca81 (svn r18896) -Fix [FS#3558]: pressing cancel for the query windows of the world generation window caused the default to be set instead of no changes to the value 15 years ago
peter1138 00ffde86d2 (svn r18893) -Codechange: Replace grf_load_* with methods of ByteReader. 15 years ago
glx a554b41452 (svn r18892) -Fix: in some rare case a deadlock could happen when stopping sound driver (windows) 15 years ago
peter1138 200dc6821f (svn r18891) -Fix: Avoid duplicate path separator when searching for PNG files which prevented tar-lookups. 15 years ago
frosch 3df9caa86a (svn r18890) -Codechange: Unify drawing of foundations for MP_UNMOVABLE. 15 years ago
frosch bf65eb686e (svn r18889) -Codechange: Use (GroundSprite|SpriteLayout)PaletteTransform() also for drawing of default industries. They are compatible since the bubblegenerator is also randomly recoloured. 15 years ago
frosch 6260d243ee (svn r18888) -Codechange: Rename PALETTE_59[EF] to something more meaningful. 15 years ago
translators 7f09435239 (svn r18887) -Update from WebTranslator v3.0:
bulgarian - 120 changes by Tvel
catalan - 4 changes by arnau
finnish - 2 changes by jpx_
french - 2 changes by glx
german - 2 changes by planetmaker
korean - 1 changes by junho2813
serbian - 3 changes by etran
slovenian - 4 changes by ntadej
spanish - 1 changes by Terkhen
15 years ago
peter1138 16e621c939 (svn r18886) -Fix (r18884): Spurious casting 15 years ago
peter1138 bb71c61ee1 (svn r18885) -Fix (r18884): Industry tile layouts weren't completely freed on error. 15 years ago
peter1138 927f149ff2 (svn r18884) -Fix: [NewGRF] Perform bounds checking for all NewGRF data reads. Explicit length checks (which were not always correct) are no longer needed so these are removed to simplify code. 15 years ago
rubidium 7ec3d9a0c6 (svn r18883) -Codechange: warn in the difficulty and AI configuration window when setting the number of AIs to non-zero when you don't have AIs 15 years ago
rubidium 18446dd599 (svn r18882) -Change: default to zero AIs 15 years ago
rubidium 5ddf56f0e0 (svn r18881) -Codechange: make the AI debug window look nicer when not at its minimum size 15 years ago
yexo b76a5669f5 (svn r18880) -Fix: aircraft can be send to an hangar when the target airport has one and when it can land, not only when it has a plane terminal 15 years ago
translators fdfd0ab922 (svn r18879) -Update from WebTranslator v3.0:
portuguese - 2 changes by SupSuper
slovenian - 6 changes by ntadej
spanish - 149 changes by Terkhen
15 years ago
yexo e80f4f20af (svn r18878) -Fix [NewGRF]: crash when a newgrf used var62 in an industry tile chain when the industry tile was part of an original industry 15 years ago
yexo d04441e3f7 (svn r18877) -Change: make the default size of the AI debug window bigger so the 'no ai found' message can be read completely without resizing 15 years ago
yexo 18e7ec6b3e (svn r18876) -Codechange: make sure m4 is always 0 for non-railroad station tiles 15 years ago
rubidium f608ad7baf (svn r18875) -Codechange: remove some unneeded bits from the network protocol and improve the naming of some variables 15 years ago
rubidium e130e4e9ba (svn r18874) -Codechange: Change enum Sprites { to static const StringID = for each SPR_ entry and similar for cursors and palettes. This avoids the need for a cast in some places and thus provides better type-safety. 15 years ago
rubidium db33e32b4d (svn r18873) -Codechange: use PaletteID also in the blitter 15 years ago
rubidium f94c83a387 (svn r18872) -Codechange: introduce PaletteID and use it 15 years ago
translators 05129cf138 (svn r18869) -Update from WebTranslator v3.0:
serbian - 2 changes by etran
slovenian - 49 changes by ntadej
15 years ago
frosch 107ad9bfe1 (svn r18868) -Fix [FS#3547](r18776): Wrong comparator. 15 years ago
translators 36bb4e19ae (svn r18867) -Update from WebTranslator v3.0:
croatian - 36 changes by 
greek - 1 changes by fumantsu
spanish - 109 changes by Terkhen
15 years ago
rubidium 4d93b704d9 (svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions 15 years ago
rubidium a8749ffa5b (svn r18864) -Fix [FS#3532]: town noise population settings could not be changed in-game 15 years ago
translators a203eaf18f (svn r18863) -Update from WebTranslator v3.0:
croatian - 36 changes by 
hebrew - 38 changes by dnd_man
polish - 1 changes by xaxa
spanish - 1 changes by Terkhen
ukrainian - 2 changes by Madvin
15 years ago
rubidium b1bd106703 (svn r18862) -Fix [FS#3544]: don't pass AI strings through iconv 15 years ago
smatz a39a446e8f (svn r18861) -Doc: more doxygen documentation in genworld files 15 years ago
yexo a1f28ec88b (svn r18860) -Codechange: introduce a wrapper to get an hangar tile from a station 15 years ago
smatz 565ad802b1 (svn r18859) -Codechange: rename glwp_modes to GenenerateLandscapeWindowMode 15 years ago
yexo bcec00fdbd (svn r18858) -Codechange: use IsAirportTile where possible 15 years ago
yexo ab68f08886 (svn r18857) -Codechange: don't rely on the fact that all airports are rectangular 15 years ago
smatz 84bc831e32 (svn r18856) -Codechange: do not call GetSlopeZInCorner() when there's no fence to draw 15 years ago
smatz 9fc910fbc2 (svn r18855) -Codechange: record compiler name and version in the crash log 15 years ago
rubidium 23a8d2239f (svn r18854) -Codechange [FS#3539]: unconflict acceleration type as 'status' and rail property (Terhken) 15 years ago
smatz 11e3a00a23 (svn r18853) -Codechange: apply coding style to GenWorld's enums, structs and typedefs 15 years ago
rubidium a271ef214b (svn r18852) -Update: tweak date formatting of Hebrew 15 years ago
smatz 2469752559 (svn r18851) -Codechange: enumify number of steps needed to generate landscape 15 years ago
smatz 3850b5912f (svn r18850) -Fix [FS#3540]: don't allow screen redraw when the landscape contains broken slopes 15 years ago
translators 75395dc8ce (svn r18849) -Update from WebTranslator v3.0:
croatian - 36 changes by 
finnish - 1 changes by jpx_
greek - 1 changes by fumantsu
norwegian_nynorsk - 1 changes by bjelleklang
slovenian - 96 changes by ntadej
15 years ago
rubidium 736c12f6ae (svn r18848) -Fix (r18838): the original accelaration got broken 15 years ago
frosch 24e0945bc4 (svn r18846) -Codechange: Merge DrawTileSeq into DrawCommonTileSeq. 15 years ago
yexo 830af8ee77 (svn r18845) -Codechange: introduce AirportTileSpec and use it for animation 15 years ago
yexo f920415752 (svn r18844) -Codechange: add GPL notice to src/table/airport_defaults.h 15 years ago
frosch ae48ea16f9 (svn r18843) -Codechange: Only NewGRF supplied spritelayouts use SPRITE_MODIFIER_CUSTOM_SPRITE, so no extra tests needed. 15 years ago
frosch d9d75c83d5 (svn r18842) -Codechange: Rename SPRITE_MODIFIER_USE_OFFSET to SPRITE_MODIFIER_CUSTOM_SPRITE, invert its meaning, and also use it for industry/house layouts instead of IS_CUSTOM_SPRITE(). 15 years ago
frosch 707cf045f8 (svn r18841) -Fix (r16869): Default-waypoint was drawn incorrectly for monorail and maglev in the waypoint picker. 15 years ago
frosch 2e9529aff3 (svn r18840) -Codechange: Use DrawCommonTileSeq[InGUI] for roaddepot drawing. 15 years ago
frosch 381bf04bab (svn r18839) -Codechange: Detriplicate drawing of spritelayouts in the GUI. 15 years ago
rubidium 719fb9803c (svn r18838) -Codechange [FS#3524]: reorganisation of the train acceleration code plus some minor optimisations (Terkhen) 15 years ago
frosch d27999e446 (svn r18837) -Codechange: Rename DrawStationTileSeq() to DrawCommonTileSeq() and move it to separate file. 15 years ago
rubidium 199091600a (svn r18836) -Codechange: make TrainUpdateSpeed a class function and update some comments (Terkhen) 15 years ago
peter1138 df06c14f61 (svn r18835) -Fix: Large sounds could still cause an overflow with high sample rates, causing them to be cut off. 15 years ago
rubidium 15adbad2f4 (svn r18834) -Fix [FS#3538]: compilation failed on OpenBSD (matze) 15 years ago
peter1138 3a5e588f12 (svn r18833) -Cleanup: Const-ness and style 15 years ago
frosch c07c7a3818 (svn r18832) -Fix: some indentation whitespace. 15 years ago
rubidium 251ffaa000 (svn r18831) -Change [FS#3537]: do not go into the crashlog handler in case loading a savegame misses with missing NewGRFs. This way the load game crash handler gets better visibility and the user is instructed to find the missing NewGRFs before filing a bug report 15 years ago
translators 7e7ec4f250 (svn r18830) -Update from WebTranslator v3.0:
croatian - 36 changes by 
finnish - 2 changes by jpx_
french - 1 changes by glx
german - 1 changes by planetmaker
hungarian - 2 changes by IPG
slovenian - 144 changes by ntadej
15 years ago
peter1138 711dea210b (svn r18829) -Codechange: Don't free memory from within audio mixer callback handler as it may be required to be real-time safe. 15 years ago
frosch 6101ad8396 (svn r18828) -Fix (r18823): Decrementing uints is different to ints. 15 years ago
alberth ff11095916 (svn r18827) -Fix: Center main window using smallmap widget edge coordinates. 15 years ago
frosch 6465f02fba (svn r18826) -Codechange: Unifiy return value of (SmallArray|FixedSizeArray)::(Append|AppendC) with other containers. (skidd13) 15 years ago
frosch 84ece021fd (svn r18825) -Codechange: Sometimes code is shorter if you do not use a function for deduplication. (skidd13) 15 years ago
frosch e6faf06b68 (svn r18824) -Codechange: Turn some public members into protected ones. (skidd13) 15 years ago
frosch 085e9251c5 (svn r18823) -Codechange: Some uints for unsigned ints. (skidd13) 15 years ago
frosch c7dafb9a26 (svn r18822) -Codechange: Rename YAPF-related container classes and their members to better fit other container classes. (skidd13) 15 years ago
rubidium 21fff6407d (svn r18821) -Codechange: [Allegro] make the frequency and number of samples runtime configurable 15 years ago
rubidium f74ce1890e (svn r18820) -Codechange: [SDL] make the number of samples runtime configurable and increase the default slightly 15 years ago
rubidium 1a1797ec4d (svn r18819) -Change [FS#3493]: be consistent with airport naming 15 years ago
rubidium 879668811c (svn r18818) -Fix [FS#3526] (r18766): some train acceleration type conversions were missed 15 years ago
yexo 31d1e9c051 (svn r18816) -Fix (r18807): getting the catchment area of oilrigs triggered an assert 15 years ago
yexo 72572a0586 (svn r18815) -Fix (r18813): adding a single newgrf via the newgrf gui added all newgrfs after the selected one too 15 years ago
translators 785b7e3382 (svn r18814) -Update from WebTranslator v3.0:
croatian - 36 changes by 
polish - 5 changes by amateja
romanian - 1 changes by kkmic
spanish - 1 changes by Terkhen
15 years ago
yexo bd102b78ee (svn r18813) -Codechange: deduplicate copying a newgrf config 15 years ago
rubidium aaf0b4b46c (svn r18812) -Codechange: make some functions in train.h functions of Train. 15 years ago
rubidium 55d1db5b28 (svn r18811) -Fix (r18803): also swap the parameters for the AI API 15 years ago
glx aff659b0b7 (svn r18810) -Fix (r18809): broken win32 compilation with SDL 15 years ago
rubidium 82fc28f77f (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
yexo f380a7239d (svn r18808) -Cleanup: deplicate by using an existing function 15 years ago
yexo d669801f1d (svn r18807) -Codechange: introduce AirportSpec and move several non-statemachine-related variables to there 15 years ago
peter1138 c37d69d161 (svn r18806) -Codechange: Typo in comment 15 years ago
rubidium ca167791b6 (svn r18805) -Codechange: move airport_movement.h to table/ 15 years ago
rubidium 4ecb3eb33c (svn r18804) -Codechange: guard against binaries claiming to be compatible with a future (stable) release of OpenTTD. 15 years ago
rubidium c390e8f00e (svn r18803) -Feature [FS#3318]: make building (long) roads work like building rail; build upon the first obstruction instead of failing totally. Patch by Terkhen. 15 years ago
frosch ed83388faa (svn r18802) -Codechange: Deduplicate drawing-code for depots and stations/waypoints. 15 years ago
rubidium f89d6bea0e (svn r18801) -Fix: in some cases error messages weren't properly sent to the client before closing the connection. As a result the client would say 'connection lost' when the cause was something completely different. 15 years ago
rubidium 83c8c562bb (svn r18800) -Fix: in some cases with invalid packets one can crash recent trunk and 1.0.0 betas; 0.7.5 and before can't be crashed though. 15 years ago
translators f42b435d28 (svn r18799) -Update from WebTranslator v3.0:
croatian - 36 changes by 
russian - 2 changes by Lone_Wolf
ukrainian - 3 changes by Madvin
15 years ago
belugas 1335914ec8 (svn r18798) -Codechange: Simplify use of parameter p2 by using the data it is represeting. Based on work by Terkhen 15 years ago
rubidium 66b900215a (svn r18797) -Fix (r18781): building wagons didn't add them to a train 15 years ago
rubidium 7aeccb9bd0 (svn r18796) -Fix [FS#3521]: [SDL] possible deadlock when killing OpenTTD while starting it 15 years ago
translators f43646cd7d (svn r18795) -Update from WebTranslator v3.0:
croatian - 36 changes by 
dutch - 190 changes by Hirundo
portuguese - 2 changes by JayCity
spanish - 1 changes by Terkhen
15 years ago
rubidium f9d2ccf8db (svn r18794) -Codechange: add local company and network 'state' to the crash log 15 years ago
translators 2868da2f57 (svn r18793) -Update from WebTranslator v3.0:
croatian - 36 changes by 
dutch - 69 changes by Hirundo
german - 1 changes by planetmaker
russian - 2 changes by Lone_Wolf
15 years ago
rubidium 9c579a5adf (svn r18792) -Fix [FS#3522] (r18709): crash when using the 32bpp blitter with a dedicated server 15 years ago
rubidium 70aad27dcb (svn r18791) -Fix [FS#3504]: when copying an 'image' back into the buffer the 32bpp anim blitter triggered palette check of the whole window instead of only the part the got copied back 15 years ago
peter1138 c3fffe7496 (svn r18790) -Revert (r18001,r18177,FS#3515): Viewport could still jump under high CPU load. Revert as change caused more problems than it fixed. 15 years ago
rubidium cb820e3da3 (svn r18789) -Codechange: when we're not in a network game we don't even need to consider undrawing the chat messages 15 years ago
rubidium 351eb4665c (svn r18788) -Codechange: replace macro as without macro it's shorter than with the macro. 15 years ago
rubidium a535acb549 (svn r18787) -Fix [FS#3516]: crash when getting the tooltip of the industry amount in the world generation window 15 years ago
rubidium a6ebc1a77e (svn r18786) -Fix [FS#3507]: NoAI's custom implementation of DoCommandP has several flaws (not masking of bits, not resetting town authority updates on checks/estimates, ...). Let it use DoCommandPInternal, DoCommandP without showing error messages and such, instead. 15 years ago
rubidium 2365819312 (svn r18785) -Codechange: rewrite/rework DoCommandP in order to simplify it, reduce duplication and remove gotos. 15 years ago
rubidium ebe99fd493 (svn r18784) -Codechange: make NetworkSend_Command accept a company instead of using _local_company to pass that information, with the whole mess when you don't want the company to be _local_company. 15 years ago
rubidium 3e5a87a52c (svn r18783) -Codechange: make CheckCompanyHasMoney set an error on the CommandCost it tests when you don't have enough money instead of setting a global variable. 15 years ago
rubidium 6a047d2316 (svn r18782) -Codechange: move the content of callback_table.cpp to network_command.cpp; it's only ever used there. 15 years ago
rubidium 2b97f38cd1 (svn r18781) -Codechange: pass the CommandCost to the callback instead of whether it succeeded or not.
-Fix: AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase.
15 years ago
translators 48df0d4e06 (svn r18780) -Update from WebTranslator v3.0:
traditional_chinese - 1 changes by josesun
croatian - 36 changes by 
dutch - 60 changes by Hirundo
french - 1 changes by glx
15 years ago
rubidium 833c6f36f3 (svn r18779) -Codechange: merge the command callbacks of the primary vehicles; they are identical 15 years ago
michi_cc de878fad31 (svn r18778) -Fix [FS#3483]: [YAPP] Remove a special check for two-sided signals when reserving a path as this causes trains to get stuck in front of them. 15 years ago
rubidium f51aac3523 (svn r18777) -Codechange: remove some unused parameters from a function 15 years ago
frosch d5fa74369a (svn r18776) -Codechange: Use SmallVector to collect refit options. 15 years ago
rubidium 3ebec78900 (svn r18775) -Fix (r18769): non-LZO code used LZO defines, also replace #define with static const uint and add some documentation. 15 years ago
frosch fee0cebc46 (svn r18774) -Change: Consider callback 19 only broken after subcargos 0 to 255 have been used, instead of stopping at 15. 15 years ago
translators 632280e06e (svn r18773) -Update from WebTranslator v3.0:
afrikaans - 6 changes by burgerd
croatian - 36 changes by 
danish - 3 changes by mgarde
dutch - 86 changes by Hirundo
french - 1 changes by glx
italian - 2 changes by lorenzodv
polish - 2 changes by xaxa
spanish - 4 changes by Terkhen
15 years ago