forked from jaildesigner-jailgames/jaildoctors_dilemma
Toquetechant includes
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
#include "gamestate_loading_screen.h"
|
||||
#include <SDL2/SDL_timer.h> // for SDL_GetTicks
|
||||
#include <stdlib.h> // for rand
|
||||
#include <string> // for basic_string
|
||||
#include "asset.h" // for Asset
|
||||
#include "const.h" // for SECTION_LOADING_SCREEN, SECTION_QUIT
|
||||
#include "input.h" // for Input, REPEAT_FALSE, inputs_e
|
||||
#include "jail_audio.h" // for JA_DeleteMusic, JA_LoadMusic, JA_PlayMusic
|
||||
#include "resource.h" // for Resource
|
||||
#include "screen.h" // for Screen
|
||||
#include "sprite.h" // for Sprite
|
||||
#include "texture.h" // for Texture
|
||||
#include "utils.h" // for options_t, color_t, section_t, stringToC...
|
||||
#include <SDL2/SDL_timer.h> // Para SDL_GetTicks
|
||||
#include <stdlib.h> // Para rand
|
||||
#include <string> // Para basic_string
|
||||
#include "asset.h" // Para Asset
|
||||
#include "const.h" // Para SECTION_LOADING_SCREEN, SECTION_QUIT
|
||||
#include "input.h" // Para Input, REPEAT_FALSE, inputs_e
|
||||
#include "jail_audio.h" // Para JA_DeleteMusic, JA_LoadMusic, JA_PlayMusic
|
||||
#include "resource.h" // Para Resource
|
||||
#include "screen.h" // Para Screen
|
||||
#include "sprite.h" // Para Sprite
|
||||
#include "texture.h" // Para Texture
|
||||
#include "utils.h" // Para options_t, color_t, section_t, stringToC...
|
||||
|
||||
// Constructor
|
||||
LoadingScreen::LoadingScreen(SDL_Renderer *renderer, Screen *screen, Resource *resource, Asset *asset, Input *input, options_t *options, section_t *section)
|
||||
@@ -222,7 +222,7 @@ void LoadingScreen::renderBorder()
|
||||
const int width = GAMECANVAS_WIDTH + (options->borderWidth * 2);
|
||||
const int height = GAMECANVAS_HEIGHT + (options->borderHeight * 2);
|
||||
bool drawEnabled = rand() % 2 == 0 ? true : false;
|
||||
// for (int i = 0; i < height; ++i)
|
||||
// Para (int i = 0; i < height; ++i)
|
||||
//{
|
||||
// if (rand() % 2 == 0)
|
||||
// {
|
||||
|
||||
Reference in New Issue
Block a user