arreglats els includes en linux, falta vore que ha passat amb windows/macos

This commit is contained in:
2025-07-18 18:23:29 +02:00
parent 14e2e4bb74
commit b88019bf58
98 changed files with 528 additions and 478 deletions

View File

@@ -1,41 +1,38 @@
#include "game.h"
#include <SDL3/SDL.h> // Para SDL_BLENDMODE_BLEND
#include <SDL3/SDL.h> // Para SDL_EventType, SDL_Event, SDL_Poll...
#include <SDL3/SDL.h> // Para SDLK_1, SDLK_2, SDLK_3, SDLK_4
#include <SDL3/SDL.h> // Para SDL_PixelFormat
#include <SDL3/SDL.h> // Para SDL_GetTicks
#include <stdlib.h> // Para rand, size_t
#include <algorithm> // Para find_if, clamp, min
#include <functional> // Para function
#include <iterator> // Para distance, size
#include <SDL3/SDL.h> // Para SDL_GetTicks, SDL_SetRenderTarget
#include <stdlib.h> // Para rand, size_t
#include <algorithm> // Para find_if, clamp, find, min
#include <functional> // Para function
#include <iterator> // Para distance, size
#include "asset.h" // Para Asset
#include "audio.h" // Para Audio
#include "background.h" // Para Background
#include "balloon.h" // Para Balloon, BALLOON_SPEED
#include "balloon_manager.h" // Para BalloonManager
#include "bullet.h" // Para Bullet, BulletType, BulletMoveStatus
#include "fade.h" // Para Fade, FadeType, FadeMode
#include "global_events.h" // Para check
#include "global_inputs.h" // Para check, update
#include "global_inputs.h" // Para check
#include "input.h" // Para InputAction, Input, INPUT_DO_NOT_A...
#include "item.h" // Para Item, ItemType
#include "audio.h" // Para Audio
#include "lang.h" // Para getText
#include "manage_hiscore_table.h" // Para ManageHiScoreTable, HiScoreEntry
#include "manage_hiscore_table.h" // Para HiScoreEntry, ManageHiScoreTable
#include "notifier.h" // Para Notifier
#include "param.h" // Para Param, param, ParamGame, ParamFade
#include "param.h" // Para Param, param, ParamGame, ParamScor...
#include "path_sprite.h" // Para Path, PathSprite, createPath, Path...
#include "player.h" // Para Player, PlayerState
#include "resource.h" // Para Resource
#include "scoreboard.h" // Para Scoreboard, ScoreboardMode, SCOREB...
#include "screen.h" // Para Screen
#include "section.h" // Para Name, name, AttractMode, Options
#include "ui/service_menu.h" // Para ServiceMenu
#include "smart_sprite.h" // Para SmartSprite
#include "stage.h" // Para number, get, Stage, total_power
#include "tabe.h" // Para Tabe, TabeState
#include "text.h" // Para Text
#include "texture.h" // Para Texture
#include "lang.h"
#include "ui/service_menu.h" // Para ServiceMenu
// Constructor
Game::Game(int player_id, int current_stage, bool demo)
@@ -252,11 +249,6 @@ void Game::renderPlayers()
if (!player->isWaiting())
{
player->render();
#ifdef DEBUG
// SDL_SetRenderDrawColor(renderer, 255, 255, 255, 255);
// const Circle c = player->getCollider();
// DrawCircle(renderer, c.x, c.y, c.r);
#endif
}
}
}