|
|
30cbc7cd1c
|
Fixed DualKeyMap MultiQuery not recording how many found properly
|
2026-03-02 18:20:11 +02:00 |
|
|
|
cecea2eaff
|
Upped the load factor to reduce allocations
|
2026-03-02 17:28:14 +02:00 |
|
|
|
e185c77cb8
|
Fixed speeeling miskate :)
|
2026-03-02 17:27:06 +02:00 |
|
|
|
084eb8266b
|
Changed hashmaps to not use pointers, saving on allocations
|
2026-03-02 16:57:52 +02:00 |
|
|
|
c388f20429
|
Started adding hashmap instead of std::vector as QueryWithMany return
|
2026-03-02 09:13:04 +02:00 |
|
|
|
5112f2a3a3
|
Bugfix: Hash position was calculated before rehash
|
2026-03-02 08:59:42 +02:00 |
|
|
|
7fd71ab0ac
|
Added rehashing for growing and shrinking
|
2026-03-02 07:56:34 +02:00 |
|
|
|
73ddc307eb
|
Added noexcepts and nodiscards
|
2026-03-02 04:08:25 +02:00 |
|
|
|
ffe6dd83ca
|
Hashmap added Count()
|
2026-03-02 04:02:46 +02:00 |
|
|
|
07c9ed49c7
|
Hashmap added checking for insertion and fixed remove
|
2026-03-02 03:55:23 +02:00 |
|
|
|
2326ddfee7
|
Fix guard's position
|
2026-03-01 05:07:50 +02:00 |
|
|
|
fdb84b30b7
|
Added a Hashmap (WIP)
|
2026-03-01 05:07:12 +02:00 |
|
|
|
af8b68ca46
|
Added checks for tombstones
|
2026-02-27 09:16:29 +02:00 |
|
|
|
0014ce0602
|
First RC of QueryWithAll, needs its erase logic improved
|
2026-02-27 09:06:16 +02:00 |
|
|
|
09b58fe1f5
|
addded .cache to gitignore
|
2026-02-27 09:06:04 +02:00 |
|
|
|
4eb846f215
|
const std::string& to std::string_view and static output buffer on Log
|
2026-02-26 20:34:23 +02:00 |
|
|
|
3d17902844
|
Tweaking DualKey Map to new Concept.hpp, and doing better templating
|
2026-02-26 19:24:06 +02:00 |
|
|
|
3910827805
|
Moved concepts out of containers and several tweaks on concepts.hpp
|
2026-02-26 01:32:16 +02:00 |
|
|
|
b67b042be3
|
Reorganised DualkeyMap.hpp and added MultiKeyResult
|
2026-02-23 06:31:32 +02:00 |
|
|
|
31b3f2033d
|
Added Either concept also moved Hashing.hpp to Concept.hpp
|
2026-02-23 06:30:37 +02:00 |
|
|
|
3c2744854b
|
Second iter of MultiQuery, splitted the logic to queryWithMany
|
2026-02-15 17:55:33 +02:00 |
|
|
|
f20e75a9ee
|
Added more proper fails and QueryWithAll first iteration (not fully impl)
|
2026-02-15 04:15:59 +02:00 |
|
|
|
bd3be51abd
|
Errors throw, while criticals terminate.
|
2026-02-03 13:19:59 +02:00 |
|
|
|
f2d429109b
|
Changing casing of dualkey map to PascalCase
|
2026-02-01 00:54:25 +02:00 |
|
|
|
2f84b47fec
|
Update README.md
|
2026-01-31 14:50:29 +02:00 |
|
|
|
ec58bb7990
|
Showing appreciation
you can cry now (lol)
|
2026-01-31 13:30:08 +01:00 |
|
|
|
0ac8d26578
|
Allow moving for DualKeyMap
|
2026-01-31 14:14:57 +02:00 |
|
|
|
7cd43a2215
|
World should be movable only
|
2026-01-31 14:11:48 +02:00 |
|
|
|
edb0055224
|
UUID has been updated to use a better hash and no unnecessary allocations (Big thanks to mosra!)
|
2026-01-31 13:45:15 +02:00 |
|
|
|
ff062567d8
|
Renamed BaseComponent to ECS::Component, removed enabled, renamed Position to Base
|
2026-01-30 18:46:49 +02:00 |
|
|
|
16c1a2c620
|
Added a scan with hash function and labeled the arguments
|
2026-01-30 16:42:28 +02:00 |
|
|
|
baa8cc351d
|
Simplified DualKeyHash
|
2026-01-30 16:27:03 +02:00 |
|
|
|
3fc4f3ec84
|
Added basics of the ECS world's life cycle
|
2026-01-30 15:58:53 +02:00 |
|
|
|
cd59ed656a
|
Enabled for entities is now a friend of ECS::World
|
2026-01-30 15:58:13 +02:00 |
|
|
|
d21bc60024
|
Making use of std::stack instead of std::queue
|
2026-01-30 15:56:51 +02:00 |
|
|
|
af05dfcf0d
|
Fixed the wrong naming of Components.cpp
|
2026-01-30 15:56:33 +02:00 |
|
|
|
dadbfbc085
|
Continuing to add Enabled
|
2026-01-30 13:58:24 +02:00 |
|
|
|
610a22a852
|
Moved base component from ECS.hpp and added Enabled
|
2026-01-30 10:12:14 +02:00 |
|
|
|
f760cfd658
|
Added EntityExists and HasComponent
|
2026-01-28 14:29:47 +02:00 |
|
|
|
4cc10ddc21
|
Added Scan() to go through the dualkey map
|
2026-01-28 14:22:04 +02:00 |
|
|
|
7000aa712b
|
Removing needless entity pointer storing in BaseComponent
|
2026-01-28 14:02:28 +02:00 |
|
|
|
12796fa31b
|
CreateEntity should be nodiscard
|
2026-01-28 13:47:28 +02:00 |
|
|
|
c1637a2a2e
|
Hashes on dualkey map need to be also const
|
2026-01-28 13:47:07 +02:00 |
|
|
|
3840276f1a
|
Made ECS use dualkey map over nested maps
still need to implement a has check
|
2026-01-28 13:33:47 +02:00 |
|
|
|
63b6d705a9
|
Added builtin components (placeholder for now)
|
2026-01-28 13:32:52 +02:00 |
|
|
|
6aaf0c6101
|
Added ::Entry for returning references upon insertion
Additionally fixed a minor mistake on hashable concept
|
2026-01-28 13:32:09 +02:00 |
|
|
|
c458062f72
|
Renamed resultpair to queryresult for clarity
|
2026-01-28 12:58:30 +02:00 |
|
|
|
ea83805f4b
|
Added count(), camelCase'd all the functions, and made the keys const
|
2026-01-28 12:31:30 +02:00 |
|
|
|
8887547fdc
|
Fully functioning graveyard TESTED
|
2026-01-28 04:11:51 +02:00 |
|
|
|
725430194d
|
Tombstoning finished UNTESTED
|
2026-01-28 02:49:03 +02:00 |
|