summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2011-03-23 21:39:58 +0100
committerTreeki <treeki@gmail.com>2011-03-23 21:39:58 +0100
commitf7e7a1eea2e66ea507fc5a2b0813ec02493133a9 (patch)
treeea7fba70961c0969d0b59d5ff280662dbecd57df /include
parenta830e87d71ffece4b0a6285d4bd0336686e7f446 (diff)
downloadkamek-f7e7a1eea2e66ea507fc5a2b0813ec02493133a9.tar.gz
kamek-f7e7a1eea2e66ea507fc5a2b0813ec02493133a9.zip
added HUD support and some more debug stuff
Diffstat (limited to 'include')
-rwxr-xr-xinclude/game.h10
1 files changed, 6 insertions, 4 deletions
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;