From f7e7a1eea2e66ea507fc5a2b0813ec02493133a9 Mon Sep 17 00:00:00 2001 From: Treeki Date: Wed, 23 Mar 2011 21:39:58 +0100 Subject: added HUD support and some more debug stuff --- include/game.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/game.h b/include/game.h index 691f568..ac5318d 100755 --- a/include/game.h +++ b/include/game.h @@ -712,7 +712,7 @@ namespace m2d { Base_c(); virtual ~Base_c(); - virtual void draw(); + virtual void draw(); // don't call this directly void scheduleForDrawing(); @@ -1222,10 +1222,10 @@ namespace m2d { EmbedLayoutBase_c(); ~EmbedLayoutBase_c(); - void draw(); + void draw(); // don't call this directly virtual void update(); - virtual bool build(const char *brlytPath, ResAcc_c *resAcc); + virtual bool build(const char *brlytPath, ResAcc_c *resAcc = 0); nw4r::lyt::Pane *getRootPane(); nw4r::lyt::Pane *findPaneByName(const char *name) const; @@ -1255,7 +1255,7 @@ namespace m2d { EmbedLayout_c(); ~EmbedLayout_c(); - bool build(const char *brlytPath, ResAcc_c *resAcc); + bool build(const char *brlytPath, ResAcc_c *resAcc = 0); bool loadArc(const char *name, bool isLangSpecific); bool loadArc(const char *name, u8 unk, bool isLangSpecific); @@ -1264,6 +1264,8 @@ namespace m2d { // there's also a NedEU one, but should it really be listed here...? + bool free(); + // does NSMBW even use consts? I have no idea. maybe not void getPanes(const char **names, nw4r::lyt::Pane *output, int count) const; -- cgit v1.2.3