ja tenim el control de la finestra i de la imatge
treballant en les tecles de funcio
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
#include <ctime>
|
||||
#include <string>
|
||||
|
||||
#include "core/global_inputs.hpp"
|
||||
#include "core/jail_audio.hpp"
|
||||
#include "core/jdraw8.hpp"
|
||||
#include "core/jfile.hpp"
|
||||
#include "core/jgame.hpp"
|
||||
#include "core/screen.hpp"
|
||||
#include "game/defines.hpp"
|
||||
#include "game/info.hpp"
|
||||
#include "game/modulegame.hpp"
|
||||
@@ -20,7 +22,8 @@ int main(int argc, char* args[]) {
|
||||
Options::loadFromFile();
|
||||
|
||||
JG_Init();
|
||||
JD8_Init(Texts::WINDOW_TITLE);
|
||||
Screen::init();
|
||||
JD8_Init();
|
||||
JA_Init(48000, SDL_AUDIO_S16, 2);
|
||||
|
||||
info::num_habitacio = Options::game.habitacio_inicial;
|
||||
@@ -61,6 +64,7 @@ int main(int argc, char* args[]) {
|
||||
|
||||
JA_Quit();
|
||||
JD8_Quit();
|
||||
Screen::destroy();
|
||||
JG_Finalize();
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user