- [NEW] Mogut tot el codi de lloc
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#include "aux_font.h"
|
#include "font.h"
|
||||||
#include "jgame.h"
|
#include "../japi/game.h"
|
||||||
|
|
||||||
namespace font
|
namespace font
|
||||||
{
|
{
|
||||||
@@ -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
|
||||||
@@ -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
|
||||||
{
|
{
|
||||||
@@ -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
|
||||||
{
|
{
|
||||||
@@ -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
|
||||||
@@ -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
|
||||||
{
|
{
|
||||||
@@ -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
|
||||||
{
|
{
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
#include "gamestates.h"
|
#include "gamestates.h"
|
||||||
#include "jgame.h"
|
#include "../japi/game.h"
|
||||||
|
|
||||||
namespace gamestate
|
namespace gamestate
|
||||||
{
|
{
|
||||||
@@ -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
|
||||||
@@ -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
|
||||||
{
|
{
|
||||||
@@ -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
|
||||||
{
|
{
|
||||||
@@ -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
|
||||||
{
|
{
|
||||||
@@ -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
|
||||||
{
|
{
|
||||||
@@ -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>
|
||||||
@@ -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
|
||||||
{
|
{
|
||||||
@@ -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>
|
||||||
@@ -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>
|
||||||
@@ -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"
|
||||||
|
|
||||||
@@ -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
|
||||||
{
|
{
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
#include "jshader.h"
|
#include "shader.h"
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
@@ -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()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user