2021-04-25 20:42:55 +00:00
|
|
|
#ifndef SPRITES_H
|
|
|
|
#define SPRITES_H
|
|
|
|
|
|
|
|
#include <SDL2/SDL_rect.h>
|
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
2021-04-30 07:10:58 +00:00
|
|
|
#include "../sdlpp/sdlpp_vector.hpp"
|
2021-04-25 20:42:55 +00:00
|
|
|
|
2021-04-30 19:02:14 +00:00
|
|
|
extern double BLOCK_SIZE;
|
2021-04-25 20:42:55 +00:00
|
|
|
|
2021-04-30 07:10:58 +00:00
|
|
|
//------------------ COLORS -------------------------
|
2021-04-25 20:42:55 +00:00
|
|
|
extern const std::string MARIO_OVERWORLD_COLORKEY;
|
|
|
|
//------------------ MARIO --------------------------
|
2021-04-30 07:10:58 +00:00
|
|
|
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;
|
2021-04-25 20:42:55 +00:00
|
|
|
//------------------ BIG MARIO ----------------------
|
2021-04-30 07:10:58 +00:00
|
|
|
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;
|
2021-04-25 20:42:55 +00:00
|
|
|
|
|
|
|
//------------------ TERRAIN ------------------------
|
2021-04-30 07:10:58 +00:00
|
|
|
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;
|
2021-04-25 20:42:55 +00:00
|
|
|
|
|
|
|
#endif
|