Commit Graph

587 Commits

Author SHA1 Message Date
planetmaker c24374f99c (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 2013-01-08 22:46:42 +00:00
planetmaker 89a2ba2a6d (svn r24899) -Fix [FS#5434]: Also the station build window needs redrawing when the station spread changes (based on patch by juanjo) 2013-01-08 22:38:59 +00:00
planetmaker f8e0b22974 (svn r24894) -Fix [FS#5434]: Invalidate station selection window when station spread changes (based on patch by juanjo) 2013-01-08 17:44:39 +00:00
frosch 0efd29b71b (svn r24860) -Codechange: Add SettingDesc::GetType(). 2012-12-26 17:43:35 +00:00
frosch 21b43b63f5 (svn r24843) -Codechange: Move news display options into the general settings framework. (based on patch by eagle_rainbow) 2012-12-23 21:07:12 +00:00
michi_cc c75962e04c (svn r24833) -Codechange: Replace magic numbers for invalidating vehicle-related windows with an enum. 2012-12-20 19:44:02 +00:00
frosch d1ab0f03bc (svn r24790) -Remove: Classic difficulty profiles. 2012-12-05 19:36:41 +00:00
frosch 22dc45738d (svn r24787) -Fix: Unify checks for editability of settings. 2012-12-05 19:35:09 +00:00
frosch a499435351 (svn r24786) -Codechange: Add SettingsProfile enum for difficulty profiles and highscore tables. 2012-12-05 19:34:45 +00:00
frosch c6ed8c01b3 (svn r24250) -Fix [FS#5154]: Do not immediately display error messages from parsing the cfg file, but schedule them for displaying after the GUI is prepared for it. 2012-05-14 21:04:49 +00:00
frosch c11d80148f (svn r24247) -Fix: If loading of int-list settings fails, use the default. 2012-05-14 20:53:39 +00:00
frosch 599f89e641 (svn r24193) -Fix (r24191): Also update comments accordingly. 2012-05-01 15:34:45 +00:00
frosch ec73ad1145 (svn r24192) -Fix [FS#5153-ish]: Also use default value when reading an invalid integer setting value. 2012-05-01 15:33:42 +00:00
michi_cc 3f267db3a6 (svn r24146) -Fix [FS#5153]: Use default value when reading an invalid setting value. (Eddi) 2012-04-17 19:45:04 +00:00
michi_cc 6c8a16f36e (svn r24145) -Cleanup: Switch coding style. 2012-04-17 19:44:59 +00:00
truebrain f239a61406 (svn r23609) -Add: save/load all GameScript related material 2011-12-19 20:56:34 +00:00
truebrain 561b25d031 (svn r23601) -Fix: fix the conflict in window number 2011-12-19 20:50:21 +00:00
rubidium 0ca25fb3af (svn r23480) -Fix [FS#4594]: replace OS error messages with internal error messages when that's possible 2011-12-10 16:05:26 +00:00
rubidium 58423b26d1 (svn r23474) -Codechange: move the declaration error related functions to error.h 2011-12-10 13:54:10 +00:00
frosch 34f9c4d00f (svn r23427) -Fix: Do not load screen resolution and other basic stuff after bootstrap is finished. It was already loaded before, and might got changed already. 2011-12-04 13:21:51 +00:00
michi_cc d3b7b89493 (svn r23415) -Feature: Infrastructure maintenance costs. 2011-12-03 23:40:46 +00:00
truebrain a8b22e5292 (svn r23386) -Fix: debug script related events to 'script' (removes 'ai') 2011-12-01 12:04:10 +00:00
truebrain cc12942d70 (svn r23384) -Remove: no longer allow a binary to be without AI support; the parts some compilers failed at, are integrated in other parts of the code now too 2011-12-01 12:03:34 +00:00
truebrain 34d7f01ccc (svn r23364) -Codechange: refactor AIConfig, moving it mostly to Scriptconfig 2011-11-29 23:26:35 +00:00
peter1138 15d0a22aac (svn r23315) -Codechange: Only encode sprites for zoom levels that will be used. 2011-11-24 12:26:44 +00:00
peter1138 4e97261315 (svn r23314) -Add: Add settings to restrict viewport zoom levels. 2011-11-24 12:20:14 +00:00
rubidium 834eac49fd (svn r23224) -Codechange: first load the config file partially so we can push scanning AIs to later in the process (when the GUI is showing the progress bar) 2011-11-14 21:42:54 +00:00
planetmaker 9309ef58a0 (svn r23211) -Fix: Invalidate build vehicle window when changing the setting for wagon speed limits 2011-11-14 10:42:47 +00:00
rubidium bd64bf6372 (svn r23193) -Codechange: don't cast away const unneededly 2011-11-12 08:10:22 +00:00
yexo a256bd71e4 (svn r23169) -Feature: [NoAI] AICONFIG_AI_DEVELOPER flags to hide AI settings unless gui.ai_developer_tools is enabled (Zuu) 2011-11-08 21:48:00 +00:00
rubidium 05300a00b1 (svn r22824) -Codechange: pass sub directory to ini loading 2011-08-24 13:38:26 +00:00
frosch c544dca519 (svn r22618) -Fix [FS#4653]: When changing difficulty settings over the network, do not just reopen the difficulty window if any game options window is opened; instead invalidate them properly. 2011-07-02 12:58:37 +00:00
rubidium dc74518b96 (svn r22577) -Fix: MSVC64 compile warning 2011-06-13 07:43:48 +00:00
frosch 615e435677 (svn r22522) -Fix (r22489): (size_t)(uint32)(-1) != (size_t)-1 2011-05-29 18:35:31 +00:00
rubidium 197fcab295 (svn r22489) -Fix [FS#4623]: don't cast pointers to unsigned long or vice versa 2011-05-22 21:40:26 +00:00
smatz b5e132924e (svn r22298) -Change: allow enabling 'freeform edges' setting when there is only station label above one of northern tiles 2011-04-07 15:58:21 +00:00
smatz a8862eb77f (svn r22297) -Fix [FS#4580]: the 'freeform edges' setting could be enabled when there were buoys on the northern border (adf88) 2011-04-07 15:48:13 +00:00
rubidium f90044d343 (svn r22202) -Codechange: make MusicFileSettings a proper citizen of the client settings 2011-03-05 18:00:48 +00:00
rubidium e48967541a (svn r22198) -Codechange: make some constants name more explicit 2011-03-05 11:16:44 +00:00
alberth 31386c42a7 (svn r22145) -Codechange: Do explicit test for non-bool values. 2011-02-25 22:04:38 +00:00
yexo b51c62f5af (svn r22074) -Cleanup (r22073): there was already a setting-callback that did what is needed 2011-02-13 20:52:33 +00:00
yexo f1377a228f (svn r22073) -Fix: immediately update the train weight when you change the multiplier for train cargo weight 2011-02-13 20:45:17 +00:00
terkhen 8196b03074 (svn r22059) -Fix (r21179): Make the send chat message window follow the position of the status bar. 2011-02-11 18:24:12 +00:00
frosch 915e339d0f (svn r21975) -Add: console command to reset the engine pool. It removes the traces of engines which are no longer associated to a NewGRF, and can be used to e.g. 'fix' scenarios which were screwed up by the author. You can only use it when there are no vehicles in the game though. 2011-02-05 16:07:23 +00:00
terkhen 91dcc9e016 (svn r21973) -Fix: Redraw the town authority window after modifying town authority settings. 2011-02-05 13:42:57 +00:00
rubidium 7eba2bf4d3 (svn r21890) -Cleanup: remove some unneeded includes 2011-01-22 14:52:20 +00:00
terkhen b5468e7a80 (svn r21860) -Codechange: Rename road vehicle subtype functions to match the train names. 2011-01-19 18:44:13 +00:00
frosch 6e4dd56158 (svn r21814) -Fix/Add: Check GRF version from action 8, and disallow usage of GRFs with versions above 7. 2011-01-15 21:13:47 +00:00
terkhen 5268d03abd (svn r21715) -Fix: Use the correct land colour in the owner legend. 2011-01-04 20:53:57 +00:00
rubidium ad15cd37a6 (svn r21698) -Fix: incorrectly named global variable 2011-01-02 18:12:39 +00:00
yexo 3ca65ab7b3 (svn r21695) -Codechange: add helper function to get the currently applicable GameSettings object 2011-01-02 00:34:21 +00:00
yexo a25d6c64dd (svn r21694) -Fix: changing AI settings ingame was impossible when the difficulty level was other than custom 2011-01-01 23:26:26 +00:00
terkhen fc42e98226 (svn r21523) -Fix: Some windows were not updated correctly after a train acceleration model change. 2010-12-15 09:01:04 +00:00
alberth 997551c599 (svn r21467) -Doc: Add a few doxygen comments to config file settings code. 2010-12-11 15:14:28 +00:00
rubidium b6c2216749 (svn r21358) -Codechange: make some network function names conform to coding style 2010-11-30 13:38:46 +00:00
alberth 3e27739287 (svn r21284) -Codechange: Rename CheckSavegameVersion() to IsSavegameVersionBefore(). 2010-11-21 12:47:04 +00:00
rubidium 16c90ed48b (svn r21244) -Fix [FS#4240] (r21179): the news message always stayed in the middle; let it follow the setting of the statusbar instead 2010-11-18 19:24:40 +00:00
rubidium a9da53c106 (svn r21179) -Fix [FS#4201] (r69): if the main toolbar's location is configurable, why isn't the statusbar's location configurable? 2010-11-13 23:40:36 +00:00
rubidium aea8274dba (svn r21155) -Fix [FS#4222] (r14959): default service interval for ships/aircraft got switched 2010-11-12 21:40:43 +00:00
planetmaker 5565ae1ac0 (svn r21116) -Add [FS#3012]: Reduce the chances to accidentially break savegames with NewGRFs 2010-11-07 21:46:41 +00:00
terkhen 42ee8f7df7 (svn r21082) -Fix (r21080): Compilation error. 2010-11-04 19:34:40 +00:00
terkhen 725cf7d8bb (svn r21080) -Fix: Do not allow to use a custom water level with the original map generator. 2010-11-04 18:34:37 +00:00
rubidium 6d11c09ee6 (svn r21075) -Fix [FS#4192]: Wrong (maximum) value shown for generation seed in the in-game console 2010-11-01 22:53:05 +00:00
frosch c49debbe63 (svn r20901) -Fix/Change: When using non-smooth or newgrf-economy changing production rates does not work (anymore), so allow changing the production multiplier instead. 2010-10-04 20:12:38 +00:00
smatz 77fe95f552 (svn r20860) -Cleanup: remove some unused functions and variables 2010-10-01 16:42:28 +00:00
frosch 717fcd09c6 (svn r20849) -Change: Only display liveries in the liverywindow if they are used by some vehicle somewhen (not considering date or such). 2010-09-25 22:00:49 +00:00
alberth 9f5a96ead2 (svn r20689) -Codechange: Make some global functions used in 1 .cpp file static in that file. 2010-08-29 15:58:43 +00:00
rubidium 30f2afac9b (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 2010-08-26 22:01:16 +00:00
frosch 4bd32799f1 (svn r20286) -Codechange: Unify end of doxygen comments. 2010-08-01 19:44:49 +00:00
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
rubidium e356cb9405 (svn r20281) -Codechange: unify case scope closure + break coding style 2010-08-01 18:53:30 +00:00
alberth be6c058424 (svn r20211) -Codechange: Indented code should have curly braces around it. 2010-07-24 10:14:39 +00:00
rubidium b8487afe54 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 2010-07-19 17:28:27 +00:00
rubidium eb30ebe1a4 (svn r20188) -Codechange: unVARDEF the _[config|log|highscore]_file variables and move them to a more logical location 2010-07-19 17:11:09 +00:00
frosch 0270ca846e (svn r19978) -Add: Read settings during SL_LOAD_CHECK. 2010-06-13 14:14:37 +00:00
frosch 62ac138154 (svn r19973) -Codechange: Add another procedure to chunk handlers for checking savegames (empty for now). 2010-06-13 14:11:59 +00:00
alberth 2224c9b515 (svn r19910) -Doc: Doxygen additions. 2010-05-30 13:16:51 +00:00
rubidium dd743bcea1 (svn r19865) -Fix [FS#3830]: crash when changing locale settings from console due to strcpy-ing a string into a pointer 2010-05-20 15:14:10 +00:00
rubidium f1c1812e47 (svn r19864) -Fix: don't print a pointer as string for listing (a) setting(s) 2010-05-20 15:12:48 +00:00
rubidium fef77ca53e (svn r19705) -Change: reinitialise the windows when changing the newgrf_developer_tools setting 2010-04-24 13:22:17 +00:00
smatz dea165c3be (svn r19578) -Codechange: do not accept commas at invalid places in ParseIntList() 2010-04-07 21:18:17 +00:00
smatz 5eb1e3d033 (svn r19577) -Codechange: apply coding style to names of functions in settings.cpp 2010-04-07 20:28:02 +00:00
alberth 1e48b2332e (svn r19576) -Codechange: Unduplicating parse_intlist(). 2010-04-07 20:09:53 +00:00
yexo e3591f8a1d (svn r19429) -Fix: when the title game contains an AIPL block the AI settinsg where overwritten by those from the title game 2010-03-15 22:42:43 +00:00
yexo f206958010 (svn r19389) -Fix [FS3676]: only show the "No AIs available" error message when explicitly changing the number of AI opponents 2010-03-12 01:37:41 +00:00
terkhen 3ed1442e05 (svn r19348) -Add: Allow to sort road vehicles by power and by power vs running cost at the engine preview window. 2010-03-06 13:03:17 +00:00
terkhen be3b839ded (svn r19347) -Add: Vehicle GUI now shows power, weight and tractive effort for road vehicles. 2010-03-06 12:59:28 +00:00
terkhen b443a3ee0a (svn r19346) -Feature: Configurable slope steepness for road vehicles from 0% to 10%, default is 7%. 2010-03-06 12:58:33 +00:00
terkhen c958c2c31f (svn r19345) -Feature: Realistic acceleration for road vehicles. 2010-03-06 12:56:57 +00:00
yexo 7ff55502f0 (svn r19256) -Codechange: use a constructor/destructor for GRFConfig to make sure all members are properly initialized 2010-02-25 20:06:11 +00:00
yexo a9c8dbc0a0 (svn r19255) -Codechange: encapsulate GRFIdentifier in GRFConfig instead of subclassing it 2010-02-25 20:05:31 +00:00
smatz f051066bc4 (svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit 2010-02-24 14:46:15 +00:00
yexo 804a6894c5 (svn r19096) -Fix: segfault when one of the items in the news_display group in the config file has no value 2010-02-11 15:12:08 +00:00
rubidium 21bd2722cd (svn r19081) -Codechange: make it possible to disable compilation of the AI+Squirrel 2010-02-10 16:24:05 +00:00
smatz b91b3ac836 (svn r19074) -Change: when filtering list of settings and console commands, use strstr() instead of strncmp() 2010-02-10 13:52:10 +00:00
terkhen 52312ea17f (svn r19064) -Feature: Allow to select different land colours for the smallmap (reworked by Alberth). 2010-02-08 23:46:35 +00:00
yexo dc714960e3 (svn r18952) -Fix (r18950): loading recent (=newer then title game) savegames failed 2010-01-29 21:06:35 +00:00
yexo f381b91de0 (svn r18950) -Fix: make sure the values of settings loaded from a savegame are valid 2010-01-29 18:21:10 +00:00
yexo d75b9f1642 (svn r18943) -Feature [FS#2885]: make it possible to change newgame settings from within a game via the console (use setting_newgame instead of setting) 2010-01-28 23:17:28 +00:00
rubidium 7ec3d9a0c6 (svn r18883) -Codechange: warn in the difficulty and AI configuration window when setting the number of AIs to non-zero when you don't have AIs 2010-01-21 23:19:50 +00:00
rubidium a8749ffa5b (svn r18864) -Fix [FS#3532]: town noise population settings could not be changed in-game 2010-01-18 21:44:31 +00:00
rubidium 719fb9803c (svn r18838) -Codechange [FS#3524]: reorganisation of the train acceleration code plus some minor optimisations (Terkhen) 2010-01-16 22:30:04 +00:00
rubidium aaf0b4b46c (svn r18812) -Codechange: make some functions in train.h functions of Train. 2010-01-15 18:23:52 +00:00
rubidium 82fc28f77f (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 2010-01-15 16:41:15 +00:00
rubidium ebe99fd493 (svn r18784) -Codechange: make NetworkSend_Command accept a company instead of using _local_company to pass that information, with the whole mess when you don't want the company to be _local_company. 2010-01-11 20:32:32 +00:00
rubidium d58e4084de (svn r18378) -Codechange: move the pathfinder 'length' constants to pathfinder_type.h 2009-12-02 16:38:33 +00:00
rubidium f52e27c688 (svn r18364) -Codechange: move the pathfinders and their related files into a separate directory 2009-12-01 22:45:39 +00:00
rubidium b00a5f1069 (svn r18330) -Cleanup: remove some unneeded includes 2009-11-28 20:35:25 +00:00
rubidium 6befa88d82 (svn r18285) -Feature: show the expected arrival/departure dates in the timetable window. Based on work by PhilSophus. 2009-11-25 16:17:06 +00:00
smatz f0c64208cf (svn r18281) -Feature: founding towns in-game (based on work by Belugas, TheJosh, GeekToo, Terkhen and others) 2009-11-24 21:18:11 +00:00
rubidium 860b9b1cea (svn r18028) -Codechange: unglobalise some functions 2009-11-09 10:40:33 +00:00
alberth 44aacfc59f (svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
Gentlemen, swap your string parameters.
2009-10-31 19:46:51 +00:00
rubidium d6cded5380 (svn r17693) -Cleanup: remove some unneeded includes 2009-10-04 17:16:41 +00:00
rubidium 4347758e48 (svn r17658) -Codechange: remove custom drawing of the signal density in the signal GUI
-Codechange: move the state updates from OnPaint
2009-09-28 12:38:35 +00:00
rubidium ac99610a05 (svn r17644) -Fix [FS#3219]: some inconsistencies with the difficulty settings in the scenario editor. Also re-enable changing some difficulty settings (e.g. max loan) in the scenario editor. 2009-09-26 17:43:06 +00:00
smatz 114d48e492 (svn r17596) -Codechange: constify some tables 2009-09-20 23:11:01 +00:00
rubidium ca91a97826 (svn r17579) -Fix: remove doxygen docs for removed parameters, or change @param to @tparam if necessary 2009-09-19 15:17:47 +00:00
rubidium e8ddf001c8 (svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos 2009-09-19 09:51:14 +00:00
rubidium 04d5b67eb6 (svn r17567) -Fix: some doxygen warnings 2009-09-18 14:23:58 +00:00
frosch ebd916be3d (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 2009-09-13 19:15:59 +00:00
frosch 734edc178d (svn r17525) -Cleanup: Remove SetWindowDirty(), it is completely covered by other functions already. 2009-09-13 17:37:47 +00:00
frosch 5c59ed2011 (svn r17510) -Fix [FS#3197]: When loading GRFConfigs from ini file, validate them wrt. duplicate GRF IDs. 2009-09-12 14:40:26 +00:00
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
rubidium f118932643 (svn r17133) -Codechange: generalise the code that searches for base graphics 2009-08-09 16:54:03 +00:00
rubidium 1fe3ad3288 (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 2009-08-05 17:59:21 +00:00
rubidium e067d4a4b8 (svn r16821) -Codechange: unify the naming of type::UpdateVirtCoord and UpdateAll[Type]VirtCoords. 2009-07-13 22:33:25 +00:00
yexo 2ac03f6271 (svn r16750) -Fix: mark the intro gui dirty when changing the difficulty level to avoid glitches on the difficulty button 2009-07-05 16:14:50 +00:00
smatz d86e17d65a (svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train 2009-07-01 23:57:20 +00:00
smatz adc5363202 (svn r16717) -Codechange: make IsFrontEngine() member of Train 2009-07-01 22:22:01 +00:00
smatz fa1ad0fd3c (svn r16654) -Codechange: cache industries in station's coverage area instead of searching them everytime payment is made 2009-06-25 15:42:03 +00:00
rubidium bfe20321e7 (svn r16635) -Fix: a couple of MSVC 64 bits warnings 2009-06-23 20:29:59 +00:00
smatz 4419366f94 (svn r16603) -Codechange: enumify map size limits (based on a patch by Bilbo) 2009-06-20 11:25:39 +00:00
frosch 83f8d52a67 (svn r16600) -Fix: Give a more meaningful error message when console commands expect an integer but don't get one. 2009-06-19 15:48:13 +00:00
smatz 3eb8f643fb (svn r16554) -Fix (r16433): compilation with disabled network was broken 2009-06-10 18:53:43 +00:00
smatz de25de7a60 (svn r16494) -Codechange: cache train's speed limit caused by curves 2009-06-01 13:14:56 +00:00
yexo b16c9ae6ef (svn r16447) -Fix [FS#2922] (r16444): compiling on x86-64 failed 2009-05-27 00:46:17 +00:00
yexo d982ec81df (svn r16444) -Codechange: Set all company settings to their default value for a new company instead of zeroing them. 2009-05-26 23:14:02 +00:00
smatz 5a463c8347 (svn r16442) -Codechange: use new Vehicle accessors at more places 2009-05-26 22:45:48 +00:00
smatz 7ee882d03f (svn r16441) -Codechange: new class SpecializedVehicle used as superclass for all vehicle types 2009-05-26 22:10:13 +00:00
yexo 0d56cfabfa (svn r16439) -Change: Make the default vehicle servicing settings company-based settings, so in a multiplayer game everyone can change them. 2009-05-26 21:59:49 +00:00
rubidium e3c5bc8d2e (svn r16434) -Cleanup: remove some dead code; primarily stuff that can't be reached like break after returns or break after functions that never return (i.e. NOT_REACHED) 2009-05-26 15:46:24 +00:00
yexo 2a5a8f395c (svn r16433) -Codechange: Remove most of CmdSetAutoreplace and replace it with calls to CmdChangeCompanySetting 2009-05-26 13:29:01 +00:00
yexo a10e5f707a (svn r16429) -Change: Make the company settings behave like all others settings: the default set in the main menu / config file is now really the default for a new company, and changing the value in game will no longer change the default for new companies. 2009-05-26 11:40:14 +00:00
rubidium 0d99b6c71c (svn r16421) -Codechange: do not unnecessarily remove constness or unnecessarily add it. 2009-05-24 20:29:04 +00:00
rubidium 80e94b9bb1 (svn r16391) -Codechange: use Train instead of Vehicle where appropriate. 2009-05-22 22:22:46 +00:00
smatz 570af0ce44 (svn r16338) -Codechange: split loading of references to two phases
In the first phase, indexes are stored. In the second phase, indexes are checked for validity and converted to pointers
2009-05-17 16:28:29 +00:00
yexo 31eff1d4c3 (svn r16315) -Codechange: move the autorenew settings to a new CompanySettings struct 2009-05-15 23:55:06 +00:00
frosch 3301afa5c3 (svn r16161) -Fix (r16128): AILoadConfig() could not handle NULL settings. 2009-04-26 14:57:42 +00:00
rubidium 7d76836fcb (svn r16132) -Fix (r7232/r16129): crash when saving games; r7232 is the cause of the problem, r16129 just causes it to be triggered. 2009-04-23 23:47:13 +00:00
rubidium 208234a7a0 (svn r16128) -Change: allow loading (and storing) NULL values for STRQ in openttd.cfg. 2009-04-23 19:13:41 +00:00
rubidium bee930f9b3 (svn r16024) -Codechange: harden string copying on places where it's possible 2009-04-10 20:37:05 +00:00
rubidium 930bc73e7a (svn r16018) -Fix (r16014): properly escape IPv6 style ([::]) addresses so they aren't seen as new groups. 2009-04-10 17:16:46 +00:00
rubidium 7d3db3ee91 (svn r16014) -Feature(-ish): allow binding to several IPs; [network]:server_bind_ip doesn't exist anymore. Add the IPs/hostnames to [server_bind_addresses] 2009-04-10 12:56:55 +00:00
rubidium 89d0eca6b7 (svn r15931) -Codechange: let the host and ban lists use of SmallVector. 2009-04-03 12:49:58 +00:00
yexo 0f7b9af9fa (svn r15795) -Codechange: Move the settings table from settings.cpp to table/settings.h. Patch breaking time :) 2009-03-21 23:16:09 +00:00
rubidium ee4a660b0c (svn r15773) -Fix [FS#2475]: number of active clients wasn't always properly 2009-03-19 23:32:39 +00:00
yexo 5933a07a86 (svn r15771) -Fix (r13256): Settings from the [gameopt] section (from 0.6 config files) were overwritten with default values. 2009-03-19 22:37:41 +00:00
yexo ce4744e1d6 (svn r15736) -Codechange: Split AIScanner/AIFileInfo to the more generic classes ScriptScanner/ScriptFileInfo. 2009-03-15 22:41:57 +00:00
rubidium b25a4f8231 (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 2009-03-15 00:32:18 +00:00
belugas f6e4bc765a (svn r15695) -Feature [FS#2672]: Allow the number of towns that will be generated in the generate world window to be customized.
Some warnings: 
-the maximum number of towns to be accepted is set to 5000
-the minimum number of towns to be accepted is set to 1
-the number that is specified is NOT guaranteed to be the exact number of towns generated.  The normal mechanism of town creation has not been modified.  So town placement can still fail.
-setting a custom number of town will change your difficulty settings to custom as well
2009-03-12 23:54:20 +00:00
glx 308dbcf822 (svn r15673) -Fix: it was not possible to compile a win32 dedicated server (even if 'configure --enable-dedicated' passed) 2009-03-11 17:40:49 +00:00
frosch aa7a19fd49 (svn r15656) -Fix: Changing dynamic_engines also requires reloading newgrfs as well as resetting the OverrideManager. 2009-03-09 21:33:05 +00:00
rubidium 7831346ef8 (svn r15601) -Fix [FS#2615]: bridges/tunnels don't store tram owner making it possible to remove someone's tram tracks.
-Feature: allow building road stops on road/tram tracks of competitors.
2009-03-02 22:57:47 +00:00
yexo a78724e824 (svn r15586) -Fix [FS#2687]: Changing vehicle.dynamic_engines when there are already vehicles can cause crashes. 2009-02-26 01:53:22 +00:00
yexo c3c549f731 (svn r15538) -Fix (r15334): The difficulty level wasn't set to custom when changing the amount of towns/industries from the newgame gui. 2009-02-21 02:34:53 +00:00
smatz 42747e222c (svn r15506) -Codechange: rename ScenarioEditorTownGenerationWindow to FoundTownWindow 2009-02-17 00:21:08 +00:00
smatz b9b14bd803 (svn r15500) -Fix (r12648): pre-0.5 OTTD stored new_nonstop and full_load_any in a different way, savegame conversion wasn't working for them 2009-02-16 21:43:44 +00:00
smatz 2f767e77e8 (svn r15499) -Fix (r15340): the default town layout was changed 2009-02-16 20:17:07 +00:00
rubidium d846eef0b6 (svn r15434) -Codechange: bit of type safety for the DC_xxx flags. 2009-02-09 21:20:05 +00:00
rubidium 05792c46a3 (svn r15429) -Change: do r15428 also for the string names. 2009-02-09 03:07:03 +00:00
rubidium c0a8d09ca7 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 2009-02-09 02:57:15 +00:00
rubidium 377ce6c5bf (svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability. 2009-02-08 12:25:13 +00:00
peter1138 db54537369 (svn r15386) -Codechange: During start up, store driver/blitter/graphicsset selection in local variable instead of in the global _ini_* variables. This means that specifying a driver/blitter/graphicsset on the command line does not clobber the configuration value, which can now be saved like other values. 2009-02-07 00:33:35 +00:00
peter1138 cd84ffb036 (svn r15385) -Fix: Saving of char* to configuration file did not work due to incorrect parameter order and no handling of NULL. 2009-02-07 00:29:35 +00:00
rubidium eb533138bc (svn r15384) -Change: tweak some settings to make OpenTTD easier to use for first-time users (or upgraders) 2009-02-07 00:22:21 +00:00
rubidium 0cf08d32c7 (svn r15362) -Change: make a string name more consistent. 2009-02-05 21:50:56 +00:00
smatz 832e392855 (svn r15340) -Fix [FS#2121]: changing town road layout in-game caused ugly road networks
-Fix: use a flag instead of TL_NO_ROADS to forbid towns to build roads. The flag is ignored during world generation, so there won't be 'ghost' towns anymore
-Feature: town layout is now stored per town, so it is possible to (manually) set different layout for each town
2009-02-04 20:17:25 +00:00
rubidium 09fca459a7 (svn r15335) -Change: use the patch change mechanism to change the road side too instead of a separate command. 2009-02-04 16:09:16 +00:00
smatz 496b541cb1 (svn r15334) -Codechange: reset setting to old value when the callback procedure returns false 2009-02-04 15:01:37 +00:00
peter1138 6899955b0c (svn r15301) -Feature [FS#104]: Add option to group and subtotal expenses list in the company finance window. Concept from Zr40. 2009-01-31 21:27:36 +00:00
smatz 0d3f5e6e74 (svn r15299) -Cleanup: remove many redundant includes 2009-01-31 20:16:06 +00:00
rubidium 04709f2798 (svn r15242) -Feature: allow moving clients between companies/spectators by the server and the clients themselves (dihedral) 2009-01-23 22:18:06 +00:00
Yexo 757b11325b (svn r15239) -Fix [FS#2579]: The start date of random AIs was not stored in the config file or the savegame. 2009-01-23 21:52:29 +00:00
peter1138 3d404c2927 (svn r15236) -Codechange: Rename realistic_acceleration patch option to train_acceleration_model, and change from boolean to value. Don't forget to update your settings. 2009-01-23 20:53:43 +00:00
Yexo 08670da54a (svn r15212) -Feature [FS#2566]: Change the dropdown box where you can chose which edges will be water to 4 pushbuttons (based on patch by planetmaker). 2009-01-23 00:18:27 +00:00
Yexo db3ee34b44 (svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map. 2009-01-21 02:31:55 +00:00
rubidium 196085eb0f (svn r15164) -Fix: don't list patches/settings with list_patches that are not valid anymore 2009-01-20 12:03:06 +00:00
Yexo 8fabd3982d (svn r15148) -Cleanup: Remove the options "competitor start time" and "competitor intelligence" from the difficulty options because they already were unused. 2009-01-19 01:16:50 +00:00
peter1138 7d70f0cd14 (svn r15085) -Fix (r14164): Clearing a settings group did not delete old items nor reset the last_item pointer, causing lists to not be saved unless they started blank. 2009-01-14 20:23:45 +00:00
truebrain a3dd7506d3 (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see.
NoAI is an API (a framework) to build your own AIs in. See:
   http://wiki.openttd.org/wiki/index.php/AI:Main_Page
 With many thanks to:
  - glx and Rubidium for their syncing, feedback and hard work
  - Yexo for his feedback, patches, and AIs which tested the system very deep
  - Morloth for his feedback and patches
  - TJIP for hosting a challenge which kept NoAI on track
  - All AI authors for testing our AI API, and all other people who helped in one way or another
-Remove: all old AIs and their cheats/hacks
2009-01-12 17:11:45 +00:00
frosch eb6dc2b8ae (svn r15019) -Fix (r14919): Close station selection window, when disabling distant-join setting. (PhilSophus) 2009-01-12 15:44:37 +00:00
rubidium 99337bf4a1 (svn r14959) -Fix [FS#2508]: wrong defaults for service interval when switching between service interval in days and service interval in percentages. 2009-01-10 16:24:42 +00:00
rubidium 11da45ee55 (svn r14949) -Cleanup: pointer coding style 2009-01-10 00:31:47 +00:00
rubidium c08f520acf (svn r14943) -Cleanup: remove some rogue spaces/replace some rogue tabs with spaces 2009-01-09 22:48:57 +00:00
rubidium b26cee21f6 (svn r14938) -Fix: some small inconsistencies w.r.t. "0 is disabled" setting handling 2009-01-09 19:34:05 +00:00
rubidium c8c61e36bd (svn r14919) -Feature: distant joining of stations (Frostregen and PhilSophus) 2009-01-08 16:35:45 +00:00
peter1138 020dbb180a (svn r14909) -Codechange: Remove global option for the extmidi driver and make it a driver parameter with the name cmd instead. This means if you have an "extmidi = ..." line in your config you must change it to "musicdriver = extmidi:cmd=...", in the [misc] section. 2009-01-08 12:05:14 +00:00
peter1138 6b6fd36050 (svn r14907) -Codechange: Remove 32 character limit from driver/blitter selection and parameters. 2009-01-08 11:06:07 +00:00
frosch cf1e926e37 (svn r14902) -Feature: Advanced setting to keep various building tools active, which are usually closed after placing an object. (planetmaker) 2009-01-07 17:40:17 +00:00
rubidium 84dee1e738 (svn r14899) -Feature: remove the window limit, but leave a configurable limit on the number of non-sticky non-vital windows.
-Fix [FS#2499]: crashes/misbehaviours when (almost) all windows are stickied.
2009-01-07 16:11:27 +00:00
michi_cc 13f06c812d (svn r14852) -Feature: Automatic reversing in front of block signals can now be disabled by setting pf.wait_oneway_signal respectively pf.wait_twoway_signal to 255. 2009-01-05 20:29:05 +00:00
smatz 67bf6a0998 (svn r14835) -Change: apply the 'warn if train's income is negative' setting to other vehicle types, too 2009-01-04 18:34:23 +00:00
smatz 7368c740a6 (svn r14828) -Codechange: move most of save/load-specific code to separate files 2009-01-04 15:32:25 +00:00
rubidium c9e8fd307e (svn r14827) -Feature [FS#1984]: few (optional) optimisations to making (initial) orders (sulai) 2009-01-04 14:51:49 +00:00
rubidium 2a47aaf4a8 (svn r14822) -Change: save 'build station' settings in the config file, like drag'n'drop and and show coverage area (Rexxars) 2009-01-04 11:11:11 +00:00
rubidium 35f5783c62 (svn r14792) -Feature: make the date format for default savegame/screenshot names configurable 2009-01-03 00:58:59 +00:00
rubidium 1357b0a4c2 (svn r14789) -Feature: allow scrolling with the left mouse button pressed (if enabled). Primarily useful for systems with touch screen (aapo) 2009-01-02 22:42:05 +00:00
rubidium 31d496342f (svn r14767) -Codechange: remove some unneeded artificial limits from currencies and use the bounds of the data type. 2008-12-29 15:46:14 +00:00
rubidium 683b65ee18 (svn r14755) -Codechange: remove ending year as it can't be changed anyways. 2008-12-28 16:09:58 +00:00
rubidium 87e5a8b52b (svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter. 2008-12-28 14:37:19 +00:00
rubidium c3746a55bb (svn r14732) -Codechange: replace some magic number with less magic constants and use the proper type for a few variables. 2008-12-23 21:03:43 +00:00
rubidium 94dd23aaf8 (svn r14729) -Fix: writing a single char to the config file caused reading outside a buffer. 2008-12-23 20:50:09 +00:00
rubidium bc8984a9bb (svn r14727) -Codechange: replace some magic numbers with a constant. 2008-12-23 15:23:31 +00:00
rubidium 79e20448f8 (svn r14675) -Fix: setting the Estonian or custom currency as used currency didn't survive a restart cycle. 2008-12-14 16:56:28 +00:00
rubidium 0d254e8914 (svn r14540) -Codechange: introduce [v]seprintf which are like [v]snprintf but do return the number of characters written instead of the number of characters that would be written; as size_t is unsigned substraction can cause integer underflows quite quickly. 2008-10-28 14:42:31 +00:00
rubidium b650a86e58 (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. 2008-09-30 20:51:04 +00:00
rubidium 3b798599b6 (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 2008-09-30 20:39:50 +00:00
frosch c20c3be91d (svn r14412) -Documentation: Comment some functions related to the advanced settings. Patch by Alberth, but with less excessive use of 'at'. 2008-09-28 15:42:15 +00:00
smatz 9431bf1c29 (svn r14289) -Fix [FS#2286](r3720)(r1): sound effects an music volume should be in range 0-127, default value shouldn't be higher
(based on a patch by kakaopor)
2008-09-11 13:58:59 +00:00
frosch 95ba19ee69 (svn r14276) -Fix: Rename one of the advanced settings, as 'TTDPatch compatible nonstop handling' wasn't a correct description anymore. 2008-09-08 19:20:39 +00:00
rubidium c3a9653c89 (svn r14197) -Codechange: rework (original) base graphics determination methods. This yields in the following:
-Feature: make configuring the to-be-used base graphics via openttd.cfg and the command line possible.
-Feature: allow both the German as well as non-German toyland graphics as "correct" and official graphics.
-Feature: allow people to create their own base graphics easily and without requiring code changes.
2008-08-31 08:46:43 +00:00
rubidium 7c002c14cc (svn r14185) -Fix (r14153): removing NewGRFs from the config file was impossible. 2008-08-29 21:06:49 +00:00
smatz c9bef19043 (svn r14174) -Fix: since now, we are 'losing' things, not 'loosing' 2008-08-25 20:10:45 +00:00
rubidium 621a9b647a (svn r14167) -Fix: items in some ini-groups got duplicated on save. 2008-08-25 15:15:41 +00:00
rubidium 411c65e755 (svn r14164) -Codechange: simplify and unify the addition of ini items with value when not loading an ini file.
-Fix: wrong insertion management causing leaks.
2008-08-25 06:35:28 +00:00
rubidium ae32d158cb (svn r14153) -Codechange: split ini file reading/saving from settings.cpp. 2008-08-24 13:50:31 +00:00
rubidium fe87fa8205 (svn r14056) -Fix [FS#2192]: the console backlog is too small for list_patches. Now it'll only remove backlog items when there are more than a threshold and when they are there longer than (another) threshold. 2008-08-12 20:49:27 +00:00
rubidium 72c154fd0f (svn r14052) -Codechange: make the size of the chat message "box" configurable and increase the default size slightly so it can hold the longest chat messages. 2008-08-12 12:23:05 +00:00
glx 16aac30c66 (svn r14041) -Feature(tte): make it possible to filter list_patches output like it's done for other list_* console commands 2008-08-11 17:15:31 +00:00
rubidium cc48f3d6f9 (svn r13967) -Codechange [YAPP]: Tweak pathfinder penalties a bit. (michi_cc) 2008-08-02 22:57:47 +00:00
rubidium 10d8fb6456 (svn r13952) -Add [YAPP]: Trains now reserve paths trough PBS signals. Bump savegame version. (michi_cc) 2008-08-02 22:53:51 +00:00
rubidium 4f5f3846a0 (svn r13947) -Codechange [YAPP]: Added YAPP-related penalties to NPF. (michi_cc) 2008-08-02 22:52:36 +00:00
rubidium 2b153abd93 (svn r13943) -Codechange [YAPP]: Reserved station tiles can now be penalized more in YAPF. This should help with spread out stations. (michi_cc) 2008-08-02 22:51:38 +00:00
rubidium ecc509195a (svn r13942) -Codechange [YAPP]: Add a penalty for double slips to YAPF. (michi_cc) 2008-08-02 22:51:23 +00:00
rubidium 8c7983727e (svn r13941) -Codechange [YAPP]: Added YAPP-related penalties to YAPF. (michi_cc) 2008-08-02 22:51:07 +00:00
rubidium 60006ad24c (svn r13935) -Codechange [YAPP]: PBS signals can now be built with the normal signal tools. (michi_cc) 2008-08-02 22:49:23 +00:00
rubidium df99103a31 (svn r13927) -Add [YAPP]: Draw reserved tracks darker, toggeld by a patch setting. (michi_cc) 2008-08-02 22:47:34 +00:00
belugas d358eff64d (svn r13872) -Feature: Split the news message announcing opening and closure of industries into two news of their own 2008-07-30 01:53:03 +00:00
smatz aae2aa64c4 (svn r13816) -Fix [FS#2150]: check for vehicle length changes outside a depot (callback 0x11) and give a warning about that 2008-07-24 15:19:26 +00:00
peter1138 6e0af9fdfe (svn r13781) -Feature: NewGRF presets, selected by a drop down list in the NewGRF window. Presets are saved in the config file. 2008-07-22 14:17:29 +00:00
rubidium aafd8393cc (svn r13773) -Codechange: disable autoclean for protected/unprotected companies when the timeout is set to 0. Based on an idea by Thomas. 2008-07-21 13:05:43 +00:00
smatz 2299181c4b (svn r13537) -Fix [FS#2090](r13523): QSortT won't work this way, use Dimension instead of uint16[2] for resolutions 2008-06-16 19:38:41 +00:00
rubidium 9e811a2f8b (svn r13386) -Fix: global currency/units setting being overriden when loading a savegame. 2008-06-05 11:26:38 +00:00
smatz c7a9637834 (svn r13375) -Add: logging of actions that could possibly cause desyncs and crashes to simplify debugging. See readme.txt for details 2008-06-03 18:35:58 +00:00
rubidium abf2b0efc3 (svn r13369) -Codechange: remove duplication of network configuration settings between NetworkSettings and NetworkGameInfo.
-Fix: failure of changing the server password during games because the password wasn't duplicated properly.
2008-06-03 08:04:35 +00:00
rubidium def3177d3a (svn r13365) -Fix: don't segfault on trying to set a non-existing patch setting. 2008-06-02 23:01:57 +00:00
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. 2008-05-30 18:20:26 +00:00
rubidium 00ccb1dc33 (svn r13341) -Codechange: make most of the network settings configurable via the patch command. 2008-05-30 09:23:05 +00:00
rubidium 2854cc968f (svn r13336) -Fix: loading old savegames, e.g. the intro game, would reset the autosave settings. 2008-05-29 21:36:10 +00:00
rubidium c33164831d (svn r13334) -Codechange: move the network settings variables from network/network_internal to settings. 2008-05-29 20:21:28 +00:00