Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2013-11-10 01:48:41 +0000
committerStijn Buys <ingar@osirion.org>2013-11-10 01:48:41 +0000
commit9dc3cc532820349a0f0e087afb60132927fd3411 (patch)
treebfdc9d515df65cde07f9fe217e7c87ed1556801f /src/game/base/patrol.h
parentd4f8d1c8fde01a58bc757b588c9850e69225bc24 (diff)
Corrected a bug which prevented the patrol profile from being set correctly,
corrected a bug where 'give ship' would forget the last spawn, have NPC ships fire on nearby enemies, made patrol leaders hunt nearby enemies.
Diffstat (limited to 'src/game/base/patrol.h')
-rw-r--r--src/game/base/patrol.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/base/patrol.h b/src/game/base/patrol.h
index cc3bf61..c99c244 100644
--- a/src/game/base/patrol.h
+++ b/src/game/base/patrol.h
@@ -127,6 +127,8 @@ public:
virtual void frame(const unsigned long elapsed);
+ virtual void print() const;
+
void add_member(NPC *npc);
void erase_member(NPC *npc);
@@ -134,6 +136,8 @@ public:
private:
void set_leader();
+ void create_patrol();
+
bool route_alive() const;
WayPoints patrol_waypoints;