Compare commits
3 Commits
c8dd6e7cef
...
e3cae438e9
| Author | SHA1 | Date |
|---|---|---|
|
|
e3cae438e9 | |
|
|
67661f5beb | |
|
|
a8cfa29cbc |
|
|
@ -0,0 +1,5 @@
|
|||
# Headers
|
||||
-Isrc/headers
|
||||
-Isrc/ecs/headers
|
||||
-Isrc/ecs/components/headers
|
||||
-Icore/src/headers
|
||||
|
|
@ -1,2 +1,3 @@
|
|||
.ccls-cache
|
||||
build
|
||||
core
|
||||
|
|
|
|||
|
|
@ -1,12 +0,0 @@
|
|||
{
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Default",
|
||||
"includePath": [
|
||||
"src/**/headers",
|
||||
"core/src/headers"
|
||||
]
|
||||
}
|
||||
],
|
||||
"version": 4
|
||||
}
|
||||
|
|
@ -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
|
||||
'';
|
||||
}
|
||||
|
|
@ -1,6 +1,8 @@
|
|||
#ifndef GAME_H
|
||||
#define GAME_H
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "events.h"
|
||||
#include "texture_manager.h"
|
||||
#include "ecs.h"
|
||||
|
|
|
|||
Loading…
Reference in New Issue