Commit Graph

61 Commits

Author SHA1 Message Date
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
Duncan Frost 7418c74c9a Finished save track for tracked rides.
Still needs mazes to be done.
No noticable bugs so far.
2015-05-13 19:19:35 +01:00
Duncan Frost 9051f13520 Implemented sub_6c683d
This is some sort of function that gets the map element of the first part of a track segment.
It is also used to update the flashing colour when in construct mode
2015-05-13 19:19:34 +01:00
Duncan Frost f6f671e27f Started .TD6 creation function.
Labelled known offsets from compare to ride structure.
2015-05-13 19:19:34 +01:00
Duncan Frost dde9611343 Added td4 booster check.
Small refactor to use known structures
2015-05-13 19:19:33 +01:00
zsilencer 68d7f84098 rename 0x80000000 to MONEY32_UNDEFINED 2015-04-25 09:20:46 -06:00
Timmy Weerwag 930a9d61dd Fixes for a couple of warnings 2015-04-12 23:26:15 +02:00
Duncan Frost cfeb039ad2 Added install_track window 2015-04-02 22:00:59 +01:00
Duncan Frost 352d6215ff Fix track save at rotation 1 and 3 2015-03-26 18:16:32 +00:00
Duncan Frost b7bd2aee1f Fix mistake introduced when refactoring. Caused infinite loop 2015-03-21 09:58:54 +00: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 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
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
IntelOrca ac4cd56b63 add new load / save window, closes #580 2015-02-14 02:16:03 +00:00
IntelOrca a66b29076b move osinterface code to shared or windows 2015-02-12 20:51:40 +00:00
Duncan Frost 12cf791254 Fixed track delete. 2015-02-12 18:40:07 +00:00
Duncan Frost 715c8bcf0f Fixed track rename. 2015-02-12 18:35:41 +00:00
IntelOrca 2bbaa0fc4c Merge branch 'object-selection-window' into develop 2015-02-11 21:05:05 +00:00
IntelOrca fadeff9dda fix a few issues with object selection and track manage 2015-02-11 21:03:23 +00:00
Duncan Frost 3436e5133f Fix #773. Issue caused by missing some allocations of the map size. 2015-02-11 20:25:11 +00:00
Duncan Frost 5fb09400e7 Fix track name null 2015-02-09 18:52:00 +00:00
Duncan Frost bc847628cd Labelled track preview offsets 2015-02-09 18:51:58 +00:00
Duncan Frost 3e047d7c8c Fix track place bug. Add all remaining view directions 2015-02-09 18:51:57 +00:00
Duncan Frost 04e7ff76e4 Added start of actual paint code. Bugs encountered 2015-02-09 18:51:57 +00:00
Duncan Frost 6943c7dce0 Finished sub_6D2189 2015-02-09 18:51:56 +00:00
Duncan Frost df723b871c Added more of 6d2189 2015-02-09 18:51:55 +00:00
Duncan Frost 88a22a9283 started sub_6d2189 2015-02-09 18:51:54 +00:00
Duncan 3eb5350fb1 Added reload map backup. 2015-02-09 18:51:54 +00:00
Duncan Frost aeb3764ab5 Added load track objects 2015-02-09 18:51:53 +00:00
Duncan Frost 7598904073 Added blank_map() 2015-02-09 18:51:52 +00:00
Duncan Frost f8f1019c34 Added backup_map 2015-02-09 18:51:52 +00:00
IntelOrca a6c95f1f38 Merge branch 'develop' into set-ride-status
Conflicts:
	src/ride/track.c
	src/windows/ride_construction.c
2015-02-08 16:04:35 +00:00
Duncan Frost 1fc525214d Refactor track_load. Relabeled address' 2015-02-02 18:52:50 +00:00