Continue arreglant cosetes amb cppcheck
This commit is contained in:
@@ -1,22 +1,22 @@
|
||||
#include "intro.h"
|
||||
#include <SDL2/SDL_events.h> // for SDL_PollEvent, SDL_Event, SDL_QUIT, SDL...
|
||||
#include <SDL2/SDL_timer.h> // for SDL_GetTicks
|
||||
#include <SDL2/SDL_video.h> // for SDL_WINDOWEVENT_SIZE_CHANGED
|
||||
#include <utility> // for move
|
||||
#include "asset.h" // for Asset
|
||||
#include "global_inputs.h" // for check
|
||||
#include "input.h" // for Input
|
||||
#include "jail_audio.h" // for JA_StopMusic, JA_PlayMusic
|
||||
#include "lang.h" // for getText
|
||||
#include "param.h" // for param
|
||||
#include "resource.h" // for Resource
|
||||
#include "screen.h" // for Screen
|
||||
#include "section.h" // for Name, name, Options, options
|
||||
#include "smart_sprite.h" // for SpriteSmart
|
||||
#include "text.h" // for Text
|
||||
#include "texture.h" // for Texture
|
||||
#include "utils.h" // for Param, ParamGame, Zone, BLOCK, Color
|
||||
#include "writer.h" // for Writer
|
||||
#include <SDL2/SDL_events.h> // para SDL_PollEvent, SDL_Event, SDL_QUIT, SDL...
|
||||
#include <SDL2/SDL_timer.h> // para SDL_GetTicks
|
||||
#include <SDL2/SDL_video.h> // para SDL_WINDOWEVENT_SIZE_CHANGED
|
||||
#include <utility> // para move
|
||||
#include "asset.h" // para Asset
|
||||
#include "global_inputs.h" // para check
|
||||
#include "input.h" // para Input
|
||||
#include "jail_audio.h" // para JA_StopMusic, JA_PlayMusic
|
||||
#include "lang.h" // para getText
|
||||
#include "param.h" // para param
|
||||
#include "resource.h" // para Resource
|
||||
#include "screen.h" // para Screen
|
||||
#include "section.h" // para Name, name, Options, options
|
||||
#include "smart_sprite.h" // para SpriteSmart
|
||||
#include "text.h" // para Text
|
||||
#include "texture.h" // para Texture
|
||||
#include "utils.h" // para Param, ParamGame, Zone, BLOCK, Color
|
||||
#include "writer.h" // para Writer
|
||||
struct JA_Music_t; // lines 19-19
|
||||
|
||||
// Constructor
|
||||
@@ -369,7 +369,7 @@ void Intro::updateScenes()
|
||||
void Intro::update()
|
||||
{
|
||||
constexpr int TICKS_SPEED = 15;
|
||||
|
||||
|
||||
if (SDL_GetTicks() - ticks_ > TICKS_SPEED)
|
||||
{
|
||||
// Actualiza el contador de ticks
|
||||
|
||||
Reference in New Issue
Block a user