Commit Graph

2272 Commits

Author SHA1 Message Date
Kevin Burke 7af5ee6159 Use ride_get_total_length() function 2015-03-31 22:19:01 -07:00
Kevin Burke 0ad89da51c division -> multiplication 2015-03-31 22:11:03 -07:00
Kevin Burke 8c210d834c Decompile var_110 2015-03-31 22:09:05 -07:00
Kevin Burke dd133d4313 move var_10E functions into their own accessor 2015-03-31 22:04:23 -07:00
Kevin Burke fc5cfe252d call new functions 2015-03-31 20:15:41 -07:00
Timmy Weerwag 6cb205c9cc Added footpath_get_coordinates_from_pos 2015-04-01 02:28:47 +02:00
Timmy Weerwag fe799f03a5 Added footpath_bridge_get_info_from_pos 2015-04-01 01:45:18 +02:00
IntelOrca 32cbbb1e35 implement editor_fix_rct1_terrain 2015-03-31 18:24:49 +01:00
IntelOrca 509b2a1c6d implement research_populate_list_random 2015-03-31 17:09:16 +01:00
IntelOrca 4d11def81d implement editor_fix_rct1_scenery, editor_rct1_reset_research and research_remove_non_separate_vehicle_types 2015-03-31 15:17:43 +01:00
Michael Steenbeek 3e5ba44663 Fix #986 2015-03-31 15:35:54 +02:00
IntelOrca 1c1445d14f implement editor_load_rct1_default_objects 2015-03-31 13:06:34 +01:00
Kevin Burke 6f5bbe1588 Add helper functions for accessing data in var_0D5 2015-03-30 21:09:11 -07:00
Kevin Burke 1406002b60 Decompile sub_65DDD1 2015-03-30 21:08:44 -07:00
IntelOrca b1d6c34a00 implement money_effect_create 2015-03-31 03:23:40 +01:00
IntelOrca bbbf928f50 implement duck_remove_all and staff_reset_stats 2015-03-31 02:48:26 +01:00
IntelOrca 851b0819b9 clean up many CALL_PROCs and implement a few functions 2015-03-31 02:21:30 +01:00
Duncan Frost 60c888dd31 Fix mistake introduced during refactor 2015-03-30 19:35:22 +01:00
Duncan Frost 21bf12b393 Fix mechanics not being interrupted from walking to inspections 2015-03-30 18:03:56 +01:00
Duncan Frost e31019428c Fix handymen not watering plants due to tile order. 2015-03-30 17:58:14 +01:00
Duncan Frost 39c87ac8cf Fix peep loading positions for rides with 16bit no_positions 2015-03-29 13:17:39 +01:00
IntelOrca d1e4fe8060 implement scenery_set_default_placement_configuration 2015-03-29 02:29:07 +01:00
Ted John 8ee28119c3 Merge pull request #975 from kevinburke/max-speed-doc
Document the value of the max_speed parameter
2015-03-28 22:44:58 +00:00
Kevin Burke 84159c5d71 Document the value of the max_speed parameter 2015-03-28 13:39:28 -07:00
Michael Steenbeek 7668591591 Add cheat to make all rides destructible 2015-03-28 19:29:19 +01:00
Ted John f28d2c9f2d Merge pull request #953 from Garogolun/proc-6a8388
Decompiled 0x006A8388
2015-03-28 17:22:51 +00:00
IntelOrca 2248e8623d fix cheat window tab images 2015-03-28 17:20:19 +00:00
IntelOrca 43d90e8eb0 Merge branch 'develop' of https://github.com/Gymnasiast/OpenRCT2 into Gymnasiast-develop 2015-03-28 17:14:00 +00:00
Ted John c7ef1fa960 Merge pull request #972 from duncanspumpkin/track_place
Fix right click when track place is on
2015-03-28 14:02:32 +00:00
Duncan Frost ab038f4341 Fix right click when track place is on 2015-03-28 13:37:43 +00:00
Duncan Frost ac23ef2787 Research now resets funding when all rides finished. New string to indicate reasearch complete 2015-03-28 12:42:09 +00:00
Duncan Frost bba61bd891 Fix on ride photos staying flashed 2015-03-27 08:47:47 +00:00
Duncan Frost 0e04189951 Fix potential future bug 2015-03-26 22:08:56 +00:00
Duncan Frost 112290ca0c Fix station lights for races and normal operation rides 2015-03-26 21:37:45 +00:00
Michael Steenbeek 803232642d Add a cheat the remove Six Flags status from rides 2015-03-26 21:52:19 +01:00
Duncan Frost 3e6a16ef4c Label known values 2015-03-26 20:48:42 +00:00
Ted John 796fb81619 Merge pull request #967 from duncanspumpkin/fix_peep
Fix peep loading positions
2015-03-26 18:41:44 +00:00
Ted John 67c9c98f58 Merge pull request #968 from duncanspumpkin/fix_track_save
Fix track save
2015-03-26 18:41:36 +00:00
Duncan Frost 352d6215ff Fix track save at rotation 1 and 3 2015-03-26 18:16:32 +00:00
Duncan Frost a5adb1857c Fix peep loading positions 2015-03-26 18:01:26 +00:00
IntelOrca 758a973b49 remove left over test code in duck update code 2015-03-26 17:59:26 +00:00
IntelOrca fa217c80ae implement duck_update 2015-03-25 23:57:09 +00:00
IntelOrca aacd6b9db0 implement balloon_press and duck_press 2015-03-25 21:42:58 +00:00
IntelOrca 10484ec17a fix bug with peep choosing a vehicle to get in 2015-03-25 20:43:20 +00:00
Ted John 76358fdf31 Merge pull request #961 from duncanspumpkin/peep
Peep
2015-03-25 18:54:22 +00:00
Duncan Frost 71d0610660 Added sub_state_19/20/21. update_ride finished. 2015-03-25 18:36:27 +00:00
Duncan Frost 937d65a639 Fixed rebase errors. Fixed bug in vehicle code 2015-03-25 18:36:27 +00:00
Duncan Frost 3618b354b4 Fix rebase errors 2015-03-25 18:36:26 +00:00
Duncan Frost 862b7546e9 Added sub_state_18 2015-03-25 18:36:25 +00:00
Duncan Frost f252a8c8ac Added sub_state_17 2015-03-25 18:36:24 +00:00
Duncan Frost 251023e605 Small refactor of map_element access 2015-03-25 18:36:24 +00:00
Duncan Frost 4e8fa53ba8 Fix bugs in sub_state_15 and 16 2015-03-25 18:36:23 +00:00
Duncan Frost e81a018a41 Fix rebase errors 2015-03-25 18:36:23 +00:00
Duncan Frost daa2ac742c Added sub_state_16 2015-03-25 18:36:22 +00:00
Duncan Frost 2265e3c373 Added sub_state_15 2015-03-25 18:36:21 +00:00
Duncan Frost 5ca6716f04 Added sub_state_14 2015-03-25 18:36:20 +00:00
Duncan Frost 9a3616a4d0 Added sub_state_12 and 13 2015-03-25 18:36:20 +00:00
Duncan Frost 217e315694 Added update_ride_sub_state_9. 2015-03-25 18:36:19 +00:00
Duncan Frost 608c11b6e5 Added update_ride_sub_state_8 2015-03-25 18:36:18 +00:00
Duncan Frost 6f901d4755 Fix peeps pretending they were ghosts. 2015-03-25 18:36:18 +00:00
Duncan Frost 1dee6ed684 Finish sub_state_7. Direction bug exists. 2015-03-25 18:36:17 +00:00
Duncan Frost ddfdfd37be Added start of sub_state_7 2015-03-25 18:36:17 +00:00
Duncan Frost 3ce979504a Small tidy up of vehicles related to using in pairs 2015-03-25 18:36:16 +00:00
Duncan Frost 4971a69a93 Added sub_state_4, 5, 6, fixed crash caused by too many peeps on ferris wheel 2015-03-25 18:36:15 +00:00
Duncan Frost bfe92e07f4 Fix small potential subtype issue. Finished sub_state_2 2015-03-25 18:36:15 +00:00
Duncan Frost 4be2faaea1 Started peep_update_ride_sub_state_2 2015-03-25 18:36:14 +00:00
Duncan Frost 75701b6a1b Fix peeps not ever being gentle 2015-03-25 18:36:13 +00:00
Duncan Frost 6ecb6a45c8 Add remaining parts of sub_state_0 2015-03-25 18:36:12 +00:00
Duncan Frost a50b0c4200 Label max/min cars in train offset 2015-03-25 18:36:12 +00:00
Duncan Frost b0cc83efc3 Added more of sub_state_1 2015-03-25 18:36:11 +00:00
Duncan Frost 67347e663f Fix peeps missing the first car in a train 2015-03-25 18:36:10 +00:00
Duncan Frost 37c429842f Started peep_update_ride_sub_state_1. Labelled known functions/offsets 2015-03-25 18:36:09 +00:00
Duncan Frost 0d861c6bc9 Actually commit the change 2015-03-25 18:36:09 +00:00
Duncan Frost e67f8a45ad Fix rebase errors. Added PEEP_ACTION_CHECK_TIME. 2015-03-25 18:36:08 +00:00
Duncan Frost 5c8a19a0bf Added remove_peep_from_queue 2015-03-25 18:36:07 +00:00
Duncan Frost 58b33a38e3 Fix bugs in sub_state_0 2015-03-25 18:36:06 +00:00
Duncan Frost 8c2fcf560f Fix gotos by splitting function up 2015-03-25 18:36:06 +00:00
Duncan Frost 98ab1dda24 Finished sub_state_0. Still requires some goto fixing. 2015-03-25 18:36:05 +00:00
Duncan Frost 6855f83b01 Added more of sub_state_0 2015-03-25 18:36:04 +00:00
Duncan Frost 889f208f10 Started peep_leaving_ride_sub_state_0 2015-03-25 18:36:03 +00:00
Duncan Frost 59a810ef15 Added start of peep_update_fixing 2015-03-25 18:36:03 +00:00
Duncan Frost 5361da6f73 Fix bugs in new code 2015-03-25 18:36:02 +00:00
Duncan Frost 6a43f00349 Added peep_update_patrolling_find_watering 2015-03-25 18:36:01 +00:00
Duncan Frost 7a63749850 Added peep_update_patrolling_find_bin 2015-03-25 18:36:01 +00:00
Duncan Frost 356079834a Added start of peep_update_patrolling 2015-03-25 18:36:00 +00:00
Duncan Frost 6b239bca4f Added peep_update_heading_to_inspect 2015-03-25 18:35:59 +00:00
Duncan Frost ae462adc8f Added peep_update_answering 2015-03-25 18:35:59 +00:00
Duncan Frost 4359f4ce1b Added peep_generate 2015-03-25 18:35:58 +00:00
Duncan Frost d453a2d9da Added peep_sprite_remove 2015-03-25 18:35:57 +00:00
Duncan Frost 75d5ba07bf Fix bug in umbrella code. Now calls new peep_update_sprite_type code. 2015-03-25 18:35:57 +00:00
Duncan 7f6b0e0c00 Added remaining part of peep_update_sprite_type
Still requires to be linked into the main code.
2015-03-25 18:35:56 +00:00
Duncan Frost 17bc13f1a1 Started 69b8cc 2015-03-25 18:35:55 +00:00
Ted John ee1148eef9 Merge pull request #960 from duncanspumpkin/fix_919
Fix 919 and 909
2015-03-25 18:35:01 +00:00
Duncan Frost 4bdf05b59f Labelled next_in_quadrant 2015-03-25 18:34:21 +00:00
Duncan Frost d624dcfbd4 Added more of rotation 0 paintstruct setup 2015-03-25 18:34:20 +00:00
Duncan f12d21c6bb Bug in insert new thought
Due to missing cast/incorrect type invalid actions (0xFF) may be set as current action. It is unlikely this would make an issue as it would set the action to a still invalid action but it did not match the assembly.
2015-03-25 18:34:19 +00:00
Duncan Frost d11ddc3ec2 Labeled found sprite and peep offsets. 2015-03-25 18:34:19 +00:00
Duncan Frost b593dfbcd0 Fix #909. Ride name arguments incorrectly acessed 2015-03-25 18:30:59 +00:00
Duncan Frost ef95597374 Fix research ride not selecting when clicked 2015-03-25 18:20:18 +00:00
IntelOrca 63561f396a fix window update event call for old window code 2015-03-25 18:01:03 +00:00