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

5958 Commits

Author SHA1 Message Date
Michał Janiszewski
17fb150ec0 Limit arguments to map functions
While there is nothing wrong with the code as it is now, some
unexpected arguments can cause entering a loop which will flood the
log and possibly stall the game.
2016-01-15 23:29:51 +01:00
IntelOrca
2681cc792b Merge branch 'develop' of https://github.com/OpenRCT2/OpenRCT2 into develop 2016-01-15 20:21:15 +00:00
IntelOrca
666bb03cc3 fix #2734: forgot to correct signature arguments for clip_drawpixelinfo 2016-01-15 20:20:29 +00:00
Ted John
b4125e87cb Merge pull request #2731 from janisozaur/ride-type
Validate ride type to create
2016-01-15 20:17:57 +00:00
Ted John
36513c9431 Merge pull request #2730 from janisozaur/config
Release config on closing to limit leaked memory
2016-01-15 20:12:29 +00:00
Ted John
2082023db7 Merge pull request #2736 from janisozaur/set-staff-patrol
Check input arguments for set staff patrol command
2016-01-15 20:10:53 +00:00
duncanspumpkin
10f85322ae Fix incorrect rct2 address comments 2016-01-15 19:17:00 +00:00
Michał Janiszewski
35147bd973 Check input arguments for set staff patrol command 2016-01-15 19:57:57 +01:00
Michał Janiszewski
836343b194 Unload graphics when done 2016-01-15 19:19:10 +01:00
Michał Janiszewski
7dae861dab Unload all objects on dispose to stop memory leaks 2016-01-15 16:37:27 +01:00
Michał Janiszewski
260fa88bae Validate ride type to create 2016-01-15 15:25:04 +01:00
Michał Janiszewski
ab3d2a1ad9 Release config on closing to limit leaked memory 2016-01-15 14:55:36 +01:00
Ted John
57420cbc66 Merge Localisation/master into OpenRCT2/develop. 2016-01-15 04:00:19 +00:00
Ted John
45225cfa06 Merge pull request #2718 from OpenRCT2/normalise-platform-guards
Normalise platform guards with SDL2
2016-01-14 21:53:27 +00:00
IntelOrca
f1f0b76a2b remove cdecl original call macros 2016-01-14 20:21:10 +00:00
IntelOrca
730463dbbb remove rct2_malloc, rct2_realloc and rct2_free 2016-01-14 20:18:55 +00:00
IntelOrca
b7484db239 refactor clip_drawpixelinfo to not allocate memory 2016-01-14 20:12:44 +00:00
IntelOrca
cdee534eb1 use SDL2's platform defines to normalise platform guards 2016-01-14 20:12:43 +00:00
duncanspumpkin
e68ae821db Fix #2717. Total air time now reset before testing.
This would cause total air time to become a very large number if you made changes to a ride and retested it
2016-01-14 18:56:29 +00:00
duncanspumpkin
937de36e49 Fix #2719. Vehicles getting stuck in unloading passengers mode 2016-01-14 18:41:15 +00:00
duncanspumpkin
23dbde38e2 Refactor. Split golf vehicle update code into seperate function 2016-01-14 18:25:41 +00:00
duncanspumpkin
d3cb8c4ef6 Fix #2720. Golf peeps no longer walk incorrectly to the hole. 2016-01-14 18:04:07 +00:00
duncanspumpkin
f2b70b74aa Fix incorrect common format offset causing issues when changing colour scheme 2016-01-14 17:47:06 +00:00
Ted John
0450aa0057 Merge Localisation/master into OpenRCT2/develop. 2016-01-14 04:00:19 +00:00
Ted John
608c90db12 Merge pull request #2707 from marijnvdwerf/share-currency-detection
Merge currency detection and add missing currencies
2016-01-13 20:47:23 +00:00
Marijn van der Werf
0825b9bf62 Share currency detection across platforms 2016-01-13 21:38:10 +01:00
Ted John
370a06f74a Merge pull request #2716 from marijnvdwerf/min-window-size
Set minimal window size to 720×480
2016-01-13 18:56:33 +00:00
Marijn van der Werf
452acd7627 Set minimal window size 2016-01-13 19:55:35 +01:00
Ted John
69bc5e1c94 Merge pull request #2715 from janisozaur/build-id
Drop number from build ID.
2016-01-13 18:07:21 +00:00
Michał Janiszewski
1e5f59df29 Drop number from build ID. 2016-01-13 14:33:19 +01:00
Ted John
38c52e28dc Merge pull request #2711 from marijnvdwerf/add-cmd-modifier
Allow using CMD as shortcut modifier
2016-01-13 12:45:21 +00:00
Ted John
56b5bd1ace Merge pull request #2713 from janisozaur/ride-validity
Check for ride validity in game commands
2016-01-13 12:45:07 +00:00
Marijn van der Werf
138f0139c8 Add PLATFORM_MODIFIER as alias for CMD/CTRL 2016-01-13 11:06:25 +01:00
Michał Janiszewski
ff2cdd4b1d Check for ride validity in game commands 2016-01-13 10:51:43 +01:00
Ted John
a557179b06 Merge pull request #2709 from OpenRCT2/set-rct2-path
Add ability to set RCT2 path by command line.
2016-01-13 00:04:49 +00:00
IntelOrca
3751c2b014 use SDL2 for Stopwatch class 2016-01-13 00:04:27 +00:00
IntelOrca
1c063e74b0 fix peep.c warnings 2016-01-12 23:54:01 +00:00
IntelOrca
ebd78799c2 correct UK spelling of Haunted Harbour RCT1AA scenario 2016-01-12 23:51:38 +00:00
LRFLEW
02c03d225c Added Path class to Xcode project 2016-01-12 23:10:19 +00:00
IntelOrca
8cf53c12af add ability to set RCT2 path by command line 2016-01-12 23:10:18 +00:00
IntelOrca
df2b793c0a refactor console error output 2016-01-12 23:10:17 +00:00
Marijn van der Werf
df9880247a Add bugfix to changelog 2016-01-12 23:18:24 +01:00
Marijn van der Werf
a85b2d3982 Show ALT as OPTION in keyboard shortcut list 2016-01-12 23:05:03 +01:00
Marijn van der Werf
2d53c28342 Use CMD for default shortcuts on OS X 2016-01-12 22:59:29 +01:00
Marijn van der Werf
623952d966 Only perform command key state detection on OS X 2016-01-12 22:53:01 +01:00
Marijn van der Werf
dd8239f684 Add space after 'CMD + ' 2016-01-12 22:52:34 +01:00
Marijn van der Werf
72739e8cd8 Allow setting CMD as shortcut key 2016-01-12 22:29:36 +01:00
duncanspumpkin
d8d706cc58 Fix #2700. Friction sound no longer goes very quite at high speeds.
Also labelled friction_sound_id and small refactor
2016-01-12 17:55:19 +00:00
duncanspumpkin
75ed781a5c Fix part of #2700. Reverse freefall now correctly slows down on reverse. 2016-01-12 17:43:47 +00:00
duncanspumpkin
b5b6e93a03 Fix #2701. Rotated trains no longer disobey physics when crashing. 2016-01-12 17:32:16 +00:00