1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00
Commit Graph

18220 Commits

Author SHA1 Message Date
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
Michał Janiszewski
27da48336a Revert "Fix #11084: null broken vehicle (#11090)"
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 24edada2d8.
2020-04-03 09:53:36 +02:00
Michał Janiszewski
971db142a5 Revert "Fix #11166: Null pointer read in Guest::UpdateRideAdvanceThroughEntrance (#11182)"
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 598b85d0ca.
2020-04-03 09:51:32 +02:00
Michał Janiszewski
620be75285 Revert "Fix #11128: null tile element in track_block_get_previous (#11144)"
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 d1faa228c5.
2020-04-03 09:49:58 +02:00
Michał Janiszewski
e19eaa6a98 Upload park recording in case of crash 2020-04-02 23:44:59 +02:00
OpenRCT2 git bot
08d38f3d24 Merge Localisation/master into OpenRCT2/develop. 2020-04-02 04:01:51 +00:00
Michael Steenbeek
1e70c4806e Fix #11126: Cannot place Frightmare track design (#11186) 2020-04-01 17:37:09 +02:00
Michael Steenbeek
e1e8e2bec0 Add drawing code for ō (#11201) 2020-04-01 14:31:53 +02:00
Michael Steenbeek
598b85d0ca Fix #11166: Null pointer read in Guest::UpdateRideAdvanceThroughEntrance (#11182) 2020-04-01 12:45:08 +02:00
Michael Steenbeek
c1e2c7cc5a Fix mistake made in #10579 (#11184) 2020-03-31 20:56:47 +02:00
Michał Janiszewski
4be3050e74 Update network version after #11180 2020-03-31 16:05:50 +02:00
jeysbach
e9611ffaff Fix #11063: Exchange hack for call to update_scroll (#11178) 2020-03-31 16:03:14 +02:00
Michael Steenbeek
41bf6def69 Fix #10951, #11160: Placing park entrances creates bugged ghosts (#11180) 2020-03-31 13:47:37 +01:00
Aaron van Geffen
e6dadaab66 Merge pull request #10953 from AaronVanGeffen/fix/10928
Fix #10928: File browser's date column is too narrow
2020-03-30 23:00:57 +02:00
Olivier Wervers
26546448e1 Improvement: Slimmer virtual floor lines 2020-03-30 22:45:39 +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
Aaron van Geffen
28d14517e1 Introduce a constant for scrollbar width and height (#11152) 2020-03-30 22:41:49 +02:00
Tulio Leao
3d223b0843 Fix dereference on null iterator (#11154) 2020-03-30 18:05:38 +01:00
OpenRCT2 git bot
dbfb0e4bbe Merge Localisation/master into OpenRCT2/develop. 2020-03-30 04:02:12 +00:00
pkubaj
5ef108f9fb OpenRCT2 also works on FreeBSD (#11148)
While here, openports.se redirects to https.
2020-03-30 00:39:56 +02:00
pkubaj
c8f9324e41 Fix build on FreeBSD (#11145)
FreeBSD doesn't use libstdc++, but libc++. stdc++fs doesn't exist in libc++.
2020-03-29 23:36:50 +02:00
Michał Janiszewski
d1faa228c5 Fix #11128: null tile element in track_block_get_previous (#11144) 2020-03-29 22:01:13 +01: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
Michał Janiszewski
920150b06d Fix #11140: exclude thirdparty headers from headers-check target (#11142) 2020-03-29 22:43:37 +02: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
OpenRCT2 git bot
7d18b647be Merge Localisation/master into OpenRCT2/develop. 2020-03-29 04:01:58 +00: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
Michael Steenbeek
09cd6a82ee Merge pull request #11123 from tupaschoal/reduce-c-casts-2
Reduce c-style cast on openrct2-ui/(input/interface/title)
2020-03-28 22:40:33 +01:00
Tulio Leao
abfd41c35f Use named casts in openrct2-ui/drawing 2020-03-28 17:18:21 -03:00
Tulio Leao
57886ad0c7 Use named casts in openrct2-ui/audio/ 2020-03-28 17:18:15 -03:00
Tulio Leao
fe6ff2ac94 Use named casts in openrct2-ui/audio/AudioChannel.cpp 2020-03-28 17:18:07 -03:00
Tulio Leao
bb052a784a Use named casts in openrct2-ui/audio/AudioMixer 2020-03-28 17:17:57 -03:00
Tulio Leao
b0e12ebc8f Use named casts on openrct2-ui/title 2020-03-28 17:04:33 -03:00
Tulio Leao
b579771364 Use named casts on openrct2-ui/interface 2020-03-28 17:04:33 -03:00
Tulio Leao
8823658972 Use named casts on openrct2-ui/input 2020-03-28 17:04:29 -03: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
2806104db0 Remove peep sort (#11088)
* Remove peep sort. No longer required.

Peeps are now only sorted in a temporary vector when the staff or guest list is open. This allows for simpler allocation of sprites

* Increment Network Version
2020-03-28 12:37: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
Tulio Leao
fc645180be Ammend #11090 for consistency on nullptr check (#11104) 2020-03-28 11:39:59 +00:00
Michał Janiszewski
24edada2d8 Fix #11084: null broken vehicle (#11090) 2020-03-28 10:21:24 +00:00
Peter Ryszkiewicz
fa1ddbd9e3 Show hovered values on finance charts (#10925) 2020-03-28 11:03:10 +01: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
OpenRCT2 git bot
b0737d5bdf Merge Localisation/master into OpenRCT2/develop. 2020-03-28 04:01:52 +00:00
Thijs Versfelt
3613c660a0 Fix #11005: Company value overflows (#11012)
* Clamp park value to prevent integer overflow.

* Replace casting with built-in clamping.

* Add changlog entry for #11005.

* Modify casting to prevent skewed company value.

* Increment network version

Co-authored-by: Michał Janiszewski <janisozaur@gmail.com>
2020-03-27 13:25:16 +01:00
Michael Steenbeek
47b6139546 Guard against null banners (#11078) 2020-03-27 13:04:45 +01:00
Michael Steenbeek
c6e42ac313 Avoid assertion getting hit in scenery_is_invented() (#11079) 2020-03-27 12:53:18 +01:00