renomena tipus _t/_e a CamelCase (Circle, Color, Section, ...)
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
#include "game/ui/menu.h" // for Menu
|
||||
|
||||
// Constructor
|
||||
Title::Title(SDL_Renderer *renderer, section_t *section) {
|
||||
Title::Title(SDL_Renderer *renderer, Section *section) {
|
||||
// Copia las direcciones de los punteros
|
||||
this->renderer = renderer;
|
||||
this->section = section;
|
||||
@@ -112,7 +112,7 @@ void Title::init() {
|
||||
// Pone valores por defecto a las opciones de control
|
||||
Options::inputs.clear();
|
||||
|
||||
input_t inp;
|
||||
InputDevice inp;
|
||||
inp.id = 0;
|
||||
inp.name = "KEYBOARD";
|
||||
inp.deviceType = INPUT_USE_KEYBOARD;
|
||||
@@ -929,7 +929,7 @@ void Title::run() {
|
||||
}
|
||||
|
||||
// Inicia la parte donde se muestran las instrucciones
|
||||
void Title::runInstructions(mode_e mode) {
|
||||
void Title::runInstructions(InstructionsMode mode) {
|
||||
instructions = new Instructions(renderer, section);
|
||||
instructions->start(mode);
|
||||
instructionsActive = true;
|
||||
@@ -1046,7 +1046,7 @@ void Title::checkInputDevices() {
|
||||
}
|
||||
const int numControllers = Input::get()->getNumControllers();
|
||||
availableInputDevices.clear();
|
||||
input_t temp;
|
||||
InputDevice temp;
|
||||
|
||||
// Añade todos los mandos
|
||||
if (numControllers > 0) {
|
||||
|
||||
Reference in New Issue
Block a user