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

13215 Commits

Author SHA1 Message Date
Jan Beich
a5555649ec network: unbreak build with Clang 9 (#10014)
ld: error: libopenrct2.a(Network.cpp.o): unable to find library from dependent library specifier: Ws2_32.lib
2019-09-23 17:14:57 +02:00
Gymnasiast
856075a781 Bump network version and amend changelog 2019-09-22 23:07:57 +02:00
aw20368
3f10811426 Fix #9970: Wait for quarter load fails
Vehicle was always incorrectly flagged as ready to depart when quarter load is selected. Removed erroneous flag.
2019-09-22 23:06:54 +02:00
Michael Steenbeek
5e1d14f061 Merge pull request #9939 from IntelOrca/refactor/image-id
Create new ImageId struct
2019-09-22 17:07:49 +02:00
Michael Steenbeek
a5700a3d07 Merge pull request #9959 from richard-fine/directions
Convert more code to use proper Direction symbols
2019-09-22 16:59:41 +02:00
gill984
565ad3798d Fix #9957: Guests complain about running out of money in no money parks 2019-09-22 16:52:53 +02:00
Joseph Atkins-Turkish
2e5f46fcf1 Fix raise/lowering water at edge of map (#9979) 2019-09-22 14:13:52 +02:00
Michael Steenbeek
a11762b11a Remove old C functions that only call their equivalent
* Remove old C functions that only call their equivalent

* fix formatting
2019-09-22 14:12:49 +02:00
Duncan
b94b8880aa Fix ride station index related bugs 2019-09-19 22:56:54 +02:00
Joseph Atkins-Turkish
747e00512d Fix #7572: Queue paths connect to regular paths through fences 2019-09-18 23:31:29 +02:00
Peter
650142de9b Fix #9902: Doors and portcullises can be double opened 2019-09-18 23:26:33 +02:00
Joseph Atkins-Turkish
6b21aac4ea Fix #9675: Inconsistent number of guest entry points (#9990) 2019-09-15 18:57:21 +02:00
Gymnasiast
0aca04256b Fix #9978: Mazes are imported incorrectly 2019-09-12 23:12:54 +02:00
Michael Steenbeek
4424964686 Fix #9975 and #9976: Crash when removing LargeScenery with null element (#9977) 2019-09-10 21:03:22 +02:00
ζeh Matt
afda556e86 Merge pull request #9915 from ZehMatt/audio-music-limit
#1349: Increase the number of ride music played simultaneously to 32
2019-09-10 13:02:29 +02:00
Gymnasiast
673b12029e Bump network version 2019-09-09 23:07:46 +02:00
Michael Steenbeek
d314782a40 Merge pull request #9952 from Gymnasiast/refactor/use-that-space
Refactor/use that space
2019-09-09 19:05:50 +02:00
Ted John
fc679c9105 Fix #9956: invalid-read in window_ride_main_open 2019-09-08 13:55:02 +01:00
Ted John
7b7d3ec5e3 Fix #9971: invalid-read in place_virtual_track 2019-09-08 13:45:56 +01:00
Richard Fine
92f50efedc Formatting fixes 2019-09-01 19:10:27 +01:00
Richard Fine
31ce0f20f7 Use range-based for loops for checking all directions 2019-09-01 18:40:28 +01:00
Richard Fine
3131bfdc74 Use INVALID_DIRECTION in a bunch of places 2019-09-01 18:40:24 +01:00
Richard Fine
bf3461e014 Restrict FootpathPlaceAction more correctly
direction_valid() restricts the direction to 0-3, not 0-15. As discussed on Gitter, this is more correct.
2019-09-01 18:40:21 +01:00
Richard Fine
caa6ad71c7 Add direction_next and direction_prev helpers 2019-09-01 18:40:17 +01:00
Richard Fine
9123fa74d3 Add ALL_DIRECTIONS array 2019-09-01 18:40:14 +01:00
Richard Fine
0e04dbeea1 Allow SwapBE to swap non-uint types
If we want to have more semantically meaningful types (like Direction), it's useful to be able to support those in the DataSerializer too. Swapping bytes for entire structures is probably never going to make sense, but for types that are pure wrappers around integer types, we want to be able to swap them as if they were the integer they wrap.
2019-09-01 18:40:11 +01:00
Richard Fine
5ff78e48c7 Reduce usage of GetDirectionWithOffset()
GetDirectionWithOffset(2) is the same thing as 'direction_reverse(GetDirection())', and the latter is more readable.
2019-09-01 18:40:08 +01:00
Richard Fine
6449393d50 Use Direction type in a bunch of the pathfinding code 2019-09-01 18:38:03 +01:00
Richard Fine
06b2f66ba1 Use Direction type for peep::direction 2019-09-01 16:08:01 +01:00
Richard Fine
52b4717d85 Use Direction type for PathElement SlopeDirection 2019-09-01 16:08:01 +01:00
Richard Fine
6a673cc7be Introduce INVALID_DIRECTION constant 2019-09-01 16:08:01 +01:00
Gymnasiast
f12eb3010f Fix display of G2 characters; remove some unused sprite IDs 2019-09-01 11:12:09 +02:00
Gymnasiast
bb73dd0dfb Refactor track element to use 16 bytes 2019-08-31 13:14:19 +02:00
Gymnasiast
1fead03179 Modify Surface tile element to use 16 bytes 2019-08-30 22:22:08 +02:00
Gymnasiast
f4eceaf35e Modify Large Scenery tile element to use 16 bytes 2019-08-30 22:07:43 +02:00
Gymnasiast
7e8ab6b693 Also clear pad_08 in tile_element_insert() 2019-08-30 21:48:18 +02:00
Michał Janiszewski
8637eb6c57 Rename some bits to allow unity builds of libopenrct2 (#9944)
* Rename some bits to allow unity builds of libopenrct2

Some names are clashing when doing a unity build, renaming them solves
the problem.
2019-08-29 23:03:56 +02:00
ζeh Matt
1db18d4778 Bump up network version (#9949) 2019-08-28 19:58:30 +01:00
Michael Steenbeek
931a607fd6 Merge pull request #9938 from Gymnasiast/refactor/less-access-to-type-flags
Refactor some accessors to tile element type and flags fields
2019-08-28 09:37:39 +02:00
Gymnasiast
d6b6edcc06 Remove unnecessary parentheses [ci skip] 2019-08-27 23:07:46 +02:00
Gymnasiast
0152d9f880 Fix comment [ci skip] 2019-08-27 23:05:12 +02:00
Gymnasiast
f365bc3cb7 Create getters and setters for occupied quadrant 2019-08-27 21:12:48 +02:00
Ted John
c211292fdd Fix #9941: Giant screenshot's made from command line aren't positioned right 2019-08-26 14:50:47 +01:00
Ted John
48bc28b618 Fix #9937: Incorrect tooltips when hovering ride entrances and ride exits
- Localised strings have an extra POP16, not sure why it was there in vanilla.
- Exit string never appended station number.
2019-08-26 14:31:20 +01:00
Ted John
9be0130f2d Show image limit in show_limits console command (#9935) 2019-08-26 12:28:37 +01:00
Matt
db5c4ab1b4 Cleanup code in ride_music_update_final 2019-08-25 18:14:28 +02:00
Matt
1e1dd2fc2f Increase the number of ride music played simultaneously to 32 2019-08-25 18:14:25 +02:00
Gymnasiast
5ef72a4e11 Rename quartertile param in map_can_construct_with_clear_at() 2019-08-25 17:49:44 +02:00
Gymnasiast
ec5ba20992 Create dedicated method for SetLastForTile() 2019-08-25 16:13:02 +02:00
Ted John
fa792d04e1 Add constexpr modifiers 2019-08-25 12:56:42 +01:00