Compare commits

..

4 Commits

Author SHA1 Message Date
f45ab91998 chore: bump version to alpha-0.0.3
All checks were successful
Linux arm64 / Build (push) Successful in 1m22s
2024-04-13 17:31:44 +02:00
f3554454a9 run with valgrind 2024-04-13 17:31:16 +02:00
83451137d0 fix player shoot
All checks were successful
Linux arm64 / Build (push) Successful in 1m22s
2024-04-13 15:45:03 +02:00
352fa5a034 chore: bump version to alpha-0.0.2 2024-04-13 15:41:43 +02:00
3 changed files with 11 additions and 3 deletions

2
Blitz

Submodule Blitz updated: 52da1cf19b...026a841a04

View File

@@ -70,6 +70,6 @@ void Client::SendTextChat(const std::string& msg) {
} }
void Client::Shoot() { void Client::Shoot() {
protocol::PlayerShootPacket packet; protocol::PlayerShootPacket packet({}, 0, 0);
SendPacket(&packet); SendPacket(&packet);
} }

View File

@@ -1,4 +1,4 @@
add_rules("mode.debug", "mode.release") add_rules("mode.debug", "mode.release", "mode.valgrind")
add_includedirs("Blitz/include") add_includedirs("Blitz/include")
set_languages("c++17") set_languages("c++17")
@@ -9,3 +9,11 @@ target("BlitzConsole")
set_kind("binary") set_kind("binary")
add_deps("Blitz") add_deps("Blitz")
add_files("src/*.cpp") add_files("src/*.cpp")
-- Valgrind test
if is_mode("valgrind") then
on_run(function (target)
os.execv("valgrind", {"-s", "--leak-check=full", target:targetfile()})
end)
end