44 lines
1.7 KiB
C++
44 lines
1.7 KiB
C++
|
#ifndef SPRITES_H
|
||
|
#define SPRITES_H
|
||
|
|
||
|
#include <SDL2/SDL_rect.h>
|
||
|
#include <string>
|
||
|
#include <vector>
|
||
|
|
||
|
extern const double BLOCK_SIZE;
|
||
|
|
||
|
//------------------ OVERWORLD ----------------------
|
||
|
extern const std::string MARIO_OVERWORLD_COLORKEY;
|
||
|
//------------------ MARIO --------------------------
|
||
|
extern const SDL_Rect MARIO_OVERWORLD_STANDING_SRC;
|
||
|
extern const SDL_Rect MARIO_OVERWORLD_DEATH_SRC;
|
||
|
extern const std::vector<SDL_Rect> MARIO_OVERWORLD_WALK_ANIM;
|
||
|
extern const SDL_Rect MARIO_OVERWORLD_CHANGE_DIR_SRC;
|
||
|
extern const SDL_Rect MARIO_OVERWORLD_JUMP_SRC;
|
||
|
//------------------ BIG MARIO ----------------------
|
||
|
extern const SDL_Rect MARIO_OVERWORLD_STANDING_BIG_SRC;
|
||
|
extern const SDL_Rect MARIO_OVERWORLD_DEATH_BIG_SRC;
|
||
|
extern const std::vector<SDL_Rect> MARIO_OVERWORLD_WALK_BIG_ANIM;
|
||
|
extern const SDL_Rect MARIO_OVERWORLD_CHANGE_DIR_BIG_SRC;
|
||
|
extern const SDL_Rect MARIO_OVERWORLD_JUMP_BIG_SRC;
|
||
|
|
||
|
//------------------ TERRAIN ------------------------
|
||
|
extern const SDL_Rect FLOOR_OVERWORLD_SRC;
|
||
|
extern const SDL_Rect HILL_OVERWORLD_INCLINE_SRC;
|
||
|
extern const SDL_Rect HILL_OVERWORLD_DECLINE_SRC;
|
||
|
extern const SDL_Rect HILL_OVERWORLD_FILL_SRC;
|
||
|
extern const SDL_Rect HILL_OVERWORLD_DOTS_RIGHT_SRC;
|
||
|
extern const SDL_Rect HILL_OVERWORLD_DOTS_LEFT_SRC;
|
||
|
extern const SDL_Rect HILL_OVERWORLD_TOP_SRC;
|
||
|
extern const SDL_Rect BUSH_OVERWORLD_LEFT_SRC;
|
||
|
extern const SDL_Rect BUSH_OVERWORLD_MIDDLE_SRC;
|
||
|
extern const SDL_Rect BUSH_OVERWORLD_RIGHT_SRC;
|
||
|
extern const SDL_Rect CLOUD_OVERWORLD_LEFT_BOTTOM_SRC;
|
||
|
extern const SDL_Rect CLOUD_OVERWORLD_MIDDLE_BOTTOM_SRC;
|
||
|
extern const SDL_Rect CLOUD_OVERWORLD_RIGHT_BOTTOM_SRC;
|
||
|
extern const SDL_Rect CLOUD_OVERWORLD_LEFT_TOP_SRC;
|
||
|
extern const SDL_Rect CLOUD_OVERWORLD_MIDDLE_TOP_SRC;
|
||
|
extern const SDL_Rect CLOUD_OVERWORLD_RIGHT_TOP_SRC;
|
||
|
|
||
|
#endif
|