aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authordrumsetmonkey <abelleisle@roadrunner.com>2015-12-14 08:43:28 -0500
committerdrumsetmonkey <abelleisle@roadrunner.com>2015-12-14 08:43:28 -0500
commit840cf5f0d3fc60aceb95385010eac02ae6c95dcc (patch)
tree0b7eb237737289ad9b3f9bffc1478875d0d71abf /include
parent3f70fa248e411178f33075f4b90f112eced37f14 (diff)
parent477e6cdde57a428b41e814943233d8b01f0db6bf (diff)
Merge branch 'master' of http://github.com/tcsullivan/gamedev
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 141d29a..1abe886 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
};
enum BUILD_SUB{
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 4e02a08..0a23965 100644
--- a/include/world.h
+++ b/include/world.h
@@ -234,6 +234,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.
@@ -280,7 +283,6 @@ public:
class Arena : public World {
private:
vec2 pxy;
- vec2 door;
World *exit;
public:
Arena(World *leave,Player *p);