Compare commits

..

No commits in common. "e3cae438e933d21a8e1a2512e6eda02ef053070b" and "c8dd6e7cef27a0f369a1fb98174fd35bfc272033" have entirely different histories.

5 changed files with 12 additions and 25 deletions

5
.ccls
View File

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

1
.gitignore vendored
View File

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

12
.vscode/c_cpp_properties.json vendored Normal file
View File

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

View File

@ -1,17 +0,0 @@
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,8 +1,6 @@
#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"