1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 19:43:06 +01:00
Commit Graph

32 Commits

Author SHA1 Message Date
Michael Steenbeek
2181f1b09e Part of #21193: move entities to GameState_t 2024-03-15 00:22:18 +01:00
Harry Hopkinson
b989ccbb20 Remove unused gSavedAge (#21410)
* Remove the unused SavedAge variable.
2024-02-20 16:58:46 -03:00
ζeh Matt
6b9de0bb2f Raise maximum allowed misc entities to 1600 2024-01-19 12:50:27 +02:00
ζeh Matt
3dc2a25121 Fix overflow calculating maximum free slots for misc entities 2024-01-12 17:48:39 +02:00
James103
1d8dc111f1 Replace 2023 with 2024 in copyright headers (#21139)
Replace all instances of the year 2023 with 2024 in all copyright headers
2024-01-01 12:52:28 +01:00
Matt
2147b69104 Update the money effect even when the game is paused (#21102)
* Update the money effect even when the game is paused

* Update changelog.txt
2023-12-23 11:04:25 -03:00
Matthias Moninger
3ef6003671 Replace openrct2_assert with Guard::Assert, remove openrct2_assert 2023-07-02 16:42:46 +02:00
Aaron van Geffen
d425e0a8bb Remove const qualifier from constexpr statements 2023-06-24 11:45:26 +02:00
ζeh Matt
68485e20d0 Revert #20286 2023-05-31 18:21:33 +03:00
ζeh Matt
b3606566c4 Fix #20285: Workaround to disable tweening when updated from UI 2023-05-24 01:02:11 +03:00
ζeh Matt
65b582afb0 Add a way to invalidate entity tweening 2023-05-24 00:43:23 +03:00
ζeh Matt
679f5aac2e Rename members of EntitySpriteData 2023-04-07 19:47:26 +03:00
ζeh Matt
dce21bc8ec Split move sprite specific data into EntitySpriteData 2023-04-07 19:37:47 +03:00
ζeh Matt
2f8e208a9d Refactor sprite_index to Id 2023-01-27 19:21:57 +02:00
Gymnasiast
3dd895abf7 Rename pad_ to Pad 2023-01-21 16:39:35 +01:00
Hielke Morsink
6b7dc8fcdb Rename snake_case functions in openrct2/src folder
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
2023-01-17 13:24:51 +01:00
Gymnasiast
5309c80e29 Remove snake_case in interface folder 2023-01-16 22:20:41 +01:00
Gymnasiast
28edbf9116 Remove snake_case in core folder 2023-01-16 22:20:41 +01:00
James103
73738bbdc8 Replace 2022 with 2023 in copyright headers
Replace all instances of the year 2022 with 2023 in all copyright headers
2023-01-01 11:58:01 +01:00
Duncan
406b73d904 Remove final snakes from map and world (#18304) 2022-10-12 09:14:45 -03:00
Duncan
7dd8989e70 Next chunk of World/Map.h snakes (#18296)
* Next chunk of World/Map.h snakes

* Apply clang-format
2022-10-12 06:35:20 +01: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
Ted John
97dfe3cb73 Refactor std::lower_bound to binary_find 2022-03-11 18:39:05 +00:00
ζeh Matt
52047805db Use correct type for EntityId and fix issues 2022-02-16 18:56:43 +02:00
ζeh Matt
d7f5003943 Introduce EntityId and refactor everything 2022-02-16 18:56:39 +02: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
496fdfd3eb Move remaining EntityBase functions to EntityBase.cpp 2021-11-27 15:12:57 +02:00
ζeh Matt
bcb527d331 Fix truncation of coordinates (#16004) 2021-11-27 07:26:52 +00:00
ζeh Matt
9f23449ffb Move Staff/Guest/Peep to entity 2021-11-26 18:26:19 +02:00
ζeh Matt
860fb77da4 Apply review suggestions 2021-11-24 19:03:41 +02:00
ζeh Matt
213064e312 Revert old storage until the complex member types are gone 2021-11-24 18:25:43 +02:00
ζeh Matt
03fb9b390f Rename Sprite to EntityRegistry 2021-11-24 17:04:12 +02:00