1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 16:54:52 +01:00
Commit Graph

42 Commits

Author SHA1 Message Date
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
Duncan Frost
e9005027a5 Fix #706 right click incorrectly using mouse x,y instead of tile 2015-01-19 17:58:01 +00:00
IntelOrca
0ff125b9b3 move across useful map functions and other bits from footpath branch to develop 2015-01-14 23:38:48 +00:00
IntelOrca
3fc10f53bf fix #581 can remove park entrance bug 2014-11-22 20:33:31 +00:00
Duncan Frost
c2e187522c Added update_mowing. Fixed peep thought bug. Fixed viewport footpath bug. 2014-11-15 19:45:49 +00:00
IntelOrca
2b7142e49f attempt to fix #566 and other bugs, also refactor some footpath related functions 2014-11-15 18:22:06 +00:00
Duncan Frost
502b4c4cbd Fix peeps walking on water after entering. Added some known offsets. 2014-11-10 17:23:13 +00:00
IntelOrca
d111c715d6 implement viewport_interaction_get_item_left 2014-11-10 00:40:59 +00:00
IntelOrca
f1cc82f258 prepare for left viewport interaction implementation 2014-11-05 20:28:51 +00:00
IntelOrca
62be863476 refactor viewport interaction functions 2014-11-05 19:42:19 +00:00