From 6bedb08d9b767dcd2f464f5b605191f52d467355 Mon Sep 17 00:00:00 2001 From: freezarite Date: Tue, 5 Nov 2024 18:38:53 +0100 Subject: [PATCH] changes to make chickengame work with updated textureManager future changes regarding the removal of the character selection needed --- .gitignore | 2 ++ src/GameInternal.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 31d3def..50144ad 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,8 @@ Makefile install_manifest.txt .cache/ build/ +cmake-build-debug/ +.idea/ # Compiled files *.suo diff --git a/src/GameInternal.cpp b/src/GameInternal.cpp index 29d1622..82aa16c 100644 --- a/src/GameInternal.cpp +++ b/src/GameInternal.cpp @@ -141,6 +141,8 @@ void GameInternal::init(const char* title, int xpos, int ypos, int width, int he // loading music // assets->addMusic("background_music", "assets/sound/background_music.mp3"); + + this->gameInstance = GameFactory::instance().create(this); this->gameInstance->init(); }