1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 14:02:59 +01:00
Commit Graph

403 Commits

Author SHA1 Message Date
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
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
Robert Jordan
a8ec43f065 Select size strings now use args 2015-05-13 11:38: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
Gymnasiast
8ed8b56abe Introduce a config-file option for a RCT1-like colour scheme 2015-05-12 16:13:30 +02: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
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
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
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
Timmy Weerwag
10c4722a86 Deciphered flags and z param of get_map_coordinates_from_pos 2015-05-03 13:54:08 +02:00
Duncan Frost
ebf9bb67ec Fix #1032 scenery secondary colour
Forgot to pass the colour variable to the create scenery command.
2015-04-30 17:02:21 +01:00
Michael Steenbeek
d21cc0f731 Add extra comment 2015-04-29 12:09:52 +02:00
Michael Steenbeek
67656a46a9 Fix land tool size staying in window after unselect land ownership tool 2015-04-29 12:03:18 +02:00
Duncan Frost
0816a5fdf5 Fix footpath bit placement failing.
Fixes #1025
2015-04-28 17:07:36 +01:00
zsilencer
71e21c2a6c refactor mixer, add support for streamed music 2015-04-25 09:28:28 -06:00
zsilencer
a8a434e261 game_command_place_banner 2015-04-25 09:21:35 -06:00
zsilencer
c40a6f4789 game_command_remove_banner 2015-04-25 09:21:11 -06:00
zsilencer
ed709b8353 game_command_remove_large_scenery 2015-04-25 09:21:11 -06:00
zsilencer
ea75926a6c game_command_set_ride_appearance 2015-04-25 09:20:47 -06:00
zsilencer
68d7f84098 rename 0x80000000 to MONEY32_UNDEFINED 2015-04-25 09:20:46 -06:00
zsilencer
b98585255b remove_peep_from_ride 2015-04-25 09:20:15 -06:00
zsilencer
26ab7c7b7e #1011 2015-04-25 09:20:15 -06:00
Duncan Frost
4c6b444664 Addin missing breaks. 2015-04-23 21:09:01 +01:00
Duncan Frost
e04165eef4 Refactoring and bug fixing.
Noticed a bug that was causing path bits to fail to be changed.
Reduced compile warnings by using ints for coordinates.
Rearanged colour picker to stop bug that prevents its use when first clicked.
2015-04-23 20:40:53 +01:00
Duncan Frost
b950447330 Refactor of placement code 2015-04-23 20:00:18 +01:00
Duncan Frost
f2fd8d81ba Added small scenery placement code
Requires major refactoring.
2015-04-23 18:03:52 +01:00
Duncan Frost
9749d7d602 Added path bit placement
Fixed bug in footpath_place_real that causes it to not place path bits.
2015-04-23 17:23:01 +01:00
Duncan Frost
4352820851 Added walls placement code
Fixed bugs in the large scenery placement code.
Moved banners to the new parameter style code.
Consider refactoring of all of these to use a different parameter style
2015-04-22 20:41:46 +01:00
Duncan Frost
b3be906270 Added remaining scenery functions 2015-04-21 18:19:11 +01:00
Duncan Frost
59c594fcf6 Added small scenery 6e1f34 code 2015-04-20 20:11:45 +01:00
Duncan Frost
fedbc83829 Started 6e1f34 2015-04-18 12:17:44 +01:00
Duncan Frost
b7e92b2efb Initial attempt at understanding large_scenery placement 2015-04-18 10:32:23 +01:00
Duncan Frost
8aa353f73e Refactor selection_raise/lower_land.
Interestingly you can only move land up/down one at a time
2015-04-18 08:40:43 +01:00
Duncan Frost
e8d27b0424 Finished scenery repaint tool down
Renamed map_element variables that were badly named
Changed scenerymultiple(large) to use the correct size for type. This will cause merge issues with anyone working on large scenery.
2015-04-17 17:36:28 +01:00
Duncan Frost
a684e338b0 Started repaint_scenery_tool_down 2015-04-17 17:36:27 +01:00
Duncan Frost
f9c9e9b9aa Added scenery_remove_ghost_tool_placement 2015-04-17 17:36:26 +01:00
Ted John
ed0c3a9490 Merge pull request #987 from Gymnasiast/patch-2
Fix #986
2015-04-16 09:19:00 +01:00
Ted John
6a82407056 Merge pull request #1019 from duncanspumpkin/fix_ride
Fix vehicle and graph tab of ride window and options window
2015-04-15 22:00:25 +01:00
Duncan Frost
1d7ab54ab8 Added checks to prevent underflow 2015-04-15 19:04:02 +01:00
Duncan Frost
f40555f88b Revert options window stick to front.
Changed scenarioselect to not stick to front.
Object selection now correctly changed to not stick to front.
2015-04-15 18:02:04 +01:00
Duncan Frost
9d8983a5c7 Fix ride graphs and negative lengths 2015-04-14 19:00:29 +01:00
Duncan Frost
869142bc89 Set options window to always be ontop 2015-04-14 18:40:41 +01:00
Duncan Frost
a822301002 Fix vehicle tab from failing to reload new variables 2015-04-14 18:35:26 +01:00
Michael Steenbeek
6fe3b5bdd2 Highlight tile when buying construction rights, fixes #1017 2015-04-14 18:45:54 +02:00
Ted John
e08e4b7f61 Merge pull request #988 from Garogolun/footpath-stuff
Added two footpath functions
2015-04-12 23:15:20 +01:00