duncanspumpkin
9e227c1e2f
Add const where possible
2021-10-06 16:44:07 +01:00
duncanspumpkin
fea69cc86c
Backport scenery window from NSF
...
Co-authored-by: IntelOrca <IntelOrca@users.noreply.github.com>
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com>
2021-10-06 16:44:05 +01:00
ζeh Matt
976d15ce10
Merge pull request #15529 from ZehMatt/refactor/smallsceneryplaceaction-result
...
Refactor action result passing for SmallSceneryPlaceAction
2021-10-06 08:32:16 -07:00
ζeh Matt
aa50809a85
Merge pull request #15528 from ZehMatt/refactor/staffhireaction-result
...
Refactor action result passing for StaffHireNewAction
2021-10-06 08:32:00 -07:00
ζeh Matt
d2ffeaa7b0
Refactor action result passing for WallPlaceAction
2021-10-06 18:31:09 +03:00
ζeh Matt
911f168f8f
Mark two palettes thread_local for parallel drawing support
2021-10-06 17:28:37 +03:00
ζeh Matt
fa340cb5a1
Add parallel drawing if engine allows it
2021-10-06 17:24:39 +03:00
ζeh Matt
6ad4150085
Introduce rendering engine flag for parallel drawing
2021-10-06 17:15:40 +03:00
ζeh Matt
9cb26f7b02
Refactor action result passing for SmallSceneryPlaceAction
2021-10-06 16:12:37 +03:00
Hielke Morsink
782220b42b
Show "Update available" in all game-options dropdowns
...
Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com>
2021-10-06 15:02:35 +02:00
Duncan
6cac668447
Fix incorrect staff costumes being available ( #15499 )
...
Noticed this when trying to fix an NSF scenery window issue. The previous code meant that if any single scenery item in a set was researched then the costume was available but I'm pretty sure its meant to be tied to if the whole scenery set is invented.
2021-10-06 12:32:17 +01:00
ζeh Matt
483dea452c
Merge pull request #15532 from CookiePLMonster/fix-15299
...
Fix #15299 : Breakpad crash dumps are created in game directory
2021-10-05 11:54:46 -07:00
hjort96
763c31ce5b
Fix clang-format
2021-10-05 20:06:17 +02:00
Silent
5fcbc3a53d
Fix #15299 : Breakpad crash dumps are created in game directory
2021-10-05 18:23:06 +02:00
Soham Roy
4d27417fd2
Fix #11354 : Coding style causes undefined behaviour
...
An underscore followed by a capital letter used as a prefix might cause
undefined behaviour
2021-10-05 13:58:50 +02:00
Jonathan Hjorth
9a2a12af98
Cleaning code
2021-10-05 11:09:37 +02:00
Jonathan Hjorth
0195ce45a2
Added OnToolUpdate, OnToolDrag, OnToolUp, OnPrepareDraw to new window
2021-10-05 10:54:15 +02:00
Jonathan Hjorth
4fe21e3274
OnToolUpdate, OnToolDrag, OnToolUp now being used
2021-10-05 10:53:40 +02:00
Jonathan Hjorth
0a392841c2
Added functions OnToolUpdate, OnToolDrag, OnToolUp to rct_window
2021-10-05 10:52:44 +02:00
Jonathan Hjorth
dbe07554c9
Added OnOpen() to ViewClippingWindow
2021-10-05 10:52:14 +02:00
Jonathan Hjorth
762005f25a
Fixed crash caused by window not being properly initialized
2021-10-05 10:51:24 +02:00
Jonathan Hjorth
419201f476
Work on refactoring ViewClipping.cpp to the new window framework.
2021-10-05 10:50:47 +02:00
OpenRCT2 git bot
36a0a28e3f
Merge Localisation/master into OpenRCT2/develop
2021-10-05 04:08:34 +00:00
ζeh Matt
8effeb26b0
Refactor action result passing for StaffHireNewAction
2021-10-04 17:01:27 +03:00
Michael Steenbeek
233b1e99b4
Fix Windows compilation of OrcaStream
2021-10-03 22:41:55 +02:00
Michael Steenbeek
7530a03b8e
Merge pull request #15508 from Broxzier/refactor/widget-references
...
Use (const) references to widgets and scrolls where possible
2021-10-03 21:07:31 +02:00
Silent
445fb747bf
Fix Scenario description missing when loading a park from a save file
...
Saved games do not have a valid info chunk,
so scenario names/descriptions did not load.
2021-10-03 20:57:17 +02:00
ζeh Matt
cf7b4ded08
Move static declaration into cpp file
2021-10-03 21:13:04 +03:00
ζeh Matt
dc44d1f79d
Merge pull request #15511 from ZehMatt/refactor/ridecreateaction-result
...
Refactor RideCreateAction result data passing
2021-10-03 07:55:14 -07:00
ζeh Matt
24ec2e1b67
Merge pull request #15510 from ZehMatt/refactor/largescenerayplace-result
...
Refactor LargeSceneryPlaceAction result data passing
2021-10-03 07:54:59 -07:00
Hielke Morsink
b246a4919d
Fix #15514 : Two “quit to menu” menu items available in track designer
2021-10-03 15:20:45 +02:00
OpenRCT2 git bot
b7bda6e938
Merge Localisation/master into OpenRCT2/develop
2021-10-02 04:08:15 +00:00
ζeh Matt
76c2f9db85
Refactor LargeSceneryPlaceAction result data passing
2021-10-02 00:56:59 +03:00
ζeh Matt
2597c04eb4
Refactor RideCreateAction result data passing
2021-10-02 00:50:03 +03:00
Hielke Morsink
1d62a902e7
Make scenery_small_entry_has_flag a member function ( #15509 )
2021-10-01 16:50:05 -03:00
Michael Steenbeek
06dc75845a
Fix #15476 : Crash in map_place_clear_func()
2021-10-01 16:10:25 +00:00
Michael Steenbeek
d320a5cfe7
Merge pull request #15505 from Gymnasiast/fix/15496
...
Fix #15496 and clean up paint_swinging_inverter_ship_structure() a bit
2021-10-01 18:03:22 +02:00
Hielke Morsink
5b9b52c028
Use (const) references to scrolls where possible
2021-10-01 15:21:01 +02:00
Hielke Morsink
6de1868ad8
Use (const) references to widgets where possible
...
Note: The change from `w->widgets[WIDX_ENTRY_PRICE]` to `entryPriceWidget` is intended.
2021-10-01 15:21:00 +02:00
Michael Steenbeek
317e562845
Merge pull request #15495 from ZehMatt/refactor/xyz-access
...
Use GetLocation in more places
2021-10-01 14:02:34 +02:00
Gymnasiast
d3cfa07a2a
Fix #15496 : crash in paint_swinging_inverter_ship_structure()
2021-10-01 13:51:00 +02:00
Gymnasiast
c74984740b
Pass ride ref to paint_swinging_inverter_ship_structure()
2021-10-01 13:48:27 +02:00
Michael Steenbeek
26d1186240
Merge pull request #15493 from Broxzier/refactor/minor-cleanups
...
Minor code cleanups
2021-09-30 15:03:33 +02:00
ζeh Matt
456e54b022
Remove useless comment
...
Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com>
2021-09-30 05:37:23 -07:00
Hielke Morsink
429e34d7f3
Make uses of window_get_main use (const) auto*
2021-09-30 14:36:06 +02:00
ζeh Matt
c492362e45
Fix mistake and cleanup
2021-09-30 15:34:22 +03:00
Duncan
e01c9a3afa
Stream changes from NSF ( #15446 )
...
* Bring over NSF changes to stream classes
* Add orca stream to project files
* Bring over util changes as well.
* Add const to util and fix util ungzip
* Add const and apply review comments
* Apply review comments
2021-09-30 13:02:54 +01:00
Hielke Morsink
bb5d09982f
Properly name argument
2021-09-30 10:40:32 +02:00
Hielke Morsink
94144bcd89
Remove some dead code
...
Reported by clang
clang-analyzer-deadcode.DeadStores
2021-09-30 10:40:32 +02:00
Michael Steenbeek
bfe7caacd7
Fix #15487 : map animations do not work correctly in vanilla RCT2 ( #15492 )
...
Co-authored-by: duncanspumpkin <duncanspumpkin@users.noreply.github.com>
Co-authored-by: duncanspumpkin <duncanspumpkin@users.noreply.github.com>
2021-09-30 07:40:58 +01:00