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
Ted John
0e57643a68
Refactor TilePointerIndex
2021-11-21 22:43:23 +01:00
IntelOrca
34128dc262
Add new .park save format
...
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com>
Co-authored-by: duncanspumpkin <duncanspumpkin@users.noreply.github.com>
Co-authored-by: ZehMatt <Zehmatt@users.noreply.github.com>
Co-authored-by: Broxzier <Broxzier@users.noreply.github.com>
2021-11-21 22:43:22 +01:00
ζeh Matt
96e2641d0d
Remove macro for registration and cleanup
2021-11-10 19:42:23 +02:00
Duncan
3f19d6f7d7
Split Peep header Guest into separate header ( #15810 )
...
* Move guest functions and classes to guest header
* Reduce includes of Peep.h
2021-10-28 21:38:23 +01:00
ζeh Matt
7a30169c28
Refactor out construction clearance into a new compilation unit
2021-10-20 22:21:54 +03:00
ζeh Matt
2d78a5efc3
Move GameActionResult into its own unit ( #15588 )
2021-10-19 17:50:24 -03:00
Duncan
e01c9a3afa
Stream changes from NSF ( #15446 )
...
* Bring over NSF changes to stream classes
* Add orca stream to project files
* Bring over util changes as well.
* Add const to util and fix util ungzip
* Add const and apply review comments
* Apply review comments
2021-09-30 13:02:54 +01:00
frutiemax
2906cb8c89
Fix #14474 : Map size can be synced in multiplayer ( #15312 )
...
* Fix #14474 : Map size can be synced in multiplayer
* Bump up network version
Co-authored-by: ζeh Matt <5415177+ZehMatt@users.noreply.github.com>
2021-09-29 16:46:03 +01:00
Hielke Morsink
9060a0d228
Add missing headers to VS project file ( #15457 )
2021-09-21 23:34:33 +02:00
Duncan
81051f2d21
Add crypt files from NSF
2021-09-18 20:31:23 +00:00
ζeh Matt
f999b0acb2
Remove Nullable and use std::optional instead
2021-09-12 16:55:56 +03:00
ζeh Matt
2daa356fbf
Move ZipStream into new header
2021-09-11 19:06:17 +03:00
ζeh Matt
0be585024f
Merge pull request #15232 from ZehMatt/refactor/gNetwork
...
Move network instance to Context
2021-08-30 14:17:15 -07:00