Commit Graph
10 Commits
Author SHA1 Message Date
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 MattandTed John 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