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;
|
2021-05-07 08:36:45 +00:00
|
|
|
extern const SDL_Rect PIPE_LEFT_BOTTOM_SRC;
|
|
|
|
extern const SDL_Rect PIPE_LEFT_TOP_SRC;
|
|
|
|
extern const SDL_Rect PIPE_RIGHT_BOTTOM_SRC;
|
|
|
|
extern const SDL_Rect PIPE_RIGHT_TOP_SRC;
|
|
|
|
extern const SDL_Rect CASTLE_LEFT_SRC;
|
|
|
|
extern const SDL_Rect CASTLE_RIGHT_SRC;
|
|
|
|
extern const SDL_Rect CASTLE_BLACK_SRC;
|
|
|
|
extern const SDL_Rect CASTLE_ENTRY_SRC;
|
|
|
|
extern const SDL_Rect CASTLE_TOWER_SRC;
|
|
|
|
extern const SDL_Rect CASTLE_TOWER_FILLED_SRC;
|
2021-05-07 21:17:05 +00:00
|
|
|
extern const SDL_Rect VINE_TOP_SRC;
|
|
|
|
extern const SDL_Rect VINE_BOTTOM_SRC;
|
|
|
|
extern const SDL_Rect POLE_TOP_SRC;
|
|
|
|
extern const SDL_Rect POLE_BOTTOM_SRC;
|
|
|
|
extern const SDL_Rect FLAG_SRC;
|
|
|
|
extern const SDL_Rect STEP_SRC;
|
|
|
|
extern const SDL_Rect BRICK_SRC;
|
|
|
|
extern const SDL_Rect BRICK_TOP_SRC;
|
|
|
|
extern const SDL_Rect SIDEWAY_PIPE_END_TOP_SRC;
|
|
|
|
extern const SDL_Rect SIDEWAY_PIPE_END_BOTTOM_SRC;
|
|
|
|
extern const SDL_Rect SIDEWAY_PIPE_MIDDLE_TOP_SRC;
|
|
|
|
extern const SDL_Rect SIDEWAY_PIPE_MIDDLE_BOTTOM_SRC;
|
|
|
|
extern const SDL_Rect SIDEWAY_PIPE_CONNECTOR_TOP_SRC;
|
|
|
|
extern const SDL_Rect SIDEWAY_PIPE_CONNECTOR_BOTTOM_SRC;
|
|
|
|
extern const SDL_Rect TREE_PLATFORM_TOP_LEFT_SRC;
|
|
|
|
extern const SDL_Rect TREE_PLATFORM_TOP_MIDDLE_SRC;
|
|
|
|
extern const SDL_Rect TREE_PLATFORM_TOP_RIGHT_SRC;
|
|
|
|
extern const SDL_Rect TREE_PLATFORM_BARK_SRC;
|
|
|
|
extern const SDL_Rect WATER_TOP_SRC;
|
|
|
|
extern const SDL_Rect WATER_FILL_SRC;
|
|
|
|
extern const SDL_Rect MUSHROOM_PLATFORM_TOP_LEFT_SRC;
|
|
|
|
extern const SDL_Rect MUSHROOM_PLATFORM_TOP_MIDDLE_SRC;
|
|
|
|
extern const SDL_Rect MUSHROOM_PLATFORM_TOP_RIGHT_SRC;
|
|
|
|
extern const SDL_Rect MUSHROOM_PLATFORM_BARK_TOP_SRC;
|
|
|
|
extern const SDL_Rect MUSHROOM_PLATFORM_BARK_BOTTOM_SRC;
|
|
|
|
extern const SDL_Rect TREE_BARK_SRC;
|
|
|
|
extern const SDL_Rect TREE_LEAVES_SMALL_SRC;
|
|
|
|
extern const SDL_Rect TREE_LEAVES_TOP_SRC;
|
|
|
|
extern const SDL_Rect TREE_LEAVES_BOTTOM_SRC;
|
|
|
|
extern const SDL_Rect CANNON_TOWER_SRC;
|
|
|
|
extern const SDL_Rect CANNON_PEDESTAL_SRC;
|
|
|
|
extern const SDL_Rect CANNON_SRC;
|
2021-04-30 07:10:58 +00:00
|
|
|
|
|
|
|
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
|