summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;