Commit Graph

256 Commits (14bc2b5d4f5d3ed83fc5410828b8853ff0afa15e)

Author SHA1 Message Date
rubidium 200f405706 (svn r14146) -Codechange: allow palette override in both ways and remove some unneeded '(x == 0) ? 0 : 1' constructs. 16 years ago
frosch 4e0faffc72 (svn r14141) -Fix (r14135): Savegame conversion could assign a recently removed waypoint (grey sign) to a wrong owner. 16 years ago
belugas 7dc212edeb (svn r14135) -Codechange: Add owner to waypoints. Previously, it was guessed from rail underneath it. 16 years ago
belugas f2f2bcf23c (svn r14105) -Fix: Some typos that are more grammatical errors, as it seems.
Provided by ln
I've added a little fix on currency.cpp too, why not :)
16 years ago
rubidium abd9f74871 (svn r14096) -Codechange: merge the shared order's vehicle list management to a single location. 16 years ago
rubidium b1ed3bad58 (svn r14036) -Fix [FS#2197,FS#2198]: trains crashing into eachother when signals are changed (michi_cc) 16 years ago
rubidium fe4f23dba2 (svn r13932) -Add [YAPP]: PBS signals added to the map array. The signals are drawn using the old Patch-like PBS sprites. (michi_cc) 16 years ago
smatz 88637d9213 (svn r13859) -Fix: loading of TTD(Patch) savegames from the command line didn't work 16 years ago
smatz 686019398f (svn r13858) -Fix: buffer overflow for too long filename supplied as '-g' parameter 16 years ago
frosch 16c80d031c (svn r13838) -Codechange: Make industry tiles aware of WaterClasses. 16 years ago
peter1138 ea7ed286a6 (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
smatz aae2aa64c4 (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 77fdefea19 (svn r13754) -Fix (r13731): one could not join companies from the command line. 16 years ago
rubidium 3a799389eb (svn r13731) -Codechange: make a pool of the array of players. 16 years ago
smatz 927507818f (svn r13727) -Fix (r13375): compilation with NO_DEBUG_MESSAGES was broken 16 years ago
rubidium d06529ef4d (svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool. 16 years ago
rubidium ab234cf90c (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 d974acac89 (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 3a793ceea9 (svn r13678) -Fix (r13677): electric trains from pre elrail savegames would get stopped on load. 16 years ago
rubidium 22249a7317 (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 f37a47c0cb (svn r13673) -Fix [FS#2122]: desync when building electrified trains on a dedicated server that was started with electrification disabled. 16 years ago
smatz 2299181c4b (svn r13537) -Fix [FS#2090](r13523): QSortT won't work this way, use Dimension instead of uint16[2] for resolutions 17 years ago
glx ee256e770a (svn r13390) -Codechange: introduce usererror() for fatal but not openttd related errors. Now all error() will 'crash' openttd after showing the message in win32 releases (MSVC), creating a crash.log and crash.dmp (like the '!' hack used before). On the other hand, usererror() will just close the game. So use error() only when it can be helpful to debugging, else use usererror(). 17 years ago
rubidium 9e811a2f8b (svn r13386) -Fix: global currency/units setting being overriden when loading a savegame. 17 years ago
smatz c7a9637834 (svn r13375) -Add: logging of actions that could possibly cause desyncs and crashes to simplify debugging. See readme.txt for details 17 years ago
rubidium 6d90affce0 (svn r13344) -Codechange: remove some code duplication. 17 years ago
rubidium 2f3b88ef9a (svn r13343) -Codechange: reorder/move variable/functions in the network headers so that nothing from the network directory needs to include basically all network headers. 17 years ago
rubidium c33164831d (svn r13334) -Codechange: move the network settings variables from network/network_internal to settings. 17 years ago
rubidium 923e21129c (svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games. 17 years ago
rubidium 22d7b25296 (svn r13322) -Codechange: _no_scroll belongs more with the window code. 17 years ago
rubidium f2869bb7db (svn r13321) -Codechange: move some GUI/viewport related functions out op openttd.cpp to viewport.cpp/window.cpp. 17 years ago
peter1138 cfb962c7f1 (svn r13297) -Codechange: Use GUIList for the town directory window 17 years ago
rubidium 495ca8fdb9 (svn r13277) -Fix: opntitle 'jumping' to the temperate climate when closing the NewGRF settings window. 17 years ago
rubidium 8c9cc415e3 (svn r13255) -Codechange: move _opt to _settings. 17 years ago
rubidium 4625695653 (svn r13251) -Codechange: rename _patches to _settings as that is more logic.
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
17 years ago
rubidium 5fa0946c08 (svn r13242) -Codechange: remove _opt_ptr. 17 years ago
rubidium 6c20f77330 (svn r13228) -Codechange: split console.h. 17 years ago
belugas fc35ad9ee9 (svn r13226) -Feature: Allow to have more than only two airports per town. The number of airports is now controlled by the noise each of them generates, the distance from town's center and how tolerant the town is.
Initial concept : TTDPatch (moreairpots),  Initial code : Pasky
Thanks to BigBB (help coding), Smatz Skidd13 and frosch for bugcatches and advices
17 years ago
glx 17a1873843 (svn r13174) -Codechange: make a class of the IndustryDirectoryWindow. 17 years ago
glx bdd75a65f8 (svn r13096) -Codechange: resize SelectPlayerLiveryWindow dynamically on _loaded_newgrf_feature.has_2CC changes 17 years ago
smatz f64c4fc4fb (svn r13086) -Fix: do not crash badly after loading a newgrf with engines in-game that often 17 years ago
smatz a9cc987929 (svn r13077) -Codechange: move function that updates cached num_engines to engine.cpp, make it run only 1 loop 17 years ago
rubidium e6f96da537 (svn r13066) -Fix [FS#2005]: loading of TTDP savegames with rivers in them. 17 years ago
glx c708ab3b48 (svn r13047) -Codechange: remove vp_d 17 years ago
rubidium f438700402 (svn r13024) -Codechange: do not use WE_MOUSELOOP when WE_TICK suffices, rename WE_4 to something more descriptive and correct some (completely incorrect) comments. 17 years ago
smatz 5e51833ee5 (svn r13022) -Fix: driver list wasn't freed, replace by statically allocated one 17 years ago
smatz 386a3f1d20 (svn r13016) -Codechange: unify the detection if rail catenary should be drawn 17 years ago
rubidium d03994098b (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. 17 years ago
smatz 72120a48c4 (svn r12955) -Fix (r12858): compilation with desync debug was broken 17 years ago
rubidium e6bc8fa3d8 (svn r12948) -Fix [FS#1982]: all vehicles would be available when an original scenario would be played. 17 years ago