Treballant en la intro

This commit is contained in:
2025-03-14 14:06:14 +01:00
parent f11cb32ac0
commit c757886430
5 changed files with 111 additions and 34 deletions

View File

@@ -9,9 +9,6 @@
#include <SDL2/SDL_scancode.h> // Para SDL_SCANCODE_0, SDL_SCANCODE_DOWN
#include <SDL2/SDL_stdinc.h> // Para SDL_bool, Uint32
#include <errno.h> // Para errno, EEXIST, EACCES, ENAMETOO...
#ifndef _WIN32
#include <pwd.h> // Para getpwuid, passwd
#endif
#include <stdio.h> // Para printf, perror
#include <sys/stat.h> // Para mkdir, stat, S_IRWXU
#include <unistd.h> // Para getuid
@@ -45,6 +42,10 @@
#include "title.h" // Para Title
#include "utils.h" // Para Overrides, overrides
#ifndef _WIN32
#include <pwd.h> // Para getpwuid, passwd
#endif
// Constructor
Director::Director(int argc, const char *argv[])
{
@@ -52,7 +53,7 @@ Director::Director(int argc, const char *argv[])
section::name = section::Name::GAME;
section::options = section::Options::GAME_PLAY_1P;
#elif DEBUG
section::name = section::Name::LOGO;
section::name = section::Name::INTRO;
#else // NORMAL GAME
section::name = section::Name::LOGO;
section::options = section::Options::NONE;