implement nextEntityID save/load

This commit is contained in:
MihailRis
2024-07-05 23:41:55 +03:00
parent f4d3e62b3f
commit cf2faa4a01
5 changed files with 18 additions and 1 deletions
+2 -1
View File
@@ -85,7 +85,8 @@ std::shared_ptr<UINode> create_debug_panel(
L" visible: "+std::to_wstring(level->chunks->visible);
}));
panel->add(create_label([=]() {
return L"entities: "+std::to_wstring(level->entities->size());
return L"entities: "+std::to_wstring(level->entities->size())+L" next: "+
std::to_wstring(level->entities->peekNextID());
}));
panel->add(create_label([=](){
const auto& vox = player->selection.vox;