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

2331 Commits

Author SHA1 Message Date
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
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
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
zsilencer
bcad8c200e #1042 2015-05-06 19:15:00 -06:00
zsilencer
9296cfd334 fix audio panning 2015-05-06 19:15:00 -06: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
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
Duncan Frost
937e4f2e05 Fix inline sprite colours.
There was a small mistake in inline sprites that would cause the colour variable to be masked out when displayed.
2015-05-01 17:38:39 +01: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
1728aebb8c Fix #958.
Issue was caused by an old bit of code that had been added in the force weather cheat to keep it sunny for longer before realising how the climate operated correctly. Instead now it sets the weather to the desired value and starts a normal amount of waiting time before returning to the normal weather cycle.
2015-04-28 17:11:46 +01: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
3b416a646e create_new_banner done by duncanspumpkin 2015-04-25 09:21:35 -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
b8657da99f game_command_set_banner_colour 2015-04-25 09:21:11 -06:00
zsilencer
4379df67c4 game_command_set_large_scenery_colour 2015-04-25 09:21:11 -06:00
zsilencer
1782a62055 game_command_set_fence_colour 2015-04-25 09:21:11 -06:00
zsilencer
e7d3d8b19d game_command_set_scenery_colour 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
16cb732533 game_command_remove_scenery 2015-04-25 09:20:46 -06:00
zsilencer
68d7f84098 rename 0x80000000 to MONEY32_UNDEFINED 2015-04-25 09:20:46 -06:00
zsilencer
e2d386edbc game_command_remove_fence 2015-04-25 09:20:15 -06:00
zsilencer
9bd620cd99 game_command_raise_water, game_command_lower_water, suggested changes 2015-04-25 09:20:15 -06:00
zsilencer
af46537667 game_command_raise_land, game_command_lower_land 2015-04-25 09:20:15 -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
zsilencer
623e607dfd game_command_fire_staff_member 2015-04-25 09:20:15 -06:00
zsilencer
97bd30ece7 game_command_set_staff_patrol 2015-04-25 09:20:15 -06:00
zsilencer
ab9e250abe game_command_set_staff_order 2015-04-25 09:20:14 -06:00
zsilencer
61485ed898 ride_get_refund_price 2015-04-25 09:20:14 -06:00
zsilencer
08a5bea762 game_command_demolish_ride 2015-04-25 09:20:14 -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