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

15797 Commits

Author SHA1 Message Date
Matt
38dc762f62 Initialize gCommandPosition with LOCATION_NULL in case its not set. 2018-12-30 00:04:34 +01:00
Matt
19ffc6208f Add version to replay file. 2018-12-30 00:03:20 +01:00
Matt
c7ab757a86 Cleanup. 2018-12-29 23:06:15 +01:00
Matt
0ba42d6899 Fix TileElementWantsFootpathConnection test not releasing context. 2018-12-29 22:58:33 +01:00
Matt
5497036f01 Add missing static keyword. 2018-12-29 19:23:28 +01:00
Matt
871a24c410 Rename replay file. 2018-12-29 19:23:28 +01:00
Matt
0a62938e42 Pretty print the test parameter. 2018-12-29 19:23:28 +01:00
Matt
3a9c0dda81 Update changelog.txt 2018-12-29 19:23:28 +01:00
Matt
b0ca9ff7c5 Prevent replay manager from recording nested commands. 2018-12-29 19:23:28 +01:00
Matt
bf03de4755 Focus camera on last replay event. 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
14695e9b41 Fix game actions with ghost flags being recorded to replays. 2018-12-29 19:23:28 +01:00
Matt
d1ee19efd4 Fix track design previews not passing flags down. 2018-12-29 19:23:28 +01:00
Matt
5a8b611b83 Update. 2018-12-29 19:23:28 +01:00
Michael Steenbeek
4993c9ff7c Fix Xcode project 2018-12-29 19:23:28 +01:00
Matt
711d93cb30 Update replay test. 2018-12-29 19:23:27 +01:00
Matt
5cfc06573e Ignore replay test when network is disabled. 2018-12-29 19:23:27 +01:00
Matt
ccc3227113 Cleanup. 2018-12-29 19:23:27 +01:00
Matt
669fbd62dd Add missing source file. 2018-12-29 19:23:27 +01:00
Matt
040522b708 Fix include. 2018-12-29 19:23:27 +01:00
Matt
017f190a52 Add basic regression tests via the replay system. 2018-12-29 19:23:27 +01:00
Matt
7fa9ce3054 Store state important park parameters in the replay. 2018-12-29 19:23:27 +01:00
Matt
df0cc72887 Add normalisation support to remove gaps. 2018-12-29 19:23:27 +01:00
Matt
b6c2dca849 Adjust replay notification position. 2018-12-29 19:23:27 +01:00
Matt
f6dbf5f1a2 Add std::array serialiser support. 2018-12-29 19:23:27 +01:00
Matt
6e2514cd0d Refactor sprite_checksum, returns rct_sprite_checksum now. 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
6e8216d7c7 Add GAME_COMMAND_FLAG_REPLAY 2018-12-29 19:23:27 +01:00
Matt
624427259b Draw text notice if replay system is active. 2018-12-29 19:23:27 +01:00
Matt
3ea8ab4bb3 Cleanup serialization. 2018-12-29 19:23:27 +01:00
Michał Janiszewski
d9b91055ca Fix include 2018-12-29 19:23:27 +01:00
Matt
b573d5ddaa Add missing virtual destructor. 2018-12-29 19:23:27 +01:00
Matt
000a9694f9 Fix DataSerialiser not accepting temporary values. 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
OpenRCT2 git bot
4654e2fc19 Merge Localisation/master into OpenRCT2/develop. 2018-12-29 04:00:24 +00:00
Michał Janiszewski
54403aca06 Fix the no-HTTP builds 2018-12-28 22:27:33 +01:00
Michał Janiszewski
5b467ffc68 Fix rendering of text shadows with TTF (#8533)
Only render shadow if it is within the bounds of allocated buffer.
This fixes most if not all crashes seen with rendering TTF. The cause of
the problem is rendering of shadows which is done by taking a solid
rendered text and moving it by one pixel to up, left, right and *down*.
In some cases rendering the shadow in the one-down offset will write
past the allocated surface (see
8d9fcb7f98/src/openrct2/drawing/Drawing.String.cpp (L594))
it can easily happen when trying to render a shadowed text (e.g. map
tooltip) on a peep that's just above the bottom of the viewport.
2018-12-28 11:47:08 -08:00
ζeh Matt
8d9fcb7f98 Merge pull request #8337 from ZehMatt/fix-8333
Fix #8333: Replace assert with in-game error.
2018-12-23 22:48:17 +01:00
Matt
727ba2d7d0 Fix #8333: Replace assert with in-game error. 2018-12-23 22:28:59 +01:00
Michael Steenbeek
16b9c533d4 Update used objects version to v1.0.8 2018-12-23 13:12:28 +01:00
Michał Janiszewski
a34957eb41 Add ride type check to rct_peep::ShouldGoOnRide 2018-12-22 15:35:26 +01:00
Michael Steenbeek
2530cd1ac3 Fix #8426: Queue banner left behind after ride demolition 2018-12-22 15:34:17 +01:00
Gymnasiast
958f287bb7 Fix typo, fix nullptr check notation 2018-12-22 15:31:28 +01:00
Ted John
fa3374c827 Fix #8484: Object selection doesn't work
Revert change to _filter_object_counts from d145ae6922
2018-12-22 11:18:17 +00:00
Michael Steenbeek
65dcdf77ea Fix #8508: Underground roto-drop is not going up 2018-12-22 11:56:00 +01:00
Tobias
73345b414b Fix #7985: Giant Screenshot ignores 'Map rendering' settings 2018-12-21 21:27:06 +01:00
Michael Steenbeek
764fdf0648 Merge pull request #8491 from ZehMatt/preview-placement-hints
Use different colours for entrance/exit on track design previews.
2018-12-21 20:46:22 +01:00
OpenRCT2 git bot
ec06a9a7e8 Merge Localisation/master into OpenRCT2/develop. 2018-12-21 04:00:23 +00:00
ζeh Matt
b572fffafa Merge pull request #8457 from ZehMatt/refactor/game-action-name
Automatically expose game action name via macro.
2018-12-20 23:17:49 +01:00
Matt
4dce91e027 Move defines into Colour.h 2018-12-20 22:29:16 +01:00