1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 03:23:15 +01:00
Commit Graph

134 Commits

Author SHA1 Message Date
duncanspumpkin
0070283dc2 Implement game action 2019-03-05 19:54:17 +00:00
duncanspumpkin
29de97f5b1 Remove references to old game command 2019-03-04 16:57:21 +00:00
duncanspumpkin
aef3f24178 Remove reference to game command 2019-03-02 16:06:03 +00:00
duncanspumpkin
f10391c98d Remove references to old command 2019-03-02 07:24:42 +00:00
Ted John
cdec457abd Refactor peep struct 2019-02-28 20:28:58 +01:00
duncanspumpkin
245a7fe64d Remove old game command 2019-02-28 08:21:58 +00:00
duncanspumpkin
cbb02ec98a Use game action for track design. Fix error titles.
Add files to xcode project (#20)

Finally get the placement code working

Use game action for ghosts. Fix basequarter

Remove references to old command

Fix formating remove unused var

Fix clang format
2019-02-27 18:51:54 +00:00
duncanspumpkin
e1977d1a2f Remove references to game command 2019-02-27 08:15:11 +00:00
duncanspumpkin
c1546a92b7 Implement RideSetVehicleAction
Move all callees to the new action.
Required rework on how the ride type change worked.
2019-02-26 08:14:57 +00:00
duncanspumpkin
c24c6bdf0a Remove references to old game command 2019-02-22 09:01:39 +00:00
duncanspumpkin
eadef45ffd Add LoadOrQuiteAction 2019-02-22 09:00:38 +00:00
duncanspumpkin
1227bc09fc Remove references to game command 2019-02-21 16:00:31 +00:00
duncanspumpkin
77b25714ff Move callbacks into GameActionCallbacks
Remove remaining references to game command
2019-02-19 12:30:42 +00:00
Matt
a6c6d6ddc3 Update checks for when money is required. 2019-02-18 17:19:44 +01:00
Duncan
79ccc8ca32 Merge pull request #8705 from phillipwalters/develop
Removed dead code per issue 8677 (https://github.com/OpenRCT2/OpenRCT2/issues/8677)
2019-02-15 13:58:57 +00:00
Phillip Walters
b7787daa9f More formatting changes. 2019-02-12 18:02:33 -08:00
Phillip Walters
11ff0b6688 Cleaned up some formatting 2019-02-12 17:53:39 -08:00
Phillip Walters
28d4446da4 Re-added some code that shouldn't have been removed and removed some other code that I missed last time. 2019-02-11 18:58:56 -08:00
duncanspumpkin
866d143930 Move Pause Toggle into the GameAction framework 2019-02-11 10:46:12 +00:00
Phillip Walters
14835b9e31 Removed dead code per issue 8677 (https://github.com/OpenRCT2/OpenRCT2/issues/8677) 2019-02-10 18:17:05 -08:00
Matt
d87ca57e72 Replace game command references with new game action. 2019-02-08 18:03:06 +01:00
duncanspumpkin
fd7f9fefca Move Land Set Height over to GameAction Framework 2019-02-08 14:08:26 +00:00
duncanspumpkin
201db19d0a Move Ride Set Appearance into action framework 2019-02-07 08:14:45 +00:00
duncanspumpkin
8a69b89df6 Move Staff Set Orders into game action framework.
Split up costume and order game commands
2019-02-05 20:38:18 +00:00
Christopher G. Dolan
075983da0f Implement game action for sign set style 2019-02-03 22:20:01 -08:00
Lars Toenning
7de115263e Fix #8377: Change number of autosaves that are stored (#8440) 2019-01-19 14:31:12 +01:00
IntelOrca
b9fd90ffd3 Implement ClearAction. 2019-01-07 09:04:51 +01:00
Matt
d7096f71cb Implement SceneryRemoveLargeAction. 2019-01-07 09:04:51 +01:00
Matt
b34b09c6bb Implement SceneryRemoveSmallAction. 2019-01-07 09:04:51 +01:00
Matt
38dc762f62 Initialize gCommandPosition with LOCATION_NULL in case its not set. 2018-12-30 00:04:34 +01:00
Matt
c7ab757a86 Cleanup. 2018-12-29 23:06:15 +01:00
Matt
b0ca9ff7c5 Prevent replay manager from recording nested commands. 2018-12-29 19:23:28 +01:00
Matt
d3a20df682 Fix track designs ignoring ghost/preview flags. 2018-12-29 19:23:28 +01:00
Matt
df0cc72887 Add normalisation support to remove gaps. 2018-12-29 19:23:27 +01:00
Matt
bf8108c2d6 Lock game actions and commands to replay commands if replay is active. 2018-12-29 19:23:27 +01:00
Matt
a6efef1e81 Add support to record and replay game commands/actions. 2018-12-29 19:23:27 +01:00
Ted John
08b02943d3 Use std::string for scenario name, details etc. 2018-12-16 19:01:14 +00:00
ζeh Matt
7d19a5bc77 Refactor memcpy to std::memcpy and memset to std::memset (#8408) 2018-12-15 22:23:31 +01:00
Michael Steenbeek
6d0f0334d7 Merge pull request #8339 from ZehMatt/realtime-ticks
Use real time ticks for UI effects.
2018-12-15 21:00:44 +01:00
ζeh Matt
f69c95f907 Fix #8392: prevent crash due to inconsistent player list updating. (#8397) 2018-12-09 10:18:23 +01:00
Matt
4bc69a0111 Introduce gCurrentRealTimeTicks and refactor some variable names. 2018-12-01 16:36:00 +01:00
Hielke Morsink
354d973a48 Use std::size instead of Util::CountOf 2018-11-23 21:59:08 +01:00
Michael Steenbeek
f8add7f62e Rename rct_tile_element to TileElement 2018-11-01 13:53:50 +01:00
Robert Lewicki
694608624d Add save_park command (#8078)
Added save_park command that enable to save current state of the game
using command line.
2018-10-14 22:36:41 +02:00
jensj12
eac9b720ee Add #7726: Shortcut to advance one tick (#7851) 2018-09-23 23:40:47 +02:00
Michael Steenbeek
74ccf010e6 Port surface elements to new structure 2018-09-16 21:34:51 +02:00
Matt
a89b352fb2 Rename rct_sprite::unknown to rct_sprite::generic 2018-08-20 18:27:40 +02:00
Linus Unnebäck
fd07be587a Remove Math::Clamp in favour of std::clamp 2018-08-12 16:47:12 +01:00
ζeh Matt
b2005c3b9f Implement FootpathRemoveAction as a GameAction (#7867) 2018-08-12 10:31:00 +02:00
clang-format
b02dfdbc93 Binpack function arguments together
Previously when the arguments of a function wouldn't fit on a single line, clang-format would put each argument on its own line instead. By enabling the binpack parameter setting, it tried to fit as many on one line as possible instead.

Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
2018-07-23 16:00:22 +02:00