Commit graph

24 commits

Author SHA1 Message Date
James R
da6a0ae48b srb2::Vector: fix copy assignment not clearing contents of vector
- Test
  - debugwaypoints - very easily observable, all labels
	are the same without this fix
  - ACS text would sometimes be reversed without this fix,
	not as easily observable
2025-05-25 21:47:33 -07:00
Eidolon
81f49a2cf8 Fix uninitialized values of hashmap propagating in move 2025-05-15 21:07:20 -05:00
Eidolon
bd7646346b Use new containers and json 2025-03-16 18:45:11 -05:00
Eidolon
c58f2c7dbd Add nlohmann json replacement 2025-03-16 18:44:13 -05:00
Eidolon
6a122a7d34 Add srb2::String 2025-03-16 18:44:13 -05:00
Eidolon
cf6488c749 Add srb2::HashSet 2025-03-16 18:44:13 -05:00
Eidolon
00d60fca4f Add srb2::HashMap 2025-03-16 18:44:13 -05:00
Eidolon
8e7de22df5 Add srb2::Vector 2025-03-16 18:44:13 -05:00
Eidolon
3e0b8203f4 Merge public master 2025-02-14 13:07:53 -06:00
Craftyawesome
06696e78b5 windows clang fixes 2025-02-14 12:53:41 -05:00
Eidolon
cb7f437e60 Merge public master 2025-02-13 15:48:11 -06:00
Eidolon
a4d304a1f5 Update copyright years to 2025 2025-02-13 15:32:26 -06:00
Eidolon
cdd3bad813 Add level pool allocator and use it for mobj, precip, thinkers
This should substantially reduce the number of malloc/free calls made to
create and destroy mobjs, especially during level load and net
save/load.

memory_resource standard header is not available on the OSX deployment
target we are using, so I had to write my own fixed size pool allocator.
2024-10-30 09:08:04 -05:00
Sally Coolatta
672765f05c SRB2 -> DRRR copyright in core folder 2024-04-05 09:48:01 -04:00
Eidolon
2433d37d44 Switch from CPM to vcpkg 2023-12-15 02:49:15 +00:00
Eidolon
61a021ce4a Add SPMC queue + thread pool job executor 2023-10-14 15:26:52 -05:00
Eidolon
28f22e3f71 Add per-frame linear memory allocator 2023-10-14 15:26:52 -05:00
Eidolon
9a149ed35b Give StaticVec a special iterator type
Avoids a bogus warning in std::sort in GCC's STL.
2023-07-09 12:27:00 -05:00
Eidolon
91a6bcf8be Merge branch 'shader-postproc' into 'master'
Shader-based postimg effects

See merge request KartKrew/Kart!1138
2023-04-04 03:37:43 +00:00
Eidolon
356e3317df hwr2: Do postimg in hardware
Depends on updated shaders
2023-04-02 19:46:21 -05:00
James R
dfe49a5bf3 Fix srb2::StaticVec::pop_back
lmao
2023-04-02 17:26:34 +01:00
James R
4d6b15eca9 srb2::StaticVec: define value_type
Lets std::back_inserter work on srb2::StaticVec
2023-04-02 17:26:07 +01:00
Eidolon
ccc10eadd0 hwr2: Reformat C++ code 2023-01-14 19:59:41 -06:00
Eidolon
01ddbf6dcf (WIP) hardware: add render hardware interface 2023-01-14 18:40:26 -06:00