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

8696 Commits

Author SHA1 Message Date
Richard Jenkins
d6b32591ae Implement guard function for decrementing guest counts
* Implement guard function for decrementing guest counts

* Implement separate functions for incr/decr of peep count globals

* assert() on attempt to increment guest counts over UINT16_MAX

* Increase network version
2017-05-11 18:31:29 +02:00
CraigCraig
58deb3a54a Grammar, readability, and spelling fixes
[ci skip]
2017-05-11 11:45:59 +02:00
Richard Jenkins
86d8863496 Fix #5456: Paths with non-ASCII characters mishandled on macOS (#5463) 2017-05-11 09:43:53 +02:00
Ted John
faba009f24 Merge pull request #5072 from X123M3-256/g2_offsets
Add support for x/y offsets in g2.dat
2017-05-09 22:16:50 +01:00
Michael Steenbeek
a53b01d5b9 Remove magic numbers and Americanisms 2017-05-08 23:54:38 +02:00
Michał Janiszewski
bccedd3b1f Change network version after f9acdcb02 2017-05-08 23:52:03 +02:00
Richard Jenkins
563cd78ef7 Fix #5449: Underflow of gNumGuestsHeadingForPark in SC4 import 2017-05-08 23:49:02 +02:00
Ted John
f9acdcb02d Use callback mechanism in case server rejects command 2017-05-08 23:46:50 +02:00
Gymnasiast
2bb3a297b4 Do not close new campaign window when starting a campaign results in an error, fixes #4810 2017-05-08 23:46:50 +02:00
Craig Craig
9dd820e2e7 Spelling fixes 2017-05-08 08:30:50 +02:00
Ted John
c4d2cd175d Use utf8 instead of char for platform_get_absolute_path 2017-05-07 19:17:11 +01:00
Ted John
e310956e81 Update command line help 2017-05-07 19:15:27 +01:00
Ted John
b789b17c14 Fix sprite building 2017-05-07 16:19:55 +01:00
Ted John
ae3110e09d Remove exit call, probably no longer necessary 2017-05-07 01:01:07 +01:00
X7123M3-256
03606adbeb Fix more formatting 2017-05-07 01:01:07 +01:00
Gymnasiast
3d9e6a4e2d Fix formatting 2017-05-07 01:01:07 +01:00
Ted John
9a42edc695 Fix return of exit code 2017-05-07 01:01:07 +01:00
X123M3-256
52d2997a9f Fix more indentation 2017-05-07 01:01:07 +01:00
X123M3-256
dbd0067091 Remove logging 2017-05-07 01:01:07 +01:00
X123M3-256
7f74e07f2d Log path to sprite file 2017-05-07 01:01:07 +01:00
X123M3-256
7d2490710c Remove const 2017-05-07 01:01:06 +01:00
X123M3-256
d89fc32864 Use get_directory_path instead of dirname() 2017-05-07 01:01:06 +01:00
Ted John
7380c789e0 Implement platform_get_absolute_path for Windows 2017-05-07 01:01:06 +01:00
Ted John
afb85fa3d7 Fix warning in cmdline_sprite.c 2017-05-07 01:01:06 +01:00
X7123M3-256
2769550415 Fix more indentation 2017-05-07 01:01:06 +01:00
X7123M3-256
5e7ca2207e Fix indentation 2017-05-07 01:01:05 +01:00
X7123M3-256
aaf16a7ec5 Amend usage message 2017-05-07 01:01:05 +01:00
X7123M3-256
92c8da4091 Use 16 bit integers for offsets 2017-05-07 01:01:05 +01:00
X7123M3-256
96856028bb Fix misplaced characters 2017-05-07 01:01:05 +01:00
X7123M3-256
4d46a255e0 Load sprite information from JSON file 2017-05-07 01:01:05 +01:00
X7123M3-256
3b12e4cc66 Add function to get an absolute path from a relative one 2017-05-07 01:01:05 +01:00
X7123M3-256
e496271859 Add apparently missing commands to this list 2017-05-07 01:01:05 +01:00
X7123M3-256
942ea5be4b Fix segfault when entered command doesn't exist 2017-05-07 01:01:05 +01:00
X7123M3-256
424bb406c3 Add support for x/y offsets to append command 2017-05-07 01:01:05 +01:00
Richard Jenkins
f2debcee44 Fix #4748: No way to see owned rights after #4701
This partially reverts #4701 - the land rights button in the park window will always be visible, and if no construction rights are available to buy, all owned rights will be displayed.
2017-05-06 22:53:19 +01:00
Richard Jenkins
e2f51d314d Fix #5440: Autosaves in landscape folder aren't cleaned up 2017-05-06 21:32:13 +01:00
Richard Jenkins
fc873f2ce0 Fix #4748: No way to see owned rights after #4701
This partially reverts #4701 - the land rights button in the park window will always be visible, and if no construction rights are available to buy, all owned rights will be displayed.
2017-05-06 19:14:04 +01:00
Ted John
b703520311 Merge pull request #5336 from IntelOrca/refactor/nosdl/phase-0
Remove SDL2 dependencies: Phase 0
2017-05-06 18:07:42 +01:00
zaxcav
268f6d9ac0 Minor improvements to the path finding debugging (#5443) 2017-05-06 15:51:47 +01:00
Michał Janiszewski
04b4ae429e Fix platform_get_ticks for POSIX
Previously it did not include seconds
2017-05-05 22:25:47 +02:00
Michał Janiszewski
e103a90d59 Update network version in wake of 14ec639 2017-05-05 21:21:58 +02:00
Richard Jenkins
14ec639b47 Fix #5433: Strange Umbrella Pricing Bug
Secondary shop item pricing was being overwritten by on-ride photo price when placing shop. (#5436)
2017-05-05 18:08:02 +01:00
Michał Janiszewski
a25ce1e646 Make Network::server_connection dynamically instantiated 2017-05-05 16:54:44 +02:00
Michał Janiszewski
03d1115425 Fix macOS version detection macros again 2017-05-05 10:37:41 +02:00
Michał Janiszewski
7fc9bf62ce Fix macros detecting macOS version 2017-05-05 08:46:03 +02:00
Richard Jenkins
28eb5fb279 Move mach_timebase_info init to core_init() 2017-05-05 00:40:07 +01:00
Michał Janiszewski
599af1c410 Fix object entry empty check (#5435) 2017-05-05 00:02:30 +01:00
Richard Jenkins
f8b79a4a3f Cache mach_base_info 2017-05-04 22:33:32 +01:00
Richard Jenkins
3d6f13da13 Whitespace fix 2017-05-04 22:10:00 +01:00
Richard Jenkins
e1d964cb26 Implement platform_get_ticks() for macOS <10.12 2017-05-04 22:00:25 +01:00