Afegit esqueleto per a la classe OnScreenHelp
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#include "jail_audio.h" // for JA_DeleteMusic, JA_DeleteSound
|
||||
#include "logo.h" // for Logo
|
||||
#include "manage_hiscore_table.h" // for ManageHiScoreTable
|
||||
#include "on_screen_help.h" // for OnScreenHelp
|
||||
#include "options.h" // for options, loadOptionsFile, saveO...
|
||||
#include "param.h" // for param, loadParamsFromFile
|
||||
#include "screen.h" // for Screen
|
||||
@@ -34,7 +35,7 @@
|
||||
#include "utils.h" // for music_file_t, sound_file_t, opt...
|
||||
|
||||
#ifndef _WIN32
|
||||
#include <pwd.h> // for getpwuid, passwd
|
||||
#include <pwd.h> // for getpwuid, passwd
|
||||
#endif
|
||||
|
||||
// Constructor
|
||||
@@ -101,6 +102,8 @@ Director::Director(int argc, char *argv[])
|
||||
Screen::init(window, renderer);
|
||||
screen = Screen::get();
|
||||
|
||||
OnScreenHelp::init();
|
||||
|
||||
// Carga los sonidos del juego
|
||||
loadSounds();
|
||||
|
||||
@@ -115,6 +118,7 @@ Director::~Director()
|
||||
Asset::destroy();
|
||||
Input::destroy();
|
||||
Screen::destroy();
|
||||
OnScreenHelp::destroy();
|
||||
|
||||
deleteSounds();
|
||||
deleteMusics();
|
||||
|
||||
Reference in New Issue
Block a user