duncanspumpkin
3865bf9381
Fix #2735 . 1/4 tile scenery can now correctly be recoloured.
...
Issue was caused by an assumption made during writing this function.
2016-01-16 10:55:36 +00:00
duncanspumpkin
06fd1436ca
Fix #2741 . 2 functions were missed during object_load refactor.
2016-01-16 10:21:15 +00:00
duncanspumpkin
599d806113
Fix #2740 . Swinging animations should now work correctly
2016-01-16 10:11:56 +00:00
duncanspumpkin
3b760ba39c
Fix windows build. Now uses the correct ISO C strdup function.
2016-01-16 09:49:39 +00:00
Duncan
30594f28e9
Merge pull request #2714 from LRFLEW/sub_69A997
...
Decompiled sub_69A997
2016-01-16 09:43:31 +00:00
Ted John
e69e384d43
Merge pull request #2692 from marijnvdwerf/use-named-addresses
...
Replace known addresses with constants, globals and wrapper functions
2016-01-15 22:59:13 +00:00
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
LRFLEW
758c2d3d3e
Decompiled sub_69A997
2016-01-15 14:43:10 -07: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
Marijn van der Werf
2e72d3c447
Bugfix: get `rideIndex` from current map element
2016-01-15 21:03:38 +01:00
Marijn van der Werf
db34cf1515
Rename struct members to match identified address names
2016-01-15 21:03:17 +01:00
Marijn van der Werf
94e47be3e3
Use `ride_type_has_flag` for checking ride type flags
2016-01-15 21:02:39 +01:00
Marijn van der Werf
6568798af7
Use globals instead of addresses where applicable
2016-01-15 21:01:49 +01:00
Marijn van der Werf
98b5ad1bf4
Replace known addresses with constants
2016-01-15 21:01:34 +01: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
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
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
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
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
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