Duncan
67bbc8560d
Code style: Remove snakes from everything world apart from Map.h ( #18273 )
...
* Remove remaining snakes from world (outside of map)
* Initial few desnaking of Map.h
2022-10-11 19:39:24 +01:00
Duncan
5dba30778d
Code style: Remove more snakes from the park, maphelper, scenery. ( #18222 )
2022-10-08 06:56:17 -03:00
duncanspumpkin
16581e9288
Address snakes in mapgen and map animation
2022-10-05 20:22:51 +01:00
Duncan
3565a0172d
Attack snakes in banners and climate ( #18163 )
2022-10-01 18:54:15 +02:00
73
b9e677945d
Replace 20XX with 2022 ( #18158 )
...
* Replace 2020 with 2022
Replace all 2020 headers with 2022
* replace other years with 2022
add missing years
2022-10-01 08:42:14 +01:00
LordOfLunacy
fa71bbc1b2
Implement requested changes
...
- Change the GuestPathfinder object to a smart pointer
- Improved function signatures
- Added javadoc comments to the abstract base class
- Converted pointers to references in pathfinding function calls
2022-05-14 15:28:24 -04:00
LordOfLunacy
eddda64e20
Fixed formatting
2022-05-13 19:59:47 -04:00
LordOfLunacy
45013a90cc
Part of pathfinding rework
2022-05-13 19:18:46 -04:00
Ted John
90718ca81c
Refactor patrol area class to new file
2022-03-11 18:39:04 +00:00
Ted John
1182ff5f19
Add Plugin API for storing data in .park files
2022-02-24 23:55:23 +00:00
Michael Steenbeek
5edc561715
Close #11437 : Migrate old platform methods
2022-02-18 21:57:00 +01:00
Ted John
454bfb0a8f
Refactor map size to allow for rectangle maps
2022-02-14 23:15:59 +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
ζeh Matt
531aace060
Move real time calculation into Context
2021-12-13 19:04:48 +02:00
ζeh Matt
94e20ba7fe
Rename some Update functions to Tick
2021-12-13 19:04:48 +02:00
ζeh Matt
9f23449ffb
Move Staff/Guest/Peep to entity
2021-11-26 18:26:19 +02:00
ζeh Matt
03fb9b390f
Rename Sprite to EntityRegistry
2021-11-24 17:04:12 +02:00
ζeh Matt
7c726e2a0c
Fix includes
2021-11-24 16:48:33 +02:00
ζeh Matt
c6242fd310
More renaming
2021-11-24 15:50:18 +02:00
ζeh Matt
0b5fc962eb
Rename variables/members sprite to entity
2021-11-24 15:27:48 +02: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
74e8988dd8
Remove scenario ticks and adjust export/import
...
Co-authored-by: Ted John <ted@brambles.org >
2021-09-23 21:49:09 +03:00
ζeh Matt
b2387d06b6
Fix #14964 : Building in multiplayer while paused
2021-06-30 20:51:04 +02:00
Duncan
39fcc5d078
Split up Sprite header ( #14764 )
...
* Remove fields from rct_sprite union
* more header fun
* Fix guest include
2021-05-29 06:01:32 +01:00
ζeh Matt
1fef332f6a
Fix #14668 : Ensure to flush network data when paused ( #14673 )
2021-05-16 13:14:29 +02:00
Michał Janiszewski
8ee49ab615
Reduce inclusion of world/Sprite.h
2021-02-25 10:56:27 +01:00
Duncan
3cc283adb2
Name MapFlashingFlags and split up guest/staff loop ( #13865 )
...
* Name MapFlashingFlags and split up guest/staff loop
* Use constexpr instead of macros
2021-01-23 06:45:14 +00:00
Michał Janiszewski
deebd779a9
Address review comments for benchsimulate
2021-01-10 13:34:14 +01:00
Michał Janiszewski
0410b37369
Provide more detailed stats about simulation performance
2021-01-10 13:34:14 +01:00
ju-pinheiro
214620951f
Close #12421 : Refactor NETWORK_AUTH to use strong enum
...
Replacing enum NETWORK_AUTH with enum class NetworkAuth.
2020-09-10 19:32:28 -03:00
Tulio Leao
efdb7e1a2d
Change gDateMonthsElapsed type to int32_t
2020-08-25 19:06:38 -03:00
Sidney
5330f7fb86
closes #12445 Refactor CLIMATE to use strong enum ( #12551 )
2020-08-21 09:43:57 +01:00
pizza2004
d217dfa9b9
Refactor NewsItem into namespace and Pascal Case ( #12511 )
2020-08-02 23:14:00 -03:00
frutiemax
af0fc89cf4
Close #12456 : Refactor INPUT_STATE to use strong enum ( #12484 )
2020-07-27 19:51:10 -03:00
Aaron van Geffen
7b5087f057
Update copyright year to 2020
2020-07-21 15:04:34 +02:00
Ted John
35e039c65d
Call tick and day plugin hook at the end of the update routine ( #11713 )
2020-05-10 23:24:15 -03:00
Ted John
c67962577a
Rename __ENABLE_SCRIPTING__ to ENABLE_SCRIPTING
2020-04-26 14:35:08 +01:00
Ted John
bac91cd563
Allow scripting to be compile-disabled
2020-04-26 14:35:03 +01:00
Ted John
a5c8ff920f
Add game mutable protection
2020-04-26 14:35:03 +01:00
Ted John
d8b0b24c43
Implement date API
2020-04-26 14:35:02 +01:00
Ted John
4a575975f6
Add hook system
2020-04-26 14:34:59 +01:00
Matt
c24112ffad
Refactor out gCommandExpenditureType
2019-12-22 20:51:49 +01:00
duncanspumpkin
d8b5060eb9
Remove dead game command code.
...
Refactor of z increment
2019-12-15 08:21:32 +00:00
ζeh Matt
7744fc71e4
Fix #10256 : Desync because of client advancing ahead of server ticks during map change ( #10257 )
2019-11-17 23:26:32 +01:00
Matt
3bdc3935dc
Use correct update order
2019-08-21 00:28:08 +02:00
Matt
769ed255f3
Refactor game action queue out of network into GameActions
2019-08-21 00:15:39 +02:00
kennycastro007
9708e3a043
Fixed issue #8376 ( #9866 )
...
#8376 : Added static function show_error in S6Importer.cpp
2019-08-15 16:02:03 +02:00
ζeh Matt
df4e412826
Fix #9762 : Update network logic also from title screen ( #9773 )
2019-08-08 16:49:30 +01:00
Duncan
659b4d8f9f
Clean up some litter in the codebase ( #9753 )
...
13CA740 and 141F568 have been doing mostly nothing since the game action refacotr. Before that they didn't do much as I've never found any instance where the code was hit.
2019-08-08 06:05:58 +01:00
Matt
01de097ef0
Fix #9666 : pause server if no clients are connected
2019-08-06 00:49:37 +02:00