From 8aba4dfc5b89fc11d0a727fda3c59da817ff83c8 Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Tue, 12 Sep 2023 05:07:12 -0500 Subject: [PATCH] Prep animated tile structures. --- Crawler/Crawler.cpp | 1 + Crawler/DEFINES.h | 1 + Crawler/assets/maps/Tilesheet_No_Shadow24x24.tsx | 10 ++++++++++ 3 files changed, 12 insertions(+) diff --git a/Crawler/Crawler.cpp b/Crawler/Crawler.cpp index d8d2f23a..c01f966c 100644 --- a/Crawler/Crawler.cpp +++ b/Crawler/Crawler.cpp @@ -22,6 +22,7 @@ INCLUDE_EMITTER_LIST //360x240 vi2d WINDOW_SIZE={24*15,24*10}; safemapANIMATION_DATA; +std::map>>TILE_ANIMATION_DATA; std::vectorMONSTER_LIST; std::vectorSPAWNER_LIST; std::vector>DAMAGENUMBER_LIST; diff --git a/Crawler/DEFINES.h b/Crawler/DEFINES.h index 085f18f4..575a4146 100644 --- a/Crawler/DEFINES.h +++ b/Crawler/DEFINES.h @@ -11,6 +11,7 @@ #define INCLUDE_DATA extern utils::datafile DATA; #define INCLUDE_STRATEGY_DATA extern safemapSTRATEGY_DATA; #define INCLUDE_STRATEGY_ID_DATA extern safemapSTRATEGY_ID_DATA; +#define INCLUDE_TILE_ANIMATION_DATA extern std::map>>TILE_ANIMATION_DATA; #define ACCESS_PLAYER Player*p=game->GetPlayer(); diff --git a/Crawler/assets/maps/Tilesheet_No_Shadow24x24.tsx b/Crawler/assets/maps/Tilesheet_No_Shadow24x24.tsx index 499fb7dd..583b2a1a 100644 --- a/Crawler/assets/maps/Tilesheet_No_Shadow24x24.tsx +++ b/Crawler/assets/maps/Tilesheet_No_Shadow24x24.tsx @@ -6,6 +6,16 @@ + + + + + + + + + +