1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-29 09:44:52 +01:00
Commit Graph

59 Commits

Author SHA1 Message Date
Ted John
aefa481b3d Integrate locals in viewport_interaction.c 2016-09-14 12:49:20 +01:00
Ted John
4350e53392 Integrate gS6Info 2016-09-10 18:30:53 +01:00
Michał Janiszewski
163e314379 Remove unused or set-but-not-read variables 2016-09-07 13:39:29 +01:00
Marijn van der Werf
5204fb0ce9 Clean up string and sprite ID's (#3977) 2016-07-14 14:07:49 +02:00
CraigCraig
3f9afb9744 Various Spellchecks (#3741) 2016-05-26 09:49:19 +02:00
Ted John
25ac99e04a add variable for gS6Info 2016-05-20 23:26:19 +01:00
Martin Černáč
3bdc06dc25 Refactor hard-coded strings to use string_ids.h constants (and couple sprites too) (#3658) 2016-05-18 21:51:37 +01:00
Ted John
8efe699754 integrate gMapTooltipFormatArgs 2016-05-18 00:02:26 +01:00
Ted John
3d47f9869f write get entry methods for scenery and path 2016-05-15 16:09:26 +01:00
Hielke Morsink
8c1395bd46 declaring local variables where needed instead of at the top (#3599) 2016-05-15 10:25:24 +01:00
janisozaur
68bad6505c Add and correct licence headers to all sources (#3108) 2016-05-04 18:24:41 +01:00
Ted John
ee509caf35 integrate game paused variable and refactor 2016-04-23 13:34:55 +01:00
Ted John
4cdb2df9dc integrate screen variables 2016-04-23 11:16:46 +01:00
Ted John
66855e41e5 add global macro: gParkNameArgs 2016-04-23 02:28:11 +01:00
Ted John
fda4542d63 add global macro: gParkName 2016-04-23 01:40:11 +01:00
Ted John
1b3f46f960 integrate game command error string variables
- gGameCommandErrorTitle
- gGameCommandErrorText
2016-04-15 17:54:46 +01:00
IntelOrca
1c0a78ace2 fix #3204: can't right click track in unowned land 2016-03-31 22:56:13 +01:00
Michał Janiszewski
6d6f9f3c23 Refactor rides to be only accessible with getters
This changes how rides are accessed from macros to getter functions.
2016-01-23 01:13:36 +01:00
IntelOrca
e94b7d5338 fix unable to right click to remove scenery
regression introduced f0adf90660
2016-01-05 20:53:08 +00:00
LRFLEW
db76615af0 Fixed typo in viewport_interaction.c 2016-01-05 00:17:10 -07:00
IntelOrca
f0adf90660 integrate variable: gInputFlags 2016-01-04 22:53:03 +00:00
Hielke Morsink
f04c97fbc1 Getting path scenery type and index using helper functions throughout the entire project. 2016-01-01 21:28:53 +01:00
Michał Janiszewski
7d0ce00bab Strip all whitespace 2015-10-20 20:48:51 +02:00
duncanspumpkin
ee1e71f287 Fix loadlandscape breaking enabled tabs
Issue was caused by not calling sub_6DFED0 when loading the landscape. I assume in vanilla this would happen as part of the loading but due to the way loadsave now works it doesn't happen. In the process I also labelled the offset for editor step.
2015-10-15 22:16:27 +01:00
Gymnasiast
4d7a81bfe0 Remove unnecessary duplicate address, use more string constants 2015-08-27 16:44:18 +02:00
IntelOrca
3a07af140b Implement more peep path finding 2015-07-28 18:33:46 +01:00
IntelOrca
d5ffaefdf0 add better disable clearance cheat 2015-07-10 21:32:11 +01:00
IntelOrca
18f33f806c implement sub_68ADBC 2015-06-20 16:24:38 +01:00
IntelOrca
3140042b1d fix #1391 2015-06-18 22:35:08 +01:00
Gymnasiast
7ed434a804 Rework land ownership cheat into sandbox mode 2015-06-09 17:19:05 +02:00
Duncan Frost
fb1c8c4e42 Check against invalid tiles correctly 2015-06-03 18:02:41 +01: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
e8faa5e304 Forgot viewport_interaction 2015-05-07 14:31:34 -04:00
Robert Jordan
c25ef45827 Named 2 input flags, and dropdown fix
Named INPUT_FLAG_1 to INPUT_FLAG_DROPDOWN_STAY_OPEN
Named INPUT_FLAG_2 to INPUT_FLAG_DROPDOWN_MOUSE_UP

placed RCT2_ADDRESS_INPUT_FLAGS where valid and replaced all bitwise
references to it with appropriate input flags.

Changed ride view dropdown to hold only as it should be.
2015-05-07 14:31:11 -04:00
Duncan Frost
503b330eb8 Fix bugs in viewport interaction and loadsave dialog
Part of the issue was comparing an int litteral when it should have been a short but the main issue was due to a wrong mask in the viewport interaction code.
Loadsave MS dialog box should now work correctly.

Fixes #1040.
Fixes #1039.
2015-05-05 19:11:35 +01:00
Timmy Weerwag
10c4722a86 Deciphered flags and z param of get_map_coordinates_from_pos 2015-05-03 13:54:08 +02:00
zsilencer
ed709b8353 game_command_remove_large_scenery 2015-04-25 09:21:11 -06:00
Duncan Frost
d0420eef0b Refactor to use defined pathBit entry address. 2015-04-22 21:03:44 +01:00
Duncan Frost
b3be906270 Added remaining scenery functions 2015-04-21 18:19:11 +01:00
Duncan Frost
e8d27b0424 Finished scenery repaint tool down
Renamed map_element variables that were badly named
Changed scenerymultiple(large) to use the correct size for type. This will cause merge issues with anyone working on large scenery.
2015-04-17 17:36:28 +01:00
Timmy Weerwag
fe799f03a5 Added footpath_bridge_get_info_from_pos 2015-04-01 01:45:18 +02:00
IntelOrca
aacd6b9db0 implement balloon_press and duck_press 2015-03-25 21:42:58 +00:00
Duncan Frost
bfe92e07f4 Fix small potential subtype issue. Finished sub_state_2 2015-03-25 18:36:15 +00:00
Ted John
eac4e28efd Merge pull request #952 from Garogolun/footpath-functions
Decompiled some footpath stuff
2015-03-23 21:03:33 +00:00
IntelOrca
745614c959 refactor misc. sprites and implement jumping_fountain_begin 2015-03-23 10:39:47 +00:00
Timmy Weerwag
d4f495cc0e Renamed sub_6A7831 to footpath_provisional_update 2015-03-22 22:18:36 +01:00
IntelOrca
5b4ec3621a refactor many functions to use rct_xy_element 2015-01-30 19:20:19 +00:00
IntelOrca
36971b29cb implement game_command_set_park_name and game_command_remove_park_entrance 2015-01-27 21:18:41 +00:00
IntelOrca
e0dbbd4e25 implement viewport_interaction_remove_park_entrance 2015-01-27 14:17:49 +00:00
IntelOrca
8774731f03 refactor map element iteration 2015-01-22 00:19:05 +00:00