Michael Steenbeek
5661da1c68
Unwrap game action compat wrappers
2022-08-11 00:00:58 +02:00
Michael Steenbeek
2b859c7099
Remove __ENABLE_LIGHTFX__ define
...
It is already enabled for all our builds, and upcoming changes to RTD would add a slew more.
Discussed in team chat with Duncan and Hielke.
2022-07-28 21:34:02 +00:00
Duncan
5f9b0da5ff
Parkinfo object query ( #16283 )
...
* Add basic parkinfo object query
* Cleanup output and remove remnants of future work
* Make review changes
* Update changelog
2022-07-28 21:20:55 +00:00
Michael Steenbeek
a75cc10dd5
Refactor Ride::Open, Ride::Test not to use gGameCommandErrorText
2022-07-28 14:23:33 +02:00
Hielke Morsink
6bfba88845
Move title commands to their own source files
2022-06-28 21:57:26 +02:00
Ted John
585ebed600
Fix #17297 : Crash when switching language ( #17370 )
...
* Refactor all uses of IAudioChannel and the audio mixer.
* Use shared_ptr to avoid dead pointers hanging about.
* Reload particular audio channels where necessary after object reload.
2022-06-27 17:41:53 +01:00
X123M3-256
502f06af91
Add "Alpine Coaster" ride type ( #16825 )
...
* Implement "Alpine Coaster" ride type
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
2022-05-26 21:28:17 +00:00
Ted John
97c0c4e052
Merge pull request #16975 from IntelOrca/plugin/track-segments
...
[Plugin] Add APIs for track segments and track iteration
2022-05-26 20:33:53 +01:00
Ted John
bb102cc1ec
Remove null audio source and fix crash on exit
2022-05-23 23:06:41 +01:00
Ted John
a2e6691ac2
Add new audio objects for loading sounds
2022-05-23 22:24:56 +01:00
Ted John
4eef86dc50
Implement track iterator
2022-05-17 19:27:39 +01:00
Ted John
76601ef6fc
Add API for getting track segments
2022-05-17 19:27:39 +01:00
Michał Janiszewski
3bc5c6c563
Introduce MSVC ARM64 platform
2022-05-07 23:48:27 +02:00
Michał Janiszewski
f3a24dbfef
Only allow breakpad to be used on x86-like targets
2022-05-07 23:48:26 +02:00
spacek531
5659d43f46
Cleanup vehicle drawing code part 3 ( #16968 )
...
* Cleanup vehicle drawing code part 3
* Create functions to convert between rotation amounts
* Add regions to ease code navigation
2022-04-30 07:56:23 +01:00
X123M3-256
605112297d
Implement RIDE_ENTRY_FLAG_RIDER_CONTROLS_SPEED ( #16837 )
2022-04-06 08:38:24 -03:00
Ted John
97dfe3cb73
Refactor std::lower_bound to binary_find
2022-03-11 18:39:05 +00:00
Ted John
90718ca81c
Refactor patrol area class to new file
2022-03-11 18:39:04 +00:00
Michael Steenbeek
5edc561715
Close #11437 : Migrate old platform methods
2022-02-18 21:57:00 +01:00
Duncan
5157b57a15
OpenRCT2 Limits ( #16088 )
...
* Move over max rides to limits file
* Move max stations to limits file
* Move over max inversions, golf holes, helices, custhistsize
* Move over max trains per ride
* Bring over Max cars per train and max circuits per ride
* Port over NumColourSchemes and max vehicle colours
* Fix compilation
* Move over max awards
* Move over max peep spawns and park entrances
* Fix rebase issues
* Remove future work
* Switch style
* Update copyright
2022-02-01 20:59:48 +00:00
Michael Steenbeek
a6042b8903
Merge pull request #16153 from IntelOrca/embed-duktape
...
Resolve #14259 : Embed our own duktape library
2022-01-23 13:45:42 +01:00
Ted John
7fd780e758
Disable warnings for duktape in vcxproj
2022-01-22 10:35:37 +00:00
Ted John
b5d66e099e
Embed our own duktape library
...
Duktape is geared around compile time switches. We can't rely on shared libraries.
2022-01-18 18:29:27 +00:00
ζeh Matt
993b168bfd
Implement profiler ( #16194 )
...
* Implement profiling API
* Add console commands for the profiler
* Remove accidental line
* Correct csv output
* Add copyright notice
* Add missing override
* Add default virtual destructor
* Explicitly pass template argument
* Use static
* Add plugin API for profiler
* Add more profile calls
* Workaround for GCC hopefully
* Add missing static keyword
* Use uint64 for call count
* Reduce name length see if CI passes
* Improve handling of function names
* Work around (broken) static inline variables
* Fix missing include
* Disable profiler for clang 5 and older
* Update copyright date
* Profile UpdateAllMiscEntities
* Apply review suggestions
Co-authored-by: Ted John <ted@brambles.org>
2022-01-18 20:21:20 +02:00
Gymnasiast
0aa256a26a
Move remaining stuff in Android.cpp
2022-01-16 13:17:54 +01:00
Gymnasiast
131022c373
Remove now-empty platform files
2022-01-16 13:17:54 +01:00
Michael Steenbeek
4ee1df7de1
Merge pull request #16266 from Gymnasiast/refactor/more-ride-functions
...
More Ride.h cleanup
2021-12-18 20:52:46 +01:00
Gymnasiast
ef6f2cceee
Create RideConstruction.h
2021-12-18 20:27:13 +01:00
Michael Steenbeek
6d19c983e8
Normalise RCT12TileElementType
2021-12-18 19:43:30 +01:00
ζeh Matt
186d3efb59
Merge pull request #16092 from ZehMatt/refactor/timing
...
Refactor update/time related things
2021-12-17 10:08:42 -08:00
duncanspumpkin
7e7947fe8b
Move legacy identifier interpreting to separate file from parkfile
2021-12-15 21:29:02 +00:00
ζeh Matt
30cc3dff3f
Implement Timer class
2021-12-13 19:04:44 +02:00
ζeh Matt
16635b9192
Implement custom BitSet and replace std::bitset
2021-12-12 23:47:17 +02:00
Duncan
c01049a500
Only add RCT1 land objects to imported SV6 if they are used
2021-12-05 17:08:33 +01:00
Michael Steenbeek
9bb2547dfb
Use templated function for the Twister and Vertical Drop
2021-12-03 18:00:42 +01:00
Duncan
79b12d2953
Introduce DATLimits.h for RCT2 Dat file object limits ( #16034 )
2021-12-01 21:55:52 +00:00
ζeh Matt
15ee72a688
Merge pull request #16031 from ZehMatt/refactor/entity-4
...
Refactor entity painting code
2021-11-27 08:54:07 -08:00
Duncan
eba42a9584
Introduce Limits headers. ( #15329 )
...
* Move RCT12 limits to seperate file and namespace
* Remove prefix from constants
* Add rct1 limits file
* Rename constants to remove prefix
* Add RCT2 limits file
* Remove RCT2 prefix from constants
* Move constant to correct header
* Fix rebase mistakes
* Drop prefix
2021-11-27 16:20:05 +00:00
ζeh Matt
7a0fb048f8
Move reorganize structure of Paint.Sprite
2021-11-27 16:16:10 +02:00
ζeh Matt
fd2f3edbf2
Remove Paint.Litter.cpp
2021-11-27 15:55:42 +02:00
ζeh Matt
846a270cb3
Remove Paint.Peep.cpp
2021-11-27 15:52:31 +02:00
ζeh Matt
97bcfcff82
Remove Paint.Misc.cpp
2021-11-27 15:47:23 +02:00
ζeh Matt
d12d538d84
Rename Entity.cpp to EntityBase.cpp
2021-11-26 19:41:39 +02:00
ζeh Matt
cb76165448
Move code from Entity.h into EntityRegistry.h
2021-11-26 19:41:36 +02:00
ζeh Matt
9f23449ffb
Move Staff/Guest/Peep to entity
2021-11-26 18:26:19 +02:00
Duncan
275d565e52
Start splitting up ride.h ( #16011 )
...
* Start splitting up ride.h
* Use cstdint instead of common.h
2021-11-26 15:03:14 +00:00
ζeh Matt
03fb9b390f
Rename Sprite to EntityRegistry
2021-11-24 17:04:12 +02:00
ζeh Matt
8c290c7d92
Move entity code from world into entity
2021-11-24 16:37:28 +02:00
ζeh Matt
5d2fd57d1e
Create Identifiers.h for common identifier types
2021-11-22 18:17:17 +02:00
ζeh Matt
f703c3e805
Introduce TIdentifier
2021-11-22 18:17:12 +02:00