1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-03 18:07:53 +01:00
Commit Graph

68 Commits

Author SHA1 Message Date
Ted John
b43ff24c3e Use non _t versions of int for consistency 2016-09-14 23:37:01 +01:00
Michał Janiszewski
f8145b6edc Refactor inclusion of addresses.h
addresses.h is now only included when necessary, limiting scope as much
as possible.
2016-09-03 21:25:19 +01:00
Marijn van der Werf
76b470ac26 Integrate data at 0x0098D7E0 2016-08-12 22:37:05 +02:00
Marijn van der Werf
71c1f13ffa Integrate 0x0098D8B4 2016-08-12 22:36:39 +02:00
Michael Steenbeek
ff7e119b46 Name some track design flags 2016-07-31 12:02:38 +01:00
Marijn van der Werf
5204fb0ce9 Clean up string and sprite ID's (#3977) 2016-07-14 14:07:49 +02:00
Ted John
c879638f22 integrate ground flag variables 2016-05-17 20:51:11 +01:00
Ted John
eb19ca8626 integrate variable: gFootpathPrice 2016-05-16 19:05:37 +01:00
Ted John
6df1b9ac98 stop resetting the selected footpath
Fixes #2931 - in multiplayer when client joins
Fixes #3606 - on autosave
2016-05-15 19:08:02 +01:00
Ted John
6f7db1f9b6 rename rct_path_type to rct_footpath_entry 2016-05-15 16:11:34 +01:00
Ted John
3d47f9869f write get entry methods for scenery and path 2016-05-15 16:09:26 +01:00
Ted John
81efb92d53 integrate map selection variables 2016-05-14 00:54:13 +01:00
janisozaur
68bad6505c Add and correct licence headers to all sources (#3108) 2016-05-04 18:24:41 +01:00
Ted John
fc938892d8 integrate variables for command position and expenditure 2016-04-24 17:53:39 +01:00
Ted John
4cdb2df9dc integrate screen variables 2016-04-23 11:16:46 +01:00
Ted John
307cb9e08b add global macro: gParkFlags 2016-04-23 00:51:22 +01:00
Ted John
f73e3ab0e1 integrate footpath construction variables
- uint8 gFootpathProvisionalFlags
- rct_xyz16 gFootpathProvisionalPosition
- uint8 gFootpathConstructionMode
- uint16 gFootpathSelectedId
- uint8 gFootpathSelectedType
- rct_xyz16 gFootpathConstructFromPosition
- uint8 gFootpathConstructDirection
- uint8 gFootpathConstructSlope
- uint8 gFootpathConstructValidDirections

Also fix some previous variable integrations that had been forgotten to change.
2016-04-15 19:16:48 +01:00
Ted John
84edd049d9 integrate current tool variables:
- gCurrentToolId
- gCurrentToolWidget
2016-04-15 18:26:47 +01:00
Ted John
1b3f46f960 integrate game command error string variables
- gGameCommandErrorTitle
- gGameCommandErrorText
2016-04-15 17:54:46 +01:00
IntelOrca
f0adf90660 integrate variable: gInputFlags 2016-01-04 22:53:03 +00:00
IntelOrca
785d54aa04 fix #2502: Update current pressed footpath direction when camera rotates 2015-12-19 22:54:15 +00:00
Kyle Kirby
caf07c2064 Clean up the comments a litte
• Make comment heads be /**
• Make rct2 addresses be double spaced indented
• Make there be a space afte rct2: and the address
• Make single-line rct2 addresses be full block comments
• Move description of method to top of comment
2015-12-11 16:19:46 -06:00
Dom Light
bb62b7561a Replace some uses of play_sound_panned with play_sound_at_location 2015-11-18 00:03:15 +00:00
Dom Light
e9b7e41635 Refactor audio_sound_play_planned 2015-11-17 23:05:24 +00:00
Dom Light
3a8b25a0ee Sanitize audio.h 2015-11-17 01:05:14 +00:00
duncanspumpkin
bbe2a34714 Fix #2151.
I think this fixes the issue but its hard to understand from the original
issue.
2015-11-03 14:39:33 +00:00
Michał Janiszewski
c0e2a5c7be Add get_current_rotation function and DEBUG_LEVEL macros 2015-11-02 22:58:15 +01:00
Michał Janiszewski
7d0ce00bab Strip all whitespace 2015-10-20 20:48:51 +02:00
Gymnasiast
4d7a81bfe0 Remove unnecessary duplicate address, use more string constants 2015-08-27 16:44:18 +02:00
medsouz
7071bd9353 Document more addresses
Created defines for all the memory addresses I could find in peep/staff.c
and updated everywhere they're being used.
2015-08-16 18:25:17 -04:00
IntelOrca
d5ffaefdf0 add better disable clearance cheat 2015-07-10 21:32:11 +01:00
IntelOrca
f906391c9d remove registers from window events and changed to typed signatures 2015-07-10 01:39:16 +01:00
Gymnasiast
afb49855dd Correct &-operation not in brackets 2015-06-09 20:11:48 +02:00
Gymnasiast
7ed434a804 Rework land ownership cheat into sandbox mode 2015-06-09 17:19:05 +02:00
IntelOrca
ed86db0635 fix sign issues with selection rectangle 2015-06-09 14:47:26 +01:00
Duncan Frost
fb1c8c4e42 Check against invalid tiles correctly 2015-06-03 18:02:41 +01:00
Robert Jordan
765bf976ee Renamed Colour Schemes to Themes
Themes window now opens to settings/presets tab so it's less confusing
for others.
Can no longer change default presets, you get a warning when you try.
now stores themes in themes folder.
Now clips theme names.
2015-06-01 11:02:09 -04:00
Robert Jordan
41171aa304 Resolved Merge Conflicts 2015-05-30 16:00:13 -04:00
Duncan Frost
b2caeaf531 Refactor of code slightly
Since get_map_coordinates_from_pos returns sint16 values I changed it so that it didn't use sint32 values.
2015-05-30 06:27:52 +01:00
Robert Jordan
dc1e38180e Starting work on colour schemes config settings 2015-05-29 12:04:53 -04:00
Timmy Weerwag
10c4722a86 Deciphered flags and z param of get_map_coordinates_from_pos 2015-05-03 13:54:08 +02:00
Timmy Weerwag
fe799f03a5 Added footpath_bridge_get_info_from_pos 2015-04-01 01:45:18 +02:00
Timmy Weerwag
af8857dd32 Replace more occurrences of addresses with new name 2015-03-24 22:04:22 +01:00
Timmy Weerwag
6c264195ce Small typo; use map_element_get_type 2015-03-24 15:12:09 +01:00
Timmy Weerwag
8bc40cd48c Documented selection globals a bit 2015-03-23 23:26:51 +01:00
Timmy Weerwag
66baebb2fc Named map arrow globals 2015-03-23 23:26:50 +01:00
Timmy Weerwag
498810cc46 Decompiled 0x006A8388 2015-03-23 23:26:49 +01:00
Timmy Weerwag
cf8034a29e Better comments and coding style 2015-03-23 15:32:03 +01:00
Timmy Weerwag
945f60c297 Made a wrong assumption
z is not always the same as the construct_path_slope global
2015-03-23 12:47:16 +01:00
Timmy Weerwag
2298a32d89 Decompiled 6A79B7 (window_footpath_construct) 2015-03-23 02:59:46 +01:00