Commit Graph

100 Commits

Author SHA1 Message Date
Duncan Frost b947d11442 Fix animated track elements. 2015-07-03 21:40:26 +01:00
Duncan Frost 709a2c5ef1 Implement track_place. 2015-07-03 21:14:26 +01:00
IntelOrca 19edd8a3bb refactor game command enum 2015-06-29 17:36:07 +01:00
IntelOrca 40ba6a3efa remove various callprocs 2015-06-29 17:22:01 +01:00
IntelOrca 4ada15c972 implement ride_update_max_vehicles 2015-06-29 15:13:42 +01:00
IntelOrca 3e200d0bd2 implement ride_fix_breakdown 2015-06-28 18:36:46 +01:00
IntelOrca 48268d50cc implement a couple of ride subroutines and refactor 2015-06-28 13:36:51 +01:00
IntelOrca 36d6ea7a6e fix setting brakes speed on current track and implement game command 2015-06-28 11:44:46 +01:00
IntelOrca 97e4a4d663 add track block and possible ride configuration tables 2015-06-27 22:53:52 +01:00
IntelOrca 457e7862b3 prepare track place and remove game commands 2015-06-27 17:53:28 +01:00
IntelOrca 57fd914a52 implement ride construction 2015-06-27 15:17:54 +01:00
Ted John a0f3438538 Merge pull request #1469 from Gymnasiast/fix-remove-all-guests
Fix remove all guests cheat, improve select by track type, fixes #1462, fixes #1388
2015-06-25 16:12:15 +01:00
Gymnasiast ca1b88fc53 Don't modify flags when in select_by_track_type mode; make it switchable in-game again. 2015-06-25 11:46:17 +02:00
Krutonium 5895dcd9b1 Corrected issue with saving tracks not having file extensions when user removes it from the save dialog. Fixes #1467 2015-06-24 20:26:50 -04:00
Gymnasiast a6225ebf06 Add option to select by track type (RCT1 style); correct misspellings of 'separate' 2015-06-24 12:41:19 +02:00
Gymnasiast 7ed390b8c4 Fix wrong colours in TD4 import, fixes #1420 2015-06-22 15:12:19 +02:00
Gymnasiast 98253c8d21 Keep RCT1 launch modes on TD4 import 2015-06-22 08:41:47 +02:00
Duncan Frost f36d17651d Implemented game_command_place_fence.
There are a couple of bugs involveing signs.
2015-06-21 11:43:52 +01:00
zsilencer d2b565b283 game_command_place_large_scenery 2015-06-14 05:56:41 -06:00
IntelOrca ee7a2c47f4 refactor map size 2015-06-13 19:11:26 +01:00
Gymnasiast 732319514f Allow building in pause mode via a cheat 2015-06-10 19:35:53 +02:00
Robert Jordan 0f955d0d92 Decompiled toggle ride price 2015-06-09 17:00:11 -04:00
IntelOrca dc3fe2a6c8 remove commented out CALLPROCs and CALLFUNCs 2015-06-09 15:09:45 +01:00
IntelOrca eb654a220d implement sub_6A7594 2015-06-09 02:36:02 +01:00
Duncan Frost 97966ac707 Implemented scenery_set_setup for research.
I've also labelled ride_type->flags.
2015-06-07 19:19:16 +01:00
IntelOrca 65377629e4 implement track save select nearby scenery 2015-06-07 16:02:43 +01:00
IntelOrca 1d622ed3e2 add more ride rating calculations and refactor ride operation mode 2015-06-02 19:59:55 +01:00
zsilencer 9ee4b64fa1 game_command_place_scenery 2015-05-20 19:21:13 -06:00
Duncan Frost 5e1ec9134d Fix #1102
Fixed tracks from failing to save due to mistake in reversing.
2015-05-19 21:22:09 +01:00
Duncan Frost 0701bacc71 Fix yellow arrow when closing construction window.
Small refactor of map selection globals.
Fixes #1062
2015-05-17 08:49:39 +01:00
Duncan Frost 328abd1d45 Fix out of bounds errors
Changed get_surface_element to bubble up the null mapElement to be taken care of by the calling function.
Added checks on the track functions to ensure that invalid coordinates do not call get_surface_element_at.
Fixes #1066 and Fixes #1057
2015-05-17 07:58:51 +01:00
Duncan Frost aacdc12733 Finished mirror code. 2015-05-14 18:00:49 +01:00
Duncan Frost caa6547650 Started implementing track_mirror.
Ride and maze mirror already works.
Scenery still requires work.
2015-05-13 20:15:48 +01:00
Duncan Frost 88a43b34b0 Finish maze track placement
Fixed bugs related with maze placement as well.
2015-05-13 19:19:46 +01:00
Duncan Frost fbdc2dad7b Added start of maze placement. Refactored slightly. 2015-05-13 19:19:45 +01:00
Duncan Frost 1f02b47a6c Implemented large/small scenery placement. Fix bugs.
There was a bug that was causing track creation to place scenery items in the incorrect location. This was caused by assuming a global variable was no longer in use.
2015-05-13 19:19:45 +01:00
Duncan Frost ac55dd3e04 Add wall scenery support 2015-05-13 19:19:44 +01:00
Duncan Frost 9603e35834 Fix bugs in path placement 2015-05-13 19:19:43 +01:00
Duncan Frost ed685688e2 More scenery_place.
There is a bug in the path code
2015-05-13 19:19:43 +01:00
Duncan Frost 49e02fdab8 Added more of scenery place 2015-05-13 19:19:42 +01:00
Duncan Frost 054bc8cac2 Started scenery placement 2015-05-13 19:19:41 +01:00
Duncan Frost d7db2e27e0 Added entrance/exit placement. 2015-05-13 19:19:41 +01:00
Duncan Frost 01eb40de08 Fix bugs in ride placement
Tracks should now place and remove correctly.
Next task will be entrances/exits followed by scenery.
2015-05-13 19:19:40 +01:00
Duncan Frost 69c708b75d Added more to track_place 2015-05-13 19:19:39 +01:00
Duncan Frost a8912e0696 Added more of track_place 2015-05-13 19:19:39 +01:00
Duncan f367746964 Fix small mistake in flags 2015-05-13 19:19:38 +01:00
Duncan Frost 7d13cb9ac3 Started track_place 2015-05-13 19:19:38 +01:00
Duncan Frost 822c3f6932 Added game_command_place_track
Requires extensive testing.
Fixed a bug in the tracks.idx that would cause crash on track load fail.
2015-05-13 19:19:37 +01:00
Duncan Frost 66de066901 Added save_track_file. Fixed bugs.
Encountered bug where incorrect tracks would be displayed if the loading process failed.
Added checksum validation to loading code.
Increased the max rle length to match rct2.
2015-05-13 19:19:36 +01:00
Duncan Frost 64374e5ac4 Added maze to td6 code.
Small refactor of td6 struct to use flags with a note.
Refactor to split up td6 creation code
2015-05-13 19:19:35 +01:00