Commit Graph

4252 Commits (01e8ec447e7e89bc49251dcab1b8a1b184adec37)

Author SHA1 Message Date
frosch 196268b7ff (svn r13922) -Codechange: Move measurement-tooltip related stuff out of the general tooltip window. 16 years ago
peter1138 755b149902 (svn r13921) -Codechange (r11473): Use the correct enum... 16 years ago
belugas 55f12e8b22 (svn r13920) -Codechange: uniformise the definition with the declaration of DrawFrameRect 16 years ago
belugas 7ef5369306 (svn r13919) -Codechange: Replace numbers with Colours enum on osk(forgot 2 assignations), statusbar, subsidy, terraform, timetable, toolbar, town, tree and vehicle guis. 16 years ago
rubidium 7aa97fee8c (svn r13917) -Fix [FS#2178]: wrong tooltip for the industry directory's list. 16 years ago
bjarni 2eb3b4e3ae (svn r13913) -Fix (r13893): [OSX] fixed a warning about MAC_OS_X_VERSION_10_5 not being defined on all systems 16 years ago
rubidium 2b6978e48e (svn r13912) -Codechange: remove some casts by returning the proper type instead of void*. 16 years ago
smatz 0a67e72df5 (svn r13911) -Fix (r13806): do not consider crashed train as waiting at signal, v->direction doesn't have to match track anyway 16 years ago
rubidium 019a519446 (svn r13910) -Document: string drawing related functions and types (Alberth) 16 years ago
rubidium 6a401d5dfc (svn r13909) -Codechange: use the same type before CmdBuildRailStation as it used in the command itself (Alberth) 16 years ago
rubidium 111bf01dbd (svn r13908) -Codechange: merge two tables into a single one (Alberth) 16 years ago
belugas 1648da0e47 (svn r13907) -Codechange: Replace a number with Colours enum on DrawFrameRect usage 16 years ago
translators 1b21ece898 (svn r13905) -Update: WebTranslator2 update to 2008-08-01 02:27:37
brazilian_portuguese - 22 fixed by tucalipe (22)
dutch      - 9 fixed by habell (9)
estonian   - 4 fixed by kristjans (4)
french     - 5 fixed, 1 changed by glx (6)
galician   - 105 fixed, 206 changed by Condex (311)
italian    - 5 fixed, 2 changed by lorenzodv (7)
korean     - 15 fixed by leejaeuk5 (15)
portuguese - 48 fixed by supra90 (48)
slovak     - 30 fixed by lengyel (30)
spanish    - 9 fixed by eusebio (9)
ukrainian  - 22 fixed by mad (22)
16 years ago
glx 6ae3c95a0c (svn r13904) -Fix (r13715): 'cast from/to pointer to/from integer of different size' warnings 16 years ago
rubidium 91dcacbf48 (svn r13903) -Fix: missing eol-style property. 16 years ago
belugas e8be25baa6 (svn r13900) -Codechange: Replace numbers with Colours enum on settings, smallmaps, stations and signs guis. 16 years ago
belugas ffe1239fbf (svn r13899) -Codechange: Replace numbers with Colours enum on roads gui.
save command file before commiting :P
16 years ago
belugas 1533e859f4 (svn r13898) -Codechange: Replace remaining numbers with Colours enum on players, roads and rails guis 16 years ago
belugas 128df8ec8a (svn r13897) -Codechange: Replace remaining numbers with Colours enum on news guis
-Fix: a few misalignements
16 years ago
belugas 2240833463 (svn r13896) -Codechange: Replace numbers with Colours enum on newgrf, order and osk guis 16 years ago
belugas 8161349383 (svn r13895) -Codechange: Replace numbers with Colours enum on music gui and on DrawFrameRect calls
-Fix: a few misalignements
16 years ago
bjarni 05040910b8 (svn r13893) -Fix: [OSX] solved a deprecated warning specific to 10.5 16 years ago
smatz 60cd53c375 (svn r13891) -Fix (r12547): one could click on waypoint and station signs even when they were invisible 16 years ago
peter1138 7672a90972 (svn r13890) -Codechange: Simplify drawing of invisibilty buttons in the transparency gui -- the real widgets above already have coordinates so there is no need to hardcode them again. As an added bonus the invisibility buttons now line up properly. 16 years ago
belugas 434493b660 (svn r13889) -Codechange: Replace numbers with Colours enum on transparency gui.
-Fix: "true" is not a color.  COLOUR_PALE_GREEN should look better, at least in the code ;)
16 years ago
belugas 195f40b123 (svn r13888) -Codechange: Replace numbers with Colours enum on miscellaneous guis. 16 years ago
belugas 2767042705 (svn r13887) -Codechange: Replace numbers with Colours enum on autoreplace, build_vehicle, cheat, depot and dock guis.
The fact that it goes alphabetically is pure coincidence.
16 years ago
frosch d54d8bf295 (svn r13885) -Fix [FS#2168]: Var 0x7F is not feature-specific. 16 years ago
smatz d4774bdbab (svn r13884) -Fix (r11822): custom vehicle names from TTD(Patch) games were lost 16 years ago
belugas 755c09a12a (svn r13883) -Codechange: Replace numbers with Colours enum on graph gui 16 years ago
belugas cfd40cdd54 (svn r13882) -Codechange: Replace widget numbers with appropriate enums 16 years ago
frosch 2e18042aad (svn r13881) -Cleanup (r12751): Remove some dead code. 16 years ago
belugas 00662720aa (svn r13880) -Codechange: Replace numbers with Colours enum on intro gui, and align a bit the code 16 years ago
belugas a63bcef135 (svn r13879) -Codechange: Replace numbers with Colours enum on engine, industries and group gui 16 years ago
belugas 904e302004 (svn r13876) -Codechange: Replace numbers with Colours enum on bridge gui 16 years ago
belugas 8dfe13a72e (svn r13875) -Codechange: Remove some magic numbers in favour of the Colours enum they are representing 16 years ago
belugas b80b53e6ec (svn r13874) -Change: missing svn:property eol-style 16 years ago
belugas d3d5e4bac8 (svn r13873) -Codechange: remove useless string from all language files affected by r13872. which removed the STR_NEWS_OPEN_CLOSE string 16 years ago
belugas 7e4b1e2d84 (svn r13872) -Feature: Split the news message announcing opening and closure of industries into two news of their own 16 years ago
peter1138 93c279d6b4 (svn r13870) -Fix [FS#2167]: Callback 10 (visual effect and powered wagons setting) and powered wagons operation were not performed for articulated wagons. 16 years ago
rubidium 42265315e2 (svn r13869) -Fix [FS#2153] (r13674): in some cases the sprite cache could be filled with unremovable items. 16 years ago
frosch d791f3486d (svn r13868) -Fix: Parent scope of industry variables. 16 years ago
belugas dc25683255 (svn r13867) -Codechange: Fix missing alignment 16 years ago
peter1138 ed438fb902 (svn r13866) -Codechange: Use sortlist for sign windows 16 years ago
peter1138 dcf8420c43 (svn r13865) -Codechange: Use case-insensitive sort for NewGRF list. 16 years ago
belugas 72344adce7 (svn r13864) -Feature(FS #2164): All industry creations are now generating a news event, even those funded by a real player. 16 years ago
smatz cd75303d80 (svn r13859) -Fix: loading of TTD(Patch) savegames from the command line didn't work 16 years ago
smatz 1adcf9c81b (svn r13858) -Fix: buffer overflow for too long filename supplied as '-g' parameter 16 years ago
peter1138 3c96d47c36 (svn r13855) -Fix [FS#2157]: Cargo type lookup was incorrect for GRFv7 files without a translation table. 16 years ago
bjarni 3cbb345224 (svn r13852) -Fix (r13849): [OSX] fixed universal binary building without breaking anything this time 16 years ago
frosch d6e8a15c8e (svn r13851) -Fix (r9393): GetTownByTile() is only valid for houses and roads. 16 years ago
frosch a3662216ee (svn r13850) -Fix [FS#2146]: Fix resp. implement refitting of articulated vehicles during autoreplace. 16 years ago
bjarni 81bf2c6010 (svn r13849) -Fix: [OSX] 10.5 appears to be more picky when setting up compiling of universal binaries 16 years ago
frosch ab31260386 (svn r13847) -Codechange: Add MAX_ARTICULATED_PARTS and set it to 100. 16 years ago
frosch 008a725e4a (svn r13846) -Fix (r13838): Do not draw water borders inside of industries. 16 years ago
frosch 1c53d19df5 (svn r13845) -Fix (r13838): When adding a WaterClass to oilrig station tiles, also make use of it. 16 years ago
frosch ef208241ab (svn r13844) -Fix (r13074, r13591): Power, running cost and capacity of multiheaded engines were (too often) doubled in newspaper resp. offer window. 16 years ago
frosch 0e91a2f52f (svn r13840) -Fix: Some glitches in the autoreplace GUI. 16 years ago
frosch 6684bc12d5 (svn r13838) -Codechange: Make industry tiles aware of WaterClasses. 16 years ago
peter1138 c64e3b4882 (svn r13836) -Fix [FS#2074]: Automatically recalculate inflation if NewGRFs are changed and cargo types are added, so that cargo payment rates are correct. 16 years ago
peter1138 6466e810eb (svn r13832) -Fix [FS#2152]: FreeType may return a bitmap glyph even if a grey-scale glyph was requested. 16 years ago
peter1138 65d1fb3a90 (svn r13831) -Codechange: Make purchase list order NewGRF property an extended byte. 16 years ago
smatz abea03fb89 (svn r13830) -Feature: show additional NewGRF info in the Tile Info window for stations, houses and industries 16 years ago
smatz 9943ac2942 (svn r13826) -Codechange: use 'INVALID_DATE' instead of '0' as placeholder in tile description 16 years ago
peter1138 ba8905fd2c (svn r13825) -Revert (r13821 partially): preview_player_rank wasn't a PlayerByte value in r12143, and still isn't a PlayerByte value. 16 years ago
rubidium f75591a5a0 (svn r13824) -Fix (r13822): also make sure a tile is a road stop tile before trying to get information about the roadstop... 16 years ago
rubidium 80daf62d95 (svn r13822) -Fix [FS#2166]: building through the wrong side of a drive through station was allowed. 16 years ago
rubidium fae2695854 (svn r13821) -Codechange: replace some uint8/bytes with more specificly named typedefs and replace a few magic numbers. 16 years ago
miham ff41af4b77 (svn r13820) -Update: WebTranslator2 update to 2008-07-25 00:59:06
brazilian_portuguese - 3 fixed by tucalipe (3)
catalan    - 10 fixed by arnaullv (10)
czech      - 12 fixed, 3 changed by Hadez (15)
danish     - 21 fixed by ThomasA (21)
dutch      - 16 fixed by habell (16)
estonian   - 37 fixed by kristjans (37)
french     - 19 fixed by glx (19)
italian    - 19 fixed by lorenzodv (19)
korean     - 10 fixed by leejaeuk5 (10)
simplified_chinese - 97 fixed, 17 changed by ww9980 (114)
slovak     - 87 fixed by lengyel (87)
spanish    - 10 fixed by eusebio (10)
ukrainian  - 2 fixed by mad (2)
16 years ago
peter1138 c0ef9a4ab8 (svn r13818) -Fix [FS#2157]: Deselect currently selected NewGRF when changing GRF preset. 16 years ago
smatz c4c20c324f (svn r13817) -Cleanup (r13816): no need to check for ENABLE_NETWORK, _networking is defined anyway 16 years ago
smatz f1c0555d2e (svn r13816) -Fix [FS#2150]: check for vehicle length changes outside a depot (callback 0x11) and give a warning about that 16 years ago
rubidium 243089e98e (svn r13814) -Fix (r13810): MSVC (as usual) does stupid things. This time it is copying around a struct it created itself, causing bad things to happen if you don't explicitly set all variables to something remotely sane in the constructor. 16 years ago
rubidium 355c3bb482 (svn r13810) -Fix: small memory leak when tar files would be found. 16 years ago
rubidium 4396b7c68c (svn r13809) -Fix: memory leak each time a "new ai" got (re)started. 16 years ago
rubidium 7e7647f872 (svn r13807) -Fix: memory leak when loading groups. 16 years ago
smatz cf4aff4a86 (svn r13806) -Fix [FS#2162]: checking for train waiting at other side of two-way signal was broken 16 years ago
smatz a49260b0da (svn r13800) -Codechange: minor comment style fixes in misc_gui.cpp 16 years ago
glx 7273d73ee9 (svn r13799) -Fix (r13730): {RAW_STRING} should be used in english.txt only 16 years ago
glx 90b29876b2 (svn r13797) -Fix [FS#2160](r13715): crash when displaying save/load errors 16 years ago
rubidium 59d815b391 (svn r13796) -Fix [FS#2161]: one couldn't start the last scenario in the "start server window"'s list of scenarios. 16 years ago
rubidium f0fd3f6c57 (svn r13795) -Change: do not require canals/rivers/seas to be empty when building a bridge over it as it is not required for roads and rails either. 16 years ago
rubidium 36ca1ba723 (svn r13794) -Fix: helicopters leaving a heliport could get stuck after processing conditional orders. 16 years ago
peter1138 417a56cf99 (svn r13789) -Fix (r13781): Saved preset was not automatically selected. 16 years ago
smatz 766e57df5f (svn r13787) -Codechange: resize the red error message box if needed 16 years ago
peter1138 759739db3f (svn r13784) -Codechange: Truncate vehicle names in purchase list to width of window. 16 years ago
glx 54d7d77d4c (svn r13782) -Cleanup: removed a useless declaration 16 years ago
peter1138 2466b7f01e (svn r13781) -Feature: NewGRF presets, selected by a drop down list in the NewGRF window. Presets are saved in the config file. 16 years ago
rubidium b81e31bdb1 (svn r13776) -Fix: some revision checking code was unintentionally disabled. 16 years ago
glx 11ca40cf88 (svn r13775) -Codechange: enforce the validity of a NetworkAction (chat packet) issued by a client 16 years ago
peter1138 97990fa9fe (svn r13774) -Codechange: Add support for changing vehicle purchase list position for all vehicle types. 16 years ago
rubidium bd0e52011d (svn r13773) -Codechange: disable autoclean for protected/unprotected companies when the timeout is set to 0. Based on an idea by Thomas. 16 years ago
peter1138 f81b3b7357 (svn r13761) -Codechange: Remove dependency on rail for altering purchase list position (mostly function renaming) 16 years ago
peter1138 47ba8389b5 (svn r13760) -Codechange: With multiple NewGRF engine sets, engine IDs may not be allocated in the order expected by GRF authors, so sort by 'list position' instead of engine ID for all vehicle types. 16 years ago
rubidium 8113efb0f2 (svn r13759) -Fix [FS#2147]: selecting non-full length vehicles in the depot gui would place the "mouse pointer" out of the center of the vehicle making it hard to "aim". 16 years ago
smatz 7154069dd0 (svn r13758) -Fix (r13226): always use st->airport_tile, st->xy is different in many cases 16 years ago
rubidium 05537346eb (svn r13754) -Fix (r13731): one could not join companies from the command line. 16 years ago
rubidium c25c2caa5a (svn r13753) -Cleanup (r13752): save before commit instead of the other way around is usually better. 16 years ago
rubidium 019cfc5ba8 (svn r13752) -Fix [FS#2130]: correctly restore conditional orders when they are put 'into' backup. 16 years ago
rubidium 67275acdff (svn r13740) -Fix (r13731): one could only join the first company. 16 years ago
rubidium 664bbd304a (svn r13739) -Fix (r13731): some variables would be erroneously zeroed, causing autoclean and company passwords not to work. 16 years ago
rubidium 39514a9d68 (svn r13734) -Fix: NewGRF rail continuation would always mark a tunnel on the same axis as connected, even when the tunnel faces the wrong direction. 16 years ago
smatz 58c2e3e285 (svn r13733) -Fix (r13731): gcc2.95 compilation 16 years ago
rubidium 6ecfaa5c84 (svn r13732) -Feature: add a few extra columns with information to the server list. Patch by Pegasus. 16 years ago
rubidium cde65455ac (svn r13731) -Codechange: make a pool of the array of players. 16 years ago
rubidium 56ad26a3aa (svn r13730) -Fix: make a copy of the names for news messages about the deletion of companies as the removal of a company could lead to wrong names in the news messages. 16 years ago
rubidium 9d035df146 (svn r13729) -Fix: assumption that non-north tiles of a house do not have the 1x1 building bit set was flawed with some NewGRFs. This caused the amount of houses to differ, which causes the town radii to differ, which causes desyncs when towns are expanded. 16 years ago
smatz faae16cddc (svn r13728) -Codechange: define DEBUG as an empty block so compiler warns us less 16 years ago
smatz 8fb9f600c8 (svn r13727) -Fix (r13375): compilation with NO_DEBUG_MESSAGES was broken 16 years ago
smatz 632e2059b9 (svn r13721) -Codechange: one less multiplication for colour mixing in 32bpp blitters (GeekToo) 16 years ago
rubidium c1594e45c5 (svn r13720) -Fix (r13715): string wasn't correctly passed to draw function. 16 years ago
rubidium 6898a76c5f (svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool. 16 years ago
rubidium 83824f4c86 (svn r13718) -Fix: possible desync on the autorenew settings 20+ game years (i.e. 4.5+ hours) after a company was started. 16 years ago
rubidium 2810d26fde (svn r13717) -Codechange: place the whole 'create new company' command in #ifdef ENABLE_NETWORK as it may only be executed when we are playing in a network game. 16 years ago
rubidium a1ca1da1b3 (svn r13716) -Fix [FS#2144]: any player could construct new companies. 16 years ago
rubidium 5a94972c2d (svn r13715) -Fix [FS#2129]: C-like strings had to be rebound each time they were printed, otherwise the text could change due to the few number of slots that could be used to bind.
-Codechange: remove all BindCString and related functions and replace it by RAW_STRING which prints the C-string raw pointer that is on the 'print stack'.
16 years ago
rubidium 31d283c6c8 (svn r13714) -Fix: remove the unique_id from the message that a client has joined as it is only exposes the unique_id more than needed. Patch by dih. 16 years ago
rubidium 348600eca9 (svn r13713) -Fix: possible crash on creating a network packet. 16 years ago
rubidium 03afcec36f (svn r13712) -Fix: enforce the length restrictions of company and president name in the commands too. 16 years ago
miham 7c531c4ece (svn r13707) -Update: WebTranslator2 update to 2008-07-16 01:21:36
brazilian_portuguese - 3 fixed by tucalipe (3)
bulgarian  - 78 fixed, 230 changed by thetitan (3), groupsky (305)
catalan    - 3 fixed by arnaullv (3)
dutch      - 3 fixed by webfreakz (3)
italian    - 3 changed by lorenzodv (3)
korean     - 4 fixed, 5 changed by leejaeuk5 (9)
russian    - 3 fixed by Smoky555 (3)
slovenian  - 4 fixed by Necrolyte (4)
spanish    - 3 fixed by eusebio (3)
swedish    - 4 fixed by daishan (4)
ukrainian  - 2 fixed by mad (2)
16 years ago
frosch e190ab858d (svn r13706) -Fix (r13695): Small typo. 16 years ago
belugas ba53aa91a1 (svn r13705) -Codechange: Define and use BridgePieces enum, which will remove a few more magic numbers 16 years ago
rubidium 2e68b35106 (svn r13704) -Fix: make timetables work more sensible when used in conjunction with conditional orders, i.e. make it possibly to tell how long to travel to the next destination if you jump. 16 years ago
rubidium 68613f4ba0 (svn r13703) -Update: the other language files due to a few changed strings in r13702. 16 years ago
rubidium 91e317cd1c (svn r13702) -Fix: do not overflow the order/timetable window when 'long' orders are displayed. 16 years ago
glx d9d32d3619 (svn r13701) -Codechange: add some more info in crash.log 16 years ago
rubidium 42d0500f40 (svn r13700) -Fix: possible buffer overflow in string truncation code. 16 years ago
rubidium f6ab930cc0 (svn r13699) -Fix: handle SETX(Y) properly when truncating a string instead of ignoring it and returning a too long string. 16 years ago
frosch e631c70b1c (svn r13698) -Fix (r13697): MorphOS compilation. 16 years ago
frosch ac0ae1536f (svn r13697) -Feature: Add some support for symbolic links in .tar files. 16 years ago
belugas dfeb80fb9b (svn r13696) -Fix[GUI]: The Build button of the vehicle list is now hidden, instead of just disabled. It will be only visible when called from the Depot Building Window.
Less confusion, hopefully.  Suggested by Eddi.
16 years ago
rubidium 6b212485f8 (svn r13695) -Fix [FS#2120]: in some cases the (sound) mixer could overflow causing artefacts in the sound. 16 years ago
rubidium 4b3395fbd4 (svn r13694) -Change: make it more explicit that you've opened the available train/ship/etc. list instead of the one where you can actually build vehicles by setting the appropriate title for the window. 16 years ago
frosch 16ad1fe7bb (svn r13693) -Fix (r11106, r11117): Do not rely on .tar files always ending with a block of zeros. 16 years ago
rubidium bb3292943a (svn r13692) -Fix (r13674): loading PNG sprites could very quickly fill the sprite cache. 16 years ago
smatz a47b118a80 (svn r13691) -Codechange: make it easier to determine whether a command is ran in the context of autoreplace or not 16 years ago
belugas e9a1142e0d (svn r13683) -Codechange: privatize a function that is not used outside of the class who calls it 16 years ago
belugas a324f30783 (svn r13682) -Codechange: -Codechange: remove a now useless variable(dih). 16 years ago
rubidium 91a27d6441 (svn r13681) -Revert (r13678, r13677): the fixes didn't work in all cases (assertions on savegame loads).
-Fix [FS#2102]: but now in a hopefully beter way.
16 years ago
rubidium 0984d10d9f (svn r13680) -Fix: NPF crashing when a ship tried to find a nearby depot when on an aqueduct. 16 years ago
rubidium 4db7c4f549 (svn r13679) -Fix [FS#2131]: saving TTD imported games in recession failed due to wrong (and unneeded) type conversions in the saveload code. 16 years ago
rubidium b2479212ef (svn r13678) -Fix (r13677): electric trains from pre elrail savegames would get stopped on load. 16 years ago
rubidium ba22744899 (svn r13677) -Fix [FS#2102]: in the case that elrails and 'realistic' acceleration are disabled all electrified engines would have no power on load, until the vehicle got turned around, loaded or got into a depot. 16 years ago
rubidium 7375d56418 (svn r13676) -Fix [FS#2126]: inactive companies from old (TTD) saves could be marked active in some cases, which then loads garbage in their statistics and such. 16 years ago
rubidium 9a8d1bcad5 (svn r13675) -Fix: memory leak when NewGRFs got forcefully disabled and they defined GOTO labels. 16 years ago
rubidium 0570ba8461 (svn r13674) -Fix [FS#2127]: crash when drawing a non-real sprite. The drawing of the non-real sprite is caused when two NewGRFs replace the same sprite and the first replaces it with a real sprite (and thus assumes it remains a real sprite) and the second replaces it with a non-real sprite. OpenTTD already looked at whether the sprite to load should be seen as a real or non-real sprite, but it failed to replace non-real sprites with a substitute real sprite when getting the sprite from the cache. 16 years ago
rubidium c1add55758 (svn r13673) -Fix [FS#2122]: desync when building electrified trains on a dedicated server that was started with electrification disabled. 16 years ago
belugas a380976a2a (svn r13672) -Fix(r13670): silent warnings that MSVC did not raised. Looks like enums can not be easily matched :( 16 years ago
frosch ebb0059773 (svn r13671) -Cleanup: Zeros for sell. 16 years ago
belugas 741044e97b (svn r13670) -Codechange : Merge some very alike events handlers. 16 years ago
frosch ffb7e8ee17 (svn r13667) -Documentation: Comment 'tgp.cpp' a bit. Based on patch by CommanderZ. 16 years ago
belugas 496baad3aa (svn r13665) -Fix[FS#2119]: Wrong PlayerID used for sending a message to.Patch by Yexo 16 years ago
rubidium 4642e9f75a (svn r13664) -Fix [FS#2117]: bus/truck forgetting go-to-depot order when entering a non-drivethrough road stop. 16 years ago
belugas 490f013c58 (svn r13663) -Codechange: Use a default parameter, hoping to reduce the different signatures of functions in menus 16 years ago
rubidium ad2bcaeae5 (svn r13662) -Fix [FS#2113]: crash when adding conditional orders to ships. 16 years ago
rubidium 6d1b927814 (svn r13661) -Fix: server crashing when banning the rconning client. 16 years ago
frosch cfdc710104 (svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' into their own parameter. 16 years ago
frosch 654ea1a310 (svn r13648) -Cleanup (r5303): Amplitudes should be amplitudes and not amplitudes/16. 16 years ago
skidd13 0a178274e2 (svn r13647) -Codechange: replace MAX_UVALUE() for std types with the equivalent constant 16 years ago
belugas 54333f5f06 (svn r13646) -Change: typos and miss-aligned enum values 16 years ago
frosch 8a800ee258 (svn r13645) -Codechange: Convert a macro into an inlined member function. 16 years ago
belugas fef077823d (svn r13644) -Fix(r13643): compare an apple with an apple. MSVC seems to not care, but some other compilers do.
Thanks to glx :)
16 years ago
belugas 16e2717c0e (svn r13643) -Codechange: Enumify some loosely related values been used in the toolbar resizing processes 16 years ago
belugas 554419d735 (svn r13642) -Documentation: Add the enum values to the widget arrays, in concordance with code style 16 years ago
belugas 5eabd09a97 (svn r13641) -Fix: Misleading enum name. 16 years ago
smatz 7ec2ad621d (svn r13640) -Codechange: make colours behind not fully solid objects less darker for BM_TRANSPARENT (for 32bpp blitters) 16 years ago
smatz faebe10d81 (svn r13639) -Codechange: rewrite 32bpp-anim and 32bpp-optimized drawing and encoding so it uses similiar scheme as 8bpp-optimized
All zoom levels are stored and a kind of RLE is used. Together with further changes and reducing number of variables, drawing is ~50% faster in average.
16 years ago
smatz 6f3b1745c2 (svn r13638) -Fix: signed/unsigned warning for MSVC9 and gcc2 16 years ago
miham 556e8ade9a (svn r13637) -Update: WebTranslator2 update to 2008-06-25 23:36:50
brazilian_portuguese - 9 fixed by tucalipe (9)
bulgarian  - 25 fixed by thetitan (11), kokobongo (14)
catalan    - 9 fixed, 4 changed by arnaullv (13)
croatian   - 5 fixed by knovak (5)
czech      - 8 fixed, 9 changed by Hadez (17)
dutch      - 9 fixed by habell (9)
french     - 12 fixed by glx (10), belugas (2)
italian    - 12 fixed by lorenzodv (12)
korean     - 8 fixed, 7 changed by leejaeuk5 (15)
russian    - 9 fixed by Smoky555 (9)
slovenian  - 18 fixed by Necrolyte (18)
spanish    - 9 fixed by eusebio (9)
swedish    - 8 fixed by daishan (8)
traditional_chinese - 38 fixed, 108 changed by tiberiusteng (146)
ukrainian  - 12 fixed, 2 deleted, 55 changed by mad (69)
16 years ago
frosch 545c1f1045 (svn r13634) -Codechange: Let house var 0x65 ignore the house, the variable is queried for. 16 years ago
rubidium ed298d6ff8 (svn r13633) -Fix: restoring 'service at depot X' orders from the order backup failed. 16 years ago
frosch 2b071f84ea (svn r13632) -Codechange: Use 'void *' for user-data of CircularTileSearch(). 16 years ago
smatz b7dfaa2ced (svn r13631) -Fix (r13618): forgot #define avoiding multiple inclusions 16 years ago
skidd13 cbb081793a (svn r13630) -Update: apply english.txt changes from r13628 to other languages 16 years ago
frosch b5f2bd51fb (svn r13629) -Fix [FS#2108](r13603): diameter != radius 16 years ago
skidd13 3dea3cbe63 (svn r13628) -Feature: enable building of aqueducts in the scenario editor
-Codechange: related to this split the waterway based buttons from the landscape generation window
16 years ago
smatz fdc4d1922d (svn r13626) -Fix (r11871): signals were not updated when player removed signals from nonexistent track sharing bits with existing track
So disallow removing signals from nonexistent track
16 years ago
rubidium ecbd249dc4 (svn r13624) -Fix [FS#2106]: crash when one tries to raise the nothern corner of MP_VOID tiles (i.e. the southern corner of the tiles on the southern map edge) in the scenario editor. 16 years ago
rubidium 6002e3d643 (svn r13623) -Codechange: only show the 'load' of articulated RV parts that have a capacity instead of showing 'empty' parts when a vehicle is completely full. 16 years ago
rubidium c81e4e3d7e (svn r13622) -Fix [FS#2109]: only the front of a RV would be considered when determining to what cargos a vehicle can be refitted instead of all cargos. 16 years ago
rubidium 65a4dc8902 (svn r13621) -Fix: building roadbits in the wrong direction on bridges or building roadbits from underneath the bridge to the bridgehead is impossible, so don't silently ignore that error when building over houses and industries is not ignored. 16 years ago
smatz 96d880ea9e (svn r13619) -Codechange: use 'const char *' instead of std::string for blitter and driver names
Removes indirect dependency on <string> for 20 files, reduces binary size by 16kB
16 years ago
smatz 40d5242f91 (svn r13618) -Codechange: move tar-specific declarations to separate file
Removes indirect dependency on <string> and <map> for over 40 files
16 years ago
skidd13 241435226c (svn r13617) -Codechange: calculate the diff in StationWaitingSorter directly 16 years ago
rubidium c8d2db3e04 (svn r13612) -Fix [FS#2104]: wrong comment of CmdSetAutoReplace. Patch by Yexo. 16 years ago
rubidium d87b6c3937 (svn r13611) -Fix [FS#2100]: if the first bridge can't be build for a given length, then none of the other bridges can. Effectively meaning that if someone replaces the first bridge with a bridge that can be only 3 tiles longs then only other bridges that can be 3 tiles long will be buildable, but only if they are 3 tiles long. 16 years ago
skidd13 6169c3fc17 (svn r13607) -Fix (r13606): some coding style issues got fixed but some got/stayed broken 16 years ago
skidd13 8b7d893d85 (svn r13606) -Codechange: use "static FORCEINLINE" where possible as default for core functions (big functions use just inline instead) 16 years ago
belugas ccd27d1e5b (svn r13603) -Feature{newGRF]: Add var 65 in Variational Action 2 Variables for Houses.
This var will return the manhattan distance of the nearest house that match a given criteria.
The criterias can be: 0 : house ID/ 1 : Class ID/ 2 : grf ID
The search radius can be defined too, up to 64.
16 years ago
smatz 6cb9d3802d (svn r13602) -Codechange: little speedup for 8bpp-optimized blitter 16 years ago
smatz d4a4075dc6 (svn r13601) -Codechange: resize the Tile Info window when it is needed, make it better readable 16 years ago
belugas 915a9ea6bd (svn r13597) -Codechange: Enumification of the Map menu items.
The rework allowed to remove a function, by merging two quite similar ones.
16 years ago
frosch aadd3b29af (svn r13594) -Feature(ette)[FS#2093]: Supply newgrfs with 'day of month', 'leap year' and 'day of year'. 16 years ago
smatz 3d56c07440 (svn r13593) -Fix [FS#2095](r13524): sorting by cargo capacity was broken 16 years ago
skidd13 5e21504107 (svn r13592) -Fix: window size remembering was broken 16 years ago
peter1138 1d5c418fbe (svn r13591) -Codechange: Support CB36 in the vehicle offer window. 16 years ago
belugas 84df01f00b (svn r13590) -Codechange: Enumification of the Save/Load menu items 16 years ago
smatz c1a1e28b88 (svn r13589) -Fix (r11802): signals could be propagated through waypoints built in orthogonal axis 16 years ago
belugas 6fa570762c (svn r13588) -Documentation: Document the function PopupMainPlayerToolbMenu. Makes it a bit clearer, don't you think? 16 years ago
skidd13 ec261a6456 (svn r13587) -Codechange: make some globals members of VehicleListBase since they are used as such
-Cleanup: some small things referring the change
16 years ago
belugas 0fdb8057bb (svn r13586) -Codechange: Using default parameter, for cases where there are few exceptions. 16 years ago
bjarni 7fa33c28a9 (svn r13584) -Fix: [OSX] Fixed issue where 10.5 failed to switch to fullscreen
This is done by selecting the 32bpp-anim blitter by default as it seems Apple removed some 8bpp support
  Since this is done at runtime the same binary will still select 8bpp on 10.3 and 10.4
16 years ago
rubidium 5b615eae3a (svn r13581) -Fix [FS#2040]: RVs continueing onto next DT station when they are build adjacent to them. 16 years ago
rubidium aef8a214c3 (svn r13579) -Fix [FS#2088]: process the order coming after a conditional order, otherwise the vehicle would already leaving the station before it knows where the next destination is, making it leave in the wrong way. However, after processing as many conditional orders as there are in the order list it will stop processing them in order to not create an infinite loop. 16 years ago
rubidium dd0a66e202 (svn r13576) -Codechange: disable static NewGRFs when non-static NewGRFs query them in the context of network games. This makes it impossible for static NewGRFs to disable non-static NewGRFs and 'bad' things happening because the non-static NewGRF doesn't know about the static NewGRF. 16 years ago
skidd13 ad9b19b77a (svn r13575) -Codechange: Move small vector to core since it fits better in there
-Codechange: convert smallvector from struct to class
16 years ago
skidd13 a7e3f09f7c (svn r13574) -Doc: Document the small vector template class 16 years ago
skidd13 1818d5c2e1 (svn r13573) -Codechange: Use smallvec class functions instead of class members 16 years ago
rubidium ae91120307 (svn r13572) -Fix: MSVC x64 complains. 16 years ago
smatz 5259d13da7 (svn r13571) -Codechange: define channels in struct Colour in different order on LE and BE machines 16 years ago
smatz 25db4b3aae (svn r13568) -Fix (r13564): Windows build asserts where I wouldn't expect it to 16 years ago
smatz 811ae0ac3f (svn r13565) -Change [FS#2077]: when invisibility is set, sprite sequences are now drawn until first non-opaque sprite is found (bit 14 not set)
This is to balance performance, code complexity and NewGRF requirements
16 years ago
smatz 883ffd1683 (svn r13564) -Codechange: do not use SetPixel in PaletteAnimate, access destination directly instead. Makes palette animation ~40% faster. 16 years ago
belugas 424a7935ad (svn r13562) -Codechange: Yet another enumification, which required a bit of explanation/documentation of a trickery some would call a hack 16 years ago
belugas 5e8e2709d0 (svn r13561) -Codechange: two more enumifications of widgets 16 years ago
belugas db174b8b9b (svn r13560) -Fix(r13550): This section widget_count did not required to be lowered. So small revert 16 years ago
belugas b8b47dcf50 (svn r13559) -Codechange: Enumification of the Options menu items 16 years ago
smatz cf489a25b0 (svn r13552) -Codechange: use TTD_ENDIAN comparations instead of tests if TTD_[BIG/LITTLE]_ENDIAN is defined 16 years ago
smatz 4e2e078743 (svn r13551) -Codechange: store offsets to different zoom levels in a distinguished struct instead in the data stream for 8bpp-optimized 16 years ago
belugas 4bbe69f881 (svn r13550) -Fix(r13540, r13542): widget_count did not had the same value as 27. So, it has to be lowered by one, so it can be used as a widget "pointer" 16 years ago
peter1138 ea965c21e1 (svn r13544) -Codechange: Add support for NewGRF varaction2 variable 5F. 16 years ago
belugas fb4619c8ea (svn r13543) -Codechange: Enumification of the InGame toolbar and some leftovers of scenario editor one.
Still more go do
16 years ago
belugas 365705209b (svn r13542) -Codechange: Less a few more magic numbers and a code a bit more adaptable, still 16 years ago
belugas f5b1b5a640 (svn r13541) -Codechange: Aligning some switch case. Code cosmetics. 16 years ago
belugas 7b873ce0bc (svn r13540) -Codechange: Less a magic number and a more adaptable code 16 years ago
glx 8578181a3a (svn r13539) -Fix (r13537): signed/unsigned warnings 16 years ago
frosch e04e2822b8 (svn r13538) -Fix (r12740)[FS#2087]: ChildSprites of foundations are not necessarily consecutive. 16 years ago
smatz e00df941fa (svn r13537) -Fix [FS#2090](r13523): QSortT won't work this way, use Dimension instead of uint16[2] for resolutions 16 years ago
belugas b08db89d30 (svn r13536) -Codechange: Bit shifting is not really required when you know exactly the value to use.
Even more when it's a parameter.
16 years ago
skidd13 18097d0461 (svn r13535) -Codechange: Protect GUIList internals
-Fix: VL_FIST_SORT should be set after list rebuild too
16 years ago
skidd13 d85c5f020b (svn r13534) -Codechange: Replace the main part of VehiclesListBase sorting with GUIList function calls 16 years ago
skidd13 96e898699c (svn r13533) -Codechange: Replace direct class member access of GUIList with the appropriate function calls 16 years ago
skidd13 5e956bf57f (svn r13524) -Codechange: use the typesafe QSort for vehicle sortings
-Prepare: vehicles sorting for convsersion to GUIList
16 years ago
skidd13 fc648a2b30 (svn r13523) -Codechange: replace qsort by the internal typesafe QSortT for resolution sorting 16 years ago
skidd13 5dc6a19c26 (svn r13522) -Codechange: Replace the qsort of the highscore with one of the internal sorters 16 years ago
skidd13 477f22a6fd (svn r13521) -Codechange: Use GUIList sorting instead of poll & sort for CompanyLeagueWindow 16 years ago
smatz 41457acd47 (svn r13520) -Fix (r13375): pointer has to be valid before it can be loaded to (SLE_STR) 16 years ago
belugas d095599b58 (svn r13519) -Feature[newGRF]: Implement var 63, variational action2 variable for Houses.
Or, in more simple terms, the check for the animation frame of nearby house.
16 years ago
frosch 8fd2971bc3 (svn r13518) -Fix [FS#2083]: Properly count number of non-north housetiles. 16 years ago
skidd13 149bf45b77 (svn r13517) -Add: remaining used typesafe versions of the mem* functions from <string.h> 16 years ago
skidd13 a8bb6177ee (svn r13516) -Codechange: Move MemCpyT to a fitting core header
-Codechange: Split the sorting code from the sortlist to an appropriate header
16 years ago
belugas e044910d52 (svn r13515) -Codechange: Widget enumification for scenario editor 16 years ago
belugas cec90c1af1 (svn r13514) -Codechange: Removal of dead code (or useless, to be more exact) 16 years ago
belugas a91eb2ad13 (svn r13513) -Codechange: Give proper message when building a river fails.
Give proper description of a river tile with the Query Tool.
Extracted (in part) from FS#1884, by Ammler
16 years ago
glx d8fde03ec7 (svn r13508) -Fix (r7733): incorrect usage of strtoul 16 years ago
peter1138 7d877c0c05 (svn r13507) -Fix (r12856): first engine change should've been moved too 16 years ago
rubidium e193349743 (svn r13505) -Fix: clear the memory for the new AI during the loading of a savegame so it does not try to execute commands generated in a different savegame, which could be resulting in the AI trying to give orders to stations that do not exist. 16 years ago
belugas 5d2ee7ecde (svn r13504) -Codechange: enumify some widgets for scenario editor. More work is required. 16 years ago
belugas 224f8e6fec (svn r13503) -Fix(r13173)[FS#2073]: Wrong widget numbers & event handlers were assigned to the zoom in and out buttons in the scenario editor 16 years ago
smatz 4298508918 (svn r13502) -Fix (r11212): drawing of zoomed out partial sprites could cause deadlocks or crashes 16 years ago