Gymnasiast
19646a29a5
Remove duplicated code with function call
2020-04-19 21:13:20 +02:00
Gymnasiast
7d50a2d186
Move alternate ride type to RTD
2020-04-19 18:44:38 +02:00
Gymnasiast
25f363625c
Rename field in RideData5 to something more descriptive
2020-04-19 18:20:20 +02:00
Gymnasiast
99d270388b
Move ride start piece to RTD
2020-04-19 18:05:57 +02:00
Duncan
a2efc49bcd
Merge pull request #11357 from Gymnasiast/fix/1148
...
Fix #1148 : Research funding dropdown not shown in finances window
2020-04-19 16:06:49 +01:00
Michael Steenbeek
deb56c2a72
Move LiftData to RTDs ( #11347 )
2020-04-19 14:41:26 +02:00
Gymnasiast
860924dfb0
Fix #1148 : Research funding dropdown not shown in finances window
2020-04-19 14:29:56 +02:00
Michał Janiszewski
5bfc41f49e
openrct2-ui cast fixes ( #11348 )
2020-04-19 14:08:22 +02:00
Michael Steenbeek
d3a5446114
Create ride type flag for suspended rides ( #11355 )
2020-04-19 13:53:51 +02:00
Michael Steenbeek
8127437de1
Reduce direct ride type checking; move available piece lookup to RTD ( #11353 )
2020-04-19 13:32:43 +02:00
Tulio Leao
523e6ca4a0
Fix #11340 : Sound bar only working when maxed out ( #11341 )
...
The changesets replacing c-style casts with named casts mistakenly added some parentheses in the wrong place, changing the evauluation order.
2020-04-18 20:21:30 +02:00
Michael Steenbeek
3bf316ee8c
Merge pull request #11336 from Gymnasiast/refactor/available-breakdowns-to-rtd
...
Move available breakdowns, category and independent listing flag to RTD
2020-04-18 18:31:39 +02:00
Tulio Leao
e2be89648e
Fix #6119 : Advertising campaign for ride window not updated properly ( #11335 )
2020-04-18 16:15:04 +02:00
Gymnasiast
5d3bf2be20
Move category to RTD; move RideTypeIsIndependent to a flag
2020-04-18 15:22:41 +02:00
Gymnasiast
c41fb64535
Move available breakdowns to RTD
2020-04-18 15:22:41 +02:00
Michael Steenbeek
35bbf6a166
Fix refactor mistake that prevents compilation ( #11334 )
2020-04-18 14:56:38 +02:00
Tulio Leao
2b68610473
Fix #11331 : Create constant for failure on ScenarioCompletedCompanyValue ( #11332 )
2020-04-18 13:46:18 +02:00
Tulio Leao
935cfe90fc
Use named casts on openrct2-ui/windows ( #11136 )
2020-04-18 13:32:48 +02:00
Olivier Wervers
bb72fd6021
Fix #9029 : Set animation frame on doors using the tile inspector ( #11206 )
2020-04-18 07:43:46 -03:00
Michael Steenbeek
b4a763c751
Move naming convention to RTD ( #11319 )
2020-04-18 12:12:07 +02:00
Olivier Wervers
506b06bd73
Fix #11072 : Land and water tools work out of bounds ( #11179 )
...
Tool tried to act out of bounds, where it shouldn't do anything
2020-04-17 19:34:32 -03:00
Aaron van Geffen
fe24a84dc4
Make use of extra horizontal space when shortcut window is resized.
2020-04-17 18:35:06 +02:00
Aaron van Geffen
2e55b621f0
Reorder keyboard shortcuts per Umdlye's suggestions.
2020-04-17 18:35:06 +02:00
Aaron van Geffen
77776cd6c8
Allow adding separators between listed shortcuts.
2020-04-17 18:35:06 +02:00
Aaron van Geffen
d1a314b0f7
Decouple shortcut window order from internal order.
2020-04-17 18:35:06 +02:00
Gymnasiast
edd31d9f16
Move flags to RideTypeDescriptors
2020-04-17 17:03:33 +02:00
Aaron van Geffen
a81488d704
Fix #11272 : Make casualty and stalled vehicle notifications optional
2020-04-16 14:41:39 +02:00
Aaron van Geffen
2d0f62e903
Open about window when clicking the title screen logo
2020-04-16 13:18:09 +02:00
Michael Steenbeek
d91173060a
Guard against null banners ( #11078 )
2020-04-06 22:32:27 +02:00
Michał Janiszewski
85d6fa8c8b
Revert "Guard against null banners ( #11078 )"
...
This is being reverted now that we have replay records uploaded as part
of the backtrace.io information to try figuring out the root cause.
This reverts commit 47b6139546
.
2020-04-03 09:56:51 +02:00
jeysbach
e9611ffaff
Fix #11063 : Exchange hack for call to update_scroll ( #11178 )
2020-03-31 16:03:14 +02:00
Aaron van Geffen
503fbefbeb
Harmonise date and time gaps / anchors.
...
Introduces the DATE_TIME_GAP constant.
2020-03-30 22:44:08 +02:00
Aaron van Geffen
56216fd026
Add an additional check for locales that do not use leading zeros for dates.
2020-03-30 22:42:58 +02:00
Aaron van Geffen
484956e006
Fix #10928 : File browser's date column is too narrow.
2020-03-30 22:42:58 +02:00
Duncan
87b90f2304
Fix #11109 . Incorrect drawing of staff list after refactor. ( #11134 )
...
Looks like I just completely forgot to implement the required changes to the drawing code. Drawing code now uses the new StaffList.
2020-03-29 22:00:28 +01:00
Duncan
f64ea65d03
Rename SPRITE_LIST_TRAIN_HEAD to reduce car head confusion ( #11105 )
...
A single car on a coaster can comprise of multiple vehicles. One of those vehicles will be the car head vehicle. The train can comprise of multiple cars. Therefore not all vehicle->IsHead 's will be in SPRITE_LIST_TRAIN_HEAD. This rename makes that slightly more clear
2020-03-29 09:23:24 +01:00
Michael Steenbeek
b5bcd0c2aa
Merge pull request #11122 from tupaschoal/reduce-c-casts
...
Reduce c-style cast
2020-03-28 22:47:14 +01:00
Aaron van Geffen
a028bcbb64
Fix #11111 : Finance graph hover values are glitchy with software renderer
2020-03-28 20:42:45 +01:00
Tulio Leao
2bb3a34274
Convert C-style pointer casts to named casts
2020-03-28 16:41:23 -03:00
Duncan
8920c36170
Fix #11107 . Guestlist refresh issues after refactor ( #11108 )
...
Another little oversite on the guestlist preventing full functionality of the guestlist. Also fixed the map flashing
2020-03-28 16:21:01 +00:00
Duncan
e7d0043756
Rework StaffList to use a vector ( #11059 )
...
* Rework StaffList to use a vector
This is a part of a reworking that removes the need for the peep list to be sorted by name/number order. Ultimately simplifying the sprite create code
* Remove unused variable setting
2020-03-28 12:12:53 +00:00
Duncan
a33fbfa234
Fix guest list when in filtered mode. ( #11102 )
...
Mistake during refactor didn't consider that find_groups resets global vars.
2020-03-28 11:02:26 +01:00
Michael Steenbeek
47b6139546
Guard against null banners ( #11078 )
2020-03-27 13:04:45 +01:00
Michał Janiszewski
56e6ec2c23
Fix #11068 : segfault when trying to clear empty list ( #11069 )
...
The report in #11068 was using track designs manager with "Boat hire"
ride, for which there were no designs and selecting "Clear" button on
the list accessed empty vector in `_filteredTrackIds`.
2020-03-26 23:49:10 +01:00
Michael Steenbeek
cfb405f0ed
Use StationIndex in many more places ( #10992 )
2020-03-26 21:38:26 +01:00
Michael Steenbeek
81c6bb26e9
Prepare guest counters for more than 32767 guests ( #10989 )
2020-03-26 20:02:15 +01:00
Duncan
40160892a9
Rework GuestList to use a vector. ( #11014 )
...
* Rework GuestList to use a vector.
This is part of a chain of refactors that will be used to rework peep order in the sprite list
* Apply comments. Remove setting var_492 as no longer required
2020-03-26 07:23:30 +00:00
Michael Steenbeek
3f473ec3f0
Fix #6123 : Cannot build some track designs with 4 stations ( #11031 )
2020-03-25 14:20:29 +01:00
Aaron van Geffen
302fe1cb2b
Merge pull request #10926 from IntelOrca/zoom-refactor
...
Zoom refactor
2020-03-24 23:28:32 +01:00
Tulio Leao
3e2533ac50
Fix #11001 : Rides list does not use natural sorting ( #11007 )
2020-03-23 22:33:57 +01:00