- [NEW] Mogut tot el codi de lloc

This commit is contained in:
2025-07-02 13:36:48 +02:00
parent 4670b52378
commit 81c5011bc7
34 changed files with 52 additions and 52 deletions

View File

@@ -1,5 +1,5 @@
libs = -lSDL3 -lGL libs = -lSDL3 -lGL
cppflags = -D DEBUG -D VERBOSE -g -Wall cppflags = -D DEBUG -D VERBOSE -g -Wall
executable = arounders executable = arounders
sourcepath = source sourcepath = source source/aux source/japi source/gamestates source/entities
buildpath = build buildpath = build

View File

@@ -1,5 +1,5 @@
#include "aux_font.h" #include "font.h"
#include "jgame.h" #include "../japi/game.h"
namespace font namespace font
{ {

View File

@@ -1,6 +1,6 @@
#include "aux_textfile.h" #include "textfile.h"
#include "jgame.h" #include "../japi/game.h"
#include <stdlib.h> #include <stdlib.h>
namespace textfile namespace textfile

View File

@@ -1,7 +1,7 @@
#include "proc_arounders.h" #include "arounders.h"
#include "jgame.h" #include "../japi/game.h"
#include "proc_mapa.h" #include "mapa.h"
#include "proc_explosio.h" #include "explosio.h"
namespace arounders namespace arounders
{ {

View File

@@ -1,6 +1,6 @@
#include "proc_explosio.h" #include "explosio.h"
#include <stdlib.h> #include <stdlib.h>
#include "jgame.h" #include "../japi/game.h"
namespace explosio namespace explosio
{ {

View File

@@ -1,7 +1,7 @@
#include "proc_mapa.h" #include "mapa.h"
#include "jgame.h" #include "../japi/game.h"
#include "aux_textfile.h" #include "../aux/textfile.h"
#include "aux_font.h" #include "../aux/font.h"
namespace mapa namespace mapa
{ {
namespace botons namespace botons

View File

@@ -1,5 +1,5 @@
#pragma once #pragma once
#include "jgame.h" #include "../japi/game.h"
#include <stdint.h> #include <stdint.h>
namespace mapa namespace mapa
{ {

View File

@@ -1,6 +1,6 @@
#include "gamestates.h" #include "gamestates.h"
#include "jgame.h" #include "../japi/game.h"
#include "aux_font.h" #include "../aux/font.h"
namespace gamestate namespace gamestate
{ {

View File

@@ -1,5 +1,5 @@
#include "gamestates.h" #include "gamestates.h"
#include "jgame.h" #include "../japi/game.h"
namespace gamestate namespace gamestate
{ {

View File

@@ -1,8 +1,8 @@
#include "gamestates.h" #include "gamestates.h"
#include "jgame.h" #include "../japi/game.h"
#include <string> #include <string>
#include "aux_font.h" #include "../aux/font.h"
#include "proc_mapa.h" #include "../entities/mapa.h"
#include <SDL3/SDL.h> #include <SDL3/SDL.h>
namespace gamestate namespace gamestate

View File

@@ -1,10 +1,10 @@
#include "gamestates.h" #include "gamestates.h"
#include "jgame.h" #include "../japi/game.h"
#include <SDL3/SDL.h> #include <SDL3/SDL.h>
#include <string> #include <string>
#include "aux_font.h" #include "../aux/font.h"
#include "proc_mapa.h" #include "../entities/mapa.h"
#include "proc_arounders.h" #include "../entities/arounders.h"
namespace gamestate namespace gamestate
{ {

View File

@@ -1,7 +1,7 @@
#include "gamestates.h" #include "gamestates.h"
#include "jgame.h" #include "../japi/game.h"
#include <string> #include <string>
#include "aux_font.h" #include "../aux/font.h"
namespace gamestate namespace gamestate
{ {

View File

@@ -1,8 +1,8 @@
#include "gamestates.h" #include "gamestates.h"
#include "jgame.h" #include "../japi/game.h"
#include <string> #include <string>
#include "aux_font.h" #include "../aux/font.h"
#include "proc_mapa.h" #include "../entities/mapa.h"
namespace gamestate namespace gamestate
{ {

View File

@@ -1,8 +1,8 @@
#include "gamestates.h" #include "gamestates.h"
#include "jgame.h" #include "../japi/game.h"
#include <string> #include <string>
#include <SDL3/SDL.h> #include <SDL3/SDL.h>
#include "aux_font.h" #include "../aux/font.h"
namespace gamestate namespace gamestate
{ {

View File

@@ -1,5 +1,5 @@
#include "jaudio.h" #include "audio.h"
#include "jfile.h" #include "file.h"
#include "stb_vorbis.h" #include "stb_vorbis.h"
#include <SDL3/SDL.h> #include <SDL3/SDL.h>
#include <stdio.h> #include <stdio.h>

View File

@@ -1,8 +1,8 @@
#include "jdraw.h" #include "draw.h"
#include "SDL3/SDL.h" #include "SDL3/SDL.h"
#include "gif.h" #include "gif.h"
#include "jfile.h" #include "file.h"
#include "jshader.h" #include "shader.h"
namespace draw namespace draw
{ {

View File

@@ -2,7 +2,7 @@
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>
#include <stdint.h> #include <stdint.h>
#include "jfile.h" #include "file.h"
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>
#include <iostream> #include <iostream>

View File

@@ -1,6 +1,6 @@
#include "jgame.h" #include "game.h"
#include "jdraw.h" #include "draw.h"
#include "jinput.h" #include "input.h"
#include <SDL3/SDL.h> #include <SDL3/SDL.h>
#include <map> #include <map>
#include <string> #include <string>

View File

@@ -1,9 +1,9 @@
#pragma once #pragma once
#include "jdraw.h" #include "draw.h"
#include "jinput.h" #include "input.h"
#include "jaudio.h" #include "audio.h"
#include "jfile.h" #include "file.h"
#define JAPI_VERSION "0.8" #define JAPI_VERSION "0.8"

View File

@@ -1,6 +1,6 @@
#include "jinput.h" #include "input.h"
#include <SDL3/SDL.h> #include <SDL3/SDL.h>
#include "jdraw.h" #include "draw.h"
namespace input namespace input
{ {

View File

@@ -1,4 +1,4 @@
#include "jshader.h" #include "shader.h"
#include <iostream> #include <iostream>

View File

@@ -1,6 +1,6 @@
#include "jgame.h" #include "japi/game.h"
#include "gamestates.h" #include "gamestates/gamestates.h"
#include "aux_font.h" #include "aux/font.h"
void game::init() void game::init()
{ {