platipo
789b47b7bb
Refactor slope flags and path type flag
2017-11-18 12:58:27 +01:00
Michael Steenbeek
bb483b0c5f
Replace direct access to large scenery colour with helper functions
2017-11-17 22:54:54 +01:00
Michael Steenbeek
3bd68947b9
Create functions for getting large scenery type and sequence
2017-11-17 12:56:08 +01:00
Michael Steenbeek
f448d16707
Add methods for getting and setting track element type
2017-11-17 12:54:47 +01:00
Michael Steenbeek
ab3f42f1f9
Add getters and setters for ride index and maze entry
2017-11-17 12:54:47 +01:00
Christian F. Coors
58e8ef5de4
Fix build in clang
2017-11-14 21:01:11 +01:00
Michael Steenbeek
5409dedb7e
Remove unused C transfer functions in Tables.cpp
2017-11-14 11:55:53 +01:00
Michael Steenbeek
9d686db86c
Fix typo in 'tolerance'
2017-11-13 16:23:19 +01:00
Michael Steenbeek
af845beb61
Replace mapElement with tileElement
2017-10-31 19:59:06 +01:00
Michael Steenbeek
ce8d9cc71b
Rename map_element to tile_element
2017-10-31 19:59:06 +01:00
Michał Janiszewski
b12dad5bd9
Remove duplicate assignment in S4Importer.cpp
2017-10-30 22:51:35 +01:00
Gymnasiast
bc3b579b92
Fix import of RCT1's inverted coaster train
2017-10-28 19:02:58 +02:00
Michael Steenbeek
ce4899c60c
Compile station.c as C++
2017-10-23 14:47:12 +02:00
Michael Steenbeek
bb01699b7d
Compile track.c as C++
2017-10-17 13:51:47 +02:00
Tomas Dittmann
e393ff1f22
Stop using (void*)-1 for invalid pointers
2017-10-15 15:53:16 +02:00
Michael Steenbeek
7f9c25a7a9
Use constant for LOCATION_NULL, split off location stuff to Location.h
2017-10-13 22:23:07 +02:00
Michał Janiszewski
ab3835719a
Compile peep and staff logic as C++
2017-10-13 10:06:36 +02:00
Michael Steenbeek
3a9dc3f491
Ensure that get_ride_entry returns NULL on invalid ride entries
2017-10-12 21:07:35 +02:00
Michael Steenbeek
3a2aeda398
Refactor expenditure table and history graph
2017-10-12 20:35:59 +02:00
Michael Steenbeek
d342272dda
Fix usage of RIDE_ID_NULL
2017-10-12 13:35:04 +02:00
Robert Jordan
559a4c0953
Fix #6445 : set favourite ride to N/A when importing from RCT1/AA
2017-10-12 12:40:57 +02:00
Michael Steenbeek
42d6a10952
Compile management as C++
2017-10-11 21:38:26 +02:00
Michael Steenbeek
17557569d0
Turn 'unlock all prices' into a regular option
...
This uses a previously unused S6 flag to save this option persistently.
This should not make S6 import much harder, but should reduce the amount of questions about S4 import.
Also refactor the checks whether the user can ask money for rides or entry. This should make it a lot easier
when our own save format comes around.
2017-10-11 08:33:17 +02:00
Michał Janiszewski
c4538496c5
Make sure variables are either static or declared externally
2017-10-09 22:59:40 +02:00
Michael Steenbeek
31e1ad43a8
Compile finance.c as C++, clean up
2017-10-07 16:28:35 +02:00
Michael Steenbeek
7cb464af6e
Clean up animated object limit and import
2017-10-06 11:33:55 +02:00
Gymnasiast
e6faf6b7c4
Fix #6201 , #6250 : custom RCT1 scenarios cause empty scenario list entry
...
The scenario repository did not correctly handle custom RCT1 scenarios.
They were not listed, but if they existed, an empty entry would appear in the scenario list.
This fixes both issues, and also prints a warning message, should this ever happen again.
2017-10-03 07:48:02 +02:00
Michał Janiszewski
5ab9f938a7
Update files missed in the great extern "C" cleanup of 2017
2017-09-28 23:29:16 +02:00
Michael Steenbeek
289e154fe4
Fix #6315 : Not all researched items in S4 are available
2017-09-28 16:24:44 +02:00
Martin Müller
e38a77da2a
Set gScenarioFileName when loading an RCT1 park
...
This fixes bugs when completing an RCT1 scenario, where the highscore
would be saved for the wrong park because gScenarioFileName hasn't been updated on load.
2017-09-26 15:53:06 +02:00
Michael Steenbeek
1fd1d8c26b
Move editor to C++; add defines for object limits
2017-09-22 07:56:24 +02:00
Gymnasiast
a28509e24c
Split Ride and rct2_ride
2017-09-12 11:16:57 +02:00
muemart
e5bfd241ea
Import staff patrol areas from RCT1 save files and fix #5445
2017-09-10 12:54:57 +02:00
Richard Jenkins
71e580a58f
Refactor game load functions, resolves #6011
2017-08-23 08:04:36 +02:00
Gymnasiast
8eec684545
Use more constants, isolate SV6 limits further
2017-08-14 19:56:29 +02:00
duncanspumpkin
18d082053e
Rename cpp files to use TitleCase
2017-08-04 18:12:54 +02:00
Gymnasiast
2b540b9da1
Remove direct access to small scenery's colour_1 and _2 fields
2017-07-27 21:37:34 +02:00
Gymnasiast
db438a27b7
Use map_element_get_direction in more places, create map_element_get_direction_with_offset()
2017-07-27 21:23:26 +02:00
Michael Steenbeek
434325ea22
Move vehicle preference to RideGroupManager
2017-07-27 21:03:26 +02:00
Gymnasiast
db56c7e3b3
Change growth_rate to target, fix cheats to use them
2017-07-26 16:49:42 +02:00
CharlesLove
88290337f6
Fix #5881 : gCheatsUnlockAllPrices persists when loading new scenarios
2017-07-22 22:20:52 +02:00
Gymnasiast
f5923dbe99
Create find_first_non_null_station_index()
2017-07-19 08:52:33 +02:00
Gymnasiast
c96ef96edb
Clean up rct_ride and rct1_ride structs and usage
2017-07-18 10:50:28 +02:00
Gymnasiast
7b8248cca7
Change ride->exit into an rct_xy8, cleanup
2017-07-17 20:41:03 +02:00
Gymnasiast
c12113475b
Turn ride->entrances into an rct_xy8
2017-07-17 19:27:38 +02:00
rwjuk
cc95aa0433
Fix visual corruption caused by zero sprite dimensions
...
Sprite corruption issue highlight
Fix already bugged saves
Fix visual corruption caused by zero sprite dimensions
2017-07-06 13:22:24 +01:00
rwjuk
68c819c01f
Log to console when invalid objects found during check
2017-07-05 07:28:46 +02:00
Richard Jenkins
048c543fe2
Fix needless double invocation of Memory::Set
...
Memory::Set() invocations moved to InitialiseEntryMaps() function.
2017-07-03 23:59:19 +01:00
Richard Jenkins
aec214c684
Fix #5767 : Importing AA/LL SC4s causes a crash
2017-07-03 17:32:05 +01:00
Ted John
ddb96ec267
Refactor load park result
...
Use a C++ struct and pass that to C.
2017-07-01 01:29:35 +01:00