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
clang-format
95ce592579
Enforce not breaking before assignments and function names
...
Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com >
2018-07-23 16:00:19 +02:00
Hielke Morsink
73a7e935c3
Correct formatting for files in the project root
2018-07-23 16:00:17 +02:00
clang-format
c57bbca827
clang-format root
2018-07-23 16:00:14 +02:00
Michael Steenbeek
1b08fb4e69
Replace our own integer types with standard ones
2018-06-20 17:30:40 +02:00
Michael Steenbeek
ec3a1e575e
Replace Math::Min and Max with std variants
2018-06-20 17:11:35 +02:00
Hielke Morsink
0cf256ac9e
Ready copyright notice for clang-format
...
Clang-format sees the text behind `#pragma region` as code and formats it. Instead of stating the copyright and date there, it's now in the comment block right below it. The text "Copyright" is left in the `#pragma region` line, as clang-format sees it as a single identifier.
I took the opportunity to normalize the dates, and add the copyright notice to the source files where it was missing them (except for third-party and the generated resources.h file).
2018-06-15 14:07:34 +02:00
Ted John
9e9c2c072e
Fix #7678 : Crash when Loading or starting a new game...
...
...while having object selection window open
Close the object manager window before loading the next park.
2018-06-13 23:29:05 +01:00
Michał Janiszewski
1d28826b79
Fix -Wdocumentation and add it to default warnings
2018-06-11 09:52:54 +02:00
Ted John
04da3be824
Move Widget.cpp to libopenrct2ui
2018-06-11 00:04:41 +01:00
Ted John
ae6af47341
Move TitleSequencePlayer to libopenrct2ui
2018-06-10 23:39:56 +01:00
Ted John
85dc161c5a
Add SetMainView to WindowManager
2018-06-10 23:33:52 +01:00
Aaron van Geffen
dcff6895b5
Refactor game_init_all into GameState::InitAll.
2018-05-30 11:53:32 +02:00
Ted John
4d4e7ba4b1
Create new GameState class for updating the game
2018-05-30 11:53:30 +02:00