Commit Graph

787 Commits

Author SHA1 Message Date
frosch 23ba42b66c (svn r25291) -Add: WindowDesc ability to load and store information in a config file. 2013-05-26 19:27:22 +00:00
frosch e28659aa51 (svn r25193) -Cleanup: [strgen] Remove some ancient unused string codes. 2013-04-17 18:24:13 +00:00
frosch bcd5038af9 (svn r25192) -Change: [strgen] Allow any number of colour codes in translations. 2013-04-17 18:22:37 +00:00
michi_cc 55ba9320f3 (svn r25157) -Feature: Determine the default font height for vector fonts according to the minimum readable height that the font provides. 2013-04-06 22:06:44 +00:00
frosch 30f601d685 (svn r25115) -Fix (r8973) [FS#5492-ish]: [NewGRF] Acceleration of NewGRF aircraft was too fast, while acceleration of default aircraft was way too slow. I.e. choose wisely who to let write the software for your orbiter. 2013-03-22 21:27:13 +00:00
planetmaker 3c2d8cc28d (svn r25078) -Add: New plural form to be used by Scottish Gaelic (1,11; 2,12; 3..10, 13..19; other) 2013-03-10 11:02:11 +00:00
planetmaker c22bbf5293 (svn r25072) -Codechange: Don't require the custom currency to be the last defined one 2013-03-09 16:16:17 +00:00
rubidium ef8d491d8f (svn r24996) -Change: Apply default service interval changes to vehicles without custom interval (peter1138) 2013-02-14 17:08:56 +00:00
matthijs 97decad061 (svn r24991) -Doc: Clarify comments regarding settings macros. 2013-02-14 11:06:01 +00:00
rubidium 99a08e1e8c (svn r24968) -Fix [FS#5379]: company window was not updated when shared were enabled/disabled 2013-02-04 20:29:38 +00:00
frosch fea76bbb78 (svn r24910) -Fix: [strgen] Description of plural form 3 was incorrect. 2013-01-12 17:21:30 +00:00
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
rubidium d5d96ba683 (svn r24877) -Fix: some whitespace "errors" 2013-01-01 10:52:32 +00:00
frosch 3ce8d2ce70 (svn r24846) -Add: Advanced settings to disable certain sound effects. 2012-12-23 21:09:09 +00:00
frosch 345c3203d7 (svn r24845) -Add: News ticker sound setting to adv. settings window. 2012-12-23 21:08:42 +00:00
frosch bc84f30fc1 (svn r24844) -Add: News display settings to adv. settings window. 2012-12-23 21:08:02 +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
frosch 6bb43a6561 (svn r24792) -Add: Readd difficulty settings to advanced settings unless they are already present in other settings windows. 2012-12-05 19:38:44 +00:00
frosch d1ab0f03bc (svn r24790) -Remove: Classic difficulty profiles. 2012-12-05 19:36:41 +00:00
frosch 812ae4140a (svn r24789) -Add: Separate setting to control the default settings of newly added scripts and random AIs. 2012-12-05 19:36:04 +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 5b2da98ca3 (svn r24785) -Add: Various methods to open the OSK. (based on patch by Eagle_rainbow) 2012-12-05 19:34:25 +00:00
frosch 5e8238c75c (svn r24748) -Add: Clear button to all editboxes. 2012-11-14 22:50:56 +00:00
frosch b65ece1ea9 (svn r24695) -Fix/Cleanup: Remove remaining (incorrect) usages of ResolverObject::scope and count. 2012-11-11 12:57:27 +00:00
alberth 4c9bea2a71 (svn r24692) -Cleanup: Cleanup final parts of the old resolver code. 2012-11-10 20:45:59 +00:00
alberth 69e07c3e00 (svn r24691) -Codechange: Add resolver classes for vehicles. 2012-11-10 20:45:04 +00:00
alberth e087503fd6 (svn r24690) -Codechange: Add resolver classes for industry tiles. 2012-11-10 20:44:38 +00:00
alberth f7352871fa (svn r24689) -Codechange: Add resolver classes for industries. 2012-11-10 20:44:10 +00:00
alberth 37605108e1 (svn r24686) -Codechange: Add resolver classes for airport tiles. 2012-11-10 20:42:19 +00:00
alberth 82e6001451 (svn r24685) -Codechange: Add resolver classes for rail types. 2012-11-10 20:41:45 +00:00
alberth c417efc962 (svn r24684) -Codechange: Add resolver classes for stations. 2012-11-10 20:41:08 +00:00
alberth a9b8b22daf (svn r24683) -Codechange: Add resolver classes for objects. 2012-11-10 20:40:46 +00:00
alberth d7b62da87b (svn r24682) -Codechange: Add resolver classes for houses. 2012-11-10 20:40:05 +00:00
frosch dc930b6689 (svn r24672) -Add [FS#5356]: Remember the basic/advanced/expert filter selection. 2012-11-08 11:20:32 +00:00
frosch 69a62452be (svn r24671) -Feature [FS#5355]: Add basic/advanced/expert filters to adv. settings GUI. (Eagle_rainbow) 2012-11-08 10:04:00 +00:00
frosch 72fc771039 (svn r24590) -Feature: More options for the auto-scroll setting. (adf88) 2012-10-13 09:16:20 +00:00
frosch 17dcc7a899 (svn r24400) -Add: Plural 'names' to the output of strgen -export-plurals. 2012-07-14 14:21:25 +00:00
frosch 2ef319d0fe (svn r24373) -Codechange: Improve descriptions of plural forms. 2012-07-03 19:14:51 +00:00
frosch 62670b48b9 (svn r24368) -Fix (r24367): Silence GCC warnings. 2012-07-02 15:55:13 +00:00
frosch f57fbe02c8 (svn r24270) -Add: Missing descriptions for adv. settings. 2012-05-25 16:03:54 +00:00
frosch d351f3dae5 (svn r24252) -Fix [FS#5162]: Change the unit of the sprite-cache size setting from megabytes to megapixels, so it depends on the blitter being used. Also increase it from 64 to 128, and change the name in the cfg file, so everyone gets the new default. 2012-05-15 20:37:42 +00:00
alberth fc213a6dae (svn r24235) -Add: Add help-strings for the settings in the advanced settings window. 2012-05-12 10:09:56 +00:00
alberth 1d58838a97 (svn r24234) -Add: Add help-string infrastructure to the ini files 2012-05-12 10:09:00 +00:00
alberth 88224d001d (svn r24210) -Feature: Split the renew-months setting text in two string values (one before life time and one after). 2012-05-06 15:03:45 +00:00
alberth 8c585e5ad6 (svn r24209) -Cleanup: Remove now unused SGF_NOCOMMA value. 2012-05-06 15:00:13 +00:00
alberth 11f21917d6 (svn r24206) -Codechange: Move colouring of advanced setting options to the drawing code. 2012-05-06 14:56:13 +00:00
frosch e1fda49027 (svn r24194) -Change: Rename the 'signal_side' setting to 'train_signal_side', and add a third option while doing so. 2012-05-01 15:53:51 +00:00
frosch fdd05988b7 (svn r24191) -Fix: If you consider a settings to potentially cause desyncs via NewGRFs and thus disallow changing it in network games, you should probably also sync it to clients. 2012-05-01 15:13:23 +00:00
frosch 16b310d8ce (svn r24186) -Feature: [NewGRF] Callback to set industry production level on construction. (andythenorth) 2012-04-28 16:44:01 +00:00
frosch fa51dee557 (svn r24177) -Fix (r0) [FS#5148]: The arctic "shops and offices" used the "church" sprite in one of its four views. 2012-04-24 19:19:57 +00:00
michi_cc a2b2bc3620 (svn r24141) -Feature: Display rating in the town directory window. (Inspired by patch from MagicBuzz) 2012-04-17 19:44:41 +00:00
michi_cc f3e295b4ec (svn r24134) -Add: Configurable limits for tree planting. 2012-04-17 19:43:52 +00:00
michi_cc 708d5b6712 (svn r24129) -Feature [FS#3660]: Option to minimise signal distance when dragging over obstacles. (adf88) 2012-04-17 19:43:29 +00:00
rubidium 54e36c4ff8 (svn r24111) -Codechange: use Colour more instead of manually bitstuffing 2012-04-10 20:16:51 +00:00
rubidium 19923e81f9 (svn r24022) -Add: CARGO_LIST control code for strings 2012-03-10 19:04:49 +00:00
michi_cc 9101d2e2d2 (svn r23952) -Feature: [NewGRF] Customisable tunnel portals for rail types (sprites by Snail). 2012-02-15 21:23:48 +00:00
michi_cc 0542e26460 (svn r23931) -Change: Scale infrastructure cost of rail tracks by the total number of all tracks and not independently for each rail type. 2012-02-11 22:43:39 +00:00
michi_cc dd5d24c35a (svn r23895) -Revert (r23888): Broken and not even needed anymore in the container format 2 implementation that was committed. 2012-02-04 22:14:16 +00:00
michi_cc 2909e39e99 (svn r23888) -Change: Move the min/max zoom settings to the "misc" section so they are valid before sprites are loaded. 2012-02-04 13:29:09 +00:00
frosch 8beedd4cb6 (svn r23862) -Fix (r23860): Fix sweets capacity. 2012-01-28 14:12:42 +00:00
frosch 90c53046c7 (svn r23860) -Feature: [NewGRF] Add cargo property 1D to set the capacity multipliers when refitting vehicles, which do not use callback 15. 2012-01-28 12:08:03 +00:00
yexo 2c99805117 (svn r23816) -Fix (r23635, r23805): make SCC_ENCODED the first entry in the StringControlCode enum since it's value is not allowed to change 2012-01-16 22:29:25 +00:00
frosch 0011f9ce45 (svn r23805) -Add: {STRING6} and {STRING7}. 2012-01-15 15:49:01 +00:00
rubidium 182969f531 (svn r23769) -Codechange: make the lag/join start timeouts configurable as well 2012-01-07 14:43:45 +00:00
rubidium bddfcaef95 (svn r23764) -Fix [FS#4955]: make default timeouts for certain states lower and configurable 2012-01-06 21:49:06 +00:00
michi_cc ee0fcb2567 (svn r23758) -Feature: [NewGRF] Alternate rail type label list. 2012-01-05 19:40:34 +00:00
smatz bcd3f2bb59 (svn r23706) -Codechange: prevent 'unknown command' doxygen errors 2012-01-01 17:36:19 +00:00
truebrain b0ac529a6f (svn r23635) -Add: introduce GSText, to allow translating GameScript text, even over network 2011-12-19 21:05:57 +00:00
rubidium ab974bee97 (svn r23582) -Fix [FS#4870]: add missing characters for certain languages and the large font
-Codechange: don't remove large font glyphs because they are broken in the original font, just fix them up in openttd.grf using action A
-Change: make extra characters more consistent with the original font
  All by PaulC.
2011-12-17 21:42:11 +00:00
rubidium 1f083c3ac8 (svn r23576) -Codechange: split the base of strgen with the strgen code that creates the actual .lng files 2011-12-17 18:34:03 +00:00
rubidium 6c31b25e22 (svn r23568) -Codechange: only allocate the buffer for writing when it is really needed 2011-12-17 13:33:36 +00:00
rubidium fd559171b4 (svn r23527) -Codechange: unify colo(u)r as far as it goes 2011-12-15 22:02:00 +00:00
rubidium 3d88c74389 (svn r23526) -Codechange: unify cargos vs cargoes 2011-12-15 21:56:00 +00:00
michi_cc def8e7215b (svn r23504) -Feature: Aircraft range. 2011-12-13 00:43:35 +00:00
frosch 1ea449630d (svn r23497) -Add: Advanced display setting to control the linewidth in graphs. (ChillCore) 2011-12-11 15:55:31 +00:00
rubidium 2ccbd2a6f5 (svn r23446) -Codechange: move _cur_palette and it's related first/count dirty variables into a single structure 2011-12-08 18:13:29 +00:00
rubidium 6bf2b30035 (svn r23433) -Fix [FS#4868]: recolouring of some animated colours from the windows palette went wrong 2011-12-04 19:07:24 +00:00
rubidium 5891099f24 (svn r23422) -Fix [FS#4863] (r22797): the default palette setting wasn't applied correctly anymore as the configuration file is loaded after the first NewGRF scan 2011-12-04 11:18:43 +00:00
michi_cc d3b7b89493 (svn r23415) -Feature: Infrastructure maintenance costs. 2011-12-03 23:40:46 +00:00
truebrain 9dde1287aa (svn r23387) -Fix: move ai.script_max_opcode_till_suspend to script.script_max_opcode_till_suspend 2011-12-01 12:04:22 +00:00
rubidium bf55f58a47 (svn r23326) -Fix [FS#4852] (r23239): snow line for very old savegames wasn't retrieved from the savegame anymore 2011-11-25 17:33:58 +00:00
peter1138 aa64a397f9 (svn r23317) -Change: Rename sprite_cache_size setting so that the new default is used. 2011-11-24 16:02:46 +00:00
peter1138 81598273e9 (svn r23316) -Feature: Add ability to zoom in to 2x and 4x level. 2011-11-24 12:38:48 +00:00
peter1138 4e97261315 (svn r23314) -Add: Add settings to restrict viewport zoom levels. 2011-11-24 12:20:14 +00:00
truebrain e30256692f (svn r23303) -Add: economy.fund_buildings, to disallow funding buildings 2011-11-23 16:10:18 +00:00
truebrain 4e09cde649 (svn r23297) -Add: {CARGO_TINY} (Rubidium) 2011-11-23 16:04:28 +00:00
rubidium 1fde9c7f8a (svn r23287) -Fix (r23274): mono_size is a better name than large_mono for the size variable in the configuration file 2011-11-20 19:06:27 +00:00
rubidium dfefcab47d (svn r23274) -Add: internal support for a monospaced sprite font 2011-11-20 11:56:51 +00:00
rubidium b8866be093 (svn r23269) -Codechange: rename some control/string codes/IDs to be more consistent 2011-11-19 22:15:44 +00:00
rubidium 1de7127d62 (svn r23239) -Fix: saving/loading the snow line height twice, especially when the values are not the same causes some nasty problems... like desyncs 2011-11-17 20:42:12 +00:00
rubidium 5446b40c07 (svn r23223) -Codechange: store the last newgrf count in the misc section 2011-11-14 21:41:23 +00:00
rubidium bd64bf6372 (svn r23193) -Codechange: don't cast away const unneededly 2011-11-12 08:10:22 +00:00
rubidium 39263445b0 (svn r23191) -Fix: GCC 4.7 compilation warnings related to narrowing in palettes 2011-11-11 19:47:28 +00:00
yexo bdc4734f65 (svn r23188) -Fix (r23168): fences on steep slopes were broken 2011-11-11 18:01:41 +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
yexo 5c838ff1c3 (svn r23168) -Feature [FS#1824]: always draw fences around field tiles 2011-11-08 19:48:47 +00:00
frosch c2cf26b451 (svn r23149) -Add: [NewGRF] Road vehicle property 23 to shorten vehicles without callback usage. 2011-11-08 17:27:46 +00:00
frosch b98c7763de (svn r23146) -Change: [NewGRF v8] Make callback 22 return a probability to use instead of property 18. 2011-11-08 17:26:13 +00:00
michi_cc fe574b7e0c (svn r23129) -Add: [NewGRF] Property for the rail type name. 2011-11-07 19:35:02 +00:00
rubidium 2886bb1df3 (svn r23085) -Fix (r23084): SLE_UINT8 might have been the old type, it's not the same as the length of the variable 2011-11-03 23:06:30 +00:00
rubidium 47c5d30b5d (svn r23084) -Codechange: get rid of a redundant variable 2011-11-03 22:49:03 +00:00
frosch acc3c75951 (svn r23075) -Codechange: Add GetGRF() and GetGRFID() methods to Engine and Vehicle to simplify code. 2011-11-01 00:23:41 +00:00
frosch 72cd855978 (svn r23074) -Codechange: Add Vehicle::GetEngine() to simplify code. 2011-11-01 00:21:08 +00:00
michi_cc e094d7db62 (svn r23072) -Feature: [NewGRF] House callback 0x148. 2011-10-31 22:31:40 +00:00
yexo 307ca24427 (svn r23063) -Add: [NewGRF] stringscodes 9A 19 and 9A 20 to print 'short volume' and 'short weight' respectively 2011-10-29 20:56:58 +00:00
planetmaker a78f38fdc0 (svn r23032) -Fix (r14224, r22419): Palette conversion windows to DOS for light house / stadium animated colour was mixed up 2011-10-16 11:48:11 +00:00
planetmaker 765588f699 (svn r23010) -Add [FS#4797]: Support company colour for the airports' jetways (zeroeight) 2011-10-07 07:56:30 +00:00
frosch d071eefc54 (svn r22985) -Feature: Display autoreplace status in group GUI. 2011-10-03 17:26:37 +00:00
rubidium 49d8852f3f (svn r22828) -Codechange: give some variables a better name and clean up the code of loading old style GRFs 2011-08-24 14:31:18 +00:00
rubidium 0ad82be1f3 (svn r22807) -Feature-ish: show a message about missing strings in the intro window if a certain (configurable) threshold has been reached and its not a stable release 2011-08-21 19:23:06 +00:00
rubidium dc5f44883b (svn r22797) -Add: progress bar for scanning NewGRFs 2011-08-21 12:53:13 +00:00
frosch aefee3d375 (svn r22780) -Fix: [NewGRF] String codes 84 and 87 print signed values. 2011-08-20 23:16:49 +00:00
frosch 3edfd1c9d2 (svn r22779) -Add: [NewGRF] Stringcode for printing a unsinged word in power units. (Hirundo) 2011-08-20 23:07:37 +00:00
frosch 26530063f1 (svn r22778) -Add: [NewGRF] Stringcodes for printing 0-based dates. (Hirundo) 2011-08-20 22:35:11 +00:00
frosch 8d3d7b4e01 (svn r22776) -Codechange: Unify the naming of NewGRF string codes; always include the size of the parameter on the stack. (based on patch by Hirundo) 2011-08-20 22:06:38 +00:00
frosch 7394bcb813 (svn r22775) -Fix: [NewGRF] Stringcodes 82 and 83 are the same as the date codes in old OpenTTD. (Hirundo) 2011-08-20 21:42:05 +00:00
rubidium 0041408e4f (svn r22767) -Add: river generation 2011-08-20 14:14:17 +00:00
planetmaker b102b58bde (svn r22765) -Cleanup: Remove unused constants and name a magic constant 2011-08-20 05:35:03 +00:00
alberth bc6d4069fe (svn r22741) -Add: Add exit direction of hangars to airport specifications. 2011-08-13 12:43:05 +00:00
michi_cc 08b7981f37 (svn r22713) -Feature: [NewGRF] Per vehicle custom cargo ageing period. 2011-08-03 20:55:08 +00:00
planetmaker 3fb66890ee (svn r22708) -Feature [FS#4701]: Display option to hide competitors' signs and station names (Zuu) 2011-08-01 18:41:21 +00:00
frosch a7f7a97825 (svn r22646) -Codechange: Simplify MP_WATER map accessors, esp. for locks and depots. (based on patched by adf88 and michi_cc) 2011-07-10 13:04:04 +00:00
frosch 566a9612a0 (svn r22641) -Fix (r22639): Warning about uninitialised fields. 2011-07-07 20:35:48 +00:00
frosch d2b236802c (svn r22633) -Fix: Implement variables 25 and 7F for railtypes. 2011-07-04 20:25:17 +00:00
terkhen 8ddb3941f7 (svn r22571) -Add: [NewGRF] Show town persistent storage in the NewGRF debug GUI. 2011-06-12 20:53:16 +00:00
terkhen 46d1a06215 (svn r22570) -Codechange: Store the GrfID of the caller when opening a parent window in the NewGRF debug GUI. 2011-06-12 20:51:38 +00:00
terkhen a619ad3789 (svn r22569) -Feature: [NewGRF] Persistent storage for towns. 2011-06-12 20:50:03 +00:00
terkhen 00e5c1df18 (svn r22567) -Codechange: Store persistent storages inside a pool. 2011-06-12 20:47:45 +00:00
terkhen 281bed03f4 (svn r22565) -Codechange: Use helper functions for getting the persistent storage in the NewGRF debug GUI. 2011-06-12 20:41:17 +00:00
rubidium 58e3652bd0 (svn r22537) -Change [FS#3494]: replace the half small airport structure on the intercontinental airport with some grass 2011-06-04 14:24:34 +00:00
planetmaker 40cdaca849 (svn r22535) -Cleanup: Remove uneeded constants, update and unify some comments relating to sprite numbers 2011-06-03 20:41:30 +00:00
frosch 615e435677 (svn r22522) -Fix (r22489): (size_t)(uint32)(-1) != (size_t)-1 2011-05-29 18:35:31 +00:00
frosch 76c7cbff70 (svn r22436) -Fix (r18969): Apply railtype property 12 (station graphics) also to station groundsprites from action 1. 2011-05-08 15:58:59 +00:00
frosch 844dc8646f (svn r22430) -Fix: COAL, RUBR, SUGR and the coalmine used windows palette colours in smallmap/legends etc.. 2011-05-06 22:10:50 +00:00
frosch bfb419f9d8 (svn r22420) -Cleanup: Replace the somewhat mixed DOS+Windows palette with the pure DOS palette. Also blank the animation colours, which are filled from a different array anyway. 2011-05-04 17:15:54 +00:00
frosch bbcd2bab5d (svn r22419) -Change: Always use the DOS palette for drawing.
-Remove: the '-i' option for palette selection.
2011-05-04 17:12:37 +00:00
frosch bfd09004fe (svn r22417) -Add: an advanced setting to specify the default palette to use for NewGRFs without action 14 palette information; this makes the default choice independent from the used base graphics and '-i' option. 2011-05-03 20:30:26 +00:00
frosch 1ffd720f81 (svn r22383) -Codechange: Rename PALETTE_TO_STRUCT_GREY to PALETTE_NEWSPAPER as it does not belong to the other PALETTE_TO_STRUCT_xxx recolourings. 2011-04-29 20:47:36 +00:00
planetmaker a04672454f (svn r22381) -Codechange: It's called 'steel', not 'steele' 2011-04-29 15:26:12 +00:00
planetmaker 488051ae30 (svn r22378) -Fix: The recolouring scheme applied to the silicon bridge recoloured too much 2011-04-29 15:03:14 +00:00
smatz c3f1fd5716 (svn r22352) -Change: make YAPF the default pathfinder for ships, don't discourage players from using it 2011-04-19 18:47:36 +00:00
frosch 70f9a6747e (svn r22304) -Add: {DECIMAL} string code to print decimal fractions. 2011-04-09 20:26:14 +00:00
planetmaker 75ab1f18f8 (svn r22293) -Add: Allow docks to feature company colour (add another pony for the firs(t) fish&chips foundry) 2011-04-03 08:22:14 +00:00
yexo 6305d104c1 (svn r22233) -Fix (r22210): value strings for command-pause-level were not shown correctly 2011-03-11 19:48:26 +00:00
alberth d3569f917d (svn r22219) -Codechange: Unduplicate npf/yapf strings. 2011-03-06 16:00:24 +00:00
alberth c46de7fc7b (svn r22217) -Codechange: Unduplicate horizontal positioning strings. 2011-03-06 15:59:23 +00:00
alberth 7ee064b75d (svn r22215) -Codechange: Unduplicate original/realistic strings. 2011-03-06 15:58:03 +00:00
alberth 3d6246ba9e (svn r22213) -Codechange: Unduplicate company on/off strings. 2011-03-06 15:56:12 +00:00
alberth 5f505a69f3 (svn r22211) -Codechange: Unduplicate Off/On strings. 2011-03-06 15:52:23 +00:00