Skip to content

Commit

Permalink
CRAB: Use ImageManager class in splash since its compilable
Browse files Browse the repository at this point in the history
  • Loading branch information
hax0kartik committed Aug 7, 2023
1 parent a5208d3 commit 1566712
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions engines/crab/module.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ MODULE_OBJS = \
ScreenSettings.o \
GameParam.o \
image/Image.o \
image/ImageManager.o \
input/cursor.o \
timer.o \
app.o \
splash.o
Expand Down
2 changes: 1 addition & 1 deletion engines/crab/splash.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ Splash::~Splash() {
void Splash::InternalEvents(bool &ShouldChangeState, GameStateID &NewStateID) {
if (first_run == false) {
// gLoadScreen.Load();
#if 0
pyrodactyl::image::gImageManager.Init();
#if 0
pyrodactyl::text::gTextManager.Init();
#endif
load_complete = true;
Expand Down
4 changes: 2 additions & 2 deletions engines/crab/splash.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
#define CRAB_SPLASH_H

#include "crab/crab.h"
//#include "crab/ImageManager.h"
#include "crab/ImageManager.h"
//#include "crab/LoadingScreen.h"
//#include "crab/MusicManager.h"
#include "crab/image/Image.h"
//#include "crab/image/Image.h"
#include "crab/ScreenSettings.h"
//#include "crab/TextManager.h"
#include "crab/common_header.h"
Expand Down

0 comments on commit 1566712

Please sign in to comment.