Commit Graph

8547 Commits (c1b40ee5e0762fd8e2a6f4810ea3f3c363cd21bc)

Author SHA1 Message Date
rubidium e437362c7b (svn r18992) -Codechange: move the file opening/closing out of the content download function 15 years ago
rubidium 589aee0cee (svn r18991) -Codechange: simplify memory management of DownloadSelectedContent 15 years ago
peter1138 f1458df1ca (svn r18990) -Codechange: [NewGRF] Add rail type map bounds checking to RailType[Change|Reserve]Info(). 15 years ago
peter1138 9950fc1ede (svn r18989) -Codechange: [NewGRF] Initialise rail type map with default rail types. 15 years ago
yexo 39c1de23d6 (svn r18988) -Fix: [NewGRF] industry var A5 (=high 8 bits of var A4) returned the high 8 bits of var A2. Same problem for 9B/9A/98 15 years ago
terkhen 2798fdf082 (svn r18987) -Fix: [NoAI] Make building long rails fail for AIs if there is an obstacle in the way. 15 years ago
terkhen b02a522038 (svn r18986) -Fix (r18803): Make building long roads fail for AIs if there is an obstacle in the way. 15 years ago
translators 8d4773be94 (svn r18985) -Update from WebTranslator v3.0:
basque - 1 changes by Thadah
hebrew - 33 changes by dnd_man
lithuanian - 1 changes by BlinK_
swedish - 8 changes by Chrill
vietnamese - 4 changes by nglekhoi
welsh - 3 changes by Rufus
15 years ago
terkhen 8849943da5 (svn r18984) -Add: Viewport place methods for dragging a line with limited size. 15 years ago
translators 615324130b (svn r18983) -Update from WebTranslator v3.0:
traditional_chinese - 11 changes by josesun
dutch - 3 changes by habell
greek - 9 changes by fumantsu
lithuanian - 4 changes by BlinK_
norwegian_bokmal - 2 changes by CyberKenny
norwegian_nynorsk - 2 changes by mantaray
vietnamese - 5 changes by nglekhoi
15 years ago
smatz 78ffa78ee7 (svn r18981) -Change: show empty query after creating new group (instead of 'Group nnn') 15 years ago
rubidium 06e80d0a1f (svn r18980) -Codechange: preceeding -> preceding (spelling) 15 years ago
matthijs 108b86282f (svn r18979) -Fix: Typo in console save command output. 15 years ago
smatz d155794605 (svn r18978) -Fix [FS#3584](r14753): possible invalid memory access when merging companies 15 years ago
terkhen 68fc39ea1d (svn r18977) -Doc: Add comments to ViewportDragDropSelectionProcess. 15 years ago
frosch c23e4e4538 (svn r18976) -Fix: Estimating the cost of removing statues could clear the presence flag in the town. 15 years ago
frosch 5f4f562d53 (svn r18975) -Cleanup: CMD_REMOVE_ROAD is unused. 15 years ago
frosch cbbe311cea (svn r18974) -Fix [FS#3578]: CMD_BUILD_ROAD missed CMD_AUTO. Also do not access tiles anymore after clearing them; that fails either in test or exec run. 15 years ago
translators 8e6096931a (svn r18973) -Update from WebTranslator v3.0:
catalan - 6 changes by arnau
hebrew - 8 changes by dnd_man
italian - 2 changes by lorenzodv
lithuanian - 12 changes by BlinK_
portuguese - 6 changes by JayCity
15 years ago
peter1138 2b820780a1 (svn r18972) -Add: [NewGRF] Per-rail type speed limits. 15 years ago
peter1138 2331ccd589 (svn r18971) -Fix: Train acceleration for original acceleration model wasn't updated if the train's power changed. 15 years ago
peter1138 990cbe6263 (svn r18970) -Codechange: Increase number of possible rail types to 16. 15 years ago
peter1138 32ef582c37 (svn r18969) -Add: [NewGRF] NewGRF-settable rail type properties. 15 years ago
translators 84c6616ee0 (svn r18968) -Update from WebTranslator v3.0:
bulgarian - 5 changes by Tvel
czech - 3 changes by ReisRyos
finnish - 2 changes by jpx_
french - 2 changes by glx
german - 2 changes by planetmaker
hungarian - 4 changes by IPG
indonesian - 7 changes by fanioz
italian - 4 changes by lorenzodv
korean - 2 changes by junho2813
lithuanian - 6 changes by BlinK_
serbian - 2 changes by etran
slovenian - 3 changes by ntadej
spanish - 2 changes by Terkhen
vietnamese - 44 changes by myquartz
15 years ago
frosch f9cebfcfc4 (svn r18967) -Fix (r18966): Never trust your copy&paste skills. 15 years ago
frosch 88019e64e1 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 15 years ago
frosch 2f6fe85f23 (svn r18965) -Fix (r17846): Don't compare horizontal positions with vertical. 15 years ago
frosch af50e0a4cf (svn r18964) -Change: Highlight the selected action for town authority, and do not duplicate the itemtext to the description. 15 years ago
terkhen 272f2cd93e (svn r18963) -Codechange: Give AccelerationModel a generical name. 15 years ago
alberth 815eede0be (svn r18962) -Fix (r18958, r18961): Code-style, use this explicitly. 15 years ago
alberth cdc6f5ddc1 (svn r18961) -Codechange: Simplifying and unduplicating code in smallmap. 15 years ago
terkhen 72f4bd818c (svn r18960) -Codechange: Move acceleration-related values to a separated cache. 15 years ago
frosch 9e4a62d1ee (svn r18959) -Feature: [NewGRF] Allow layering of multiple groundsprites in spritelayouts of stations, houses and industrytiles; so hacks with zero-sized bounding boxes are no longer needed and no longer cause trouble. 15 years ago
alberth 5c9cb9648b (svn r18958) -Codechange: Merge smallmap remap functions. 15 years ago
alberth ab4072ba8d (svn r18957) -Doc: Documenting the scroll_x, scroll_y, and subscroll variables of SmallMapWindow. 15 years ago
yexo b7fc8b4979 (svn r18956) -Update: NoAI changelog 15 years ago
yexo 15016e3511 (svn r18955) -Feature: [NoAI] introduce GetBuildCost functions in several classes to get easier cost estimations before you start building 15 years ago
smatz 54f958c8e5 (svn r18954) -Fix (r18952): missing 'inline' 15 years ago
yexo 4c4d1e1bf6 (svn r18953) -Feature: [NoAI] allow editing AI settings while an AI is running
Only settings with the AICONFIG_INGAME flag can be editted in this way
15 years ago
yexo dc714960e3 (svn r18952) -Fix (r18950): loading recent (=newer then title game) savegames failed 15 years ago
translators b0349704b0 (svn r18951) -Update from WebTranslator v3.0:
czech - 8 changes by ReisRyos
dutch - 6 changes by Yexo
finnish - 4 changes by jpx_
french - 4 changes by glx
german - 4 changes by planetmaker
greek - 7 changes by fumantsu
hungarian - 4 changes by Petert
korean - 4 changes by junho2813
norwegian_bokmal - 4 changes by mantaray
norwegian_nynorsk - 4 changes by mantaray
serbian - 4 changes by etran
slovenian - 4 changes by ntadej
spanish - 4 changes by Terkhen
vietnamese - 24 changes by myquartz
15 years ago
yexo f381b91de0 (svn r18950) -Fix: make sure the values of settings loaded from a savegame are valid 15 years ago
yexo f8b0ddd3ec (svn r18949) -Fix (r18942): 'reduced plane crashes' were actually 'more plane crashes' 15 years ago
yexo ea227aa033 (svn r18948) -Fix: removing a newgrf from the list didn't update the scrollbar 15 years ago
yexo 81882039e3 (svn r18947) -Fix [FS#1510]: after clicking move up/move down in the newgrf/ai the selected item could be out of range 15 years ago
yexo a668e801e4 (svn r18946) -Fix: it was possible to change AI settings without changing to the custom difficulty level by using the query text window 15 years ago
yexo a43a23b408 (svn r18945) -Codechange: typo 15 years ago
yexo fae34ee719 (svn r18944) -Change [FS#3232]: use the highest version of an AI that can load the AI data from a savegame instead of the exact same version 15 years ago
yexo d75b9f1642 (svn r18943) -Feature [FS#2885]: make it possible to change newgame settings from within a game via the console (use setting_newgame instead of setting) 15 years ago
yexo fa01b25f74 (svn r18942) -Feature [FS#2678]: add a setting to reduce/disable aircraft crashes 15 years ago
yexo b689e3d6e4 (svn r18941) -Fix [FS#3575]: remove the loading indicators as soon as a train crashes 15 years ago
yexo da3ff51759 (svn r18940) -Feature: make the crash position of aircraft a bit random by giving aircraft a chance to crash every tick they're breaking.
Slow aircraft will crash a bit less, fast aircraft might crash a bit more
15 years ago
terkhen d4376779f8 (svn r18939) -Codechange [FS#3545]: Move train slope steepness to its own function. 15 years ago
frosch 294bc14652 (svn r18938) -Fix: Industrylayout's special water tile check did not properly check for crossing north border of map. Also don't consider MP_VOID tiles as water. 15 years ago
yexo 6be4560528 (svn r18937) -Fix (r15190): TileAddWrap didn't return INVALID_TILE for void tiles at the north border 15 years ago
translators 8ee96d4d45 (svn r18936) -Update from WebTranslator v3.0:
hungarian - 2 changes by IPG
indonesian - 5 changes by fanioz
spanish - 7 changes by yanok
vietnamese - 544 changes by myquartz
15 years ago
rubidium c1c401b51b (svn r18935) -Fix [FS#3551] (r18764): value of variables 90 and 91 weren't what NARS expects 15 years ago
glx 27491c5586 (svn r18934) -Fix (r18892, r18913): the deadlock should be definitively gone now 15 years ago
peter1138 08a24fcc31 (svn r18933) -Codechange: Don't constantly redraw a window when moving it unless it actually moves. 15 years ago
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