Compare commits
No commits in common. "241a0c0906f75555218a04b99259b51b0c0c25a4" and "e5b3546292c906da4680f838c235e3464476917b" have entirely different histories.
241a0c0906
...
e5b3546292
21
LICENSE
21
LICENSE
@ -1,21 +0,0 @@
|
|||||||
MIT License
|
|
||||||
|
|
||||||
Copyright (c) 2025 Erik Scholz
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE.
|
|
@ -10,7 +10,7 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
// fwd enum (obj cant depend on Contact3
|
// fwd enum (obj cant depend on Contact3
|
||||||
enum class Contact4 : uint32_t;
|
enum class Contact3 : uint32_t;
|
||||||
|
|
||||||
namespace ObjectStore::Components {
|
namespace ObjectStore::Components {
|
||||||
|
|
||||||
@ -38,7 +38,7 @@ namespace ObjectStore::Components {
|
|||||||
bool have_all {false};
|
bool have_all {false};
|
||||||
BitSet have;
|
BitSet have;
|
||||||
};
|
};
|
||||||
entt::dense_map<Contact4, Entry> others;
|
entt::dense_map<Contact3, Entry> others;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -126,7 +126,7 @@ void ObjectStore2::throwEventDestroy(const Object o) {
|
|||||||
std::cout << "OS debug: event destroy " << entt::to_integral(o) << "\n";
|
std::cout << "OS debug: event destroy " << entt::to_integral(o) << "\n";
|
||||||
dispatch(
|
dispatch(
|
||||||
ObjectStore_Event::object_destroy,
|
ObjectStore_Event::object_destroy,
|
||||||
ObjectStore::Events::ObjectDestory{
|
ObjectStore::Events::ObjectUpdate{
|
||||||
ObjectHandle{_reg, o}
|
ObjectHandle{_reg, o}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user