diff options
Diffstat (limited to 'engines/bladerunner')
-rw-r--r-- | engines/bladerunner/module.mk | 1 | ||||
-rw-r--r-- | engines/bladerunner/script/ai/hawkers_parrot.cpp | 123 | ||||
-rw-r--r-- | engines/bladerunner/script/ai_script.cpp | 1 | ||||
-rw-r--r-- | engines/bladerunner/script/ai_script.h | 3 |
4 files changed, 128 insertions, 0 deletions
diff --git a/engines/bladerunner/module.mk b/engines/bladerunner/module.mk index 8a865383dc..e8953cfe04 100644 --- a/engines/bladerunner/module.mk +++ b/engines/bladerunner/module.mk @@ -67,6 +67,7 @@ MODULE_OBJS = \ script/ai/grigorian.o \ script/ai/guzza.o \ script/ai/hawkers_barkeep.o \ + script/ai/hawkers_parrot.o \ script/ai/howie_lee.o \ script/ai/hysteria_patron1.o \ script/ai/hysteria_patron2.o \ diff --git a/engines/bladerunner/script/ai/hawkers_parrot.cpp b/engines/bladerunner/script/ai/hawkers_parrot.cpp new file mode 100644 index 0000000000..539156893f --- /dev/null +++ b/engines/bladerunner/script/ai/hawkers_parrot.cpp @@ -0,0 +1,123 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +#include "bladerunner/script/ai_script.h" + +namespace BladeRunner { + +AIScriptHawkersParrot::AIScriptHawkersParrot(BladeRunnerEngine *vm) : AIScriptBase(vm) { +} + +void AIScriptHawkersParrot::Initialize() { + _animationFrame = 0; + _animationState = 0; + _animationStateNext = 0; + _animationNext = 0; +} + +bool AIScriptHawkersParrot::Update() { + return false; +} + +void AIScriptHawkersParrot::TimerExpired(int timer) { + //return false; +} + +void AIScriptHawkersParrot::CompletedMovementTrack() { + //return false; +} + +void AIScriptHawkersParrot::ReceivedClue(int clueId, int fromActorId) { + //return false; +} + +void AIScriptHawkersParrot::ClickedByPlayer() { + //return false; +} + +void AIScriptHawkersParrot::EnteredScene(int sceneId) { + // return false; +} + +void AIScriptHawkersParrot::OtherAgentEnteredThisScene(int otherActorId) { + // return false; +} + +void AIScriptHawkersParrot::OtherAgentExitedThisScene(int otherActorId) { + // return false; +} + +void AIScriptHawkersParrot::OtherAgentEnteredCombatMode(int otherActorId, int combatMode) { + // return false; +} + +void AIScriptHawkersParrot::ShotAtAndMissed() { + // return false; +} + +bool AIScriptHawkersParrot::ShotAtAndHit() { + return false; +} + +void AIScriptHawkersParrot::Retired(int byActorId) { + // return false; +} + +int AIScriptHawkersParrot::GetFriendlinessModifierIfGetsClue(int otherActorId, int clueId) { + return 0; +} + +bool AIScriptHawkersParrot::GoalChanged(int currentGoalNumber, int newGoalNumber) { + return false; +} + +bool AIScriptHawkersParrot::UpdateAnimation(int *animation, int *frame) { + return true; +} + +bool AIScriptHawkersParrot::ChangeAnimationMode(int mode) { + return true; +} + +void AIScriptHawkersParrot::QueryAnimationState(int *animationState, int *animationFrame, int *animationStateNext, int *animationNext) { + *animationState = _animationState; + *animationFrame = _animationFrame; + *animationStateNext = _animationStateNext; + *animationNext = _animationNext; +} + +void AIScriptHawkersParrot::SetAnimationState(int animationState, int animationFrame, int animationStateNext, int animationNext) { + _animationState = animationState; + _animationFrame = animationFrame; + _animationStateNext = animationStateNext; + _animationNext = animationNext; +} + +bool AIScriptHawkersParrot::ReachedMovementTrackWaypoint(int waypointId) { + return true; +} + +void AIScriptHawkersParrot::FledCombat() { + // return false; +} + +} // End of namespace BladeRunner diff --git a/engines/bladerunner/script/ai_script.cpp b/engines/bladerunner/script/ai_script.cpp index f5a0eb6aca..3aa3d88b8a 100644 --- a/engines/bladerunner/script/ai_script.cpp +++ b/engines/bladerunner/script/ai_script.cpp @@ -69,6 +69,7 @@ AIScripts::AIScripts(BladeRunnerEngine *vm, int actorCount) { _AIScripts[kActorRajif] = new AIScriptRajif(_vm); // 40 _AIScripts[kActorGovernorKolvig] = new AIScriptGovernorKolvig(_vm); // 41 _AIScripts[kActorEarlyQBartender] = new AIScriptEarlyQBartender(_vm); // 42 + _AIScripts[kActorHawkersParrot] = new AIScriptHawkersParrot(_vm); // 43 _AIScripts[kActorHysteriaPatron1] = new AIScriptHysteriaPatron1(_vm); // 47 _AIScripts[kActorHysteriaPatron2] = new AIScriptHysteriaPatron2(_vm); // 48 _AIScripts[kActorHysteriaPatron3] = new AIScriptHysteriaPatron3(_vm); // 49 diff --git a/engines/bladerunner/script/ai_script.h b/engines/bladerunner/script/ai_script.h index 00aad72702..29ebaab43e 100644 --- a/engines/bladerunner/script/ai_script.h +++ b/engines/bladerunner/script/ai_script.h @@ -272,6 +272,9 @@ DECLARE_SCRIPT(EarlyQBartender) bool _flag; END_SCRIPT +DECLARE_SCRIPT(HawkersParrot) +END_SCRIPT + DECLARE_SCRIPT(HysteriaPatron1) END_SCRIPT |