Commit Graph

10985 Commits

Author SHA1 Message Date
Ted John 87be032adc Space out sections when writing config.ini 2017-02-19 21:37:06 +00:00
Ted John 8d3bf515ed Fix trim function 2017-02-19 21:33:14 +00:00
Ted John fb2c835d52 Include new config header 2017-02-18 15:45:10 +00:00
Ted John 4457749b35 Move keyboard shortcut loading to C++ 2017-02-18 15:30:54 +00:00
Ted John 6bda8eba0f Move remaining config functions to C++ 2017-02-18 15:16:19 +00:00
Ted John 87e3a8f8b0 Move config enums to more suitable places 2017-02-18 14:51:35 +00:00
Ted John 6a2b7b1200 Start moving config definitions over to C++ 2017-02-18 10:54:13 +00:00
Ted John bd6d31fed6 Write config fields 2017-02-18 10:17:26 +00:00
Ted John 23fef54b14 Implement IniWriter 2017-02-18 10:17:26 +00:00
Ted John 2fc5012670 Fix build errors 2017-02-18 10:17:26 +00:00
Ted John 0542338d4d Use interface for config enum 2017-02-18 10:17:26 +00:00
Ted John d8fae61e0c Add remaining config reading 2017-02-18 10:17:26 +00:00
Ted John aee1222829 Read more config 2017-02-18 10:17:26 +00:00
Ted John 6f15fc2cee Refactor config reading to different files 2017-02-18 10:17:26 +00:00
Ted John a582cc0cca Add support for config enums 2017-02-18 10:17:26 +00:00
Ted John 3255a1b88c Support reading quoted strings 2017-02-18 10:17:26 +00:00
Ted John f8f60a69a7 Implement reading of config values 2017-02-18 10:17:26 +00:00
Ted John d5ee210797 Begin writing IniReader 2017-02-18 10:17:26 +00:00
OpenRCT2 git bot 9abff205c3 Merge Localisation/master into OpenRCT2/develop. 2017-02-18 04:00:20 +00:00
Michał Janiszewski 6f4a02dd53 Merge pull request #5233 from janisozaur/fixes
Various fixes
2017-02-17 23:58:45 +01:00
Michał Janiszewski a786619880 Merge pull request #5201 from grimpunch/improve_linux_system_file_dialog_for_save_tracks
improve track open/save dialogs on linux platforms
2017-02-17 23:52:37 +01:00
wolfreak99 6e8e2038f5 Prevent signed addition overflows in multiple places 2017-02-17 23:46:23 +01:00
wolfreak99 43c07919bf Create "add_clamp" functions family for overflow prevention
These will clamp signed addition (or subtraction) to limits of their
types to prevent signed overflows, which is undefined behaviour.
2017-02-17 23:46:23 +01:00
wolfreak99 77c08837f4 Make MSVC use C11's `static_assert` 2017-02-17 23:46:23 +01:00
Christian Murphy d8cd8f1b13 Move Preprocessor to linux.c 2017-02-17 22:43:10 +00:00
Michael Steenbeek 260cd607c8 Add Catalan language (#5222) 2017-02-17 19:40:58 +01:00
Michał Janiszewski 7d1f86bb51 Explain edge case behaviour of get_ride_queue_end
[ci skip]
2017-02-17 14:11:03 +01:00
Michał Janiszewski 7e6d826c09 Refactor peep action getter 2017-02-17 09:35:53 +01:00
Michał Janiszewski 19833b9110 Increase network version 2017-02-17 09:07:40 +01:00
Michał Janiszewski 726a01db1c Ensure main windows always exists 2017-02-17 09:07:05 +01:00
Michał Janiszewski 32438ef6d0 Check for NULL element in get_ride_queue_end 2017-02-17 09:02:50 +01:00
Michał Janiszewski 7d62c70c59 Initialise variables to default values 2017-02-17 08:50:58 +01:00
Michał Janiszewski 13640959e5 Remove unused value 2017-02-17 08:50:46 +01:00
Michał Janiszewski 8f0711f99d Validate peep action in sub_693B58 2017-02-17 08:42:08 +01:00
Michał Janiszewski 03dd026ba0 Fix invalid bounds check in game_command_set_staff_order 2017-02-17 08:36:34 +01:00
Michał Janiszewski 31ef90fafb Remove unnecessary clamp in cheats_set_money 2017-02-17 08:32:14 +01:00
Michał Janiszewski f4d712ce80 Fix NULL check in game_command_remove_banner 2017-02-17 08:29:19 +01:00
OpenRCT2 git bot cfab71a076 Merge Localisation/master into OpenRCT2/develop. 2017-02-17 04:00:20 +00:00
Michał Janiszewski f03b37e6f2 Merge pull request #5227 from janisozaur/set_format_body_size
Ensure set_format_body macro only accepts properly sized arguments
2017-02-17 00:11:25 +01:00
Christian Murphy 29ba9586f5 Update platform.h 2017-02-16 21:47:00 +00:00
Marijn van der Werf 0ebfc557fb Set Xcode C dialect to gnu11 2017-02-16 22:09:51 +01:00
Duncan cc7bdf2a17 Merge pull request #5230 from duncanspumpkin/refactor
Refactor flags
2017-02-16 19:09:13 +00:00
duncanspumpkin 260a6200b9 Fix dropdown custom height code. Use flags for filters.
Note dropdown custom height code is not used in any function at present.
2017-02-16 18:35:59 +00:00
Michał Janiszewski 2dcf33bd42 Ensure set_format_body macro only accepts properly sized arguments 2017-02-16 16:50:35 +01:00
Christian Murphy b40c57934b Update platform.h 2017-02-16 12:23:32 +00:00
Christian Murphy c3ea18f490 Modified MAX_PATH usage to use more appropriate MAX_COMMAND_LENGTH 2017-02-15 23:10:04 +00:00
Christian Murphy b552231c1d more bash escapes on zenity commands for file dialog 2017-02-15 21:45:21 +00:00
duncanspumpkin cab367aa24 Label known flags 2017-02-15 21:41:03 +00:00
Michał Janiszewski d40bbd7f5c Fix #5219: segfault when opening "misc" tab in options 2017-02-15 22:11:28 +01:00
Michał Janiszewski 8bf8172345 Provide default height in case of null map element 2017-02-15 21:44:27 +01:00