Commit Graph

3989 Commits (9943ac29420d324ea580c3d869cb906e8cdc0ef8)

Author SHA1 Message Date
rubidium 51cda2252c (svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor. 16 years ago
bjarni 5a7fcf9aa3 (svn r13002) -Fix (r13001): [autoreplace] previous fix broke updating of a pointer to the front vehicle in certain cases
Now it's updated when it's the front vehicle and it's every time it's the front vehicle and only if it's the front vehicle (nomatter if the replacement works or not)
16 years ago
bjarni addcd2bb2e (svn r13001) -Fix [FS#1994](r12913): [autoreplace] we should stop working on vehicles right away if we fail to replace them and certainly not presume their data is valid 16 years ago
glx d58b5e3caa (svn r13000) -Fix (r12991): broken win9x compilation 16 years ago
rubidium 054552a30b (svn r12999) -Fix [FS#1995]: when a Window got deleted on a double click event, we should not send a click event to the now non-existant Window as that causes segfaults. 16 years ago
smatz 8a422e34df (svn r12995) -Codechange: use std::vector for EngineList instead of C/C++ wrapper for CBlobT 16 years ago
smatz cc107fe0f9 (svn r12994) -Fix (r12976): another case main toolbar wasn't marked dirty 16 years ago
smatz b6ec43896d (svn r12993) -Fix (r11175): list used for sorting GRFs wasn't freed 16 years ago
smatz 7927da8fab (svn r12992) -Fix (r12976): main toolbar wasn't marked dirty when a child combobox was destroyed 16 years ago
glx 97cb66d099 (svn r12991) -Codechange: removed some unneeded includes 16 years ago
rubidium c2256c46f1 (svn r12990) -Fix: silence the redundanct declaration warning when compiling with iconv. 16 years ago
rubidium e38e1aa631 (svn r12989) -Codechange: move ViewportSign to viewport_type.h. 16 years ago
bjarni c2a54a60bb (svn r12988) -Fix [FS#1992](r12913): [autoreplace] failing to replace a road vehicle could free it's slot without the vehicle knowing it (leading to assert) 16 years ago
rubidium c28ce39e3c (svn r12987) -Codechange: split viewport and tile selection. 16 years ago
rubidium e0e1bf76a2 (svn r12986) -Codechange: move the landscape and transport related types from openttd.h to their own headers. 16 years ago
bjarni 3c82dd6550 (svn r12985) -Fix (r12977): [OSX] fixed missing includes in the cocoa files 16 years ago
rubidium 43328ced46 (svn r12984) -Codechange: some coding style in window.cpp. 16 years ago
belugas 343a1e6afd (svn r12983) -Codechange [FS#1987] : Unification of all dynamite tools calls to only one. Thanks to Roujin 16 years ago
smatz 93861e78a3 (svn r12982) -Fix: compiler warning when compiling without asserts 16 years ago
glx 3ba47883c0 (svn r12981) -Codechange: remove some useless includes and defines 16 years ago
rubidium 6007500faf (svn r12980) -Fix: MorphOS threading support. Patch by Fabien Coeurjoly. 16 years ago
rubidium 93441ad552 (svn r12978) -Codechange: "\\0" is not needed for the MorphOS revision string. Patch by tokai. 16 years ago
rubidium c27f3cfa62 (svn r12977) -Codechange: remove quite some redundant (duplicate) function declarations. 16 years ago
rubidium 9db77e3808 (svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL. 16 years ago
rubidium 8796331d83 (svn r12975) -Codechange: replace DeleteWindow(w) with delete w. 16 years ago
rubidium 7b6ce158fe (svn r12974) -Codechange: check whether loading/saving highscores goes as it should be. 16 years ago
peter1138 9e977b78ff (svn r12973) -Codechange: Rename GRMSpriteEntry to GRFLocation, as it is not necessarily specific to GRM sprites... 16 years ago
glx 4e29eedb85 (svn r12972) -Fix (r12971): forgot to close a comment 16 years ago
rubidium 1ce0b03bf0 (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 16 years ago
glx 1b9197d6dd (svn r12970) -Codechange: coding style for some function names 16 years ago
rubidium 1ed3ea4705 (svn r12969) -Codechange: remove a completely pointless file. 16 years ago
maedhros 28e1da6c5d (svn r12968) -Fix: Don't segfault when adding a server if 0.0.0.0 was entered for the address. 16 years ago
glx 3260abec08 (svn r12967) -Fix (r12966): my lang update script failed 16 years ago
glx 6509e5ff8a (svn r12966) -Update: apply english.txt changes from r12965 to other languages 16 years ago
glx 7da190c1e0 (svn r12965) -Codechange: add support for callback 37 in industries directory window 16 years ago
glx 7f8f70f6f0 (svn r12964) -Codechange: rewrite callback 37 related code so it will be easier to add supported windows 16 years ago
rubidium e7d125de58 (svn r12963) -Fix (r12960): loading some NewGRFs could cause an infinite loop. 16 years ago
smatz 19b20a7dde (svn r12962) -Fix (r12961): forgot one break 16 years ago
smatz 2e0ec76007 (svn r12961) -Codechange: store the type of savegame we are loading in a global variable 16 years ago
rubidium f2683a6037 (svn r12960) -Codechange: handle return values of (some) file system related functions. 16 years ago
glx 15ebb1a292 (svn r12959) -Fix: don't assume no production when the first produced cargo is invalid in industries directory 16 years ago
peter1138 e2c739551c (svn r12958) -Codechange: Allocate sprites reserved by GRM in advance of 'Action 1' sprites, giving much less chance of GRM reservation failure if lots of NewGRF sets are loaded. 16 years ago
rubidium 41aeb7ffa0 (svn r12957) -Codechange: do not misuse snprintf when you just want to copy a string, also use DEBUG instead of fprintf in one case. 16 years ago
belugas 8580edbf20 (svn r12956) -Codechange: Code-style application on switch-case aligment 16 years ago
smatz f0064d5165 (svn r12955) -Fix (r12858): compilation with desync debug was broken 16 years ago
peter1138 78c0929b18 (svn r12953) -Feature: Open a new viewport when ctrl-clicking on a 'Location' button, a town/station/industry list, or some news items. 16 years ago
peter1138 7e70d9f09f (svn r12952) -Cleanup: Indenting and codestyle 16 years ago
belugas 24bfbc9472 (svn r12951) -Fix(r9762)[FS#1977): Revert the new difficulty settings of town and industries back to their initial values. 16 years ago
belugas dcdfb02130 (svn r12950) -Fix: two includes is one too much 16 years ago
rubidium 62259ff665 (svn r12949) -Fix [FS#1978]: no loading/no unloading orders were 'forgotten' during manual replaces. 16 years ago
rubidium c878af4841 (svn r12948) -Fix [FS#1982]: all vehicles would be available when an original scenario would be played. 16 years ago
glx 5b1e423889 (svn r12947) -Fix: keep only first 15 bits for non failed callback results 16 years ago
rubidium cdf9ada599 (svn r12946) -Fix: do not allocate the OldNames table when creating a new game as it won't be used anyway. 16 years ago
rubidium a89f533e09 (svn r12945) -Fix: (small) memory leak when joining/exiting threads. 16 years ago
smatz 89a8dc8cf7 (svn r12944) -Codechange: use rev.h instead of externs at many places 16 years ago
rubidium 8fe14f7162 (svn r12943) -Fix: reading/modifying invalid data under some circumstances. 16 years ago
rubidium 4acb8f3a5e (svn r12942) -Fix [FS#1979]: closing some windows caused recursion in the Window deletion causing the reading invalid/freed data which could cause crashes. 16 years ago
rubidium 0083ce9e1b (svn r12941) -Codechange: don't access wndproc directly. Patch by Alberth. 16 years ago
bjarni 63fea0790b (svn r12940) -Fix [FS#1974](r12913): [autoreplace] a vehicle backup should include the cargo packets in the vehicle as well 16 years ago
rubidium b35100e2a9 (svn r12939) -Codechange: do not use the window proc to determine whether a toolbar is a rail toolbar, but use the window number. 16 years ago
rubidium ec931ba5c6 (svn r12938) -Codechange: coding style fixes. Patch by Alberth. 16 years ago
rubidium 7c93f3bab8 (svn r12937) -Codechange: split allocating and finding the spot to place a window. Patch by Alberth. 16 years ago
rubidium 300c7e459a (svn r12936) -Doc: a few structs in geometry_type.hpp. Patch by Alberth. 16 years ago
rubidium 200e35cd8c (svn r12935) -Fix [FS#1975]: vehicles forget their manual depot order when stopping at a station. Now we just pass through the station without stopping when a vehicle has been given a depot order. 16 years ago
belugas 5867336b6e (svn r12934) -Codechange: Before verification of local authority, just make sure airport can physically be built there. Just moving tests 16 years ago
glx 5bd8b6adb0 (svn r12933) -Fix: minor errors related to industries accepted/produced cargo 16 years ago
peter1138 c8e10ac1f8 (svn r12932) -Fix [FS#1970]: Articulated engines ignored GRF engine overrides. 16 years ago
rubidium f1820a5708 (svn r12930) -Add: build support for NetBSD and HP-UX. Patch by ahoka. 16 years ago
smatz 36bb91cc6d (svn r12929) -Fix [FS#1967](r12560): town rating was too often reset to Mediocre 16 years ago
peter1138 45034bc522 (svn r12924) -Feature: Introducing the so called 'engine pool' which primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist. 16 years ago
rubidium 6056d1fb31 (svn r12921) -Codechange: coding style fixes and documentation updates. 16 years ago
smatz 299b15c2bf (svn r12920) -Fix (r12859): town rating was affected even after the test run 16 years ago
smatz 0ddb481a33 (svn r12919) -Fix [FS#1965]: flood road tiles even when there are road works in progress 16 years ago
rubidium 49ded3f2c3 (svn r12918) -Fix [FS#1963] (r12679): last airport would always be shown as buildable even when it was not. 16 years ago
peter1138 8bb0ff0a63 (svn r12917) -Codechange: standardise variable names called with FOR_ALL_ENGINEIDS_OF_TYPE 16 years ago
smatz 2d7430cf33 (svn r12916) -Fix: let ThreadObject_pthread::IsRunning() behave the same way as ThreadObject_Win32::IsRunning() does 16 years ago
smatz 6181451b13 (svn r12915) -Fix [FS#1960](r12857): don't initialize Station struct with tile=0, buoys will never change that value 16 years ago
peter1138 1a7c1cb84b (svn r12914) -Fix: Game crash when a spectator/server tried to show an engine with no owner when a NewGRF requested a specific variable. 16 years ago
bjarni 783e20a263 (svn r12913) -Add: ability to backup and restore a player's economic data and data for a vehicle (or chain of vehicles)
Autoreplace uses this with the following benefits:
  -Mass autoreplace (the button in the depot window) will now estimate costs correctly
  -Autoreplace now either replaces correctly or manages to keep the original vehicle (no more broken trains)
  Thanks to Ammler for testing this
16 years ago
bjarni d6c971fd9b (svn r12912) -Codechange: overloaded ChangeVehicleViewWindow() so each argument can be either a Vehicle pointer or a VehicleID 16 years ago
peter1138 2d5be0185f (svn r12910) -Fix: Report reverse sprite status (FD/FE) to NewGRF for manually toggled vehicles. 16 years ago
smatz bf3542e9f7 (svn r12906) -Fix: vehicle groups, engine replacement rules and player/company names were not properly reset/freed after bankrupt (before new player start) 16 years ago
smatz f129ba40a7 (svn r12904) -Fix [FS#1953]: remove trams from savegames saved in OTTD without tram support, it is better than to simply crash 16 years ago
rubidium 81859bb7ad (svn r12898) -Codechange: coding style in unmovable_cmd.cpp. 16 years ago
rubidium 60ed64e909 (svn r12897) -Codechange: some coding style in station_cmd.cpp. 16 years ago
glx 5d8ed6f1c2 (svn r12895) -Fix: restored Icelandic plural form and removed cases from Brazilian Portuguese (again) 16 years ago
rubidium 6ed5c01143 (svn r12892) -Fix: too many items in the vehicle toolbars were greyed out. 16 years ago
belugas eff775d252 (svn r12875) -Codechange: Use defined const instead of cast magic 16 years ago
belugas 249ea61c7e (svn r12874) -Codechange: The closest town is already known. Do not search for it again. 16 years ago
rubidium 4016d15bc7 (svn r12873) -Fix [FS#1946]: MSVC is whining because it doesn't understand that bytes should be cast to ints. 16 years ago
peter1138 33f85f80d0 (svn r12872) -Codechange: Remove obsolete unused engine list order function 16 years ago
smatz 0a83a43075 (svn r12870) -Codechange: remove some magic numbers from u.ship.state handling 16 years ago
rubidium 26cea31b1e (svn r12863) -Codechange: rewrite GeneratePlayerColour to be better understandable. 16 years ago
smatz 26206fa116 (svn r12862) -Codechange: reduce code duplication for VehicleType -> WindowClass lookup 16 years ago
miham 1a26e29333 (svn r12861) -Update: WebTranslator2 update to 2008-04-24 10:49:17
brazilian_portuguese - 74 fixed, 2 changed by fukumori (38), tucalipe (38)
bulgarian  - 59 fixed by thetitan (59)
catalan    - 75 fixed by arnaullv (75)
czech      - 70 fixed, 42 changed by Hadez (112)
danish     - 46 fixed by MiR (46)
dutch      - 75 fixed by habell (75)
estonian   - 91 fixed, 33 changed by kristjans (124)
french     - 74 fixed, 2 changed by glx (76)
italian    - 76 fixed, 9 changed by lorenzodv (85)
latvian    - 24 fixed, 39 changed by stripe4 (63)
russian    - 86 fixed by Smoky555 (86)
slovak     - 3 fixed by lengyel (3)
slovenian  - 75 fixed by Necrolyte (75)
spanish    - 91 fixed, 2 changed by eusebio (93)
swedish    - 72 fixed by ChrillDeVille (72)
traditional_chinese - 82 fixed, 4 changed by xbddc (86)
ukrainian  - 76 fixed, 36 changed by mad (112)
16 years ago
peter1138 6ac8ced9af (svn r12860) -Fix [FS#1947]: Train depart animation trigger was not called in some cases. 16 years ago
rubidium b2717d1426 (svn r12859) -Fix: make the town rating tests use less memory and much quicker; from 13% to unnoticable in the profile in games with lots of towns and lots of very active AIs. 16 years ago
rubidium 29ce273067 (svn r12858) -Add: small piece of code that can help hunting desyncs. Has to be enabled by --enable-desync-debug=1 though. 16 years ago
rubidium 2b85217bfe (svn r12857) -Fix [FS#1948]: remove the last uses of AutoPtr in the station code. 16 years ago
peter1138 7c8fe9791b (svn r12856) -Fix: Taking r12377 further, ensure that prop 25 is set for all vehicles in the consist before other properties. 16 years ago
rubidium d56827a9a9 (svn r12855) -Codechange: do not use autoptr's for testing whether certain objects can be build, but check it directly in the pool so we do not have to call destructors in the testing phase. Stations still use the autoptr though. 16 years ago
smatz a204a3b70e (svn r12854) -Codechange: make drawing of rail catenary a bit faster 16 years ago
smatz 112afdf7d8 (svn r12853) -Fix: catenary on tunnel entrances and middle bridge pieces was drawn twice in some cases 16 years ago
smatz ac0cfcde33 (svn r12852) -Fix: do not try to draw rail catenary above non-rail station tiles 16 years ago
glx 1461ba9d35 (svn r12850) -Fix (r12848): compilation was broken for some platforms 16 years ago
peter1138 b471c5d312 (svn r12848) -Cleanup/Codechange: Use correct variable types, don't prefix with _ for non-globals, and use implicit enum numbering. 16 years ago
peter1138 616cd60651 (svn r12847) -Cleanup: Identing and variable scope 16 years ago
rubidium 420b1b53d3 (svn r12845) -Change: use YAPF for fairly old savegames from before YAPF was introduced. 16 years ago
rubidium 97f78133d2 (svn r12844) -Fix: the industry tick trigger should only be triggered once every 256 ticks, not every tick... Also bail out of the triggers a little earlier if you know they are not going to happen anyway. 16 years ago
bjarni 80a0435ba8 (svn r12843) -Feature [FS#1945]: The autoreplace window is now resizable in both directions
The code to open this window is also unified for all vehicle types
16 years ago
glx 2c057b318e (svn r12842) -Codechange [FS#1604]: scale message history by map size 16 years ago
peter1138 f767baba58 (svn r12839) -Codechange: Allocate temporary engine data when loading GRFs as needed instead of statically. 16 years ago
belugas 931aecda9f (svn r12837) -Codechange: Alignment of widget array 16 years ago
rubidium 8637e6afa1 (svn r12836) -Fix: SunOS non-dedicated server compilation. 16 years ago
peter1138 a05e9b4c6b (svn r12824) -Codechange: Standardise routines for drawing vehicle images, using correct types and less duplication. 16 years ago
frosch f43661e790 (svn r12820) -Documentation: Mark callbacks as 8 or 15 bit in 'newgrf_callbacks.h'. 16 years ago
rubidium e947fde701 (svn r12819) -Codechange: handle more NewGRFs in the same way as TTDP does it, i.e. testing the low bits for 0xFF or 0 instead of all bits. 16 years ago
rubidium bbe13a0623 (svn r12818) -Codechange: make callbacks 31 and 37 behave like they do in TTDP according to frosch's survey. 16 years ago
rubidium 5a17e6b395 (svn r12817) -Feature: the ability to play NewGRF sounds for industries and stations. 16 years ago
rubidium 23c0017272 (svn r12816) -Fix: the cargo count in the performance rating window could be wrong. 16 years ago
rubidium c5ac9ee678 (svn r12815) -Codechange: reshuffle some variables in the CargoPacket struct saving 4 of 36 bytes with a 32 bit compiler and 8 of 48 bytes on 64 bit compiler per cargo packets. There are generally more cargopackets in game than vehicles. 16 years ago
rubidium 4ce50a0d64 (svn r12814) -Codechange: reshuffle some variables in the Vehicle struct saving 20 bytes with a 32 bit compiler and 32 bytes on 64 bit compiler per vehicle. 16 years ago
rubidium 47ebab771f (svn r12813) -Fix [FS#1943]: the 'last built railtype' got reset too often. 16 years ago
glx 9a8d9c4ae5 (svn r12810) -Codechange: style and useless casts in CmdSetAutoReplace() 16 years ago
peter1138 dbb4dcaf5c (svn r12809) -Fix (r1704): Possible out of bounds array access. 16 years ago
glx 4a4da1eedf (svn r12808) -Fix: enforce autorenew values range in command
-Fix: typo in english.txt
16 years ago
rubidium 650651064b (svn r12805) -Codechange: remove some bit magic related to the news display states. Patch by cirdan. 16 years ago
rubidium 8186344628 (svn r12804) -Codechange: move the effect vehicle handling out of vehicle.cpp 16 years ago
rubidium 40b19f3997 (svn r12803) -Cleanup: rename SpecialVehicle to EffectVehicle to have a uniform naming of the thing instead of using both names for the same thing. 16 years ago
rubidium d010ae9408 (svn r12801) -Codechange: remove the dependency of function.h in town_map.h 16 years ago
rubidium ba0532b595 (svn r12800) -Codechange: move the animated tile related functions out of texteff.cpp (it isn't a text effect after all). Also remove a few more functions from functions. 16 years ago
peter1138 61ba65846a (svn r12799) -Fix (r12798): Empty for-loop warnings from gcc 4.3+ 16 years ago
peter1138 3b7558b89c (svn r12798) -Feature: Add some support for NewGRF station animation. (Thanks to mart3p for samples and fixes) 16 years ago
bjarni fa4967d845 (svn r12797) -Codechange: [autoreplace] moved wagon removal to a function of it's own 16 years ago
rubidium af5775a5ec (svn r12796) -Fix: the dedicated blitter did segfault too, like the null blitter did. 16 years ago
rubidium a63974547b (svn r12795) -Fix [FS#1938]: vehicles could break down during loading and keep loading. The intention of the break down code is not to break down when having zero speed, therefor break downs now do not happen when loading. 16 years ago
bjarni fa549be09e (svn r12794) -Doc: added missing doxygen comment in autoreplace_cmd.cpp 16 years ago
peter1138 2d659ac8bd (svn r12793) -Codechange: Use enum values for station types instead of mysterious hex (ln) 16 years ago
bjarni db403cbe92 (svn r12792) -Codechange: [autoreplace] added a function to figure out if a replacement is needed and if so, to which EngineID
It's designed to save a bit of CPU time, specially if the replacement isn't buildable (think autorenew of old vehicle)
16 years ago
bjarni 44145548ea (svn r12791) -Codechange: [autoreplace] Added a flag parameter (listens for DC_EXEC and DC_QUERY_COST) and included more info when returning CommandCost
This allowed cleaning up the code in MaybeReplaceVehicle()
16 years ago
rubidium a9775dfcc9 (svn r12790) -Codechange: code style fixes. Patch by Alberth. 16 years ago
rubidium 51c7ba39a4 (svn r12789) -Codechange: rename AssignWindowViewport to InitializeWindowViewport because the viewport is now part of the window struct. Patch by Alberth. 16 years ago
rubidium 99733b2b3e (svn r12788) -Codechange: unduplicate some vehicle GUI code. Patch by Alberth. 16 years ago
rubidium 081f627018 (svn r12787) -Documentation: add/fix documentation of some functions. Patch by Alberth. 16 years ago
rubidium af34ce0b5d (svn r12786) -Change: remove more function from functions.h. 16 years ago
rubidium bfd2cac6e2 (svn r12785) -Codechange: put all news-type related constants in the same array. Patch by cirdan. 16 years ago
rubidium 0670ec6ee1 (svn r12784) -Codechange: handle the asynchronious save 'handlers' in saveload.cpp instead of openttd.cpp. 16 years ago
rubidium 1b867382d6 (svn r12783) -Codechange: do not statically allocate the 'temporary map3 array' in the oldloader. 16 years ago
rubidium 136e26925e (svn r12782) -Codechange: remove some functions from functions.h and do not statically 'waste' memory when the old name array is not needed anymore. 16 years ago
rubidium 312d54bc3b (svn r12780) -Fix: the null blitter did segfault. 16 years ago
rubidium 7e5639ccea (svn r12779) -Codechange: remove a few constants from openttd.h. 16 years ago
smatz 6813a17d15 (svn r12778) -Codechange: add the NORETURN attribute to *allocError() functions 16 years ago
smatz 3fe8c58257 (svn r12777) -Codechange: rename fatal() and error() in strgen, so it can always have the NORETURN attribute 16 years ago
egladil cd7536123b (svn r12776) -Fix: [OSX] In some rare cases when using an uncalibrated monitor the system colour space could not be retrieved. Show an error when this happens instead of just trying an assertion. 16 years ago
rubidium 36d3553b9b (svn r12773) -Codechange: replace some magic numbers with enums. 16 years ago
rubidium c7e2ca8cfd (svn r12772) -Codechange: some vehicle.cpp coding style. 16 years ago
rubidium 6d25cd50dd (svn r12771) -Codechange: remove more from variables.h. 16 years ago
rubidium 5c5bd70284 (svn r12769) -Codechange: some coding style cleanups. 16 years ago
rubidium 44128682cf (svn r12768) -Codechange: move the statusbar GUI to it's own file. 16 years ago
rubidium bc37ae3f2a (svn r12767) -Codechange: merge all main toolbar related functions into a single file instead of scattering the functionality over several files. 16 years ago
rubidium 8857f5057f (svn r12766) -Add: sorting by road vehicle/train length. Based on a patch by Sir Bob. 16 years ago
rubidium d46d8d9c9d (svn r12765) -Codechange: move some stuff out of variables.h that required including other headers in variables.h. 16 years ago
rubidium f4b07a78c4 (svn r12762) -Fix: tabs after the first non-tab character are generally not okay (or lines starting with a space and then tabs). 16 years ago
rubidium ca1f8fbe2e (svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators. 16 years ago
belugas d2b55e7afd (svn r12760) -Fix(r12759): Remove a now useless comment 16 years ago
belugas 13dcf2ed7e (svn r12759) -Fix(r12358): There is no need to mask callback result for pre-version7 since CBID_INDTILE_SHAPE_CHECK (cb2F) is really 15 bits. 16 years ago
belugas ed497b4fa7 (svn r12758) -Fix(r4712, r12745): Use a bool when it's about boolean evaluation. a TileIndex is hardly a bool, of course of course. Thanks for good old MSVC warnings. 16 years ago
rubidium 18e64b28e2 (svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location. 16 years ago
smatz fa4b5b1c18 (svn r12756) -Cleanup: variable scope and coding style in station* 16 years ago
glx 72c16c4de7 (svn r12755) -Fix (r12706): aborting map generation was not properly handled 16 years ago
rubidium 6d063c3ad6 (svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h. 16 years ago
smatz ec588da9e8 (svn r12753) -Codechange: do not use IsDepotTypeTile() where simpler function can be used 16 years ago
rubidium b0e687f60c (svn r12752) -Codechange: replace some magic constants in player_gui.cpp. Patch by Yexo. 16 years ago
rubidium 6dc210b171 (svn r12751) -Codechange: do what has been done in r11862 in a different way so it uses less memory. 16 years ago
rubidium c7357bee94 (svn r12750) -Fix (r12749): viewport for industry new messages was not shown properly. 16 years ago
rubidium 2752568d61 (svn r12749) -Codechange: store the viewport information in the windows that have a viewport instead of one global array with a viewport for each window, even when they do not use the viewport. 16 years ago
peter1138 9c3725827a (svn r12747) -Codechange: Add varaction retrieval of station animation frame 16 years ago
peter1138 757d61b22f (svn r12746) -Codechange: Add map storage for station animation frame 16 years ago
smatz 966e476df8 (svn r12745) -Codechange: a bit of naming conventions, introduce Is*DepotTile() 16 years ago
rubidium 61074c4bf8 (svn r12741) -Codechange: do not allocate the viewport drawer each time on the stack, but only once and reuse this. 16 years ago
rubidium 34f4150b15 (svn r12740) -Codechange: use a vector instead of allocating memory in a byte array for ChildScreenSpriteToDraw. 16 years ago
rubidium 1eac80f840 (svn r12739) -Codechange: use a vector instead of allocating memory in a byte array for ParentSpriteToDraw. 16 years ago
smatz 71ebefbbd7 (svn r12738) -Fix (r12736): some sprites could be left unsorted 16 years ago
peter1138 efdf8b8c8a (svn r12737) -Codechange: Replace vector with a cut down class to allocate space as necessary. This avoids copying data around for vector's push_back() function. 16 years ago
rubidium 47365fee11 (svn r12736) -Codechange: a (small) touch of coding style in viewport.cpp. 16 years ago
rubidium 878a7c9ab1 (svn r12735) -Codechange: use a vector instead of allocating memory in a byte array for TileSpriteToDraw. 16 years ago
rubidium 26dcf25238 (svn r12734) -Codechange: use a vector instead of allocating memory in a big byte array for StringSpriteToDraw. 16 years ago
belugas aedde3ab4a (svn r12733) -Codechange: Merge two more Widgets arrays (town views ) into one. 16 years ago
smatz 867566f7f0 (svn r12731) -Fix (r12726): copying a 16bit array into 32bit wouldn't work 16 years ago
rubidium 08894026da (svn r12726) -Fix [FS#1877]: overflow causing strange building behaviour in towns. 16 years ago
frosch 91e53e23ca (svn r12717) -Fix (r11107): Check the TILE_NOT_SLOPED flag of the _north_ tile of multi-tile houses to decide if autoslope is allowed. 16 years ago
frosch 93afe81001 (svn r12716) -Fix: Do not compare StationIDs with DepotIDs or WaypointIDs. 16 years ago
rubidium bd3e5d9c43 (svn r12714) -Fix [FS#1904]: do not move windows below the toolbar on resizes unless they would go behind the toolbar. 16 years ago
rubidium 5766d4a5c0 (svn r12713) -Fix: misleading comment. Patch by Yexo. 16 years ago
glx 90bd1e45eb (svn r12711) -Codechange: remove unneeded loops 16 years ago
rubidium 52d83de8d8 (svn r12709) -Feature: show the last joined server. Heavily based on a patch by Yexo. 16 years ago
glx f63bd286e0 (svn r12708) -Fix (FS#1914): increase default sound buffer size only for vista 16 years ago
rubidium 253a95777c (svn r12707) -Fix: do not crash very hard on unrecognised savegames, just go back to the intro menu instead. 16 years ago
rubidium d022d4af3d (svn r12706) -Merge: the thread rewrite from NoAI. The rewrite makes the threading we have better extendable. 16 years ago
belugas bf1d42c23d (svn r12705) -Codechange: enumification of some more widgets 16 years ago
belugas 7e601e6bd2 (svn r12704) -Codechange: code style cleanup, mostly switch case alignment 16 years ago
rubidium cf00e8e1d9 (svn r12701) -Codechange: do not explicitly number a widget enum because that causes a big diff when adding something. 16 years ago
maedhros c4496d78e5 (svn r12700) -Cleanup (r12699): Remove an unused string. 16 years ago
maedhros b0629b31fa (svn r12699) -Codechange: Unify the order drawing code for orders and timetables. 16 years ago
rubidium 760a57867f (svn r12698) -Codechange: skip orders to stations that do not have a train part anymore, just like is done for road vehicles and ships. 16 years ago
rubidium 60102c9d73 (svn r12697) -Codechange: give signs_gui.cpp a touch of coding style. 16 years ago
rubidium b6ce235700 (svn r12696) -Fix: loading ancient savegames could result in invalid orders in order lists with all related problems. 16 years ago
rubidium 8ab49198b9 (svn r12695) -Codechange: only allocate window structs when needed. Based on a patch by Alberth. 16 years ago
rubidium 1fe1b5da80 (svn r12694) -Fix: do not call the mouse over callback on already deleted windows. 16 years ago
rubidium 99b51aa235 (svn r12693) -Documentation: add some documentation to some window related stuff. Based on a patch by Albert. 16 years ago
rubidium c36d613b9b (svn r12692) -Codechange: swap to functions to remove a function declaration. 16 years ago
glx 5a6014d7e3 (svn r12691) -Fix (r12459): all company related news displayed the 'company is in trouble' message 16 years ago
smatz b18f330739 (svn r12690) -Cleanup: remove unused table from tgp.cpp 16 years ago
rubidium a277d2df86 (svn r12689) -Feature: non-stop(or rather no non-stop) and via orders for road vehicles. 16 years ago
rubidium 79f4d763ed (svn r12688) -Change: make default non-stop for depot/waypoint orders the same as for stations. 16 years ago
rubidium 22353393cd (svn r12687) -Change: show when a vehicle is actually leaving the station instead of loading/unloading. 16 years ago
glx 0b3a78b927 (svn r12686) -Fix: MSVC signed/unsigned warning 16 years ago
smatz 821ef83af9 (svn r12685) -Codechange: DebugDumpCommands() couldn't be inlined, define it as a macro instead 16 years ago
rubidium 67bb680d26 (svn r12684) -Fix [FS#1891]: manually given service at depot order is not forgotten anymore when autoservice 'interferes'. 16 years ago
rubidium 48d95252d5 (svn r12683) -Fix [FS#1906]: in some cases a news messages would not be shown. 16 years ago
rubidium 1078bc7dd0 (svn r12682) -Fix [FS#1920]: removing road pieces from a town gave you twice the intended penalty. 16 years ago
rubidium 6d04b589d8 (svn r12681) -Fix [FS#1921]: aircraft stopping mid-air. 16 years ago
belugas 03f9718489 (svn r12679) -Codechange : a little bit of widget enumification 16 years ago
rubidium ef1bf22d59 (svn r12678) -Fix [FS#1918]: when a road vehicle has a tram only stop multiple times in a row in it's orders, only the first one would be skipped. 16 years ago
peter1138 3f7327fcb2 (svn r12676) -Codechange: Reinstate colour selection buses, absent since r6455. 16 years ago
peter1138 66783add65 (svn r12675) -Codechange: Add support for custom drawing of drop down list items. 16 years ago
peter1138 5d755429b4 (svn r12674) -Fix [FS#1902]: Colour remaps on station sprites only worked for company colours. 16 years ago
peter1138 9e69877e70 (svn r12672) -Codechange: Add support for variably-sized drop down list items. 16 years ago
smatz 6a661582d4 (svn r12671) -Fix (r12644): orders window of competitors' vehicles was missing a resizebox 16 years ago
rubidium 7ea682d6eb (svn r12670) -Add: unconditional/always order 'jump/skip' variable. 16 years ago
rubidium fec2550803 (svn r12669) -Fix (r12667): crash when a vehicle has never been to a station and the load percentage conditional variable is evaluated. 16 years ago
rubidium 85354456b9 (svn r12668) -Fix (12667): swapping of variables went wrong. 16 years ago
rubidium 0e40b1013c (svn r12667) -Feature: conditional 'skip/jump' orders. 16 years ago
rubidium d02f46b959 (svn r12666) -Fix: the time table GUI did not show some data in the correct manner. 16 years ago
rubidium 5c8444638e (svn r12665) -Codechange: make the internal speed <-> display speed conversions available to a bigger part of the code. 16 years ago
rubidium 02f8281ce2 (svn r12664) -Codechange: do not force the 'color' pointer to be non-NULL when trying to get the load percentage. 16 years ago
rubidium 89ff74fa73 (svn r12663) -Codechange: move the definition from 'order_d' to a more appropriate place and do not misuse it for the time table GUI. 16 years ago
belugas b21b003f90 (svn r12662) -Codechange: Comment-code style application 16 years ago
rubidium 6fa7001531 (svn r12661) -Add: ability to send a vehicle (using default orders) to the nearest depot. 16 years ago
rubidium 48703f69f4 (svn r12660) -Codechange: make the creation of depot order strings a little more modular (instead of causing a string explosion). 16 years ago
rubidium 3c7e23fa8c (svn r12659) -Cleanup: some style cleanups in vehicle.cpp. 16 years ago
rubidium daf5a2f1bc (svn r12658) -Codechange: unify a vast portion of the CmdSend<VehicleType>ToDepot commands. 16 years ago
rubidium aa8a5b2c39 (svn r12657) -Codechange: add 'FindClosestDepot' to the vehicle class. 16 years ago
rubidium 23465fa7c4 (svn r12656) -Fix: tooltips for some order buttons are outdated/incorrect. 16 years ago
rubidium 1059f1e9f6 (svn r12655) -Change: show the current state in the drop down 'buttons'. 16 years ago
rubidium 39c5c448b9 (svn r12654) -Codechange: remove some unneeded right click handling due to the splitting of the load/refit button. 16 years ago
rubidium bdf606967f (svn r12653) -Codechange: disable load/unload dropdowns when there is a 'via' non-stop order to emphasize that loading/unloading will not be done. 16 years ago
rubidium 4ad8b95dcc (svn r12652) -Codechange: rework the order GUI a little more to make it a little more clear that 'transfer' is just an unload type. 16 years ago
peter1138 3badd38914 (svn r12651) -Fix (r12644) [FS#1915]: Dropdown widget width should be one pixel less than window width, not one more. 16 years ago
rubidium 2964ba2d34 (svn r12650) -Feature: ability to force a vehicle to not load at a station.
-Feature: ability to force a vehicle to not unload at a station.
16 years ago
rubidium 00d5b516bf (svn r12649) -Fix: refit orders not being shown.
-Fix: unusable non-stop orders shown for waypoints and depots.
16 years ago
rubidium e61dcab79d (svn r12648) -Feature: allow four different non-stop types in a single game instead of two. The "TTDP compatible order" setting now only sets the default behaviour of new trains.
-Feature: allow three different load type in a single game instead of two. One can choose full load all and full load any instead of full load being governed by the "full load any" patch setting.
16 years ago
belugas 79cb5ec1c7 (svn r12647) -Codechange: Ooops... Too fast on the job... forgot to indent 3 lines 16 years ago
belugas 3491a3346e (svn r12646) -Codechange: another run of code-style cleanup 16 years ago
belugas 032924dbd6 (svn r12645) -Codechange: a bit of code-style cleanup 16 years ago
rubidium 845c5d0a49 (svn r12644) -Codechange: rework the order gui a little to prepare it for some future changes. 16 years ago
rubidium 73392ba85e (svn r12643) -Codechange: be more explicit about the orders a vehicle has (non stop and full load are ambiguous and depend on some patch settings). 16 years ago
smatz 183145c0dc (svn r12642) -Fix: remove buggy buoys at tile 0 from old TTDP savegames 16 years ago
rubidium 2db9a59d8e (svn r12641) -Codechange: do not use the same button for two completely distinct tasks, just make an extra button for it and hide them when not needed. 16 years ago
rubidium 2e4044ac81 (svn r12640) -Codechange: let GetLoadType make a difference between full load and full load any based on the patch setting instead of using the patch setting directly. 16 years ago
rubidium c93e1293cb (svn r12639) -Fix: order window was not marked dirty on changed orders. 16 years ago
rubidium 3274ca604f (svn r12638) -Codechange: give order_gui.cpp a touch of coding style. 16 years ago
rubidium cd23dd64bf (svn r12637) -Fix [FS#1913]: possible NULL pointer dereference when reading some NewGRF data. 16 years ago
rubidium 16edbb8635 (svn r12636) -Codechange: make CmdModifyOrder a little more flexible and remove 'hack' that used the full load flag to set the service if needed flag. 16 years ago
belugas 70dc7edd92 (svn r12635) -Codechange: a bit of a code-style cleanup 16 years ago
belugas 5e11fec66b (svn r12634) -Feature: Financial and Player Selection Face windows are now remembering their position when toggling sizes 16 years ago
rubidium d7afec34ac (svn r12633) -Fix: could not make a (go-to) depot order. 16 years ago
smatz adc84cd786 (svn r12632) -Fix (r12547): with invisible catenary, trams were be drawn over a bridge 16 years ago
rubidium c1e6cdbef7 (svn r12631) -Fix [FS#1911]: sometimes aircraft couldn't find their way to their depot. 16 years ago
maedhros 49a515f210 (svn r12630) -Fix (r12600): Missing 'break' made it impossible to add waypoints to vehicle orders. 16 years ago
frosch b91781b715 (svn r12629) -Codechange: Split VehicleNeedsService() into Vehicle::NeedsServicing() and Vehicle::NeedsAutomaticServicing().
-Fix (r11052): Disable servicing by service-interval if a vehicle has depot orders.
16 years ago
rubidium 4267797cc8 (svn r12628) -Fix: TTDP compatible non-stop wasn't handled properly. 16 years ago
peter1138 d577b0504a (svn r12624) -Codechange: Make drawing of catenary an attribute of rail types, instead of deciding by the rail type directly. 16 years ago
rubidium 5967f5b379 (svn r12622) -Fix: infinite loop in case your compiler decides that enums are unsigned by default. Patch by Dominik. 16 years ago
rubidium 337c92090b (svn r12620) -Fix: automatic servicing of vehicles made them stop in the depot. 16 years ago
rubidium 1dc0af3248 (svn r12619) -Codechange: lots of documentation about window related stuff. Patch by Alberth. 16 years ago
rubidium 16cb871398 (svn r12618) -Codechange: as load and unload type are now split, some case statements got ugly. 16 years ago
rubidium 973997e896 (svn r12617) -Codechange: add type safety to the Order's load and unload types. 16 years ago
smatz f35612bd21 (svn r12616) -Codechange: r12591 didn't work as expected for NDS, move one function back to cpp 16 years ago
rubidium cf250390c5 (svn r12615) -Codechange: rename some enums related to depot orders to make it more clear that they are no loading/unloading flags. Also add more type strictness. 16 years ago
belugas 0017149c33 (svn r12609) -Codechange: Remove wrong comments and give more comments on the drawing part of subsidies 16 years ago
rubidium c6e8bf41a1 (svn r12608) -Fix [FS#1909]: pressing 'Load' did not cancel the full load order. 16 years ago
smatz 7dc63836ea (svn r12605) -Cleanup: variable scope and coding style in train* 16 years ago
rubidium 4b7ca97056 (svn r12601) -Fix (r12587): do not reset the index of orders (causes loading ancient savegames to loop infinitively. 16 years ago
rubidium fcdd44b662 (svn r12600) -Codechange: make GetNonStopType return a more augmented type; not is there a non-stop order but the kind of non-stop order, so one doesn't need to check _patches.new_nonstop type everywhere. 16 years ago
smatz 76eaed68a0 (svn r12599) -Codechange: force AllocateSafeRaw() to be linked to simplify compiler's decisions about inlining 16 years ago
rubidium bd432258cb (svn r12596) -Feature: show what cargos a station could be supplied with. Patch by Roujin. 16 years ago
rubidium 949762fc65 (svn r12595) -Codechange: hide Order's flags in the last few cases. 16 years ago
smatz aaabd59369 (svn r12594) -Codechange: move large functions from driver.h to driver.cpp to reduce binary size and compile time 16 years ago
rubidium 53d101cc99 (svn r12593) -Codechange: hide Order's flags in most of the code. 16 years ago
rubidium e150643d31 (svn r12592) -Fix (r12580): aircraft's go-to-depot handling is a mess, which assumes destination to be a station even when it did not set a destination yet. 16 years ago
smatz 54630d0735 (svn r12591) -Codechange: move CommandCost accessors to header file, 8kB of binary size saved 16 years ago
rubidium 935b562074 (svn r12588) -Codechange: do not access the destination of an order directly. 16 years ago
rubidium a3224512cc (svn r12587) -Codechange: unduplicate some code in the Unpack*Order functions and move the 'normal' case Pack/Unpack to Order. 16 years ago
rubidium 3edb967ecf (svn r12586) -Codechange: do not access an order's refit variables directly. 16 years ago
rubidium 84e3fa75e1 (svn r12585) -Fix (r12584): assumption that assertions were enabled during compilation/testing was flawed. 16 years ago
rubidium 3b0e3d8d30 (svn r12584) -Codechange: do not access the order type directly. 16 years ago
rubidium 4ff5d2057c (svn r12583) -Codechange: make AssignOrder a class function of order. 16 years ago
rubidium 21ae6fa444 (svn r12582) -Codechange: move some (needlessly) static inlined functions from order_base.h to order_cmd.cpp. 16 years ago
rubidium b5a73c77de (svn r12581) -Fix (r12580): trains would not stop correctly on intermediate stations when non-stop was not enabled. 16 years ago
rubidium ed2acd6f3d (svn r12580) -Codechange: merge some logical related to non-stop orders. 17 years ago
smatz f8b2e84537 (svn r12579) -Change: reset cursor when the Plant trees GUI is opened 17 years ago
rubidium ba0a9538cf (svn r12578) -Codechange: merge the aircrafts ProcessOrder too into the 'unified' ProcessOrder. 17 years ago
smatz c830c4a369 (svn r12577) -Fix (r11547): the convert signal button disallowed signal dragging when the signal GUI was closed 17 years ago
smatz d0fdbce6d2 (svn r12576) -Feature(tte) [FS#337]: highlight vehicle chain when dragging in the group and depot GUI if appropriate 17 years ago
rubidium 3fdddeac40 (svn r12575) -Codechange: unduplicate Process*Orders for trains, ships and road vehicles. 17 years ago
rubidium fcf888799f (svn r12574) -Fix: binding to a specific IP could cause OpenTTD to not register properly with the masterserver if one has multiple external interfaces. 17 years ago
smatz c3399b6848 (svn r12573) -Codechange: use defined constants instead of numbers in math_func.hpp 17 years ago
smatz 6a501c85fc (svn r12572) -Fix (r12192): min() has 32bit arguments, clamping of 64bit values didn't work 17 years ago
rubidium 1db6c4d55e (svn r12571) -Fix: MorphOS misses INT16_MAX/INT16_MIN. 17 years ago
smatz 33a97141d5 (svn r12570) -Cleanup: further variable scope in road_gui.cpp 17 years ago
smatz 4c84f76dd5 (svn r12569) -Cleanup: variable scope and coding style in road*.cpp 17 years ago
smatz 2185591156 (svn r12565) -Cleanup: variable scope in misc\*.cpp 17 years ago
smatz 9532cde5ff (svn r12564) -Fix: towns couldn't terraform when inflation rised terraform prices enough 17 years ago
smatz 21981bca85 (svn r12563) -Cleanup: variable scope and a bit of coding style in landscape.cpp 17 years ago
smatz f5e445a252 (svn r12562) -Cleanup: variable scope in terraform_cmd.cpp 17 years ago
smatz 401c7b6752 (svn r12561) -Fix: do not affect town rating change by the order in which we examine stations 17 years ago
smatz 39dc3d3eda (svn r12560) -Cleanup: town_cmd.cpp and header files - variable scope and a bit of coding style 17 years ago
belugas ad877852d4 (svn r12558) -Feature: subsidy window can now be resized. 17 years ago
smatz 0cceb0cb3e (svn r12557) -Cleanup: use MAX_PATH at two more places 17 years ago
smatz 673055d27f (svn r12556) -Fix (r6001): remove fences with fields when loading old savegames, looks better 17 years ago
smatz cc775d809c (svn r12553) -Fix (r11547): redraw the signal GUI when the signal drag density changes in the patch settings and vice versa 17 years ago
smatz 8ed3f5fd5e (svn r12550) -Change: the signal GUI is now persistent - has the same data when it is reopened 17 years ago
smatz 4caeac0cb8 (svn r12549) -Fix [FS#1900](r11547): respect type of selected signal when building more signals using the GUI
-Fix: do not check patch settings but check if the Signal GUI window is open instead
17 years ago
smatz 99f4e979db (svn r12548) -Cleanup: remove strings removed in r12547 from all language files 17 years ago
smatz fcf4a7067d (svn r12547) -Feature: invisibility options to make objects invisible instead of transparent 17 years ago
glx b8e3bbe039 (svn r12546) -Fix: completely remove cases from Brazilian Portuguese translation 17 years ago
frosch 525ef7ae6f (svn r12545) -Cleanup: Replace some tables of magic values with already existing functions. 17 years ago
miham 06ac5eaa37 (svn r12543) -Update: WebTranslator2 update to 2008-04-03 08:42:55
brazilian_portuguese - 18 fixed by fukumori (18)
bulgarian  - 17 fixed by thetitan (17)
catalan    - 11 fixed by arnaullv (11)
dutch      - 19 fixed by habell (19)
french     - 11 fixed by glx (11)
hungarian  - 5 fixed by miham (5)
icelandic  - 24 fixed, 2 changed by scrooge (26)
italian    - 11 fixed, 1 changed by lorenzodv (12)
korean     - 17 fixed, 3 changed by leejaeuk5 (20)
slovak     - 18 fixed by lengyel (18)
slovenian  - 19 fixed by Necrolyte (19)
swedish    - 33 fixed by daishan (33)
turkish    - 18 fixed by jnmbk (18)
ukrainian  - 17 fixed by mad (17)
17 years ago
frosch 3e9baa7dfb (svn r12541) -Codechange: Declare Slope enum as bit set, and remove some (then) unneeded casts. 17 years ago
frosch ae01e263ad (svn r12540) -Codechange: Enumify some values in original pathfinder and remove an unused variable. 17 years ago
smatz 976d08bcdf (svn r12537) -Cleanup: comment newgrf_config.h a bit 17 years ago
rubidium 571ba97f56 (svn r12536) -Codechange: some stack allocations were too large for NDS, so use the SmallStackSafeStackAlloc wrapper. Allocate on the stack by default and on the heap for NDS (or other devices that have a very small stack). 17 years ago
belugas a84a913f3e (svn r12535) -Fix: A little typo and 4 omissions on bridge sprites. 17 years ago
skidd13 1e7f2dbc10 (svn r12534) -Feature: Add a new type of town road layouts - random for each town 17 years ago
frosch 15b2f07587 (svn r12533) -Cleanup: Remove some wizardry from default ai by using existings enums and helper functions. 17 years ago
frosch 2de802567a (svn r12532) -Cleanup: Replace two tables of magic values with already existing functions. 17 years ago
frosch 51155403a4 (svn r12531) -Codechange: Rename some variables for consistency. 17 years ago
skidd13 b93a612dfd (svn r12516) -Revert r2583: Removed mersenne PRNG cause it is not used and won't be used in the future 17 years ago
skidd13 e64beee656 (svn r12513) -Codechange: rename OriginalTileRandomiser something more descriptive 17 years ago
rubidium b488fe1929 (svn r12501) -Codechange: split signs.h. 17 years ago
rubidium 0f1a82a4c2 (svn r12499) -Codechange: some coding style tweaks for network_internal.h. 17 years ago
rubidium 8920a15979 (svn r12498) -Codechange: bring a little 'order' to openttd.cpp's includes and do not 'define' VARDEF for files that do not have them anymore. 17 years ago
rubidium 877ca99198 (svn r12495) -Codechange: reduce the dependency on newgrf_station.h (especially because newgrf_station.h includes a lot of stuff). 17 years ago
rubidium df1d9bd880 (svn r12490) -Codechange: rename engine.h to engine_func.h and remove unneeded inclusions of engine.h and/or replace them with engine_type.h. 17 years ago
rubidium c51b81c247 (svn r12489) -Codechange: split station.h into station_base.h and station_func.h. 17 years ago
rubidium b84b16cfcd (svn r12488) -Codechange: split order.h into order_base.h and order_func.h. 17 years ago
rubidium 8e9750901d (svn r12486) -Fix: the copyright date wasn't set correctly in ottdres.rc. 17 years ago
bjarni 8837c7dcd5 (svn r12482) -Fix: [build train] we don't need to have a depot in order to just check the price of a rail vehicle so don't check for compatible rails on the tile either
also wagons will only need tracks they can drive on in order to be build so there is no reason to check for power in the depot
17 years ago
peter1138 2d37f4c823 (svn r12479) -Codechange [FS#1723]: Simplify the method used to resize the industry view window. The window is now shown the correct size so the resize button is also removed. 17 years ago
rubidium 9f363b3f92 (svn r12477) -Fix [FS#1883]: timetable times for aircraft were always doubled. 17 years ago
rubidium 49a040e6ad (svn r12476) -Codechange: split type engine related types from engine.h (and openttd.h) to engine_type.h. 17 years ago
rubidium bb1f657076 (svn r12475) -Codechange: cleanup coding style in news_gui.cpp. 17 years ago
rubidium 1f870e2bc9 (svn r12474) -Codechange: split type related stuff from waypoints from waypoint.h (and openttd.h) to waypoint_type.h. 17 years ago
rubidium 4a0e471b60 (svn r12473) -Codechange: move EngineList to a more logical location. 17 years ago
rubidium 9861a8c322 (svn r12472) -Codechange: remove unneeded declaration of ViewPort and DrawPixelInfo. 17 years ago
rubidium 1c51f1e591 (svn r12471) -Codechange: move SignID to a more logical location. 17 years ago
rubidium 492d132831 (svn r12470) -Codechange: split order related types from order.h (and openttd.h) to order_type.h. 17 years ago
rubidium bf54e0ba1c (svn r12469) -Codechange: split type related stuff from group.h (and openttd.h) to group_type.h. 17 years ago
rubidium eba67a3b8f (svn r12468) -Codechange: move some type related stuff from station.h (and openttd.h) to station_type.h. 17 years ago
rubidium 02eddad8d9 (svn r12467) -Codechange: move DepotID to a more logical location. 17 years ago
rubidium b563a2e52c (svn r12466) -Codechange: move DestinationID to a more logical location. 17 years ago
rubidium 99d0c61ec0 (svn r12464) -Change: remove an include that doesn't define anything anyway. 17 years ago
rubidium 4ce279812f (svn r12460) -Change: rename src/namegen.h to src/namegen_func.h so MSVC can have both files in it's treelist. 17 years ago
rubidium 2426f5342f (svn r12459) -Codechange: split news.h into news_type.h and news_func.h. 17 years ago
rubidium 0e73ac2198 (svn r12458) -Codechange: split acquiring the sprite ID for cargos from the actual drawing of them. 17 years ago
belugas 55676e3b6c (svn r12457) -Codechange: Move signal enums on their own header. 17 years ago
glx 0f8584b2fb (svn r12456) -Update: apply english.txt changes from r12455 to other languages 17 years ago
glx 221071d299 (svn r12455) -Codechange: Implement NewGRF callback 37 (cargo sub-type display for industries) 17 years ago
glx 1df06c7ef1 (svn r12454) -Fix (r12452): incorrect calculation for 'first vehicle in this chain of vehicles with the same ID' (thx DaleStan)
-Fix (r12452): wrong loading of random action 2 type 84 for non vehicle (though it shouldn't happen, but who knows ;))
17 years ago
peter1138 00286005ba (svn r12453) -Fix [FS#1880]: Remove broken endian-dependent code and unnecessary rgb to bgr swapping. 17 years ago
glx 90616adcb0 (svn r12452) -Feature: [NewGRF] Add random action 2 type 84. For vehicles only. 17 years ago
peter1138 a729283a3c (svn r12451) -Codechange: use of FOR_ALL_ENGINES/ENGINEIDS_OF_TYPE instead of for-loops 17 years ago
peter1138 d275282e4d (svn r12450) -Codechange: Use a pointer instead of several array dereferences. 17 years ago
belugas 7aab471a76 (svn r12449) -Feature[newGRF]: Add support for var A2/22 for action 7/9/D: Diificulty level 17 years ago
rubidium 6db0edda7c (svn r12447) -Add: company colours to hangars and road depots; train depots already have them. 17 years ago
peter1138 64979511e3 (svn r12446) -Feature: Add +/- toggle buttons to station cargo waiting list to show/hide the detailed transferred cargo information. 17 years ago
peter1138 cb7b587746 (svn r12445) -Fix: Add missing compile asserts for window data structs 17 years ago
belugas 8988c1f7c1 (svn r12444) -Fix: A little typo 17 years ago
rubidium 6d9c7ef315 (svn r12443) -Add: OpenTTDs version to openttd.cfg, just so we do not need to keep to ask people for their version number because it's likely they give you the wrong answer anyway. 17 years ago
skidd13 5d06dcb37e (svn r12442) -Feature: Allow build leveled roads on slopes for the old ai 17 years ago
rubidium 105b95e94c (svn r12441) -Feature: open the time table when pressing the order button while pressing the CTRL key. Patch by Phil Sophus. 17 years ago
skidd13 75072624d8 (svn r12440) -Fix [FS#1694]: Make the road building and road removing conditions more union
-Feature: Allow to build/remove more road-piece combinations directly
17 years ago
rubidium 5ab921feaa (svn r12439) -Fix [FS#1871]: do not 'disable' the drawing of autorail overlays when the tile is 'error'-marked (red pulsating selection). Patch by Icosikai. 17 years ago
rubidium 1c1a721d63 (svn r12438) -Fix-ish: typo spotted by Biblo. 17 years ago
peter1138 bda732047b (svn r12436) -Cleanup: minor coding style 17 years ago
rubidium 9a62238096 (svn r12435) -Fix: do not remove the case from the Brazilian Portuguese translation while it is still in use. 17 years ago
rubidium 8989e6572f (svn r12428) -Fix [FS#1878]: loading from the config file could fail even when the data is correct. Patch by Dominik. 17 years ago
rubidium a28f2f2bb1 (svn r12426) -Cleanup: sprinkle some coding style over a few files. 17 years ago
rubidium a606fe9610 (svn r12425) -Feature [FS#1846]: On Screen Keyboard for input fields so someone without a keyboard can enter text too. Patch by Dominik. 17 years ago
bjarni b05919cc5a (svn r12421) -Feature: [autoreplace] the autoreplace button in train depots will now also replace wagons even if they aren't connected to a locomotive
fixed estimated cost in CmdDepotMassAutoReplace() (will still not estimate wagon removal profits)
  Made it possible to command CmdDepotMassAutoReplace() to either replace everything or nothing (the button will still happily replace just some of the vehicles if cash premits)
17 years ago
maedhros 691e9e1b5c (svn r12420) -Cleanup: Fix the indentation, improve a variable name, and add a NOT_REACHED to DeterminePluralForm. 17 years ago
skidd13 066e6dedfd (svn r12419) -Cleanup: of the internal road-piece building and removing. 17 years ago
maedhros 0bf22d264a (svn r12417) -Fix: Add a new plural rule for Icelandic. 17 years ago
peter1138 f0e39a7953 (svn r12410) -Codechange: abstract out the test for catenary on electric rails 17 years ago
miham 8669c77143 (svn r12408) -Update: WebTranslator2 update to 2008-03-25 09:44:24
brazilian_portuguese - 1 fixed by fukumori (1)
bulgarian  - 1 fixed by thetitan (1)
catalan    - 8 fixed by arnaullv (8)
czech      - 1 fixed by Hadez (1)
french     - 8 fixed by glx (8)
hungarian  - 10 fixed by miham (10)
icelandic  - 9 fixed, 1 changed by scrooge (10)
italian    - 8 fixed by lorenzodv (8)
korean     - 1 fixed by darkttd (1)
russian    - 8 fixed by Smoky555 (8)
ukrainian  - 1 fixed by mad (1)
17 years ago
glx 15cd2931f3 (svn r12407) -Add [FS#1866]: more language flags for servers 17 years ago
rubidium 329ab84da3 (svn r12405) -Codechange: some coding style and 'untodoifying' some comments that were certainly not todos. 17 years ago
rubidium f76110425b (svn r12404) -Codechange: rename the string buffer used for network GUIs to something more unique than what it is called now. 17 years ago
rubidium d4b6b57f8b (svn r12403) -Codechange: unmisuse a variable in the chat window and make the code a little cleaner. 17 years ago
rubidium 48bb9ff17c (svn r12402) -Fix: some toolbars didn't seem to show anymore. 17 years ago
glx d177952455 (svn r12401) -Fix (r9754): when loading TTD savegame some data were lost (profits, ...) due to a 'reallocation' for vehicle type conversion. The conversion is now done before loading the vehicle chunk. 17 years ago
rubidium c0758bc425 (svn r12399) -Fix: some old DOS savegame didn't load properly due to 'garbage' that was sprinkled in some places. 17 years ago
rubidium 672087ecf6 (svn r12398) -Codechange [FS#1770]: Move toolbar related code to it's own little neighbourhood. Based on a patch by Dominik. 17 years ago
rubidium 449b51a8b4 (svn r12397) -Codechange [FS#1856]: enumify widget number for time tables. Patch by Phil Sophus. 17 years ago
rubidium 72f5869cc9 (svn r12396) -Codechange: change a few things to reflect that we aren't aiming for 0.6 anymore in trunk. 17 years ago
rubidium 1ee5e2e0aa (svn r12393) -Fix [FS#1872]: Vehicle lists related to stations not closed when the station is deleted. 17 years ago
maedhros 0fd41a14fb (svn r12392) -Fix (r12391): Remove yapf/follow_track.cpp again. 17 years ago
maedhros 75719795c9 (svn r12391) -Feature: Show whether a town is a "city" in the town description title bar. 17 years ago
rubidium edd384c121 (svn r12390) -Fix [FS#1851]: trams failing to turn on bridge heads/tunnel entrances. 17 years ago
rubidium fedb33d697 (svn r12389) -Codechange: remove unneeded code from the Cheat window handling and bring it in line with the coding guidelines. 17 years ago
maedhros 7d2a1e5a69 (svn r12388) -Fix (r12352): Callback 14 (station sprite layout) is a 15-bit callback. 17 years ago
miham 7026601721 (svn r12387) -Update: WebTranslator2 update to 2008-03-21 00:20:05
german     - 1 fixed by moewe2 (1)
icelandic  - 346 fixed by scrooge (346)
korean     - 2 fixed by darkttd (2)
portuguese - 6 fixed by nars (6)
russian    - 15 fixed by Smoky555 (15)
slovenian  - 6 fixed by Necrolyte (6)
17 years ago
smatz 3ab59da68a (svn r12386) -Fix [FS#1841](r2428): train could break apart when reversed while partially in a depot 17 years ago
peter1138 606bc6fc14 (svn r12385) -Fix [FS#ln]: Non-breaking spaces should not be broken. 17 years ago
smatz f45221f274 (svn r12384) -Fix (r2428): do not disconnect train when reversing, it may 'think' it is whole in a depot 17 years ago
peter1138 e46945a254 (svn r12383) -Fix [FS#1860]: Check return of AfterLoadGame for success or failure when loading TTD games. 17 years ago
glx 457acecda5 (svn r12382) -Fix [FS#1864]: use 'items' unit for batteries, fizzy drinks, toys and bubbles in total cargo tab 17 years ago
skidd13 49cf499cf2 (svn r12381) -Fix [FS1835] [FS1535] (r11855): The number of houses wasn't computed right. A few other things regaring the updating had to be changed. Big thanks for support to frosch123 and SmatZ, to name just a few. (Inspired by a patch of bilbo) 17 years ago
glx 285a43037b (svn r12380) -Fix: update train acceleration and max speed after setting cached value to ensure the correct max speed is used with disabled real acceleration 17 years ago
glx cbcad325f9 (svn r12379) -Codechange: removed now redondant InvalidateWindow() calls 17 years ago
glx 187c7e19fe (svn r12378) -Fix: refresh vehicle details window when cached values are updated 17 years ago
glx 08becf93e6 (svn r12377) -Fix [FS#1854]: set cached value for vehicle property 25 before other cached values 17 years ago
peter1138 38be279d3a (svn r12374) -Fix (r11892): Don't close a dropmenu when clicking on a dropdown widget 17 years ago
glx 62a7587586 (svn r12373) -Fix [FS#1849]: win32 music driver fails if path is too long (128 chars is too much for mci it seems), so retry using the short path name (8.3 style) if available 17 years ago
glx 42647b90a3 (svn r12372) -Fix: win32 music driver fails if path contains non-latin chars 17 years ago
smatz 808c03ef8d (svn r12371) -Fix [FS#1823]: do not let window hide behind the main toolbar after resizing the screen 17 years ago
peter1138 46ad4b8267 (svn r12370) -Fix [FS#1853]: Close language drop down when parent window is clicked/closed. 17 years ago
smatz 3d10ae7ec3 (svn r12369) -Fix (r1681): reset train speed limits when _patches.realistic_acceleration changes 17 years ago
smatz 1f13638d03 (svn r12368) -Codechange: use explicit body for loops and conditions and remove -Wno-empty-body from the configure script 17 years ago
smatz 8d7f246b55 (svn r12367) -Fix [FS#1650](r707): commands were sent to clients waiting for map download causing 'executing command from the past' error 17 years ago
glx c1d2468a2b (svn r12366) -Codechange: use MAX_PATH instead hardcoded value 17 years ago
skidd13 1415de2800 (svn r12365) -Fix: missing redraw call in the road gui 17 years ago
peter1138 3679bed32a (svn r12364) -Fix (r12361): Case attribute for brazilian_portuguese got lost. 17 years ago
smatz 9dade55b4a (svn r12363) -Fix: do not allow building 'zero' road bits 17 years ago
frosch d744451345 (svn r12362) -Fix (r11985, r12006): Randomize variable 8F only once per callback 28. 17 years ago
miham 8af1696cd3 (svn r12361) -Update: WebTranslator2 update to 2008-03-12 09:46:45
brazilian_portuguese - 2 fixed by fukumori (2)
bulgarian  - 3 fixed, 1 changed by kokobongo (3), thetitan (1)
catalan    - 2 fixed by arnaullv (2)
czech      - 2 fixed by Hadez (2)
danish     - 15 fixed by ThomasA (15)
dutch      - 2 fixed, 1 changed by habell (3)
estonian   - 2 fixed by kristjans (2)
french     - 2 fixed by glx (2)
german     - 15 fixed, 1 changed by moewe2 (16)
italian    - 2 fixed by lorenzodv (2)
portuguese - 9 fixed, 6 changed by nars (15)
slovak     - 2 fixed by lengyel (2)
slovenian  - 9 fixed by Necrolyte (9)
spanish    - 2 fixed, 2 changed by eusebio (4)
turkish    - 22 fixed by jnmbk (22)
ukrainian  - 2 fixed, 18 changed by mad (20)
17 years ago
glx 7fe1703170 (svn r12360) -Fix: openttdd.grf was using the wrong colours for glyphs due to a grfcodec bug (fixed in grfcodec 0.9.10 r1837) 17 years ago
frosch 3eaf7af980 (svn r12358) -Fix: Callback 2F returns 15 bit results starting from grf version 7. 17 years ago
frosch c9c870b768 (svn r12352) -Fix: Some callback-results were treated as 8 bit, when they were 15 bit, and vice versa.
Var 0x7E procedure-results are always 15 bit.
  Callbacks 0x2A, 0x2C, 0x36 (sometimes), 0x39 and 0x145 are 15 bit.
  Non-varaction2-calculated callback-results are also affected by the 8bit masking.
17 years ago
glx cad30106d1 (svn r12350) -Fix [FS#1836](r11947): do not try ti flood water tile (performance increase) 17 years ago
belugas 5d4e98c800 (svn r12349) -Change[FS#1826]: Remove the need to include the afxres.h header when all that was needed was just the definition if IDC_STATIC.
Only valid for MSVC compilers.
17 years ago
smatz d46ac78438 (svn r12348) -Fix (r7573): NTP skipped junction just after bridge end 17 years ago
frosch 81174bc523 (svn r12347) -Feature(ette): Increase house animation frame number from 32 to 128. 17 years ago
frosch 0689524481 (svn r12346) -Fix [FS#1748, FS#1825](r9874, r11872): Remove duplicated and inconsistent code wrt. autoreplace with rules in both vehicles' group and ALL_GROUP. 17 years ago
glx fe4a6985b2 (svn r12345) -Fix [FS#1828](r12296): don't try to restore backupped timetable when timetabling is disabled 17 years ago
skidd13 5a98861958 (svn r12344) -Codechange: Check uint64 bitsize on compiletime too. 17 years ago
peter1138 0796a1ccc3 (svn r12343) -Fix (r12293): Slow helicopters never got the 'chance' to finish the landing routine. 17 years ago
belugas d56f862b0e (svn r12342) -Fix(r12340): In order to avoid confusion, SIGN should be used for signs and SIGNAL for signals :)
Always check your terms with your nearest british ;)
17 years ago
peter1138 99be0592e7 (svn r12341) -Fix (r11224) [FS#1827]: GRM buffer for cargos was incorrect size. 17 years ago
belugas 61984b5169 (svn r12340) -Codechange: Remove some magic numbers (sprite IDs here) with some more meaningful values.
This allows to remove an unnecessary subtraction in the MAYBE_DAW_SIGNAL macro, who was waiting for an offset, at the first place.
17 years ago
peter1138 a61cbab37b (svn r12339) -Fix (r12331): Recalculate cached train data after clearing reversing flag when entering depot. 17 years ago
peter1138 bb89e98ec2 (svn r12336) -Fix [FS#1733]: Don't pause/unpause the game when showing load/save windows when the game is paused due to missing GRFs. 17 years ago
peter1138 debabbbd9a (svn r12335) -Codechange: Don't stuff signed values into a unsigned variable when the variable can just be unsigned... 17 years ago
peter1138 475f6ca3e3 (svn r12334) -Codechange: Don't change road owner without DC_EXEC. Didn't affect anything in this case but is bad form. 17 years ago
frosch 81f4fd8aff (svn r12333) -Fix: Switch grfstatus from 'activated' back to 'will-be-active' between reservation- and activation-stage.
This fixes action7/9 conditions 0x06 to 0x0A to return the same in those two stages.
17 years ago
peter1138 11c8050e3f (svn r12332) -Fix (r12331): Invalidate cached data and update image after setting flag. 17 years ago
glx d9d601b1ca (svn r12331) -Feature: [NewGRF] vehicle variable FE bit 8 17 years ago
glx 796d46ea88 (svn r12330) -Feature: [NewGRF] vehicle variable FE bit 5 and 6 17 years ago
peter1138 beccf3e5ea (svn r12329) -Fix [FS#1819]: Disallow building level crossings over one-way roads as this allowed competitors to remove the one-way state. 17 years ago
belugas 37babfaad0 (svn r12328) -Fix(r3447): Wrong Y pillar specified for girder with arch bridge. Spotted and fixed by a lot of people ;) 17 years ago
smatz d28cc5be80 (svn r12324) -Fix (r6789): vehicles could be sorted in a wrong order when a vehicle name changed - cached name was not invalidated 17 years ago
smatz 4a395562f2 (svn r12323) -Fix [FS#1821](r6789): vehicle sorting by name was broken, it was comparing two the same strings (when caching was not used) 17 years ago
glx b120ff5276 (svn r12322) -Fix (r9874): endian issue when saving/loading group owner 17 years ago
peter1138 de97cdc113 (svn r12320) -Fix [FS#1817]: Wrong transparency options could be saved after toggling all. 17 years ago
peter1138 5eb431661f (svn r12319) -Cleanup: Comment fixes (Roujin) 17 years ago
peter1138 e40b66861c (svn r12317) -Fix [FS#1815]: Map string IDs that are embedded from other strings. 17 years ago
peter1138 b913a135c0 (svn r12316) -Codechange: Support loading full range of 0xD0xx NewGRF strings which
includes 0xD000 to 0xD3FF (yes, 0xD0xx makes a lot of sense, really...) 
and handle 0xD400 to 0xD7FF strings which map to 0xD000 to 0xD3FF 
(obviously).
17 years ago
peter1138 26c5a14d58 (svn r12314) -Fix (r4896): Include prop 25 data for all train parts, not just those that carry cargo. 17 years ago
frosch 4ec7f33f8c (svn r12313) -Fix: YAPF and NTP did not apply penalty for uphill tracks on steep slopes. 17 years ago
glx 36678c0ae8 (svn r12304) -Codechange: use IsValidTile() where it should be used 17 years ago
glx e9bddd2b47 (svn r12303) -Codechange: move IsValidTile() in a more suitable place and make it static inline 17 years ago
glx 19b0f75226 (svn r12296) -Fix [FS#1549]: restore timetable from backupped orders and add group ID to the backup 17 years ago
peter1138 6c4060a59a (svn r12295) -Codechange: Make plane speed option available to NewGRFs 17 years ago
peter1138 015cf7e6a2 (svn r12293) -Feature: Ability to change aircraft speed factor, from so
called 'realistic' (matching other vehicles) (1/1) to original TTD 
speed (1/4). Note this option defaults to original TTD speed.
17 years ago
belugas 2678c4faaa (svn r12290) -Fix[FS#1807]: Do not draw trees nor lamps between tram tracks.(Roujin) 17 years ago
belugas 5a0ebacc54 (svn r12289) -Fix(r12288)[FS#1808]: Wrong bridge head table associated 17 years ago
belugas 90595cc83d (svn r12288) -Fix(r12287): forgot to include two sprite renames out of consistency.
And obviously forgot to compile before committing, as the array rename would have been evident.
17 years ago
belugas 30b0e31f15 (svn r12287) -Codechange: Give meaning to two other bridges sprites arrays.
A bit of re-indenting too
17 years ago
belugas 2f8e2743d7 (svn r12272) -Codechange: A bit of code style fixes (tabs instead of spaces), one space too many before macro definition and rename marco MB (MakeBridge) for MBR(MakeBRidge) 17 years ago
belugas ed6bfe4964 (svn r12263) -Codechange: Give meaning to the concrete bridge sprites arrays.
Add macro MR (PALETTE_TO_STRUCT_RED) for easier viewing.
Still more to come.
17 years ago
belugas adb1507e4e (svn r12262) -Codechange: Give meaning to the wooden bridge sprites arrays.
Add macro MN for easier viewing.
More to come.
17 years ago
glx 6f55c7e0e8 (svn r12261) -Fix [FS#1805]: autoreplace did not update vehicle index for timetable window 17 years ago
glx a857d32676 (svn r12258) -Fix: GetProductionAroundTiles() may fail if only the second production slot exists 17 years ago
KUDr ff7e789f83 (svn r12252) -Fix [FS#1801]: Broken FollowTrack_t related functions (thanks michi_cc).
-Fixed by removing FollowTrack_t structure and all related functions. Their purpose was to allow to call track followers from C code. They were:
  1. never used
  2. obsoleted by switching to C++
17 years ago
frosch bde573d1e9 (svn r12247) -Fix (r9315): Town variables 0x9E to 0xAD (company ratings) returned wrong values. 17 years ago
frosch e464cbcfd6 (svn r12246) -Fix (r10460): Proper usage of Clamp(). 17 years ago
smatz de8c95506b (svn r12244) -Fix (r12150): typo resulting in no players are given the engine preview offer 17 years ago
glx c78b1b388e (svn r12239) -Fix [FS#1800] (r9729): inverted comments for SetRailType() and GetTrackBits() (michi_cc) 17 years ago
bjarni 801bd045fe (svn r12231) -Cleanup (r12230): [autoreplace] moved Vehicle::NeedsAutorenewing() and added comments 17 years ago
bjarni 973d1fd6ad (svn r12230) -Codechange: [autoreplace] made a function to detect if a vehicle needs autorenewing
This will remove duplicated code and ensure that the check is consistent
17 years ago
miham 4e90a42f0c (svn r12218) -Update: WebTranslator2 update to 2008-02-23 12:39:10
brazilian_portuguese - 13 fixed, 51 changed by fukumori (64)
bulgarian  - 12 fixed by thetitan (12)
catalan    - 13 fixed by arnaullv (13)
czech      - 13 fixed, 8 changed by Hadez (21)
dutch      - 13 fixed by habell (13)
estonian   - 13 fixed, 3 changed by kristjans (16)
french     - 13 fixed, 20 changed by glx (33)
hungarian  - 13 fixed by miham (13)
italian    - 13 fixed, 8 changed by lorenzodv (21)
japanese   - 13 fixed by ickoonite (13)
korean     - 14 fixed by leejaeuk5 (14)
portuguese - 2 fixed by nars (2)
slovak     - 13 fixed by lengyel (13)
slovenian  - 1 fixed by Necrolyte (1)
spanish    - 13 fixed by eusebio (13)
swedish    - 1 fixed by ChrillDeVille (1)
ukrainian  - 13 fixed, 1 deleted, 124 changed by mad (138)
17 years ago
peter1138 f6e4dc4d8c (svn r12209) -Fix: [NewGRF] Support using any base price for rail and road vehicles' running cost, and show running cost of wagons if they have it. 17 years ago
belugas 67bf63ddff (svn r12208) -Codechange: Alignment of params makes the code easier to read. 17 years ago
peter1138 29e4c60348 (svn r12207) -Change: rail running costs are engine class, not rail type 17 years ago
belugas 35356c97e7 (svn r12206) -Fix: A comma is not a rare resource. Do not hesitate to use it when needed. 17 years ago
peter1138 0e997be11e (svn r12205) -Codechange: rename RailVehicleInfo::running_cost_base to running_cost, inline with other vehicle types (It is the factor, not the base) 17 years ago
smatz e0b0ecc5a7 (svn r12204) -Fix (r12192): using UINT16_MAX broke compilation on many targets 17 years ago
frosch 91297d4732 (svn r12203) -Fix (r12199): Make trains pay attention to signals again. 17 years ago
peter1138 ab1fa8b8fc (svn r12202) -Fix: When loading a savegame fails, don't start creating a new game, just go straight back to the intro screen. 17 years ago
smatz e5709f3ad8 (svn r12201) -Fix (r12060): compilation warnings - uninitialized variable when compiling with assert disabled 17 years ago
smatz 988b5a9111 (svn r12200) -Fix: force AI to build rail or road instead of bridges if possible, so it doesn't build bridges everywhere 17 years ago
frosch 7f3d56041b (svn r12199) -Codechange: Remove magic around the results of GetTileTrackStatus(). 17 years ago
peter1138 86eec55b8a (svn r12198) -Fix [FS#1789]: "Transparent buildings" now only toggles buildings, so show tick when buildings are transparent. 17 years ago
smatz 9bdb194b2a (svn r12197) -Fix [FS#1788](r12134): show correct last year profit when the train had negative income
-Codechange: use GetDisplayProfitThisYear() to convert vehicle profit to readable form
17 years ago
smatz 2657090b1f (svn r12195) -Fix [FS#1787](r12100): there can be oil rigs at map borders, do not set water class for them 17 years ago
smatz 7dbb21c69b (svn r12194) -Codechange: apply coding style on enum TrainSubtype 17 years ago
frosch 1d120c51b8 (svn r12193) -Codechange: Rename a magic variable, give it a decent type, and remove a 'goto'. 17 years ago
smatz 44a8293364 (svn r12192) -Fix: clamp various town variables to 16bit prior to returning the value 17 years ago
frosch ca2eb0676c (svn r12191) -Fix: Do not start overtaking if the RV reaches wrong-way one-way-road in the next tiles. 17 years ago
smatz 70b7bfe9c8 (svn r12190) -Fix [FS#1786](r8080): YAPF always shows 0ms PF time in debug for debug level 2 (patch by IguannaB) 17 years ago
smatz 0357c4306c (svn r12189) -Codechange: mark some functions in train_cmd.cpp inline (called once or very short) 17 years ago
smatz 32d8ac2073 (svn r12188) -Codechange [FS#1782]: do not check twice for correct rail owner (patch by Vikthor) 17 years ago
belugas 20035ca48d (svn r12187) -Add: frosch as dev. Last, but not least 17 years ago
smatz 6d6e44442d (svn r12186) -Fix [FS#1784](r12169): assert when trying to play tile sound at NW border of map (placing buyos, leveling land) 17 years ago
smatz 7a5855fec2 (svn r12185) -Fix (r12177): wrong operator priority, hopefully harmless (spotted by michi_cc) 17 years ago
smatz a53594ebd4 (svn r12184) -Fix: take into account possible loan when AI is deciding which bridge to build, so it won't build wooden bridges everytime 17 years ago
smatz b2721c08fc (svn r12183) -Codechange: give a better error message when building road over existing road with vehicle on it, or do not fail at all 17 years ago
peter1138 1ba2ae69e6 (svn r12180) -Fix: Test purchase list loading/loaded sprites instead of unconditionally returning a possibly non-existant sprite. 17 years ago
smatz 4a329de942 (svn r12179) -Codechange: use GetCrossingRailTrack() and GetCrossingRailAxis() to improve code readability 17 years ago
smatz 97013cd8c4 (svn r12178) -Codechange: use the 'side' parameter in TrainController and TrainCheckIfLineEnds to simplify the code 17 years ago
smatz 9f619f91b3 (svn r12177) -Codechange: use 'side' parameter in GetTileTrackStatus so there can be less checks in pathfinders for depots/stations/tunnels/bridges 17 years ago
smatz ada241e279 (svn r12176) -Codechange: one division less when playing sounds (patch by Dominik) 17 years ago
peter1138 c05df5b051 (svn r12175) -Fix (r12174): Ensure the patches window is centred properly. 17 years ago
peter1138 d85484c637 (svn r12174) -Codechange: Make the patches window dynamically resize to the largest patch tab, so adding patch options is simply a case of adding to the lists. 17 years ago
peter1138 70aa24320e (svn r12173) -Cleanup: Minor codestyle fixes. 17 years ago
peter1138 e826a69e46 (svn r12172) -Codechange: Allow buttons to resize in NewGRF settings window 17 years ago
smatz b76e328898 (svn r12171) -Fix [FS#609]: return correct bridge price for AI when DC_QUERY_COST is set (patch by Raimar Falke)
It never happens in current code, but it is better to be ready for it
17 years ago
smatz b389425dda (svn r12170) -Fix: do not draw trees along road and street lights under low bridges (spotted by _minime_) 17 years ago
smatz f003a25785 (svn r12169) -Change [FS#1696]: play sounds when there is only small part of tile/vehicle visible too (original idea by Dominik)
It improves the game appearance when playing with very small screen resolution
17 years ago
smatz 3d5462f103 (svn r12168) -Fix: behave a bit better when 'R' is pressed during rail station dragging 17 years ago
smatz d3d126f999 (svn r12167) -Feature(tte): change colour of autorail and autoroad selection when Ctrl is pressed 17 years ago
smatz d7a72c7002 (svn r12166) -Fix [FS#337]: when drag&drop mode was cancelled by keyboard input, depot/group window wasn't updated (original patch by GrimRC) 17 years ago
glx 19710f6fd0 (svn r12165) -Fix [FS#1652, FS#1773]: buffer overflow when drawing scrolling news 17 years ago
peter1138 89e0b522e2 (svn r12164) -Fix (r12137, FS#1775]: Variable scope bug crept in 17 years ago
smatz 1aa5237461 (svn r12163) -Fix [FS#1705]: if a train is 'stopping' when entering a depot, do not let it leave again 17 years ago
smatz 68fda40e4f (svn r12162) -Fix [FS#1757]: towns shouldn't build over houses owned by another town 17 years ago
smatz 423864a101 (svn r12161) -Fix: towns will no longer build houses > 1x1 there where should be road (with 2x2, 3x3 grid town layouts) 17 years ago
smatz 84d0081ebd (svn r12160) -Fix [FS#1744]: remove the arbitrary limit of 64 waypoints per town, so weird things won't happen anymore 17 years ago
belugas 738491992a (svn r12159) -Codechange: Enumify some widget magical numbers
-Cleanup: apply a bit of code style.  Mostly re-indenting switch cases
17 years ago
belugas a6fbbf92fc (svn r12158) -Codechange: merge all the sprite recolouring mapping under a single function
-Fix: Handle the bridge recolouring mapping as the other features.  Although not specified by the specs, it seems to be implicit.
17 years ago
belugas 6ff5a8a29f (svn r12157) -Codechange: Remove a structure definition and replace it with another one closely matching
-Codechange: Replace two magic numbers with according sprite names
17 years ago
smatz 7d45415b3d (svn r12156) -Fix (r11454): Chance16I was now biased towards zero - round to nearest now 17 years ago
glx d7924424ac (svn r12155) -Fix (r12154): some warnings (always compile before commit) 17 years ago
glx a148985087 (svn r12154) -Codechange: removed a magic number 17 years ago
smatz 55b0146498 (svn r12150) -Fix (r12143): compiler warnings - possible use of uninitialised variable 17 years ago
frosch a13899ee8e (svn r12149) -Codechange: Merge 'ground_sprite' and 'ground_pal' of DrawTileSprites into one PalSpriteID 17 years ago
frosch ae996a270b (svn r12148) -Codechange: Merge 'image' and 'pal' of DrawTileSeqStruct into one PalSpriteID 17 years ago
frosch 03315e88e3 (svn r12147) -Codechange: Use macros to build DrawTileSprites-tables in station_land and unmovable_land. 17 years ago
frosch 4f394c19e2 (svn r12146) -Codechange: Use macros to build DrawTileSeqStruct-tables in station_land and unmovable_land. 17 years ago
belugas f3adf67a7b (svn r12145) -Codechange: includes should be at the top of the source file
-Codechange: undefine a defined macro once work is finished, just in case
17 years ago
peter1138 a141442ff7 (svn r12144) -Codechange: Adjust aircraft slowing algorithm so that very fast
aircraft slow down more rapidly than slower aircraft. This prevents them 
from reaching the end of the runway at high speed, and also stops slow 
aircraft from slowing down too much at the start of the runway.
17 years ago
peter1138 359771c406 (svn r12143) -Fix (r8038): Engine::preview_player does not contain a Player ID. Rename this to preview_player_rank and change back to a uint8 to avoid confusion. 17 years ago
frosch 7c528a6ab7 (svn r12142) -Fix [FS#1766]: Callback 0x3D always gets a cargobit in var 0x18, independent of grf version. 17 years ago
frosch 514df81e27 (svn r12141) -Codechange: Introduce IsNormalRoad[Tile](), IsRoadDepot[Tile]() and HasTileRoadType(); and use them. 17 years ago
belugas 6c93216641 (svn r12140) -Codechange: A bit of code style fixes(Geektoo). 17 years ago
peter1138 be47b47507 (svn r12139) -Fix (r12124): The global variable value should be returned, not the variable. 17 years ago
smatz e081e0712f (svn r12138) -Fix: do not allow adding tram to rail-road crossing when there is a vehicle on it 17 years ago
peter1138 6d333e5d3e (svn r12137) -Fix [FS#1769]: Show cargo capacity for articulated vehicles correctly in the purchase list. Multiple cargo types can also now been shown. 17 years ago
belugas a36e666ca5 (svn r12136) -Fix(r12135): Code style compliance and... code style as such 17 years ago
belugas 81b47a628f (svn r12135) -Codechange: Road and rail bridge selection windows were identical apart the caption. So remove one window definition and set manually the caption accordingly.
-Codechange: prepare the "type" of bridge parameter only once, at the beginning of the selection process.  Makes less magic around.
17 years ago
smatz fe48d0be21 (svn r12134) -Change: count the number of ticks a vehicle was running this day to calculate running cost
-Fix [FS#1739]: vehicle profit is now counted with 8bit fract, so it is now shown properly in the vehicle details window
17 years ago
peter1138 833a00def9 (svn r12133) -Fix: Vehicle sorting by max speed did not work properly for trains. Instead of trying to work it out again, just use the cached values... 17 years ago
smatz 391898b47a (svn r12132) -Cleanup: convert pathfinder selection from if/else to switch/case at many places 17 years ago
smatz 4c5dde140b (svn r12131) -Fix (r3374): with mammoth trains disabled, maximum train length was limited to 9 17 years ago
smatz 81067ddfdf (svn r12130) -Cleanup (r12129): remove now unused strings from all language files 17 years ago
smatz a3e3cd7d46 (svn r12129) -Change [FS#1759]: simplified patch settings for pathfinders (Yorick) 17 years ago
peter1138 3abf3e3fa4 (svn r12128) -Codechange: Replace last use of TrainPlayLeaveStationSound(v) with v->PlayLeaveStationSound(), and remove wrapper function. 17 years ago
belugas f24e231e9a (svn r12127) -Codechange: Use a variable instead of calling the same function a few times. Again. Just a different value. 17 years ago
belugas d4fd1120d1 (svn r12126) -Codechange: Use a variable instead of calling the same function a few times 17 years ago
peter1138 32691590fb (svn r12125) -Codechange: Remove redundant signal lookup table, and document why normal electric signals are handled specially. 17 years ago
frosch 0aece5ed6b (svn r12124) -Codechange: Move newgrf-variables that are common to VarAction2 and Action7/9/D to their own function.
-Fix: Add some variables that were missing in one or both cases.
17 years ago
peter1138 d6670eed6b (svn r12122) -Codechange: Add framework for generic feature callbacks, along with some parts for AI use. 17 years ago
peter1138 25f0a890ae (svn r12121) -Fix [FS#1764]: Drop down item indexes are now an int instead of a byte (Yexo) 17 years ago
peter1138 aefb78fcdf (svn r12120) -Cleanup: const-ify parameters when checking for same cargopacket source. 17 years ago
peter1138 57aacb50c8 (svn r12119) -Codechange: Rename grfspec_feature to match code style, and expose in header for use elsewhere. 17 years ago
belugas d465b23ee2 (svn r12118) -Codechange: Put the two descriptions of bridges in an array instead of two single variables, following the transport type it represents 17 years ago
smatz 05169f53be (svn r12115) -Codechange: move malloc/realloc error messages to separate file to spare 4-8kB of binary size 17 years ago
peter1138 96525b3edd (svn r12114) -Fix (r12111): missed one Bridge -> BridgeSpec 17 years ago
belugas 6a717aa49b (svn r12111) -Codechange: Rename Bridge to BridgeSpec, out of consistensy with other Specs in used. 17 years ago
smatz a9ce2a7122 (svn r12109) -Fix [FS#1745](r8973): use tile index 0 for planes in the air, so it cannot have an invalid tile index 17 years ago
peter1138 0f3a5fc99d (svn r12108) -Fix [FS#1753]: X/Y axis swap for station tiles in GetNearbyTile() was wrong way around. 17 years ago
belugas c21787238c (svn r12107) -Codechange: Add and use the typedef BridgeType 17 years ago
belugas f54a21450a (svn r12106) -Fix(r12105): Kill warnings and raise an error when the transport type is not supported 17 years ago
belugas d2f6320d09 (svn r12105) -Codechange: Use TransportType instead of guessing what kind of bridge we are preparing to build 17 years ago
smatz 4223131cb4 (svn r12104) -Fix (r12103): remember loading indicators transparency settings and make in switchable by Ctrl+9 17 years ago
smatz 17d9c9bf2b (svn r12103) -Feature(tte): separate catenary transparency settings from building transparency settings 17 years ago
maedhros 56a5c2d7c2 (svn r12102) -Feature: Allow locking individual transparency settings so they will not be changed by pressing 'x'. (Roujin) 17 years ago
smatz 0fc6754832 (svn r12101) -Fix (r12100): there are void tiles at MapMaxX,Y - have to substract one to be on water border tiles 17 years ago
smatz b18f96d222 (svn r12100) -Fix (r12042): check for water class of surrounding tiles fails for buoys at map borders 17 years ago
smatz c82d1e3e46 (svn r12098) -Fix: make snow appear on rail tiles dependant on track height, not on height of the lowest part of the tile 17 years ago
glx 7a20968aaf (svn r12097) -Fix (r654, r1525): loading old, pre savegame version 2, savegames. 17 years ago
smatz 5bfcd657c3 (svn r12096) -Fix: remove leftover property when loading older savegames 17 years ago
smatz 98e81e95a5 (svn r12095) -Fix [FS#1703]: when a company bankrupts, remove drive-through road stops, ship depots and buoys too. Update owners of water and road. 17 years ago
smatz d00bf03012 (svn r12094) -Codechange: use DC_BANKRUPT command flag when removing player property to allow further fixes 17 years ago
smatz a7b786f143 (svn r12093) -Fix: do not set station owner for buoys when merging company 17 years ago
belugas 83de4db1c0 (svn r12092) -Fix(r11532)[FS#1755]: Make sure the production level will not get out of delimited boundaries, while using var result 0D/0E and than multiplying/dividing it.
And use multiply/divide operations instead of shifting.  It does the same, just adds a bit more readability
17 years ago
belugas f26bd05b99 (svn r12091) -Codechange : remove all production level magic numbers and replace them by enums 17 years ago
belugas 57f4ed3edd (svn r12090) -Codechange : removed a magic number and code style application on enum ExpensesType 17 years ago
smatz 6edbe4a6e7 (svn r12088) -Fix: assert when loading savegame with wrong tiletype at south map borders 17 years ago