summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
AgeCommit message (Collapse)Author
2008-07-17(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line ↵rubidium
with all other structs/classes that are in a pool.
2008-07-17(svn r13715) -Fix [FS#2129]: C-like strings had to be rebound each time they ↵rubidium
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'.
2008-07-08(svn r13681) -Revert (r13678, r13677): the fixes didn't work in all cases ↵rubidium
(assertions on savegame loads). -Fix [FS#2102]: but now in a hopefully beter way.
2008-07-06(svn r13678) -Fix (r13677): electric trains from pre elrail savegames would ↵rubidium
get stopped on load.
2008-07-04(svn r13677) -Fix [FS#2102]: in the case that elrails and 'realistic' ↵rubidium
acceleration are disabled all electrified engines would have no power on load, until the vehicle got turned around, loaded or got into a depot.
2008-07-03(svn r13673) -Fix [FS#2122]: desync when building electrified trains on a ↵rubidium
dedicated server that was started with electrification disabled.
2008-06-16(svn r13537) -Fix [FS#2090](r13523): QSortT won't work this way, use ↵smatz
Dimension instead of uint16[2] for resolutions
2008-06-05(svn r13390) -Codechange: introduce usererror() for fatal but not openttd ↵glx
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().
2008-06-05(svn r13386) -Fix: global currency/units setting being overriden when ↵rubidium
loading a savegame.
2008-06-03(svn r13375) -Add: logging of actions that could possibly cause desyncs and ↵smatz
crashes to simplify debugging. See readme.txt for details
2008-05-30(svn r13344) -Codechange: remove some code duplication.rubidium
2008-05-30(svn r13343) -Codechange: reorder/move variable/functions in the network ↵rubidium
headers so that nothing from the network directory needs to include basically all network headers.
2008-05-29(svn r13334) -Codechange: move the network settings variables from ↵rubidium
network/network_internal to settings.
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-29(svn r13322) -Codechange: _no_scroll belongs more with the window code.rubidium
2008-05-29(svn r13321) -Codechange: move some GUI/viewport related functions out op ↵rubidium
openttd.cpp to viewport.cpp/window.cpp.
2008-05-27(svn r13297) -Codechange: Use GUIList for the town directory windowpeter1138
2008-05-26(svn r13277) -Fix: opntitle 'jumping' to the temperate climate when closing ↵rubidium
the NewGRF settings window.
2008-05-25(svn r13255) -Codechange: move _opt to _settings.rubidium
2008-05-25(svn r13251) -Codechange: rename _patches to _settings as that is more logic.rubidium
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-25(svn r13242) -Codechange: remove _opt_ptr.rubidium
2008-05-24(svn r13228) -Codechange: split console.h.rubidium
2008-05-24(svn r13226) -Feature: Allow to have more than only two airports per town. ↵belugas
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
2008-05-18(svn r13174) -Codechange: make a class of the IndustryDirectoryWindow.glx
2008-05-14(svn r13096) -Codechange: resize SelectPlayerLiveryWindow dynamically on ↵glx
_loaded_newgrf_feature.has_2CC changes
2008-05-14(svn r13086) -Fix: do not crash badly after loading a newgrf with engines ↵smatz
in-game that often
2008-05-13(svn r13077) -Codechange: move function that updates cached num_engines to ↵smatz
engine.cpp, make it run only 1 loop
2008-05-13(svn r13066) -Fix [FS#2005]: loading of TTDP savegames with rivers in them.rubidium
2008-05-11(svn r13047) -Codechange: remove vp_dglx
2008-05-09(svn r13024) -Codechange: do not use WE_MOUSELOOP when WE_TICK suffices, ↵rubidium
rename WE_4 to something more descriptive and correct some (completely incorrect) comments.
2008-05-08(svn r13022) -Fix: driver list wasn't freed, replace by statically allocated onesmatz
2008-05-08(svn r13016) -Codechange: unify the detection if rail catenary should be drawnsmatz
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-05-05(svn r12955) -Fix (r12858): compilation with desync debug was brokensmatz
2008-05-04(svn r12948) -Fix [FS#1982]: all vehicles would be available when an ↵rubidium
original scenario would be played.
2008-05-04(svn r12944) -Codechange: use rev.h instead of externs at many placessmatz
2008-04-29(svn r12924) -Feature: Introducing the so called 'engine pool' which ↵peter1138
primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
2008-04-29(svn r12921) -Codechange: coding style fixes and documentation updates.rubidium
2008-04-25(svn r12904) -Fix [FS#1953]: remove trams from savegames saved in OTTD ↵smatz
without tram support, it is better than to simply crash
2008-04-23(svn r12858) -Add: small piece of code that can help hunting desyncs. Has to ↵rubidium
be enabled by --enable-desync-debug=1 though.
2008-04-23(svn r12845) -Change: use YAPF for fairly old savegames from before YAPF was ↵rubidium
introduced.
2008-04-20(svn r12801) -Codechange: remove the dependency of function.h in town_map.hrubidium
2008-04-20(svn r12800) -Codechange: move the animated tile related functions out of ↵rubidium
texteff.cpp (it isn't a text effect after all). Also remove a few more functions from functions.
2008-04-19(svn r12784) -Codechange: handle the asynchronious save 'handlers' in ↵rubidium
saveload.cpp instead of openttd.cpp.
2008-04-19(svn r12782) -Codechange: remove some functions from functions.h and do not ↵rubidium
statically 'waste' memory when the old name array is not needed anymore.
2008-04-18(svn r12779) -Codechange: remove a few constants from openttd.h.rubidium
2008-04-18(svn r12765) -Codechange: move some stuff out of variables.h that required ↵rubidium
including other headers in variables.h.
2008-04-17(svn r12757) -Codechange: move all cheat related stuff from all over the ↵rubidium
place to a single location.
2008-04-17(svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and ↵rubidium
depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.
2008-04-17(svn r12753) -Codechange: do not use IsDepotTypeTile() where simpler ↵smatz
function can be used