ζeh Matt
e149722a15
Fix #9467 : Crash when windows create new window when being closed ( #9470 )
2019-06-27 22:28:07 +02:00
duncanspumpkin
b896f07687
Add PeepPickupAction
...
Move Guest and Staff pickup to the new game action. Rework the game
action so that only one game action is required for the two game
commands. Remove the final game command with a callback.
2019-06-20 19:34:02 +01:00
duncanspumpkin
ecbff5d4f2
Refactor to use CoordsXY
2019-06-20 18:53:30 +01:00
duncanspumpkin
2a60268c05
Fix #9440 . Set the tile coordinate correctly with spinner.
2019-06-20 18:52:40 +01:00
duncanspumpkin
96ec0123ca
Refactor and clean up for CI's.
2019-06-11 18:43:23 +01:00
duncanspumpkin
3162d4dc75
Implement TileModifyAction
...
Further work moving game commands into the game action framework
2019-06-11 18:42:52 +01:00
Peter
dd948f99c4
#9295 Refactor rct_vehcile->status to rct_vehicle::SetState() ( #9329 )
...
Fix #9295 . Refactor rct_vehicle->status to rct_vehicle::SetState()
Created rct_vehicle::SetState() and refactored all assignments to
rct_vehcile->status. SetState also includes a call to
vehicle_invalidate_window(), so it cannot be forgotten.
2019-06-09 15:45:56 +01:00
Ted John
6f0298deb3
Refactor ride measurement storage
2019-06-09 11:55:41 +02:00
Rikard Falkeborn
7478e13e61
Add suffix constant to avoid shifting too many bits ( #9389 )
...
Since WIDX_SCENERY_BUILD_CLUSTER_BUTTON is 31, add suffix ULL to
avoid shifting 1 (which is an int and 4 bytes on most systems) 31 bits
which is technically undefined behaviour. This is already done in the
shift at line 463.
Detected by the help of cppcheck.
2019-06-09 11:35:42 +02:00
Hielke Morsink
5418eb6e34
Add transparency setting to options window
2019-06-09 11:03:01 +02:00
Duncan
993709c087
Merge pull request #9321 from aw20368/fix/8723-use-rotate_map_coordinates
...
Fix #8723 Use rotate_map_coordinates to rotate coordinate
2019-06-08 07:52:52 +01:00
aw20368
e0cf476398
Fix #8723 Use rotate_map_coordinates to rotate coordinate
...
Added Rotate to CoordsXY, TileCoordsXY and used them to replace redundant rotation code.
2019-06-06 08:21:40 -04:00
Aaron van Geffen
f1ac847fce
Merge pull request #9222 from IntelOrca/implement/485-ghost-train-simulation
...
Implement #485 : ghost train simulation
2019-06-04 20:24:16 +02:00
ζeh Matt
cf9e5e14a6
Merge pull request #9330 from ZehMatt/window-refactor
...
Refactor window storage to use std::list instead of std::vector
2019-06-01 21:22:02 +02:00
aw20368
02ef545f1b
Fix #9314 : Trying to delete ride piece while paused moves the selection ( #9332 )
...
Failed track removal was triggering a move to the next piece. Changed to move only upon successful removal.
2019-05-30 20:51:56 +02:00
Matt
951f5009ef
Refactor window storage to use std::list instead of std::vector
2019-05-29 19:32:18 +02:00
Aaron van Geffen
d1f48fab53
Add RCT1 traffic light sprites for ride simulate status.
2019-05-28 16:50:38 +01:00
Aaron van Geffen
bab7711c5b
Add new simulate icon.
2019-05-28 16:50:38 +01:00
Ted John
26185b9e72
Change simulate to toggle button
2019-05-28 16:50:38 +01:00
Ted John
5ef0730008
Remove simulate from ride window
2019-05-28 16:50:38 +01:00
Ted John
5289113c95
Add simulate button to ride construction window
2019-05-28 16:50:38 +01:00
Ted John
5f1f428bce
Add and use Ride::SupportsStatus
2019-05-28 16:50:08 +01:00
Ted John
fec6d660c6
Remove obsolete configs:
...
- no crashes
- test unfinished track
2019-05-28 16:50:08 +01:00
Ted John
c4e18e570e
Add and implement simulation mode for rides
2019-05-28 16:50:08 +01:00
nexgenration
46889b5381
Implement #9231 : Add sprite_index to Guest Debug Tab
2019-05-27 22:39:03 +02:00
Ted John
abf72eda7f
Fix #9293 : Issue with the native load/save dialog ( #9294 )
...
Do not set OpenRCT2 as the owner of the file dialog so that it has its own taskbar button and can be independently focused.
2019-05-24 19:31:29 +01:00
Ted John
7f2936b8fb
Fix #7045 : Theme window's colour pickers not drawn properly on OpenGL
...
Remove unnecessary transparent flag when drawing colour buttons.
2019-05-20 19:47:26 +01:00
Michael Steenbeek
1b11612e3c
Merge pull request #9259 from duncanspumpkin/scenario_set
...
Implement ScenarioSetSetting game action
2019-05-19 15:09:12 +02:00
nexgenration
6b232f7e53
Fix#9197: Peep insert new thought ( #9230 )
...
Improve the readability of the codebase by moving functions into the relevant structures.
- Change name of peep_insert_new_thought to InsertNewThought.
- Update InsertNewThought definition to Guest::InsertNewThought.
2019-05-18 09:47:25 +01:00
Michał Janiszewski
bbcc69270d
Ensure finances window's months don't overflow ( #8686 )
...
Some functions (e.g. window_finances_summary_scrollpaint) will try using
the returned index, which makes it overflow.
2019-05-15 21:09:01 +02:00
Greg Hennis
1fcedae3bc
Fix #9258 : Rename SPRITE_LIST_NULL to ..._FREE ( #9260 )
2019-05-15 19:07:01 +02:00
duncanspumpkin
3ac596faf1
Implement ScenarioSetSetting game action
...
Further work moving game commands into the game action framework to improve design.
2019-05-14 21:46:27 +01:00
Michael Steenbeek
c9cbe391eb
Merge pull request #8427 from Mikroscopic/minimap-fix
...
Fix #8385 : Ghost objects rendered in minimap
2019-05-14 22:38:26 +02:00
Michael Steenbeek
abc13422ed
Fix #9132 : System file browser cannot open SV4 files
2019-05-14 22:12:23 +02:00
duncanspumpkin
0b7d7027e1
Fix formatting
2019-05-14 21:58:55 +02:00
duncanspumpkin
1eb7f4d8c6
Implement Modify Group and Kick Player Actions.
...
Further work on the Game Actions porting
2019-05-14 21:58:55 +02:00
Duncan
7793001f5d
Implement BalloonPressAction
...
Furthering reducing the number of game commands and moving them to the Game Action framework
2019-05-14 21:54:54 +02:00
joshtucker132
4dc77bf121
Feature #8791 : Improved tile element flag manipulation in Tile Inspector
2019-05-14 21:38:31 +02:00
duncanspumpkin
b9a70d02a3
Make suggested changes
...
Implement suggestions
Fix formatting
2019-05-12 17:31:48 +01:00
duncanspumpkin
e9e445837f
Add landset/buyrights action
2019-05-12 17:29:19 +01:00
Ted John
15cb3e1889
Remove unnecessary new line characters from log calls ( #9237 )
2019-05-12 13:48:56 +02:00
Ted John
1ac8d9058f
Colour local servers as green
2019-05-12 01:05:11 +01:00
Ted John
3334d40da4
Explicitly use std::launch::async
2019-05-12 00:51:33 +01:00
Ted John
52afcb795f
Fix windows build
2019-05-12 00:51:33 +01:00
Ted John
47f48721e8
Fix clang build
2019-05-12 00:51:33 +01:00
Ted John
4b0f2bbceb
Fix disable network / disable http builds
2019-05-12 00:51:33 +01:00
Ted John
20f52a8cbe
Refactor TcpSocket and UdpSocket
2019-05-12 00:51:33 +01:00
Ted John
51117432f0
Improve status messages and prevent duplicates
2019-05-12 00:51:33 +01:00
Ted John
3a400a2471
Refactor server list
2019-05-12 00:51:33 +01:00
Ted John
4437113805
Fix server list LAN address and port
2019-05-12 00:51:33 +01:00