update splib to 2.3.0

This commit is contained in:
2025-08-04 10:15:52 +02:00
parent 7ca374ea53
commit 1ca88106ac
2 changed files with 3 additions and 4 deletions

View File

@@ -56,11 +56,10 @@ td::game::World GetWorld() {
auto data = stream.ReadMessage(td::protocol::PacketID::WorldData);
td::game::World w;
WorldApply wa(w);
auto wa = std::make_shared<WorldApply>(w);
td::protocol::PacketDispatcher d;
d.RegisterHandler(td::protocol::PacketID::WorldHeader, &wa);
d.RegisterHandler(td::protocol::PacketID::WorldData, &wa);
d.RegisterHandler(wa);
d.Dispatch(*header);
d.Dispatch(*data);

View File

@@ -3,7 +3,7 @@ add_rules("mode.debug", "mode.release")
add_repositories("persson-repo https://git.ale-pri.com/Persson-dev/xmake-repo.git")
add_requires("imgui 1.92.0", {configs = {sdl3 = true, opengl3 = true}})
add_requires("splib 2.2.2", "zlib")
add_requires("splib 2.3.0", "zlib")
add_requires("libsdl3 3.2.16", "glew", "fpm", "enet6")
set_languages("c++17")