game/mario/sprites.hpp

50 lines
1.7 KiB
C++

#ifndef SPRITES_H
#define SPRITES_H
#include <SDL2/SDL_rect.h>
#include <string>
#include <vector>
#include "../sdlpp/sdlpp_vector.hpp"
extern double BLOCK_SIZE;
//------------------ COLORS -------------------------
extern const std::string MARIO_OVERWORLD_COLORKEY;
//------------------ MARIO --------------------------
extern const SDL_Rect MARIO_STANDING_SRC;
extern const SDL_Rect MARIO_DEATH_SRC;
extern const std::vector<SDL_Rect> MARIO_WALK_ANIM;
extern const SDL_Rect MARIO_CHANGE_DIR_SRC;
extern const SDL_Rect MARIO_JUMP_SRC;
//------------------ BIG MARIO ----------------------
extern const SDL_Rect MARIO_STANDING_BIG_SRC;
extern const SDL_Rect MARIO_DEATH_BIG_SRC;
extern const std::vector<SDL_Rect> MARIO_WALK_BIG_ANIM;
extern const SDL_Rect MARIO_CHANGE_DIR_BIG_SRC;
extern const SDL_Rect MARIO_JUMP_BIG_SRC;
//------------------ TERRAIN ------------------------
extern const SDL_Rect FLOOR_SRC;
extern const SDL_Rect HILL_INCLINE_SRC;
extern const SDL_Rect HILL_DECLINE_SRC;
extern const SDL_Rect HILL_FILL_SRC;
extern const SDL_Rect HILL_DOTS_RIGHT_SRC;
extern const SDL_Rect HILL_DOTS_LEFT_SRC;
extern const SDL_Rect HILL_TOP_SRC;
extern const SDL_Rect BUSH_LEFT_SRC;
extern const SDL_Rect BUSH_MIDDLE_SRC;
extern const SDL_Rect BUSH_RIGHT_SRC;
extern const SDL_Rect CLOUD_LEFT_BOTTOM_SRC;
extern const SDL_Rect CLOUD_MIDDLE_BOTTOM_SRC;
extern const SDL_Rect CLOUD_RIGHT_BOTTOM_SRC;
extern const SDL_Rect CLOUD_LEFT_TOP_SRC;
extern const SDL_Rect CLOUD_MIDDLE_TOP_SRC;
extern const SDL_Rect CLOUD_RIGHT_TOP_SRC;
extern const SDLPP::Vec2D<uint64_t> OVERWORLD_SHIFT;
extern const SDLPP::Vec2D<uint64_t> UNDERWORLD_SHIFT;
extern const SDLPP::Vec2D<uint64_t> WATER_SHIFT;
extern const SDLPP::Vec2D<uint64_t> BOWSER_SHIFT;
#endif