1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 19:13:07 +01:00
Commit Graph

8398 Commits

Author SHA1 Message Date
Ted John
cdffd6116d Fix non-network builds 2017-03-08 20:45:49 +00:00
Ted John
e960da95e2 Add a workaround for MINGW 2017-03-08 20:39:45 +00:00
Ted John
e81094ee60 Fix loading parks by command line with non standard extensions 2017-03-08 19:06:42 +00:00
Ted John
0ec43e3611 Improve String::Split and add tests 2017-03-08 19:06:42 +00:00
Ted John
7ccce750a6 Use std::string instead of char * for UriHandler 2017-03-08 19:06:42 +00:00
Ted John
925d64249f Add openrct2:// uri scheme support
This sets up a URI scheme for openrct2 for Windows by adding the necessary registry keys. This is done on startup every time to keep the binary location up to date. URI handling currently supports joining a server.
2017-03-08 19:06:42 +00:00
Ted John
5a850cd155 Add some useful string functions 2017-03-08 19:06:42 +00:00
Michał Janiszewski
8087fc6a17 Bump network version as a result of 5bd44a6d3f 2017-03-07 22:49:33 +01:00
duncanspumpkin
5bd44a6d3f Fix #5265. Queue TV's now correctly detected.
Due to a mistake when implementing only ghost queue TV's were used for increasing peep happiness
2017-03-07 21:13:45 +00:00
duncanspumpkin
8bd374f9dd Fix #5275. Door animations now play correctly.
Mistake caused when refactoring. I did some copy paste coding and forgot to test it. On top of that mistakenly thought 0x30 >> 3 = 12 when it equals 6.
2017-03-07 19:44:14 +00:00
Michał Janiszewski
7341f4aadd Remove trailing whitespace
[ci skip]
2017-03-07 20:38:11 +01:00
Duncan
bb938054c7 Merge pull request #5274 from IntelOrca/refactor/wall-cpp
Clean up wall.cpp
2017-03-07 19:10:22 +00:00
LRFLEW
8e55b6ef22 Make the INI keys case insensitive 2017-03-06 09:22:44 -06:00
Ted John
c5a999415c Clean up wall.cpp
* Trim trailing spaces
* Tab to space
* Conform more to C++ code style
2017-03-04 12:13:24 +00:00
wolfreak99
1549467c6c Fix "allow more peep spawns" 2017-03-03 16:48:35 +01:00
Joël Troch
8167ff9678 Fix #1730: Add keyboard shortcuts for track construction (#5200) 2017-03-03 09:35:42 +01:00
wolfreak99
38f264cce8 Allow for more peep spawns in the future 2017-03-02 23:02:54 +01:00
wolfreak99
c6b5053261 Add cooldowns to help prevent mass demolishing 2017-02-28 09:31:26 +01:00
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