1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 20:43:04 +01:00
Commit Graph

167 Commits

Author SHA1 Message Date
Duncan Frost
352d6215ff Fix track save at rotation 1 and 3 2015-03-26 18:16:32 +00:00
Duncan Frost
937d65a639 Fixed rebase errors. Fixed bug in vehicle code 2015-03-25 18:36:27 +00:00
Duncan Frost
251023e605 Small refactor of map_element access 2015-03-25 18:36:24 +00:00
Duncan Frost
2265e3c373 Added sub_state_15 2015-03-25 18:36:21 +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
bfe92e07f4 Fix small potential subtype issue. Finished sub_state_2 2015-03-25 18:36:15 +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
37c429842f Started peep_update_ride_sub_state_1. Labelled known functions/offsets 2015-03-25 18:36:09 +00:00
Duncan Frost
5c8a19a0bf Added remove_peep_from_queue 2015-03-25 18:36:07 +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
4bdf05b59f Labelled next_in_quadrant 2015-03-25 18:34:21 +00:00
Duncan Frost
d11ddc3ec2 Labeled found sprite and peep offsets. 2015-03-25 18:34:19 +00:00
Kevin Burke
4806b00a95 Use flags 2015-03-23 08:34:10 -07:00
Kevin Burke
23bfd13ba9 replace ride_window_invalidate flags with constants 2015-03-23 08:33:07 -07:00
Kevin Burke
09431278e4 Name the ride window-invalidate flag 2015-03-23 08:33:07 -07:00
Ted John
f33dd05590 Merge pull request #950 from kevinburke/fix-reliability
return the unreliability factor (not 0)
2015-03-22 20:16:07 +00:00
Kevin Burke
3419d7bdc6 return the unreliability factor (not 0) 2015-03-22 13:00:37 -07:00
Ted John
8013807f68 Merge pull request #948 from kevinburke/downtime
Name var_199 as the downtime parameter
2015-03-22 19:32:34 +00:00
Kevin Burke
6423c857a7 Name var_199 as the downtime parameter 2015-03-22 12:28:55 -07:00
Duncan Frost
653ea21917 Fix spiral slide not being properly redrawn 2015-03-22 17:46:00 +00:00
Ted John
956d6688d3 Merge pull request #946 from kevinburke/var_198_docs
Name reliability variables
2015-03-22 15:40:16 +00:00
Kevin Burke
5fc72d354d Rename fair_value to value 2015-03-22 08:38:42 -07:00
Kevin Burke
3862a85666 Name reliability variables
- Rename var_146 to fair_value (it is not reliability)
- Add a helper method get_age_penalty which computes the age penalty for
  a ride.
- Adds a constant for a ride's initial reliability
- Names a subroutine
2015-03-22 08:21:13 -07:00
IntelOrca
d67335d0c7 implement remaining map animation invalidate event handlers and create map animation 2015-03-22 01:19:23 +00:00
Duncan Frost
b7bd2aee1f Fix mistake introduced when refactoring. Caused infinite loop 2015-03-21 09:58:54 +00:00
Michael Steenbeek
111309bd7e Merge pull request #5 from duncanspumpkin/set_ride_setting
Added game_command_set_ride_setting.
2015-03-21 00:02:29 +01:00
Duncan Frost
4171289050 Added game_command_set_ride_setting. 2015-03-20 22:33:06 +00:00
Gymnasiast
981affe04c Refactor powered launch modes, add RCT1 style launch to looping RC. 2015-03-20 17:32:59 +01:00
IntelOrca
cd16af0f60 add some event handlers for invalidating map objects 2015-03-18 19:52:45 +00:00
Adrian Wielgosik
2969b9bf16 Change rides' max negative G values to signed bytes; fixes #902. 2015-03-09 11:30:55 +01:00
IntelOrca
488282d653 name some of the ride type flags 2015-03-07 19:56:30 +00:00
IntelOrca
6ae0c10350 refactor ride type flag checks 2015-03-07 19:15:47 +00:00
Duncan Frost
936f2f127f Refactor of object_list.c 2015-03-07 11:13:10 +00:00
Duncan Frost
9378f8698e Refactor of object_paint_ride. 2015-03-01 14:24:05 +00:00
Duncan Frost
e0d5979e4c Fix certain rides not being savable 2015-02-28 16:04:31 +00:00
Duncan Frost
4c527225fb Refactor. Now uses same code for scenery_tracks and just tracks 2015-02-27 13:04:48 +00:00
Duncan Frost
b72ffb43db Finish track_save_scenery. Design cancel now called after save 2015-02-27 13:04:45 +00:00
Duncan Frost
189d5d2f08 Add more to the ride track save 2015-02-27 13:04:44 +00:00
Duncan Frost
054d91f0ce Started implementing track_save 2015-02-27 13:04:43 +00:00
Ted John
b89af82f07 Merge pull request #876 from Gericom/develop
Implemented paint_ride_entry and cleanup,  Implemented window_construction_paint
2015-02-27 12:11:53 +00:00
Gericom
a64e89ec66 Refactoring window_construction_paint, fixed bugs 2015-02-27 12:49:22 +01:00
IntelOrca
ae69718b53 refactor ride_construct, fixes #725 2015-02-25 18:26:37 +00:00
Ted John
f923ca7e0a Merge pull request #857 from duncanspumpkin/fix_ride_breakdown
Fix ride breakdown
2015-02-22 18:25:11 +00:00
Duncan Frost
776120db8e Fix issue causing rides to not increase reliability when fixed 2015-02-22 18:18:56 +00:00
Adrian Wielgosik
534b5e9e0b Fixed ride price approximations being truncated; fixes #850. 2015-02-22 15:17:45 +01:00
IntelOrca
2ab48c998e Merge branch 'set-ride-status' into develop
Conflicts:
	src/ride/track.h
2015-02-17 17:00:47 +00:00