Persson-dev 7119dea783 merge 'main' branch
commit c1ded40cc4
Author: Persson-dev <sim16.prib@gmail.com>
Date:   Thu Mar 21 17:24:05 2024 +0100

    improve network test

commit 285bf880ee
Author: Persson-dev <sim16.prib@gmail.com>
Date:   Thu Mar 21 17:14:43 2024 +0100

    fix warning

commit 06ff76607d
Author: Persson-dev <sim16.prib@gmail.com>
Date:   Thu Mar 21 15:45:33 2024 +0100

    add bots

commit 19229bbe8a
Author: Persson-dev <sim16.prib@gmail.com>
Date:   Thu Mar 21 14:55:57 2024 +0100

    fix warnings

commit 2b0930a734
Author: Morph01 <thibaut6969delastreet@gmail.com>
Date:   Tue Mar 19 10:43:55 2024 +0100

    hud of blitz (#16)

    Résoudre partiellement #12

    Co-authored-by: Persson-dev <sim16.prib@gmail.com>
    Co-authored-by: Morph01 <145839520+Morph01@users.noreply.github.com>
    Co-authored-by: Simon Pribylski <sim16.prib@gmail.com>
    Reviewed-on: #16

commit 84b6acad4c
Author: Persson-dev <sim16.prib@gmail.com>
Date:   Tue Mar 19 10:15:54 2024 +0100

    less spooky light

commit 9f94d51fc4
Author: Persson-dev <sim16.prib@gmail.com>
Date:   Thu Mar 14 16:36:15 2024 +0100

    Ajout de tests d'intégration (#17)

    Le paquet fournissant OpenGL a été temporairement remplacé par glew

    Reviewed-on: #17
    Co-authored-by: Persson-dev <sim16.prib@gmail.com>
    Co-committed-by: Persson-dev <sim16.prib@gmail.com>

commit 9951256881
Author: Simon Pribylski <sim16.prib@gmail.com>
Date:   Wed Mar 13 20:19:37 2024 +0100

    action: install libsdl via apt

commit 4a02054648
Author: Morph01 <145839520+Morph01@users.noreply.github.com>
Date:   Wed Mar 13 13:53:20 2024 +0100

    compression tests

commit 19c39312bf
Author: Morph01 <145839520+Morph01@users.noreply.github.com>
Date:   Wed Mar 13 13:51:57 2024 +0100

    setup action

commit d5014b1e8a
Author: Persson-dev <sim16.prib@gmail.com>
Date:   Tue Mar 12 10:26:47 2024 +0100

    Revert "extend Vec3"

    This reverts commit dccfa9c936.

commit dccfa9c936
Author: = <=>
Date:   Tue Mar 12 10:01:00 2024 +0100

    extend Vec3
2024-03-22 19:15:01 +01:00
2024-03-19 12:03:12 +01:00
2024-03-19 12:16:23 +01:00
2023-12-11 17:41:38 +01:00
2024-03-22 19:15:01 +01:00
2023-12-09 17:13:19 -08:00
2024-03-22 19:15:01 +01:00
2024-03-22 19:15:01 +01:00
2024-03-19 12:16:23 +01: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
2023-12-15 19:05:44 +01:00
2024-03-22 19:15:01 +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.

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