Commit Graph

159 Commits

Author SHA1 Message Date
rubidium 6a359a586b (svn r14963) -Codechange: remember what entry was clicked instead of the index (Alberth) 2009-01-10 16:42:28 +00:00
rubidium 32d5369675 (svn r14962) -Codechange: add the concept of patch entries and patch (sub) pages 2009-01-10 16:39:18 +00:00
rubidium 850e45b1f1 (svn r14961) -Update: remove the string from r14960 from the other languages too. 2009-01-10 16:29:31 +00:00
rubidium 3f1da12faf (svn r14960) -Codechange: add some this where appropriate (Alberth) 2009-01-10 16:26:17 +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
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
rubidium 9888afd6d0 (svn r14885) -Fix: if settings minimum != 1 and 0-is-disabled is enabled, one could set the setting in-game to an out-of-valid-range value. 2009-01-07 08:26:09 +00:00
smatz ec7244d971 (svn r14839) -Fix [FS#2496](r14835): one occurence of train_income_warn wasn't updated 2009-01-04 20:41:32 +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
glx 502607410e (svn r14816) -Fix: signed/unsigned warnings (MSVC) 2009-01-03 19:39:22 +00:00
smatz 09cd9a8017 (svn r14815) -Codechange: separate 'highscore' code from 'company' code 2009-01-03 18:44:20 +00:00
rubidium 18b27692aa (svn r14800) -Codechange: make the advanced settings window resizeable and scrollable (most by Alberth) 2009-01-03 11:24:27 +00:00
rubidium fcee426b80 (svn r14799) -Codechange: move drawing a single settings entry to it's own function (Alberth) 2009-01-03 11:07:43 +00:00
rubidium d9bc99658b (svn r14798) -Codechange: move variable declaration to first use of variable (Alberth) 2009-01-03 11:03:53 +00:00
rubidium 489584b85e (svn r14797) -Codechange: replace even more magic numbers with constants (Alberth) 2009-01-03 11:00:40 +00:00
rubidium c3954f2e38 (svn r14796) -Fix: if using variable, use it everywhere instead of hardcoding it's value sometimes (Alberth) 2009-01-03 10:56:38 +00:00
rubidium 6913ae5a5f (svn r14795) -Codechange: replace a magic number with a constant (Alberth) 2009-01-03 10:53:49 +00:00
rubidium 8ff93c2c14 (svn r14794) -Document: a few functions/variables (Alberth) 2009-01-03 10:52:22 +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 64c973ccc5 (svn r14658) -Change: allow changing town names when there are no towns in the scenario yet. 2008-12-05 22:46:39 +00:00
peter1138 ca5ed4b2cc (svn r14609) -Codechange: Use supplied button colour instead of hardcoded yellow, for 'greyed out' arrow buttons. (Yorick) 2008-11-23 12:35:02 +00:00
skidd13 706dd0f86c (svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat and strecpy where direct conversion is possible 2008-11-02 11:20:15 +00:00
rubidium e9f5a19544 (svn r14462) -Codechange: replace magic number with already existing constant (Albert) 2008-10-13 03:40:48 +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
rubidium 6a931d67cd (svn r14390) -Codechange: replace magic constants with symbolic constants. 2008-09-23 15:24:15 +00:00
smatz 606f4defdc (svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString() 2008-09-15 16:29:40 +00:00
peter1138 2cb555ed11 (svn r14018) -Fix (r14017): Typos prevented compilation. 2008-08-08 06:02:06 +00:00
belugas ef22740ccb (svn r14017) -Codechange: DrawArrowButtons now uses Colours enum to specify the colour of the button 2008-08-08 03:37:00 +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 69671d3aef (svn r13907) -Codechange: Replace a number with Colours enum on DrawFrameRect usage 2008-08-01 03:43:53 +00:00
belugas 10f450e2d4 (svn r13900) -Codechange: Replace numbers with Colours enum on settings, smallmaps, stations and signs guis. 2008-07-31 17:45:52 +00:00
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'.
2008-07-17 13:47:04 +00:00
frosch ecc5d648df (svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' into their own parameter. 2008-06-28 15:44:24 +00:00
smatz fee2adb299 (svn r13618) -Codechange: move tar-specific declarations to separate file
Removes indirect dependency on <string> and <map> for over 40 files
2008-06-24 09:05:24 +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
rubidium d58080fd44 (svn r13335) -Fix: remove rogue (debugging) printf. 2008-05-29 21:35:49 +00:00
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. 2008-05-29 15:13:28 +00:00
rubidium cd8e589fa9 (svn r13256) -Codechange: merge the OPTS and PATS chuncks.
-Codechange: split the diff_custom variable.
-Feature: allow changing some of the diff_custom variables via the console in network games.
2008-05-26 00:31:36 +00:00
rubidium 8c9cc415e3 (svn r13255) -Codechange: move _opt to _settings. 2008-05-25 22:36:44 +00:00
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.
2008-05-25 19:17:03 +00:00
rubidium 5fa0946c08 (svn r13242) -Codechange: remove _opt_ptr. 2008-05-25 12:57:39 +00:00
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
2008-05-24 02:54:47 +00:00