1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 12:33:17 +01:00
Commit Graph

8380 Commits

Author SHA1 Message Date
Duncan
1654ba4fe4 Merge pull request #5236 from duncanspumpkin/refactor
Refactor fence to wall
2017-02-28 06:56:06 +00:00
Michał Janiszewski
7f48df20ec Refactor input 2017-02-27 20:20:41 +01:00
Ted John
4442b936de Merge pull request #5256 from chfast/memory-fixes
Small memory fixes
2017-02-27 17:24:08 +00:00
Hielke Morsink
4ea29bbf80 Close conflicting windows in main menu
* The main buttons close the other main windows in the main menu

* Only close other windows if the next is not open already
2017-02-26 13:24:35 +01:00
duncanspumpkin
ece3be303c Fix formating 2017-02-26 09:04:32 +00:00
duncanspumpkin
adab7f7a6d Add set animation frame function 2017-02-25 09:36:28 +00:00
duncanspumpkin
7691dc3c10 Use functions to set and get secondary colour 2017-02-25 09:19:31 +00:00
Ted John
af7af61536 Merge pull request #5240 from IntelOrca/refactor/config-cpp-2
Refactor config
2017-02-25 01:35:03 +00:00
Michał Janiszewski
3b3f0b2e6b Return actual instead of default value in IniReader::GetString 2017-02-24 23:39:01 +01:00
Ted John
3b341de835 Fix String::Trim and add test 2017-02-24 21:48:06 +00:00
duncanspumpkin
12ba104485 Add force commands for ratings.
Note these do not save and will reset if the rating is recalculated
2017-02-24 20:48:04 +00:00
Michał Janiszewski
58da1cde84 Make IniReader not throw while parsing invalid values 2017-02-24 20:26:49 +01:00
Paweł Bylica
7360d06592 Silently fallback to sorfware rendering
If accelerated rendered cannot be created by SDL, fallback to software rendering. The config option is not changed.
2017-02-24 20:14:37 +01:00
Paweł Bylica
660373cf38 Fix unmatched memory free
Before the memory of size 1 was deleted, more allocated.
2017-02-24 00:15:56 +01:00
Michał Janiszewski
1784543e14 Set default first section to true 2017-02-23 23:26:39 +01:00
Michał Janiszewski
9c32cb3a62 Don't break on too short INI streams 2017-02-23 23:26:39 +01:00
duncanspumpkin
7c17cef89c Remove test code 2017-02-23 20:18:34 +00:00
Duncan
3bb7398649 Add static keyword to static functions 2017-02-23 12:48:41 +00:00
duncanspumpkin
84a0060090 Enforce the bracket and line width rule 2017-02-22 18:18:23 +00:00
Ted John
9ba51f221b Add summary comments 2017-02-22 18:00:19 +00:00
Ted John
40eb2c55fd Reduce duplicated code in IniReader 2017-02-22 17:58:50 +00:00
Ted John
d72ced4ea9 Remove final from struct 2017-02-22 17:54:37 +00:00
Ted John
4dc792bc1d Use IStream for IniReader and IniWriter 2017-02-22 17:52:33 +00:00
Ted John
6e9d22e99d Use hpp for header files
...as they contain C++ implementation code.
2017-02-22 17:46:10 +00:00
duncanspumpkin
c5e9698f0c Fix remaining wall fence issue 2017-02-21 21:17:10 +00:00
duncanspumpkin
4db8f05515 Replace tabs with spaces. Use coding style for var names 2017-02-21 20:45:59 +00:00
duncanspumpkin
69af723972 Remove more fences 2017-02-21 20:22:03 +00:00
Ted John
a9ffe5bf6d Convert tabs to spaces in KeyboardShortcuts.cpp 2017-02-21 12:11:19 +00:00
LRFLEW
f9c2d83393 Include new config header in macos.m 2017-02-21 01:51:35 -06:00
duncanspumpkin
810bf301f3 Rename map element fence to wall 2017-02-20 21:10:49 +00:00
duncanspumpkin
f54c71b61c Rename functions to wall. Refactor game commands 2017-02-20 21:02:19 +00:00
duncanspumpkin
72d97371b1 Rename to wall.cpp 2017-02-20 20:15:43 +00:00
duncanspumpkin
735f1d42b9 Move fence functions into fence.cpp 2017-02-20 20:09:40 +00:00
Ted John
8ba5db0697 Fix build for some configurations 2017-02-20 20:05:59 +00:00
Ted John
80c4e4309d Remove duplicate entries and in wrong enum 2017-02-20 20:04:05 +00:00
Michał Janiszewski
f6f6d27b4f Make default "User" group not have "passwordless login" permission 2017-02-19 23:28:23 +01:00
Michał Janiszewski
0f40930ec9 Clamp values in vehicle.c to prevent signed overflow 2017-02-19 22:48:27 +01:00
Ted John
a473740efd Fix build errors 2017-02-19 21:41:36 +00:00
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
f73aebe51d Fix #5238: RCT1 import: Rides are initially free when placing them 2017-02-19 11:19:29 +00:00
duncanspumpkin
133266deb0 Label fence offsets 2017-02-19 11:03:05 +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
Michael Steenbeek
c233eedafe Multiply SV4 park value objectives by 10, fixes #5218 2017-02-18 13:40:10 +01: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