TETRIS: use new sdlpp library
This commit is contained in:
@@ -36,8 +36,11 @@ std::shared_ptr< SDLPP::RectangleRender > g_shadow_colider{};
|
||||
std::mutex g_movement_mutex{};
|
||||
|
||||
bool g_quit = false;
|
||||
std::vector<std::function<void(std::shared_ptr<SDLPP::Scene>, int, std::vector<std::shared_ptr<SDLPP::RenderObject>>&)>>g_input_functions{};
|
||||
std::vector<std::shared_ptr< SDLPP::Scene >> g_active_scenes{};
|
||||
std::vector< std::function< void(
|
||||
std::shared_ptr< SDLPP::Scene >, int,
|
||||
std::vector< std::shared_ptr< SDLPP::RenderObject > > & ) > >
|
||||
g_input_functions{};
|
||||
std::vector< std::shared_ptr< SDLPP::Scene > > g_active_scenes{};
|
||||
|
||||
std::vector< std::shared_ptr< TetrisPiece > ( * )(
|
||||
std::shared_ptr< SDLPP::Renderer >, std::shared_ptr< SDLPP::Scene > ) >
|
||||
@@ -46,4 +49,4 @@ std::vector< std::shared_ptr< TetrisPiece > ( * )(
|
||||
tetrisLine, tetrisLLeft, tetrisZLeft,
|
||||
};
|
||||
|
||||
std::shared_ptr<SDLPP::Font> g_font{};
|
||||
std::shared_ptr< SDLPP::Font > g_font{};
|
||||
|
||||
Reference in New Issue
Block a user