Commit Graph

3112 Commits

Author SHA1 Message Date
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
Ted John fa75053e08 Merge pull request #1058 from trigger-death/develop
Land tool painting and text input sizes
2015-05-13 18:33:05 +01:00
Ted John 6988fc0d99 Merge pull request #1061 from trigger-death/fixtextboxcarot4
Fixed textbox carot color
2015-05-13 18:32:37 +01:00
Robert Jordan 3dd1bf96c6 If MAC is defined Cmd+V will be used instead. 2015-05-13 12:10:14 -04:00
Robert Jordan a8ec43f065 Select size strings now use args 2015-05-13 11:38:44 -04:00
Robert Jordan 51ef292847 Added Ctrl+V to text inputs 2015-05-13 11:25:44 -04:00
Robert Jordan af152c7d54 Another small fix
Used the wrong address in RCT2_GLOBAL
2015-05-13 10:34:40 -04:00
Robert Jordan fdd8461af4 Simplified getting color 2015-05-13 10:29:50 -04:00
Robert Jordan 6e57291e2d Fixed textbox carot color 2015-05-12 17:06:26 -04:00
Robert Jordan fe8ba41531 Added bounds rounding for text size inputs. 2015-05-12 14:34:34 -04:00
Robert Jordan ceaa97c321 Land tool paint mode, and text input sizes 2015-05-12 11:37:16 -04:00
Ted John e673a8ab80 Merge pull request #1055 from Gymnasiast/develop
Add config-file option for a RCT1-like colour scheme
2015-05-12 15:58:08 +01:00
Gymnasiast 8ed8b56abe Introduce a config-file option for a RCT1-like colour scheme 2015-05-12 16:13:30 +02:00
Michael Steenbeek e17986fbd6 Merge pull request #12 from IntelOrca/develop
Fast forward
2015-05-12 14:29:58 +02:00
Ted John 8d57305bb3 Merge pull request #1051 from trigger-death/develop
Last windowed size is now remembered
2015-05-11 21:57:34 +01:00
Robert Jordan 37ff266fc6 Only checks window size during platform_resize() now
Removed platform_update_config_window_size()
2015-05-11 14:51:13 -04:00
Robert Jordan 40efb2c0d6 Last windowed size is now remembered
Added funciton platform_update_config_window_size() to shared.c
Window size is not updated if the window is maximized
2015-05-11 14:33:24 -04:00
Ted John 09c05d95b1 Merge pull request #1050 from trigger-death/develop
Added option for random title music in main menu
2015-05-11 18:26:04 +01:00
Robert Jordan b49676a887 Added option for random title music in main menu
Added STR_5126 to UK and US languages
rand() is seeded in rct2_init()
2015-05-11 13:17:33 -04:00
Robert Jordan d8f30b94b2 Merge pull request #1 from IntelOrca/develop
Update from original
2015-05-11 12:05:31 -04:00
Ted John ea30e0986f Merge pull request #1045 from trigger-death/develop
#1044
2015-05-11 16:57:20 +01:00
Robert Jordan 9e5cb40ab4 Added INPUT_FLAG_VIEWPORT_SCROLLING check
Before it was checking if any flags were set, and not just
INPUT_FLAG_VIEWPORT_SCROLLING.
2015-05-08 12:14:10 -04:00
Ted John 85daa7c5ac Merge pull request #1047 from duncanspumpkin/fix_scenery_bugs
Fix scenery bugs
2015-05-07 22:01:49 +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 a768d3dc96 Fix large scenery removal bug.
Issue was caused by comparing the height value to the wrong number. I've rejigged the function to make it easier to follow and added in an error message if an element fails to be found.
2015-05-07 19:16:00 +01:00
Duncan Frost 6b8709aed0 Scenery now works correctly in scenario editor
There were a couple bugs that were causing functions to return unsuccessful if you were in scenario editor.
2015-05-07 18:57:14 +01:00
Robert Jordan 1b269675d8 #1044
Fixed drop downs not staying open and music dropdown not working first
time after game opened.
2015-05-07 11:37:49 -04:00
Ted John d9cd873ad7 Merge pull request #1043 from zsilencer/develop
bugs
2015-05-07 13:46:14 +01:00
zsilencer bcad8c200e #1042 2015-05-06 19:15:00 -06:00
zsilencer 9296cfd334 fix audio panning 2015-05-06 19:15:00 -06:00
Ted John 6fcc2853f9 Merge pull request #1041 from duncanspumpkin/bugs
Fix bugs in viewport interaction and loadsave dialog
2015-05-05 19:39:17 +01: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
Ted John eedce459cb Merge pull request #1026 from Garogolun/proc-688217
Viewport interaction
2015-05-03 15:40:23 +01:00
Timmy Weerwag d09a6249ff Renamed sub_688697 to store_interaction_info 2015-05-03 13:54:08 +02:00
Timmy Weerwag 10c4722a86 Deciphered flags and z param of get_map_coordinates_from_pos 2015-05-03 13:54:08 +02:00
Timmy Weerwag 5f7c7828a5 Despaghettified sub_68862C 2015-05-03 13:47:58 +02:00
Timmy Weerwag 002619c1f6 Decompiled 68862C and 688697 2015-05-03 13:47:58 +02:00
Timmy Weerwag 591fbb6dd1 Deciphered table at 0x0098185C 2015-05-03 13:47:57 +02:00
Timmy Weerwag d6fd030702 Decompiled sub_688217 2015-05-03 13:47:56 +02:00