2023-12-12 20:00:31 +01:00
2023-10-19 13:11:27 +02:00
2023-12-11 17:41:38 +01:00
2023-12-12 19:59:47 +01:00
2023-12-09 17:13:19 -08:00
2023-12-10 23:41:50 +01:00
2023-12-12 20:00:14 +01:00
2023-09-23 20:45:17 +02:00
2023-11-09 21:28:25 +01:00
2023-12-11 16:44:52 +01:00
2023-12-11 17:41:38 +01:00
2023-12-12 20:00:31 +01:00
2023-12-12 20:00:14 +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 🧐

You must be in debug mode for the tests to run !

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.

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