Commit Graph

411 Commits

Author SHA1 Message Date
rubidium
cebe2eac6b (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
67053ce41f (svn r23211) -Fix: Invalidate build vehicle window when changing the setting for wagon speed limits 2011-11-14 10:42:47 +00:00
rubidium
4ef3d33895 (svn r23193) -Codechange: don't cast away const unneededly 2011-11-12 08:10:22 +00:00
yexo
41e9da2420 (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
9838ceb880 (svn r22824) -Codechange: pass sub directory to ini loading 2011-08-24 13:38:26 +00:00
frosch
9a5f813b6d (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
196a394a3c (svn r22577) -Fix: MSVC64 compile warning 2011-06-13 07:43:48 +00:00
frosch
ea311e7904 (svn r22522) -Fix (r22489): (size_t)(uint32)(-1) != (size_t)-1 2011-05-29 18:35:31 +00:00
rubidium
9d8896bb8c (svn r22489) -Fix [FS#4623]: don't cast pointers to unsigned long or vice versa 2011-05-22 21:40:26 +00:00
smatz
77ac7940bf (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
6030e88966 (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
2e5b1f178e (svn r22202) -Codechange: make MusicFileSettings a proper citizen of the client settings 2011-03-05 18:00:48 +00:00
rubidium
2a7912d415 (svn r22198) -Codechange: make some constants name more explicit 2011-03-05 11:16:44 +00:00
alberth
9222a30173 (svn r22145) -Codechange: Do explicit test for non-bool values. 2011-02-25 22:04:38 +00:00
yexo
45ce53f37f (svn r22074) -Cleanup (r22073): there was already a setting-callback that did what is needed 2011-02-13 20:52:33 +00:00
yexo
e54d06dc13 (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
c4104567a1 (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
447f3dbe2c (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
a788783e01 (svn r21973) -Fix: Redraw the town authority window after modifying town authority settings. 2011-02-05 13:42:57 +00:00
rubidium
05199a641a (svn r21890) -Cleanup: remove some unneeded includes 2011-01-22 14:52:20 +00:00
terkhen
fdb720cc1a (svn r21860) -Codechange: Rename road vehicle subtype functions to match the train names. 2011-01-19 18:44:13 +00:00
frosch
56d06b6ef8 (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
dcb71c3770 (svn r21715) -Fix: Use the correct land colour in the owner legend. 2011-01-04 20:53:57 +00:00
rubidium
6ed9a8fb77 (svn r21698) -Fix: incorrectly named global variable 2011-01-02 18:12:39 +00:00
yexo
8ae90addd6 (svn r21695) -Codechange: add helper function to get the currently applicable GameSettings object 2011-01-02 00:34:21 +00:00
yexo
3436562d3a (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
8326e1d287 (svn r21523) -Fix: Some windows were not updated correctly after a train acceleration model change. 2010-12-15 09:01:04 +00:00
alberth
f2a59e197c (svn r21467) -Doc: Add a few doxygen comments to config file settings code. 2010-12-11 15:14:28 +00:00
rubidium
c7066d00af (svn r21358) -Codechange: make some network function names conform to coding style 2010-11-30 13:38:46 +00:00
alberth
16f678a990 (svn r21284) -Codechange: Rename CheckSavegameVersion() to IsSavegameVersionBefore(). 2010-11-21 12:47:04 +00:00
rubidium
bf6b6b8bc9 (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
9bdf6a36f4 (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
582a75e052 (svn r21155) -Fix [FS#4222] (r14959): default service interval for ships/aircraft got switched 2010-11-12 21:40:43 +00:00
planetmaker
98de280343 (svn r21116) -Add [FS#3012]: Reduce the chances to accidentially break savegames with NewGRFs 2010-11-07 21:46:41 +00:00
terkhen
580f8dc13c (svn r21082) -Fix (r21080): Compilation error. 2010-11-04 19:34:40 +00:00
terkhen
4059acb2cc (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
0e56fafe74 (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
75f0653bdf (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
548a3747e9 (svn r20860) -Cleanup: remove some unused functions and variables 2010-10-01 16:42:28 +00:00
frosch
1596b35ac1 (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
2b4da1d345 (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
360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 2010-08-26 22:01:16 +00:00
frosch
c18839704b (svn r20286) -Codechange: Unify end of doxygen comments. 2010-08-01 19:44:49 +00:00
frosch
5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
rubidium
8c85b4ce3d (svn r20281) -Codechange: unify case scope closure + break coding style 2010-08-01 18:53:30 +00:00
alberth
137e2b64c9 (svn r20211) -Codechange: Indented code should have curly braces around it. 2010-07-24 10:14:39 +00:00
rubidium
9fd2afb147 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 2010-07-19 17:28:27 +00:00
rubidium
54ec48f7ce (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
23557b1172 (svn r19978) -Add: Read settings during SL_LOAD_CHECK. 2010-06-13 14:14:37 +00:00
frosch
fe063af382 (svn r19973) -Codechange: Add another procedure to chunk handlers for checking savegames (empty for now). 2010-06-13 14:11:59 +00:00
alberth
6a2af1cd29 (svn r19910) -Doc: Doxygen additions. 2010-05-30 13:16:51 +00:00
rubidium
779722505f (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
cfaafb0fff (svn r19864) -Fix: don't print a pointer as string for listing (a) setting(s) 2010-05-20 15:12:48 +00:00
rubidium
53b6999442 (svn r19705) -Change: reinitialise the windows when changing the newgrf_developer_tools setting 2010-04-24 13:22:17 +00:00
smatz
90def35564 (svn r19578) -Codechange: do not accept commas at invalid places in ParseIntList() 2010-04-07 21:18:17 +00:00
smatz
c77cb04f81 (svn r19577) -Codechange: apply coding style to names of functions in settings.cpp 2010-04-07 20:28:02 +00:00
alberth
1921b27c65 (svn r19576) -Codechange: Unduplicating parse_intlist(). 2010-04-07 20:09:53 +00:00
yexo
4c358cb1e1 (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
c90afebee4 (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
e6a1b2d92e (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
f27186e617 (svn r19347) -Add: Vehicle GUI now shows power, weight and tractive effort for road vehicles. 2010-03-06 12:59:28 +00:00
terkhen
f78a386b87 (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
e6878d7ba1 (svn r19345) -Feature: Realistic acceleration for road vehicles. 2010-03-06 12:56:57 +00:00
yexo
daf89297fe (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
b21278659c (svn r19255) -Codechange: encapsulate GRFIdentifier in GRFConfig instead of subclassing it 2010-02-25 20:05:31 +00:00
smatz
5504b1105e (svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit 2010-02-24 14:46:15 +00:00
yexo
7996672521 (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
1c494c6f71 (svn r19081) -Codechange: make it possible to disable compilation of the AI+Squirrel 2010-02-10 16:24:05 +00:00
smatz
85c856a3ac (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
ad0b94ae44 (svn r19064) -Feature: Allow to select different land colours for the smallmap (reworked by Alberth). 2010-02-08 23:46:35 +00:00
yexo
d9bd9bb945 (svn r18952) -Fix (r18950): loading recent (=newer then title game) savegames failed 2010-01-29 21:06:35 +00:00
yexo
f6143cd478 (svn r18950) -Fix: make sure the values of settings loaded from a savegame are valid 2010-01-29 18:21:10 +00:00
yexo
504cf35de0 (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
aa29299d05 (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
30fd2ed3c1 (svn r18864) -Fix [FS#3532]: town noise population settings could not be changed in-game 2010-01-18 21:44:31 +00:00
rubidium
ff69edfc17 (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
ea240269dc (svn r18812) -Codechange: make some functions in train.h functions of Train. 2010-01-15 18:23:52 +00:00
rubidium
9467b7c6d6 (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
7f1bf45c03 (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
720875fd55 (svn r18378) -Codechange: move the pathfinder 'length' constants to pathfinder_type.h 2009-12-02 16:38:33 +00:00
rubidium
2f3053508d (svn r18364) -Codechange: move the pathfinders and their related files into a separate directory 2009-12-01 22:45:39 +00:00
rubidium
da30e736ca (svn r18330) -Cleanup: remove some unneeded includes 2009-11-28 20:35:25 +00:00
rubidium
dea921ad62 (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
f7466979b9 (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
224f4e0197 (svn r18028) -Codechange: unglobalise some functions 2009-11-09 10:40:33 +00:00
alberth
5a97b64d73 (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
982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 2009-10-04 17:16:41 +00:00
rubidium
3649e86c15 (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
27ef5b3255 (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
f85b8c4e09 (svn r17596) -Codechange: constify some tables 2009-09-20 23:11:01 +00:00
rubidium
2e5596025c (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
310465da07 (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
06e490fadc (svn r17567) -Fix: some doxygen warnings 2009-09-18 14:23:58 +00:00
frosch
0e36260337 (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 2009-09-13 19:15:59 +00:00
frosch
263952f557 (svn r17525) -Cleanup: Remove SetWindowDirty(), it is completely covered by other functions already. 2009-09-13 17:37:47 +00:00
frosch
0867784862 (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
99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
rubidium
cdb969e164 (svn r17133) -Codechange: generalise the code that searches for base graphics 2009-08-09 16:54:03 +00:00
rubidium
d61be2637e (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 2009-08-05 17:59:21 +00:00
rubidium
79deeee323 (svn r16821) -Codechange: unify the naming of type::UpdateVirtCoord and UpdateAll[Type]VirtCoords. 2009-07-13 22:33:25 +00:00