aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/entities.h3
-rw-r--r--include/ui.h1
-rw-r--r--include/world.h4
3 files changed, 6 insertions, 2 deletions
diff --git a/include/entities.h b/include/entities.h
index dd3adab..30947f5 100644
--- a/include/entities.h
+++ b/include/entities.h
@@ -31,7 +31,8 @@ enum GENDER{
enum MOB_SUB {
MS_RABBIT = 1,
MS_BIRD,
- MS_TRIGGER
+ MS_TRIGGER,
+ MS_DOOR
};
class Entity{
diff --git a/include/ui.h b/include/ui.h
index 2fe3b0a..5d17c47 100644
--- a/include/ui.h
+++ b/include/ui.h
@@ -87,6 +87,7 @@ namespace ui {
void toggleBlack(void);
void toggleBlackFast(void);
void toggleWhite(void);
+ void toggleWhiteFast(void);
void waitForCover(void);
}
diff --git a/include/world.h b/include/world.h
index 1e78cd0..777f5b8 100644
--- a/include/world.h
+++ b/include/world.h
@@ -231,6 +231,9 @@ public:
World *goWorldRight(Player *p);
World *goWorldBack(Player *p);
World *goWorldFront(Player *p);
+
+ bool isWorldLeft(void);
+ bool isWorldRight(void);
/*
* Called to enter/exit a structure.
@@ -277,7 +280,6 @@ public:
class Arena : public World {
private:
vec2 pxy;
- vec2 door;
World *exit;
public:
Arena(World *leave,Player *p);