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
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
ζ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
Matt
4ff2dbd108
Automatically expose game action name via macro.
2018-12-20 22:20:58 +01:00
Michał Janiszewski
c0fc5142ac
Merge pull request #8321 from ZehMatt/simulate-cmd
...
Add "simulate" command.
2018-12-20 22:08:17 +01:00
Ted John
92bb4a5897
Fix #8498 : Advertisement campaigns less effective than they used to be
...
0x8000 was being checked instead of 0xFFFF when importing and exporting peep spawns to and from S4, S6.
2018-12-20 09:25:31 +00:00
ζeh Matt
7568123a9d
Fix #8482 : Pending player list not being reset. ( #8483 )
2018-12-19 20:34:41 +01:00
Michael Steenbeek
38b26e0ac4
Fix #8456 : Junior booster track piece doesn't connect properly
2018-12-18 22:41:01 +01:00
ζeh Matt
183e508c4d
Merge pull request #8465 from ZehMatt/fix-8464
...
Fix #8464 : Crash on game shutdown.
2018-12-18 00:55:22 +01:00
Michał Janiszewski
ea61be5ebe
Prevent logging from using already-freed game command ( #8473 )
...
gc variable is held by reference in the scope above, pointing to the
queue's beginning.
2018-12-17 23:56:01 +01:00
Matt
8e2e60b117
Fix #8464 : Crash on game shutdown.
2018-12-17 23:51:43 +01:00
ζeh Matt
3cc6e1ab15
Fix #8469 : Crash modifying colour on hacked rides. ( #8470 )
2018-12-17 16:27:45 +01:00
Ted John
abbdab9b6d
Merge pull request #8452 from IntelOrca/change-structures
...
Change a few structures from fixed to C++
2018-12-16 19:01:36 +00:00
Ted John
1d6d734c1c
Fix build
2018-12-16 19:01:15 +00:00
Ted John
08b02943d3
Use std::string for scenario name, details etc.
2018-12-16 19:01:14 +00:00
Ted John
4195f0d9c9
Change gPeepSpawns to a vector so we can now have more than 2
2018-12-16 19:00:16 +00:00
Ted John
19a687f2fa
Change gParkEntrance to a vector so we can now have more than 4
2018-12-16 19:00:16 +00:00
Michael Steenbeek
59f9476ecd
Change 'entrance style' to 'station style'
2018-12-16 19:38:30 +01:00
Gymnasiast
6031a9bc27
Fix SV4 import error
2018-12-16 12:49:30 +01:00
Gymnasiast
75d094e135
Fix another omission from #8453
2018-12-16 10:10:26 +01:00
ζeh Matt
7d19a5bc77
Refactor memcpy to std::memcpy and memset to std::memset ( #8408 )
2018-12-15 22:23:31 +01:00
Gymnasiast
748da25f78
Fix omission from #8453
2018-12-15 21:34:14 +01:00
Michael Steenbeek
7d7e8e2638
Merge pull request #8453 from Gymnasiast/fix/8033
...
Fix #8033 : Crash when placing 64th sign
2018-12-15 21:24:09 +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
Gymnasiast
600d32807d
Fix #8033 : Crash when placing 64th sign
2018-12-15 20:34:28 +01:00
Gymnasiast
0d775f48ec
Clean up scenery ghost flags
2018-12-15 20:31:41 +01:00
ζeh Matt
d88a9048f9
Fix #8431 : crash when game action logging is enabled. ( #8447 )
2018-12-15 18:41:55 +00:00
Michael Steenbeek
705fb94f58
Fix #8406 : Add 'Entrance style:' label to Ride window
2018-12-15 19:00:37 +01:00
Hielke Morsink
f53bf5508b
Merge pull request #8335 from ZehMatt/vehicle-crash-fix
...
Fix hacked rides with no vehicles crashing the game.
2018-12-14 21:01:59 +01:00
Michael Steenbeek
596f30313b
Merge pull request #8439 from IntelOrca/fix-8433
...
Fix #8433 and #8434
2018-12-14 20:32:15 +01:00
ζeh Matt
a78a6f2a33
Fix #8349 : Ride's exit is rendered incorrectly while building it
2018-12-14 20:08:18 +01:00
Ted John
fecf4ac3e8
Fix #8434 : Crash if curl_easy_init fails
2018-12-14 17:10:50 +00:00
Matt
f0bd72732c
Fix hacked rides with no vehicles crashing the game.
2018-12-14 00:04:35 +01:00
Ted John
ab53c69c3c
Use new CanGrow method on surface element which uses object property
2018-12-11 23:31:06 +00:00
Ted John
2da8e18200
Read the canGrow flag from surface objects
2018-12-11 23:00:59 +00:00
Michael Steenbeek
cf44ea7e24
Fix #3832 : Track piece colour scheme paint not network-safe
2018-12-11 22:17:52 +01:00
Michał Janiszewski
23dc14b286
Improve checks for object files ( #8417 )
2018-12-11 19:35:27 +01:00
Ted John
7c3401603d
Change mallocs to new[]
2018-12-10 21:14:07 +00:00
Ted John
e13d6da81f
Prevent possible stack overflow if zoom offset is 0
2018-12-10 19:54:54 +00:00
Ted John
85b443fc15
Fix #8411 : Save game failed!
...
Do not try to pack our new object types (stations and surfaces) into saved games.
2018-12-10 15:14:50 +00:00
Ted John
cefa4c3935
Fix #8410 : Grass is broken
...
Add zoom images to the very end of the image table so the offsets of the images are not changed.
2018-12-10 11:57:50 +00:00
Ted John
ef57f1a403
Fix zoomed out images
2018-12-09 23:30:40 +00:00
Ted John
06f203a7e7
Implement surfaces, edges and stations as objects
2018-12-09 23:30:40 +00:00
roosen5
d9806305b0
Fix #8358 : infinite loop when changing vehicle count on stopped ride. ( #8375 )
...
The sprite_remove in Sprite.cpp tries to find itself inside the quadrant.
It does not find itself, and because the rest of the code assumes that it will always find it
The normal code tries to set the value of the next_in_quadrant so that whoever points at it, will now point at its next sprite.
But because it didn't find whoever was pointing to it, it would set the pointer to SPRITE_INDEX_NULL to its next sprite.
This would lead to cycles in the linked list
The reason that the sprite was not found is that during the entry of a ride, the position of a peep is set to LOCATION_NULL
Exiting a ride sets it back to whatever the location is of an exit.
However stopping a ride that still has people in it would go wrong, as the people are removed from the ride through ride_remove_peeps
This function was called during the PaintWindows.
The fact that this function is called during the painting is the problem, because of the tweening:
Before painting all the positions are stored (Which would at that point be the LOCATION_NULL), during the painting
the peep would be removed from the ride, setting their location to the enrance/exit
After painting is done all the positions are restored again, so the patched position is forgotten and then it would be
removing a sprite with location LOCATION_NULL and that goes wrong
The fix is to have the window update outside of paint
2018-12-09 20:46:04 +01:00
ζeh Matt
04af3932ac
Fix #5684 : Refactor player list updates being bound on ticks. ( #8399 )
2018-12-09 20:39: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
Michał Janiszewski
eca13b99ed
Merge pull request #8367 from ZehMatt/paint-refactor2
...
Paint refactor
2018-12-05 23:46:21 +01:00
Michał Janiszewski
cec86469f0
Improve imported object handling ( #8372 )
...
Reject and report invalid objects rather than triggering assert.
2018-12-05 23:12:22 +01:00
Matt
468d94a6ca
Remove gCurrentViewportFlags
2018-12-05 23:09:17 +01:00
Matt
adb4aa69a6
Rename UnkF1AD28 to LastRootPS
2018-12-05 23:08:43 +01:00
Matt
aa8b8d8415
Remove unused member in paint_session.
2018-12-05 23:08:43 +01:00
Michał Janiszewski
f5f3bfe087
Fix invalid scenery entry ( #8328 )
2018-12-05 23:01:13 +01:00
ζeh Matt
940fff4bbf
Fix dereferencing nullptr when game objects are missing. ( #8360 )
2018-12-05 22:59:15 +01:00
Michał Janiszewski
f488c4bf35
Forward-declare json_t and reduce Json.hpp inclusion ( #8368 )
2018-12-05 20:31:32 +01:00
ζeh Matt
2da01caa1e
Fix #8338 : GAs using player id instead of index to log money spent. ( #8361 )
2018-12-05 07:39:57 +01:00
Michał Janiszewski
c845924956
Validate news item type on import ( #8334 )
...
News items use queue split into two logical partitions. When detected an
invalid news item type, simply drop remaining items to avoid having to
handle all the possible cases of where the invalid items falls.
Additionally, as normal use case wouldn't have triggered such an invalid
type, it must have come from some invalid file anyway, so assume it is
fine to drop other items.
2018-12-03 20:06:05 +01:00
ζeh Matt
61ef7b1c9e
Fix #8345 : crash with deleted surface when using "Own all land" cheat ( #8347 )
2018-12-03 19:43:36 +01:00
Michael Steenbeek
3c63402e1d
Fix number of free sprites on SV6 import
2018-12-01 17:34:02 +01:00
Matt
862ef3018c
Use gCurrentRealTimeTicks whenever appropriate.
2018-12-01 17:00:11 +01:00
Matt
4bc69a0111
Introduce gCurrentRealTimeTicks and refactor some variable names.
2018-12-01 16:36:00 +01:00
ZehMatt
36f75f89a0
Add "simulate" command.
2018-11-30 20:11:10 +01:00
Michał Janiszewski
0a9527fd7d
Include config.ini in the dump ( #8316 )
2018-11-30 12:42:53 +01:00
Michał Janiszewski
a78e812a64
Add `dereference` command to aid testing breakpad
2018-11-29 21:40:59 +01:00
Michał Janiszewski
fe2ab7a653
Add compressed sv6 to backtrace.io uploads
2018-11-29 21:40:59 +01:00
Michael Steenbeek
a9a583dcd1
Fix #8200 : Incorrect behaviour when removing entrances/exits on the same tile
2018-11-27 22:59:31 +01:00
Hielke Morsink
354d973a48
Use std::size instead of Util::CountOf
2018-11-23 21:59:08 +01:00
ζeh Matt
1abb31a159
Implement game action logging. ( #8138 )
2018-11-20 06:04:42 +01:00
Michał Janiszewski
0d2751a54e
Hide the network class declaration to Network.cpp ( #8276 )
...
The Network class is not used by anyone other than free functions in
Network.cpp, nor should it be used by anyone with the current design.
This change leaves only the publicly-exposed functions left in the
header, drastically reducing amount of required headers in network.h,
one of the heaviest headers we had so far.
2018-11-19 23:10:54 +01:00
TELK
4cc2057b94
Add 'say' command in console ( #8259 )
...
* Add 'say' command in console
* Unifying space just before }
2018-11-18 20:38:55 +01:00
Michael Steenbeek
9446422aca
Fix #8272 : Do not attempt to add blank DAT names in S4Importer
2018-11-18 10:35:00 +01:00
Gymnasiast
618a650ac2
Fix RCT1 import of white and light brown fence
2018-11-17 18:18:00 +01:00
Gymnasiast
ace42a98a5
Fix RCT1 import if research list is gone
2018-11-17 18:18:00 +01:00
Michał Janiszewski
af91a0ef61
Add abort and terminate to console
...
Often when testing things out there's a need to have a way of inducing a
crash. Rather than trying to figure out what might be the bug that would
cause such conditions on given version, compiler and OS, provide a
simple way to call std::abort() and std::terminate() via the in-game
console.
Additionally, sort the commands.
2018-11-17 00:26:27 +01:00
Michael Steenbeek
de12a8dda1
Import S4 elements property-by-property
2018-11-13 21:48:20 +01:00
ζeh Matt
06c5508bab
Fix #8212 : Crash when opening rides with changed mode and no tracks. ( #8216 )
2018-11-12 20:13:42 +01:00
Felix Pelletier
4c5fccc9b6
Fix #7689 : Deleting 0-tile maze gives a MONEY32_UNDEFINED (negative) refund
2018-11-11 21:01:06 +01:00
Michał Janiszewski
7582afe0b4
Fix #8248 : Invalid tile element in footpath_element_insert ( #8249 )
...
* Fix #8248 : Invalid tile element in footpath_element_insert
* Update Footpath.cpp
2018-11-11 19:17:08 +01:00
Michael Steenbeek
82aba96728
Cheats: use 'weather' instead of 'climate' ( #8246 )
2018-11-10 14:30:41 +01:00
Gymnasiast
a2033bc8ab
Add non-breaking spaces
2018-11-09 23:41:18 +01:00
Gymnasiast
72d2ebd4d7
Add Russian rouble sign
2018-11-09 23:40:18 +01:00
Hielke Morsink
18f1fab2cc
Merge pull request #8235 from Broxzier/ui/climate
...
Move climate setting from objective to scenario settings window
2018-11-09 00:10:52 +01:00
Hielke Morsink
fb5343114e
format NetworkActions::Actions
2018-11-08 23:45:40 +01:00
Hielke Morsink
b45fabdc7d
Add new action to 'edit scenario options' permission
2018-11-08 23:44:51 +01:00
Hielke Morsink
107faaf821
Add and use game action for setting the climate
...
Also reordered the registered game actions the same as headers, so they are easier to find.
2018-11-08 22:39:13 +01:00
Michael Steenbeek
94ce57929a
Fix #8236 : Paths of track designs are built incorrectly
2018-11-08 22:13:44 +01:00
ζeh Matt
223ae74c6b
Refactor code to obtain resolutions. ( #8215 )
2018-11-06 07:20:57 +01:00
Michael Steenbeek
df768a3fad
Fix #8201 : Only quarter scenery objects in one corner can be painted
2018-11-05 20:12:22 +01:00
Michael Steenbeek
b01ff01e82
Extend support for 8 cars corrupt elements
2018-11-05 12:13:26 +01:00
Michael Steenbeek
00ba0c1f51
Define RCT12TileElement fields as private
2018-11-05 12:13:26 +01:00
Michael Steenbeek
d4801e139d
Import tile elements from SV6 using new methods
2018-11-05 11:55:33 +01:00
Michael Steenbeek
fbecfe5a88
Define tile elements in save as RCT12TileElement
2018-11-05 11:55:33 +01:00
Michał Janiszewski
da965cb1ad
Fix #8224 : invalid access in peep_find_ride_to_look_at ( #8225 )
...
* Fix #8224 : invalid access in peep_find_ride_to_look_at
* Update Guest.cpp
2018-11-05 06:25:46 +01:00
ζeh Matt
7831208f42
Fix #8199 : Crash using player id as index. ( #8210 )
2018-11-02 22:48:45 +01:00
ζeh Matt
103cd8310f
Fix #8204 : Crash when tile element has no surface elements. ( #8209 )
2018-11-02 22:35:45 +01:00
ζeh Matt
e083116bc7
Fix #8207 : ride_create_command ignoring game action result. ( #8208 )
2018-11-02 21:13:41 +01:00
Felix Pelletier
0cd7f1e07c
Fix #8142 : Reliability of unbreakable rides can go below 100%
2018-11-02 09:04:27 +01:00
Michael Steenbeek
f8add7f62e
Rename rct_tile_element to TileElement
2018-11-01 13:53:50 +01:00
Michael Steenbeek
f55f323723
Allow building footpaths on 'corner down' terrain
2018-11-01 11:04:32 +01:00
Michael Steenbeek
a8f526ae48
Allow on-ride photos and water S-bends on the Water Coaster
2018-11-01 10:12:45 +01:00
Felix Pelletier
6ba052e618
Make some arguments to format_string(...) and friends const
2018-11-01 09:25:04 +01:00
Hielke Morsink
698426dad7
Increase network version to avoid conflicts ( #8194 )
...
#8053 bumped the network version to 3, which we already had before but was reverted.
2018-10-31 20:47:35 +01:00
Michael Steenbeek
5f4cca3c7e
Remove rest of access to footpath edges
2018-10-31 15:08:06 +01:00
Michael Steenbeek
d89c3d9e67
Replace calls to get path edges
...
This replaces most calls/direct access to the footpath edges (i.e. the orthogonal directions, not the corners). This includes places where the whole byte was retrieved, but only compared against orthogonal directions.
2018-10-31 15:08:06 +01:00
Michael Steenbeek
1d214c0e4e
Replace type comparisons with GetType()
...
This function is a bit odd, as it implicitly also checked if the rotation was 0. I assume this is a bug and it was only intended to check for type.
2018-10-31 13:12:11 +01:00
Michael Steenbeek
1dce29b9a7
Replace two more usages of type
2018-10-31 13:10:41 +01:00
Michael Steenbeek
db3c2fcc46
Use calls to set queue from track designs
2018-10-31 13:10:34 +01:00
Michael Steenbeek
687fbc2a0a
Modify game_command_set_scenery_colour() to only take the scenery quadrant
2018-10-31 13:10:26 +01:00
Michael Steenbeek
af2c1e69d1
Remove residual access to path addition_status field
2018-10-31 13:10:07 +01:00
Michael Steenbeek
853e4c4a6a
Remove residual access to path ride_index field
2018-10-31 13:09:53 +01:00
Michael Steenbeek
785dc43f6b
Remove residual access to additions field
...
It looks like neighbour_list_push() never actually reads the contents of the station index, it just compares it to other tiles. Therefore, this should work.
2018-10-31 13:09:42 +01:00
Michael Steenbeek
0f4560598e
Replace residual access to path element entry index field
2018-10-31 13:09:29 +01:00
Michael Steenbeek
66cde65f87
Replace C style function for getting slope direction
2018-10-31 13:09:19 +01:00
Michał Janiszewski
a0c9e1b6c7
Update format string for size_t MAX_BANNERS
2018-10-31 12:51:06 +01:00
Topodic
bf80f738c1
Fix #8187 : Cannot set land ownership over ride entrances/exits
2018-10-31 12:25:02 +01:00
Michał Janiszewski
4c62f89110
Remove empty branch in Peep.cpp
2018-10-30 06:48:32 +01:00
Michał Janiszewski
74ee2cf741
Fix types of windows scenery tab selections ( #8179 )
2018-10-29 14:52:07 -07:00
ζeh Matt
83c3f3a905
Fix #8121 : Crash renaming park with server logging enabled. ( #8177 )
2018-10-28 09:36:18 -07:00
Michał Janiszewski
e521ade293
Replace gmtime with safer gmtime_r ( #8174 )
2018-10-27 15:04:15 -07:00
ζeh Matt
3e457436b1
Refactor some painting code. ( #8144 )
2018-10-26 10:49:27 -07:00
Michał Janiszewski
180655dafa
Fix printf format specifiers ( #8160 )
2018-10-26 06:09:12 -07:00
Michał Janiszewski
11005c9f77
Enable gzip-compression of minidumps, update information ( #8159 )
...
Enable gzip, but only for local save, as GitHub will accept
gzip-compressed files even if they don't advertise it explicitly. Update
changelog and GitHub issue template to reflect that.
2018-10-26 04:39:25 -07:00
Michał Janiszewski
80b75759b3
Merge pull request #8073 from janisozaur/breakpad-upload
...
Auto-upload crashes to backtrace.io
2018-10-26 09:43:14 +02:00
Michał Janiszewski
76b6bd82a0
Fix messagebox buttons
2018-10-25 23:18:19 +02:00
Michał Janiszewski
7238ced946
Disable gzip compression of dumps until this gets enabled on backtrace
2018-10-25 22:25:37 +02:00
Ted John
f224f7181d
Search for Discord release of RCT2 ( #8149 )
2018-10-25 10:57:19 +01:00
Michał Janiszewski
5780914a58
Provide error messages after the dump has finished uploading
2018-10-25 00:00:00 +02:00
Ted John
3a839043ea
Use native path separators
2018-10-24 23:36:14 +02:00
Michał Janiszewski
2d95052477
Compress minidumps with gzip
2018-10-24 23:36:14 +02:00
Michał Janiszewski
98aded2bff
Update minidump upload token
2018-10-24 23:36:14 +02:00
Michał Janiszewski
23f930043b
Auto-upload crashes to backtrace.io
2018-10-24 23:36:14 +02:00
Ted John
83ce76fb3f
Do not load images when running scan-objects
...
This prevents CI spitting out warnings where it is unable to load any of the DAT objects.
2018-10-23 22:07:06 +01:00
ζeh Matt
e5eb61d38d
Fix scrolling banners drawing invalid text
2018-10-23 19:44:14 +02:00
Michael Steenbeek
15490010e1
Revert "Fix #8064 : Prohibited high construction error is sometimes shown as (undefined string)"
...
This reverts commit a8e46f5eec
.
2018-10-23 14:52:51 +02:00
Michael Steenbeek
ed7aed405b
Revert "Fix #8064 : Check clearance height before alignment on correct z. ( #8135 )"
...
This reverts commit 45381b0997
.
2018-10-23 14:52:30 +02:00
ζeh Matt
45381b0997
Fix #8064 : Check clearance height before alignment on correct z. ( #8135 )
2018-10-22 18:51:36 +02:00
ζeh Matt
a8e46f5eec
Fix #8064 : Prohibited high construction error is sometimes shown as (undefined string)
2018-10-21 20:51:41 +02:00
J. Lord
2802b9a5d3
Implement #8099 : Add Powered Launch mode to Inverted RC (for RCT1 parity)
2018-10-21 13:45:09 +02:00
Topodic
a320cd0eb8
Fix #8083 : The mini roller coaster has access to spiral lifts
2018-10-17 21:52:27 +02:00
Ted John
211bd84cc3
Merge pull request #7806 from Gymnasiast/feature/rtl-rendering
...
Fix RTL text rendering for Linux / macOS
2018-10-16 22:26:45 +01:00
tombomp
6992be87c3
Fix #8090 : Bug with maze design saving
...
The exit wasn't being saved - ride_get_entrance_location was mistakenly called twice
2018-10-15 22:58:59 +02:00
Berbe
102a2ee234
Add player hash to server log message on join ( #7946 )
2018-10-15 21:40:22 +02:00
tombomp
18307e3841
Add a "current_rotation" variable to the console ( #8080 )
...
This is a value from 0-3 showing current rotation of main window, 3
being the default and lower going counter clockwise. Possible to set as
well.
2018-10-14 23:44:45 +02: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
Michał Janiszewski
d5be45e27a
Add missing argument to format ( #8082 )
2018-10-11 06:20:01 +02:00
Michał Janiszewski
63c6486a7f
Add missing header guards ( #8081 )
2018-10-10 23:27:25 +02:00
Michał Janiszewski
7660dc8042
Automatically detect fts.h presence when compiling ( #8071 )
...
This should support libc-s that don't ship with glibc-like fts.h, e.g.
musl
2018-10-10 00:06:50 +02:00
Gymnasiast
461342a915
Fix #8048 : Crash when opening Six Flags Carolina
2018-10-09 22:20:18 +02:00
Gymnasiast
90f04cf478
Fix #8057 : Game crashes when placing an entrance
2018-10-09 22:12:29 +02:00
Bart Ribbers
8e6eb08275
Fix compilation on musl ( #8067 )
2018-10-09 20:42:02 +02:00
Michał Janiszewski
1334b745dc
Refactor search for OpenRCT2 data on Linux ( #8054 )
...
It should now cover all use cases supported previously, with added
benefit of automatically checking and prioritising installed directories
(including DESTDIR=.) as well as path relative to $PWD.
2018-10-08 22:45:01 +02:00
Michael Steenbeek
7fd0571b9c
Merge pull request #8046 from Gymnasiast/tile-elementor-strikes-again
...
Port path elements to new structure, part 1
2018-10-05 12:19:48 +02:00
Gymnasiast
774d26306f
Fix formatting
2018-10-04 14:54:13 +02:00
Gymnasiast
b1f737d985
Remove remaining access to additions field
2018-10-04 14:54:12 +02:00
Gymnasiast
a6885ea464
Replace C-style functions for getting direction
2018-10-04 14:54:12 +02:00
Berbe
30f6d2b31f
Correct client IP address not being propagated/stored
2018-10-04 12:27:38 +01:00
Gymnasiast
015ece94c6
Replace C-style functions for getting path entries
2018-10-04 12:13:17 +02:00
Gymnasiast
ecd6247462
Replace C-style functions for checking getting path additions
2018-10-04 12:13:17 +02:00
Gymnasiast
ee05438953
Replace C-style functions for checking path addition ghost status
2018-10-04 12:13:17 +02:00
Gymnasiast
e159ac65a6
Replace C-style functions for IsWide() and SetWide()
2018-10-04 12:13:17 +02:00
Gymnasiast
f9f233dbb1
Replace C-style function for HasQueueBanner()
2018-10-04 12:13:17 +02:00
Gymnasiast
37f59e17dc
Replace C-style isSloped() function
2018-10-04 12:13:17 +02:00
LRFLEW
c41f862920
Fix some memory leaks
2018-10-04 09:42:22 +02:00
Ted John
82107e5666
Merge pull request #7957 from TheAssassin/appimage
...
Add build scripts to create an AppImage.
2018-10-04 07:50:06 +01:00
Gymnasiast
0231fd7ca6
Fix #8007 : Track design preview window shows nothing
2018-10-03 22:27:20 +02:00
Michał Janiszewski
b05e66e67d
Fix invalid access to font descriptor
2018-10-03 21:20:04 +02:00
Gymnasiast
88f3e9be75
Fix crash
2018-10-03 19:38:18 +02:00
Michael Steenbeek
d3da8634d8
Use ClearAs in two places
2018-10-03 14:11:30 +02:00
Michael Steenbeek
0af198aa45
Use constants for flags
2018-10-03 12:31:02 +02:00
Michael Steenbeek
28e8b4e12b
Modify game_command_remove_scenery to take unshifted scenery quadrant
2018-10-03 12:31:02 +02:00
Michael Steenbeek
90d7e146f7
Clean up small scenery GC calls a bit
2018-10-03 12:31:02 +02:00
Michael Steenbeek
28d302d653
Remove more direct access to TileElement->type
2018-10-03 12:31:02 +02:00
Michael Steenbeek
02cfffcb1e
Remove some direct usage of TileElement->type
2018-10-03 12:18:21 +02:00
Michael Steenbeek
882a65e4c0
Port queue functions
2018-10-03 12:18:21 +02:00
Michael Steenbeek
deeb34f4aa
Add fields to PathElement, port GetRCT1Path()
2018-10-03 10:38:46 +02:00
Hielke Morsink
6e62186d01
Fix #8034 : screenshot command outputs broken sprites ( #8041 )
...
Check for no-graphics instead of headless when creating objects.
2018-10-02 20:09:08 +01:00
Michael Steenbeek
ef6f09cf5b
Fix formatting [ci skip]
2018-09-29 22:44:19 +02:00
Michael Steenbeek
3d74c51959
Add missing include
2018-09-29 22:44:19 +02:00
Michael Steenbeek
0ad2c74f0a
Do RTL fixes when loading language pack into memory
2018-09-29 22:44:18 +02:00
Michael Steenbeek
11ed9418fc
Use ICU namespace (fixes compilation on macOS)
2018-09-29 22:41:56 +02:00
Gymnasiast
87edac1e85
Fix word order in mixed strings
2018-09-29 22:41:56 +02:00
Gymnasiast
b2550e9522
Fix RTL rendering (WIP)
2018-09-29 22:41:56 +02:00
Ted John
9da9a9968a
Add /../share/openrct2 as possible install location
...
This allows AppImage to work correctly.
2018-09-29 13:58:38 +01:00
Gymnasiast
3738cdaf5e
Make CIs happy
2018-09-29 10:51:27 +02:00
Gymnasiast
fa67883caf
Fix crash and address most line notes
2018-09-27 22:51:56 +02:00
Michael Steenbeek
f8483b4726
Fix formatting
2018-09-27 22:15:04 +02:00
Michael Steenbeek
3b7fc4cf8c
Port rest of banner functions
2018-09-27 22:15:04 +02:00
Michael Steenbeek
d01b21a1ac
Port banner index
2018-09-27 22:15:04 +02:00
Michael Steenbeek
a8e087b560
Return actual entrance elements from map functions
2018-09-27 22:15:04 +02:00
Michael Steenbeek
995c6debf1
Port entrance path type lookup
2018-09-27 22:15:04 +02:00
Michael Steenbeek
3c93aca727
Port entrance station index and sequence lookup
2018-09-27 22:15:04 +02:00
Michael Steenbeek
c7eaa1ba80
Port entrance ride index lookup
2018-09-27 22:15:04 +02:00
Michael Steenbeek
cc7f8e612d
Port entrance type lookup
2018-09-27 22:15:04 +02:00
Michael Steenbeek
757d705e13
Add private fields
2018-09-27 22:15:04 +02:00
Michael Steenbeek
9ff79e65aa
Implement #4418 : Steep slopes for the Side-Friction RC
2018-09-27 08:55:29 +02:00
Gymnasiast
4a94f02910
Fix crash in vehicle_next_tower_element_is_top()
2018-09-26 21:30:22 +02:00
Gymnasiast
539d274297
Fix crash in ride_set_map_tooltip()
2018-09-26 21:11:24 +02:00
Michael Steenbeek
49506a57cf
Fix error in RideDemolishAction.hpp
2018-09-26 11:29:38 +02:00
Gymnasiast
ed616b0fb5
Add assert; fix crash
2018-09-25 21:57:21 +02:00
Gymnasiast
07c4593d46
Create ClearAs function
2018-09-25 21:57:21 +02:00
Gymnasiast
253c5a8171
Fix two crashes
2018-09-25 21:57:21 +02:00
Gymnasiast
eecf465e3b
Fix formatting
2018-09-25 21:57:21 +02:00
Gymnasiast
fc136230d8
Fix crash
2018-09-25 21:57:21 +02:00
Michael Steenbeek
3eaea47689
Remove rct_tile_element_track_properties
2018-09-25 21:57:21 +02:00
Michael Steenbeek
3f17782692
Move direct access to maze entry to struct methods
2018-09-25 21:57:21 +02:00
Michael Steenbeek
75b5c45a97
Remove residual direct access to most track fields
2018-09-25 21:57:21 +02:00
Michael Steenbeek
104d4f2f58
Move photo functions to struct methods
2018-09-25 21:57:21 +02:00
Michael Steenbeek
b965377080
Move green light functions to struct methods
2018-09-25 21:57:21 +02:00
Michael Steenbeek
897a2982a0
Move brake/booster speed functions to struct methods
2018-09-25 21:57:21 +02:00
Michael Steenbeek
d7f226592c
Remove direct access of track sequence
2018-09-25 21:57:21 +02:00
Michael Steenbeek
e6d5638815
Move inverted() functions to struct methods
2018-09-25 21:57:21 +02:00
Michael Steenbeek
0cea008c18
Move cable lift functions to struct methods
2018-09-25 21:57:21 +02:00
Michael Steenbeek
69f02400f9
Move GetColourScheme to struct methods
2018-09-25 21:57:21 +02:00
Michael Steenbeek
a3e9c63fc3
Move GetRideIndex to struct methods
2018-09-25 21:57:21 +02:00
Michael Steenbeek
650971bc68
Move HasChain to struct methods
2018-09-25 21:57:21 +02:00
Gymnasiast
5d260ea85b
Properly set new tile elements to 0
2018-09-25 21:57:21 +02:00
Gymnasiast
67d7d5c022
Move getting station index to struct methods
2018-09-25 21:57:21 +02:00
Gymnasiast
6bd732ce5a
Move getting seat rotation to struct methods
2018-09-25 21:57:21 +02:00
Gymnasiast
ae4c464ce7
Move getting track sequence to struct methods
2018-09-25 21:57:21 +02:00
Gymnasiast
3b80d049ef
Move door state functions to struct methods
2018-09-25 21:57:21 +02:00
Gymnasiast
8908f3f47e
Move getting track type to struct methods
2018-09-25 21:57:21 +02:00
jensj12
eac9b720ee
Add #7726 : Shortcut to advance one tick ( #7851 )
2018-09-23 23:40:47 +02:00
Michael Steenbeek
fd12aff8f7
Add D and E with caron
...
This also adds the Unicode codepoints for the remaining Czech letters.
2018-09-23 22:23:37 +02:00
Christian Schubert
16936d4ea1
Fix #7828 : Copied entrances and exits stay when demolishing ride ( #7932 )
2018-09-23 17:38:59 +02:00
Gymnasiast
f07e677af1
Replace switch towers with std::map
2018-09-23 11:31:04 +02:00
Gymnasiast
7d7d0aeab5
Adopt OpenLoco's UTF-8 handling
2018-09-23 11:31:04 +02:00
Lars Toenning
d0e318a2a2
Removed unnecessary null-pointer-check ( #8013 )
2018-09-22 16:52:29 +02:00
Michael Steenbeek
231e46fb2b
en-GB: Replace character codes with actual Unicode characters
2018-09-21 21:37:30 +02:00
Ted John
900465a392
Don't attempt to load server list if file doesn't exist
2018-09-18 12:50:34 +01:00
Ted John
2da2aa5622
Fix platform_get_username for unicode on Windows
2018-09-18 12:37:42 +01:00
Ted John
8ce6cde2b7
Fix building sprite file for unicode paths on Windows
2018-09-18 12:37:42 +01:00
Michael Steenbeek
c83c30dafb
Fix #8003 : Crash when placing small scenery ( #8004 )
2018-09-18 10:05:29 +02:00
Michael Steenbeek
a6a5e3e315
Merge pull request #8001 from Gymnasiast/elementary-my-dear-watson
...
Port Wall elements to new tile element structure; remove some access to ->type
2018-09-17 21:03:36 +02:00
Aaron van Geffen
4db936d3e1
Fix loading of 4-byte UTF-8 codepoints. ( #8002 )
2018-09-17 20:16:07 +02:00
Gymnasiast
c8063a3c38
Fix scenery doors closing the wrong
2018-09-17 20:03:56 +02:00
Michael Steenbeek
f1c98a4475
Make fields private
2018-09-17 16:12:11 +02:00
Michael Steenbeek
6062960390
Port remaining wall stuff to struct methods
2018-09-17 15:42:34 +02:00
Michael Steenbeek
508276b081
Remove lots of direct access to ->type fields
2018-09-17 15:18:07 +02:00
Michael Steenbeek
345e03d41b
Move animation frame and rct1 wall functions to methods
2018-09-17 14:48:27 +02:00
Michael Steenbeek
dcabdeb805
Move wall colour functions over to the struct methods
2018-09-17 14:22:17 +02:00
Michael Steenbeek
533e937926
Create slope and colour functions for WallElement
2018-09-17 14:10:05 +02:00
Michael Steenbeek
66f9e9d646
Properly reset surface objects
2018-09-17 13:17:47 +02:00
Gymnasiast
a7eb005501
Fix bug in map_init()
2018-09-16 22:02:03 +02:00
Gymnasiast
d1b576b4a5
Fix bugs in park fences
2018-09-16 21:53:12 +02:00
Gymnasiast
0235137010
Fix typo in SetSlope()
2018-09-16 21:34:51 +02:00
Gymnasiast
f7a03895f6
Put some stuff into temporary variables
2018-09-16 21:34:51 +02:00
Gymnasiast
74578fcc08
Use constants for map_height_from_slope()
2018-09-16 21:34:51 +02:00