Simon Pribylski e80c6a3c60
All checks were successful
Linux arm64 / Build (push) Successful in 3m15s
action: cache only packages
2024-06-03 22:25:23 +02:00
2024-03-26 11:44:37 +01:00
2024-04-15 16:53:44 +02:00
2023-12-11 17:41:38 +01:00
2024-04-15 16:53:44 +02:00
2024-04-15 17:02:47 +02:00
2024-03-28 16:30:51 +01:00
2024-04-13 16:32:23 +02:00
2023-09-23 20:45:17 +02:00
2024-01-02 19:23:49 +01:00
2023-12-11 16:44:52 +01:00
2023-12-11 17:41:38 +01:00
2024-04-14 18:13:31 +02:00
2024-03-21 14:55:57 +01:00

Blitz 🎮

Fast FPS written in C++

Prerequisites 🛠️

You will need a recent compiler supporting c++17 and xmake (version 2.8.5 or higher). xmake should download all the dependencies for you.

Client 💻

Build ⚙️

xmake [BlitzClient]

Run 🏃

xmake run [BlitzClient]

Server 🗄

Build ⚙️

xmake build BlitzServer

Run 🏃

xmake run BlitzServer [-P port]

Debug 🏗️

Switch to debug mode

xmake f -m debug

Switch to release mode

xmake f -m release

Run with debugger

xmake run -d              # Client
xmake run -d BlitzServer  # Server

Testing 🧐

Run tests :

xmake test

Run tests with verbose :

xmake test -v

Generate docs 📖

First, clone the submodule for the enhanced css :

git submodule update --init

Then, refresh the doc :

xmake doxygen

Visual Studio Code integration 🎛

Generate compile_commands.json :

xmake project -k compile_commands

Alternatively, you can install the XMake extension for VsCode.

Valgrind 🔍

We can inspect the client binary to look for memory leak.

First, switch compilation mode to valgrind :

xmake f -m valgrind

Then build and run :

xmake
xmake run

Wiki 📚

Available here

Description
Languages
C++ 97.9%
HTML 1.1%
Lua 0.8%
C 0.2%