- Ara amb incloure "jgame.h" ja inclous també jdraw, jinput, jaudio i jfile. Total, sempre les acabava ficant totes.
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
#include "gamestates.h"
|
||||
#include "jgame.h"
|
||||
#include "jdraw.h"
|
||||
#include "jaudio.h"
|
||||
#include "jinput.h"
|
||||
|
||||
namespace gamestate
|
||||
{
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
#include "gamestates.h"
|
||||
#include "jgame.h"
|
||||
#include "jdraw.h"
|
||||
#include "jaudio.h"
|
||||
#include "jinput.h"
|
||||
#include "jfile.h"
|
||||
#include <string>
|
||||
|
||||
namespace gamestate
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
#include "gamestates.h"
|
||||
#include "jgame.h"
|
||||
#include "jfile.h"
|
||||
#include "jinput.h"
|
||||
#include "jdraw.h"
|
||||
#include "jaudio.h"
|
||||
#include <string>
|
||||
#include <SDL2/SDL.h>
|
||||
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include "jdraw.h"
|
||||
#include "jinput.h"
|
||||
#include "jaudio.h"
|
||||
#include "jfile.h"
|
||||
namespace game
|
||||
{
|
||||
void setUpdateTicks(const int ticks);
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
#include "jgame.h"
|
||||
#include "jdraw.h"
|
||||
#include "jinput.h"
|
||||
#include "jaudio.h"
|
||||
|
||||
#include "gamestates.h"
|
||||
|
||||
void game::init()
|
||||
@@ -15,13 +11,4 @@ void game::init()
|
||||
game::setConfig("fase", -1);
|
||||
|
||||
gamestate::sequence::init();
|
||||
|
||||
/*
|
||||
draw::surface *pic = draw::loadSurface("sprites.gif");
|
||||
draw::setSource(pic);
|
||||
draw::loadPalette("sprites.gif");
|
||||
draw::draw(0, 0, 320, 200, 0, 0);
|
||||
draw::freeSurface(pic);
|
||||
draw::render();
|
||||
*/
|
||||
}
|
||||
Reference in New Issue
Block a user