1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00
Commit Graph

9559 Commits

Author SHA1 Message Date
Michael Steenbeek
6ab0f2f905 Name some rct_ride_entry_vehicle properties 2017-09-15 18:25:28 +02:00
Michael Steenbeek
c4a89e4192 Merge pull request #6269 from Gymnasiast/small-cleanup
Slightly refactor loading of vehicle entries
2017-09-14 15:17:04 +02:00
Michael Steenbeek
a4802983c2 Make var_02/_03 calculation methods private and static 2017-09-14 14:30:09 +02:00
Michael Steenbeek
4164d3aedd Clarify comment
[ci skip]
2017-09-14 14:12:13 +02:00
Michael Steenbeek
8954303d99 Add comment about special_frames
[ci skip]
2017-09-14 14:10:35 +02:00
Michael Steenbeek
9cba5436e5 Split off frame calculations; don't set var_02 and _03 2017-09-14 14:07:55 +02:00
Michael Steenbeek
98e15f1cd9 Rewrite confusing if statement 2017-09-14 13:48:14 +02:00
Michael Steenbeek
735b96ac18 Bump network version for the 'Enable all drawable elements' cheat 2017-09-13 22:51:01 +02:00
Michael Steenbeek
d4cc97165c Clean up brake speed in ride construction window, fix #6271 2017-09-13 21:57:36 +02:00
Ted John
8677793624 Fix #6267: Ride count is 255 for clients that join a server
For S6 export and import, unused ride slots were not set to RIDE_TYPE_NULL.
2017-09-13 20:04:55 +01:00
Michael Steenbeek
597d40b25b Add cheat to show all drawable track elements 2017-09-13 19:38:30 +02:00
Michael Steenbeek
671a7bcbe1 Improve and extend constant usage 2017-09-13 18:13:38 +02:00
Michael Steenbeek
8c33240c38 Slightly refactor loading of vehicle entries 2017-09-13 10:45:28 +02:00
Marijn van der Werf
dfbce1ad4c Fix Cmake compilation on macOS 10.12.6 2017-09-12 21:19:56 +02:00
Ted John
3a9cafd2f0 Remove gTrackColours macro (#6266) 2017-09-12 19:48:18 +01:00
Gymnasiast
f174530ace Add comment to the Ride struct about Testpaint
[ci skip]
2017-09-12 14:03:46 +02:00
Gymnasiast
3a65ef79a7 Use field-wise assignments for rides in S6Exporter
Also fixes some limit constant usage
2017-09-12 14:00:56 +02:00
Gymnasiast
654ee4c95e Add missing pragma pack(pop) 2017-09-12 11:42:47 +02:00
Gymnasiast
a28509e24c Split Ride and rct2_ride 2017-09-12 11:16:57 +02:00
Gymnasiast
179e4dd368 Do not disable ride modes in select-by-track-type mode
The idea of a ride group is to have the ride group determine stuff like this, not the vehicle itself
2017-09-12 10:40:19 +02:00
wolfreak99
e1f40352b6 Fix various currently loaded map marker issues
* create gCurrentLoadedPath for Load/Save dialog

* Clear gCurrentLoadedPath upon quitting game/loading titlescreen

* Mark loaded landscapes in load dialog
2017-09-12 08:09:54 +02:00
Gymnasiast
74961118bb Add drawing routines for inverted helices on the Lay-down RC, fixes #4991 2017-09-11 21:05:40 +02:00
Chris Guillott
5944d5be4d remove redundant line 2017-09-10 21:21:49 +02:00
Chris Guillott
5991c25919 trap getaddrinfo return codes 2017-09-10 21:21:49 +02:00
muemart
e5bfd241ea Import staff patrol areas from RCT1 save files and fix #5445 2017-09-10 12:54:57 +02:00
Michał Janiszewski
45de7ebd22 Remove superfluous argument 2017-09-08 11:57:24 +02:00
Michał Janiszewski
a8ba58ab9a Update wrong method name 2017-09-08 11:57:24 +02:00
Ted John
1eb3d07b3d Reduce static access and call from anonymous function 2017-09-08 11:57:24 +02:00
Michał Janiszewski
100a63a743 Pass context object as argument, don't use singleton 2017-09-08 11:57:24 +02:00
Michał Janiszewski
23ec1d29e7 Don't report elevated process on Emscripten 2017-09-08 11:57:24 +02:00
Michał Janiszewski
56ab344603 Add Emscripten platform and architecture defines 2017-09-08 11:57:24 +02:00
Michał Janiszewski
7a0a344014 Don't use unavailable fts.h for Emscripten 2017-09-08 11:57:24 +02:00
Michał Janiszewski
2577e92860 Adapt Context to Emscripten 2017-09-08 11:57:24 +02:00
Michał Janiszewski
5b0636cf0d Adapt Linux UiContext to Emscripten 2017-09-08 11:57:24 +02:00
Michał Janiszewski
a13c30795d Add fcntl.h include to POSIX platform
Required for `open()`, etc.
2017-09-03 14:48:50 +02:00
Michał Janiszewski
5d3c58611a Report path of failed directory creation 2017-09-03 14:48:50 +02:00
Ted John
11d0639d5e Merge pull request #6244 from IntelOrca/paint/use-paint-session-tracks
Pass paint session to remaining functions
2017-09-03 10:19:18 +01:00
Duncan
04e217a04c Remove unused global palette pointer (#6247)
Moved one use of the palette pointer into a parameter
2017-09-03 10:16:51 +01:00
Ted John
43c6f7fda0 Pass paint session to ps functions 2017-09-03 02:27:07 +01:00
Ted John
f6dbf560a2 Pass paint session to ps rotated helpers 2017-09-03 02:18:01 +01:00
Ted John
3880134b40 Change gTrackColours to use session 2017-09-03 02:01:29 +01:00
Ted John
f2b8cf181e Pass paint session to remaining support functions 2017-09-03 01:56:56 +01:00
Ted John
1cc82d1cb5 Pass paint session to tunnel functions 2017-09-03 01:51:59 +01:00
Ted John
972a3bf111 Pass paint session to track_paint helpers 2017-09-03 01:42:08 +01:00
Ted John
dce007feaa Pass paint session to support functions 2017-09-03 01:04:23 +01:00
Ted John
0f9784a423 Pass paint session to many specific track helpers 2017-09-03 00:34:33 +01:00
Ted John
90f4478f48 Pass paint session to all track functions 2017-09-03 00:19:17 +01:00
Ted John
f81ee49015 Pass paint session to remaining non-track called functions 2017-09-02 23:41:02 +01:00
Ted John
2980be0667 Pass paint session to more ps functions 2017-09-02 23:22:19 +01:00
Ted John
ae6c820662 Pass paint session to all vehicle paint functions 2017-09-02 23:13:10 +01:00