From a600dcb56a9633ebfae0d726480352b6f2e9b3ba Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Tue, 20 Dec 2011 18:26:25 -0500 Subject: PEGASUS: Some space/misc cleanup --- engines/pegasus/ai/ai_action.h | 12 ++++++------ engines/pegasus/ai/ai_area.cpp | 24 ++++++++++++------------ engines/pegasus/ai/ai_condition.h | 34 +++++++++++++++++----------------- 3 files changed, 35 insertions(+), 35 deletions(-) (limited to 'engines/pegasus/ai') diff --git a/engines/pegasus/ai/ai_action.h b/engines/pegasus/ai/ai_action.h index 9ac30782a9..6eac976f9c 100755 --- a/engines/pegasus/ai/ai_action.h +++ b/engines/pegasus/ai/ai_action.h @@ -38,7 +38,7 @@ class AITimerCondition; ///////////////////////////////////////////// // -// AIAction +// AIAction class AIAction { friend class AIRule; @@ -58,7 +58,7 @@ typedef Common::List AIActionList; ///////////////////////////////////////////// // -// AICompoundAction +// AICompoundAction class AICompoundAction : public AIAction { public: @@ -75,7 +75,7 @@ protected: ///////////////////////////////////////////// // -// AIPlayMessageAction +// AIPlayMessageAction class AIPlayMessageAction : public AIAction { public: @@ -91,7 +91,7 @@ protected: ///////////////////////////////////////////// // -// AIStartTimerAction +// AIStartTimerAction class AIStartTimerAction : public AIAction { public: @@ -105,7 +105,7 @@ protected: ///////////////////////////////////////////// // -// AIActivateRuleAction +// AIActivateRuleAction class AIActivateRuleAction : public AIAction { public: @@ -119,7 +119,7 @@ protected: ///////////////////////////////////////////// // -// AIDeactivateRuleAction +// AIDeactivateRuleAction class AIDeactivateRuleAction : public AIAction { public: diff --git a/engines/pegasus/ai/ai_area.cpp b/engines/pegasus/ai/ai_area.cpp index 6203843087..b0836ab638 100755 --- a/engines/pegasus/ai/ai_area.cpp +++ b/engines/pegasus/ai/ai_area.cpp @@ -70,7 +70,7 @@ AIArea::~AIArea() { g_AIArea = 0; } -// Save last state of AI rules... +// Save last state of AI rules... void AIArea::saveAIState() { // TODO } @@ -188,16 +188,16 @@ void AIArea::setAIAreaToTime(const LowerClientSignature client, const LowerAreaS } } -// Plays a sequence on an area. When the sequence ends, the previous image -// is restored. -// Also, is input disabled or not? -// Easy answer: yes. +// Plays a sequence on an area. When the sequence ends, the previous image +// is restored. +// Also, is input disabled or not? +// Easy answer: yes. -// There are only so many legal combinations of client/area. -// Here is the list of supported pairs: -// kBiochipSignature kMiddleAreaSignature -// kBiochipSignature kRightAreaSignature -// kInventorySignature kMiddleAreaSignature +// There are only so many legal combinations of client/area. +// Here is the list of supported pairs: +// kBiochipSignature kMiddleAreaSignature +// kBiochipSignature kRightAreaSignature +// kInventorySignature kMiddleAreaSignature void AIArea::playAIAreaSequence(const LowerClientSignature, const LowerAreaSignature area, const TimeValue start, const TimeValue stop) { PegasusEngine *vm = (PegasusEngine *)g_engine; @@ -336,7 +336,7 @@ bool AIArea::playAIMovie(const LowerAreaSignature area, const Common::String &mo return result; } -// Only implemented for kMiddleAreaSignature, kInventorySignature +// Only implemented for kMiddleAreaSignature, kInventorySignature void AIArea::loopAIAreaSequence(const LowerClientSignature owner, const LowerAreaSignature area, const TimeValue start, const TimeValue stop) { if (area == kMiddleAreaSignature && owner == kInventorySignature && owner == _middleAreaOwner) { _middleAreaMovie.stop(); @@ -387,7 +387,7 @@ void AIArea::setMiddleMovieTime(const LowerClientSignature client, const TimeVal _middleAreaOwner = client; } -// Only called by kBiochipSignature. +// Only called by kBiochipSignature. void AIArea::setRightMovieTime(const TimeValue time) { if (!_AIMovie.isSurfaceValid()) { // Can't do it when the AI movie is up... diff --git a/engines/pegasus/ai/ai_condition.h b/engines/pegasus/ai/ai_condition.h index ba4f41108c..2d93a52eab 100755 --- a/engines/pegasus/ai/ai_condition.h +++ b/engines/pegasus/ai/ai_condition.h @@ -37,7 +37,7 @@ namespace Pegasus { ///////////////////////////////////////////// // -// AICondition +// AICondition class AICondition { public: @@ -56,7 +56,7 @@ public: ///////////////////////////////////////////// // -// AIOneChildCondition +// AIOneChildCondition class AIOneChildCondition : public AICondition { public: @@ -72,7 +72,7 @@ protected: ///////////////////////////////////////////// // -// AITwoChildrenCondition +// AITwoChildrenCondition class AITwoChildrenCondition : public AICondition { public: @@ -88,7 +88,7 @@ protected: ///////////////////////////////////////////// // -// AINotCondition +// AINotCondition class AINotCondition : public AIOneChildCondition { public: @@ -99,7 +99,7 @@ public: ///////////////////////////////////////////// // -// AIAndCondition +// AIAndCondition class AIAndCondition : public AITwoChildrenCondition { public: @@ -110,7 +110,7 @@ public: ///////////////////////////////////////////// // -// AIOrCondition +// AIOrCondition class AIOrCondition : public AITwoChildrenCondition { public: @@ -121,7 +121,7 @@ public: ///////////////////////////////////////////// // -// AITimerCondition +// AITimerCondition class AITimerCondition : public AICondition { public: @@ -144,7 +144,7 @@ protected: ///////////////////////////////////////////// // -// AILocationCondition +// AILocationCondition class AILocationCondition : public AICondition { public: @@ -164,7 +164,7 @@ protected: ///////////////////////////////////////////// // -// AIDoorOpenedCondition +// AIDoorOpenedCondition class AIDoorOpenedCondition : public AICondition { public: @@ -179,7 +179,7 @@ protected: ///////////////////////////////////////////// // -// AIHasItemCondition +// AIHasItemCondition class AIHasItemCondition : public AICondition { public: @@ -193,7 +193,7 @@ protected: ///////////////////////////////////////////// // -// AIDoesntHaveItemCondition +// AIDoesntHaveItemCondition class AIDoesntHaveItemCondition : public AICondition { public: @@ -207,7 +207,7 @@ protected: ///////////////////////////////////////////// // -// AICurrentItemCondition +// AICurrentItemCondition class AICurrentItemCondition : public AICondition { public: @@ -221,7 +221,7 @@ protected: ///////////////////////////////////////////// // -// AICurrentBiochipCondition +// AICurrentBiochipCondition class AICurrentBiochipCondition : public AICondition { public: @@ -235,7 +235,7 @@ protected: ///////////////////////////////////////////// // -// AIItemStateCondition +// AIItemStateCondition class AIItemStateCondition : public AICondition { public: @@ -250,7 +250,7 @@ protected: ///////////////////////////////////////////// // -// AIEnergyMonitorCondition +// AIEnergyMonitorCondition class AIEnergyMonitorCondition : public AICondition { public: @@ -264,7 +264,7 @@ protected: ///////////////////////////////////////////// // -// AILastExtraCondition +// AILastExtraCondition class AILastExtraCondition : public AICondition { public: @@ -278,7 +278,7 @@ protected: ///////////////////////////////////////////// // -// Helper functions +// Helper functions AICondition *makeLocationAndDoesntHaveItemCondition(const RoomID room, const DirectionConstant direction, const ItemID item); -- cgit v1.2.3