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

11772 Commits

Author SHA1 Message Date
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
Michał Janiszewski
fbb71c7c47 Fix Android builds after #7971 (#8009) 2018-09-20 21:53:34 +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
Gymnasiast
737b73d30c Fix refactor bug in set_water_height() 2018-09-16 21:34:51 +02:00
Gymnasiast
75877e82f8 Fix access to path element 2018-09-16 21:34:51 +02:00
Gymnasiast
9fb58a3453 Fix constants in map_height_from_slope() 2018-09-16 21:34:51 +02:00
Gymnasiast
0f08128657 Fix formatting 2018-09-16 21:34:51 +02:00
Gymnasiast
09ea209c48 Fix sign mismatch 2018-09-16 21:34:51 +02:00
Michael Steenbeek
74ccf010e6 Port surface elements to new structure 2018-09-16 21:34:51 +02:00
Michael Steenbeek
d186a04e4f Remove case of direct access to direction 2018-09-16 21:34:51 +02:00
Michael Steenbeek
35b4724626 Port large scenery to new structure 2018-09-16 21:34:50 +02:00
Michael Steenbeek
1d3baef9b7 Remove some C-style tile element functions 2018-09-16 21:34:04 +02:00
Gymnasiast
2d8b93e514 Fix #7995: Crash when interacting with large scenery 2018-09-16 20:21:54 +02:00
Gymnasiast
c46155bbda Use constant instead of raw number 2018-09-16 15:07:32 +02:00