Gymnasiast
140e945a7b
Increase network version
2020-10-26 23:13:49 +01:00
Manuel Vögele
838cd4fc56
When placing a block brake perform full operation mode switch
2020-10-26 22:48:43 +01:00
Manuel Vögele
d927fefb86
Fix #13019 : Stop simulating when ghost train crashes in block mode
2020-10-26 21:37:51 +01:00
Manuel Vögele
e4e7a0f2f2
Fix desync caused due to ghost tiles changing the ride mode
2020-10-26 21:36:09 +01:00
Manuel Vögele
c440dac600
Fix #12368 : Don't modify station properties when placing ghost tiles
2020-10-26 21:35:44 +01:00
Tulio Leao
7b10fa57bb
Merge pull request #13280 from Broxzier/bugfix/filestream-file-nonexisting-folder
...
Fix crash when using a writable FileStream to a file in non-existing folder
2020-10-25 14:46:48 -03:00
Keith Stellyes
f550f8f5a5
Fix #13282 : Autosaves are not deleted when limit is reached
2020-10-25 09:35:42 +01:00
Bryan DiLaura
894be65b6d
Closes #12415 : Refactor CURRENCY_TYPE to strong enum ( #13276 )
...
* closes #12415 CURRENCY_TYPE enum refactor
* reverses unintended change in Linux.cpp
* closes #12415 CurrencyType strong enum
2020-10-25 01:33:06 -03:00
Hielke Morsink
2275585795
Undef Windows.h macros that cause conflicts
...
This caused errors on calls to Path::CreateDirectory in source files that include OpenGLAPI.h.
2020-10-24 17:39:16 +02:00
Hielke Morsink
b54574fe19
Ensure path exists for writable filestreams
2020-10-24 17:39:16 +02:00
Michał Janiszewski
0aaac728b5
Change GL_TEXTURE_RECTANGLE to NPOT GL_TEXTURE_2D
...
This improves GLES compatiblity due to missing rectangle textures, but
NPOT 2D ones being universally available.
2020-10-24 17:28:05 +02:00
Michał Janiszewski
16b3a96e66
Change palette size to PoT square
2020-10-24 17:28:05 +02:00
Keith Stellyes
782fab93b4
Add compile-time check for nlohmann json ( #13277 )
2020-10-24 15:23:17 +02:00
Sadret
6c44fefcaa
Fix #13266 : Plugin API Deleting key of shared storage not working
2020-10-23 14:18:51 +02:00
Tulio Leao
f6de4b2e44
Fix #13263 : SceneryGroup problems ( #13270 )
...
* Fix #13263 : Scenery group research not working
* ResearchCategory::Group to SceneryGroup
2020-10-23 12:30:39 +01:00
Keith Stellyes
171132fb6d
Add Execute and FindApp to Platform class
2020-10-22 21:17:28 +02:00
Duncan
214f6992dd
Rename to TitleCase and name LastAttachedPS ( #13260 )
2020-10-22 18:13:54 +01:00
Simon J
a017d3fa57
Fix #13215 : lingering arrows after ride construction ( #13245 )
...
Co-authored-by: Simon Jarrett <mwnciau@users.noreply.github.com >
2020-10-21 23:45:53 -03:00
ζeh Matt
0c099be01c
Export loaded objects alongside inside the save for Backtrace reports ( #13213 )
2020-10-21 23:15:29 -03:00
aw20368
c81bf7b501
Refactor variable names in window_guest_stats_bars_paint ( #13214 )
...
* Refactor variable names in window_guest_stats_bars_paint
Change the variables eax/ebp to timeInPark and barColor, respectively.
* Refactor guest stat UI calculations
Simplify guest stat calculations and move them to a new function NormalizeGuestStatValue.
2020-10-21 07:38:44 +01:00
Bryan DiLaura
1f245b8288
Close #12436 : refactor JUNIOR_RC_CHAINTYPE into strong enum ( #13237 )
...
* Close #12436 : refactor JUNIOR_RC_CHAINTYPE enum
2020-10-20 21:48:29 -03:00
Hielke Morsink
257ada4617
Introduce constant for ticks per month ( #13253 )
2020-10-20 21:05:27 -03:00
Łukasz Pękalski
9dcbf6d4e6
Close #4865 : Offer an option to disable inhibiting the monitor power ( #13243 )
...
Co-authored-by: Aaron van Geffen <aaron@aaronweb.net >
Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com >
2020-10-20 22:02:44 +02:00
rpstester
853f718aee
Close #12391 : Refactor PeepUsingBinSubState to use strong enum ( #13247 )
...
Changed it to enum class and updated references.
2020-10-19 22:22:24 -03:00
Haven Kim
ce2f78bd51
Fix #13222 : Vehicle collision causes negative number of passengers
...
When peep_sprite_remove is called, RemoveFromRide() will decrease ride's num_riders
2020-10-19 23:33:54 +02:00
Haven Kim
4bce329a40
Fix #12940 : Windows cause issues with snow drawing ( #13238 )
...
Windows' left value inside of cosine function is causing glitch-feel
movement for snows but in fact, x_start can simply modified by another magic
numbers.
2020-10-19 18:58:47 +02:00
Michael Steenbeek
59d785ef64
Merge pull request #13224 from Broxzier/feature/refactor-autosave
...
Small autosave refactor
2020-10-18 20:20:41 +02:00
Keith Stellyes
41c0395adb
Fix #13226 : No error is shown when attempting to load a corrupted save
2020-10-18 19:54:26 +02:00
Michael Steenbeek
6c687f576d
Merge pull request #13230 from Gymnasiast/refactor/get-source-game-to-method
...
Refactor legacy GetSourceGame() to method
2020-10-18 17:48:31 +02:00
Aaron van Geffen
1c1b7c8d28
Merge pull request #13209 from X123M3-256/hybrid_fix
...
Fix hybrid coaster
2020-10-18 17:16:31 +02:00
Haven Kim
be824e941f
Fix #7518 : Water isn't cut down by view clipping tool ( #13205 )
...
By comparing water level and clipping height, we just remove water from
rendering but keep the surface tiles at the bottom
2020-10-17 23:13:40 +02:00
Gymnasiast
b47163c06c
Remove orphaned declaration of object_entry_get_type()
2020-10-17 22:46:52 +02:00
Gymnasiast
13fb0b43da
Refactor legacy GetSourceGame() to method
2020-10-17 22:45:12 +02:00
Haven Kim
8a4df108ba
Close #12428 : Refactor OBJECT_SOURCE_GAME to use strong enum
2020-10-17 22:27:02 +02:00
Aaron van Geffen
a9316869fc
Fix #13158 : Cursors are drawn incorrectly in text input fields ( #13228 )
2020-10-17 22:24:24 +02:00
Łukasz Pękalski
384e0ee718
Close #12418 : Refactor RESEARCH_CATEGORY_* to use strong enum ( #13216 )
2020-10-17 22:15:46 +02:00
duncanspumpkin
54a33674d3
Introduce tables to group information
2020-10-17 20:44:26 +01:00
Hielke Morsink
0cf049c2f7
Replace deprecated function call
2020-10-17 20:00:38 +02:00
Hielke Morsink
085a0e9452
Reduce branching and duplicated lines in limit_autosave_count
2020-10-17 20:00:38 +02:00
Aidan Waite
d287653cb5
Fix #4022 : Mac cursor offset on launch ( #13095 )
...
Update config when forcing windowed mode
2020-10-17 11:57:03 +02:00
Duncan
cd39c30989
Tooltip 2 ( #13159 )
...
* Use ScreenCoords for tooltip
* Remove temporary variables
* Small refactor
* Fix #13151 . Not passing tooltip arguments correctly for ride window
* Fix Server List window version tooltip
* Fix cheats tooltip event
* Add static to function decl
* Remove unreachable break statements in Ride.cpp
* Apply review suggestions
Co-authored-by: Tulio Leao <tupaschoal@gmail.com >
2020-10-17 09:10:08 +01:00
Aaron van Geffen
af26a2cef0
Improve park cheats tab layout ( #13186 )
...
* Remove 'Park parameters…' button
The scenario options are already accessible through the cheats menu
* Split off Objective group from General group
* Split off new Maintenance group from Staff group
* Shrink 'Force park rating' spinner to make room for label
* Change label 'Force weather' to 'Change weather to'
* Change label "Plants don't age" to 'Disable plants withering'
* Change some strings for consistent capitalisation
2020-10-16 21:52:27 +02:00
X7123M3-256
11f2199476
Fix formatting
2020-10-15 20:45:39 +01:00
X7123M3-256
5c81d7deb9
Use block brake sprite for last station tile
2020-10-15 20:27:33 +01:00
X7123M3-256
dd8dcc6136
Fix incorrect bounding boxes
2020-10-15 20:27:33 +01:00
X7123M3-256
15aca5fbb5
Remove unnecessary comments
2020-10-15 20:27:33 +01:00
X7123M3-256
6ca16e0a06
Make JSON objects able to use hybrid track
2020-10-15 20:27:33 +01:00
Simon Jarrett
65a8c58af7
Fix missing direction arrow for stations
2020-10-15 19:44:36 +01:00
Simon Jarrett
25ce8b3f6e
Fix #7443 : Construction arrows pulse at irregular intervals.
2020-10-15 19:44:10 +01:00
Łukasz Pękalski
26720eb345
Fix #5178 : Lighting effects cannot be disabled in software mode ( #13206 )
...
Lighting effect are now automatically turned off when software renderer is selected.
2020-10-15 17:05:39 +02:00