From f3c4380bfbd334a91feb03485347967062f14f3b Mon Sep 17 00:00:00 2001 From: zvon Date: Sun, 8 Aug 2021 21:19:26 +0200 Subject: [PATCH] Mario: add enemies textures --- mario/global_vars.cpp | 2 ++ mario/global_vars.hpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/mario/global_vars.cpp b/mario/global_vars.cpp index b69fc6b..310fcae 100644 --- a/mario/global_vars.cpp +++ b/mario/global_vars.cpp @@ -4,7 +4,9 @@ std::shared_ptr< SDLPP::Texture > g_terrain_texture{}; std::shared_ptr< SDLPP::Texture > g_mario_texture{}; std::shared_ptr< SDLPP::Texture > g_mod_texture{}; +std::shared_ptr< SDLPP::Texture > g_enemies_texture{}; std::shared_ptr< SDLPP::Texture > g_translucent_terrain_texture{}; std::shared_ptr< SDLPP::Texture > g_translucent_mod_texture{}; +std::shared_ptr< SDLPP::Texture > g_translucent_enemies_texture; std::shared_ptr< SDLPP::Scene > g_playground{}; std::shared_ptr< SDLPP::FontConfiguration > g_text_config{}; diff --git a/mario/global_vars.hpp b/mario/global_vars.hpp index 13d71c1..c56ae4b 100644 --- a/mario/global_vars.hpp +++ b/mario/global_vars.hpp @@ -6,8 +6,10 @@ extern std::shared_ptr< SDLPP::Texture > g_terrain_texture; extern std::shared_ptr< SDLPP::Texture > g_mario_texture; extern std::shared_ptr< SDLPP::Texture > g_mod_texture; +extern std::shared_ptr< SDLPP::Texture > g_enemies_texture; extern std::shared_ptr< SDLPP::Texture > g_translucent_terrain_texture; extern std::shared_ptr< SDLPP::Texture > g_translucent_mod_texture; +extern std::shared_ptr< SDLPP::Texture > g_translucent_enemies_texture; extern std::shared_ptr< SDLPP::Scene > g_playground; extern std::shared_ptr< SDLPP::FontConfiguration > g_text_config;