Compare commits

..

3 Commits

Author SHA1 Message Date
Ulysse Cura e3cae438e9 Forgot to include stdbool. 2026-07-16 22:41:48 +02:00
Ulysse Cura 67661f5beb Moving to ccls ! 2026-07-16 22:39:35 +02:00
Ulysse Cura a8cfa29cbc Moving to NixOS ! 2026-07-16 22:39:23 +02:00
5 changed files with 25 additions and 12 deletions

5
.ccls Normal file
View File

@ -0,0 +1,5 @@
# Headers
-Isrc/headers
-Isrc/ecs/headers
-Isrc/ecs/components/headers
-Icore/src/headers

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
.ccls-cache
build build
core core

View File

@ -1,12 +0,0 @@
{
"configurations": [
{
"name": "Default",
"includePath": [
"src/**/headers",
"core/src/headers"
]
}
],
"version": 4
}

17
shell.nix Normal file
View File

@ -0,0 +1,17 @@
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "env";
nativeBuildInputs = [
gnumake
gcc
pkg-config
];
buildInputs = [
SDL2
SDL2_image
];
shellHook = ''
export LD_LIBRARY_PATH=${pkgs.SDL2}/lib:${pkgs.SDL2_image}/lib:$LD_LIBRARY_PATH
export PKG_CONFIG_PATH=${pkgs.SDL2}/lib/pkgconfig:${pkgs.SDL2_image}/lib/pkgconfig:$PKG_CONFIG_PATH
'';
}

View File

@ -1,6 +1,8 @@
#ifndef GAME_H #ifndef GAME_H
#define GAME_H #define GAME_H
#include <stdbool.h>
#include "events.h" #include "events.h"
#include "texture_manager.h" #include "texture_manager.h"
#include "ecs.h" #include "ecs.h"