Mario editor: more terrain, can place Mario

This commit is contained in:
2021-05-07 23:17:05 +02:00
parent 85807ca962
commit c849895c72
8 changed files with 253 additions and 39 deletions
+32
View File
@@ -50,6 +50,38 @@ 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;
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;
extern const SDLPP::Vec2D<uint64_t> OVERWORLD_SHIFT;
extern const SDLPP::Vec2D<uint64_t> UNDERWORLD_SHIFT;