Initial commit
This commit is contained in:
170
engines/ags/plugins/core/character.h
Normal file
170
engines/ags/plugins/core/character.h
Normal file
@@ -0,0 +1,170 @@
|
||||
/* 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 3 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, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef AGS_PLUGINS_CORE_CHARACTER_H
|
||||
#define AGS_PLUGINS_CORE_CHARACTER_H
|
||||
|
||||
#include "ags/plugins/ags_plugin.h"
|
||||
|
||||
namespace AGS3 {
|
||||
namespace Plugins {
|
||||
namespace Core {
|
||||
|
||||
class Character : public ScriptContainer {
|
||||
BUILT_IN_HASH(Character)
|
||||
public:
|
||||
virtual ~Character() {}
|
||||
void AGS_EngineStartup(IAGSEngine *engine) override;
|
||||
|
||||
void AddInventory(ScriptMethodParams ¶ms);
|
||||
void AddWaypoint(ScriptMethodParams ¶ms);
|
||||
void Animate(ScriptMethodParams ¶ms);
|
||||
void ChangeRoom(ScriptMethodParams ¶ms);
|
||||
void ChangeRoomAutoPosition(ScriptMethodParams ¶ms);
|
||||
void ChangeView(ScriptMethodParams ¶ms);
|
||||
void FaceCharacter(ScriptMethodParams ¶ms);
|
||||
void FaceDirection(ScriptMethodParams ¶ms);
|
||||
void FaceLocation(ScriptMethodParams ¶ms);
|
||||
void FaceObject(ScriptMethodParams ¶ms);
|
||||
void FollowCharacter(ScriptMethodParams ¶ms);
|
||||
void GetProperty(ScriptMethodParams ¶ms);
|
||||
void GetPropertyText(ScriptMethodParams ¶ms);
|
||||
void GetTextProperty(ScriptMethodParams ¶ms);
|
||||
void HasInventory(ScriptMethodParams ¶ms);
|
||||
void IsCollidingWithChar(ScriptMethodParams ¶ms);
|
||||
void IsCollidingWithObject(ScriptMethodParams ¶ms);
|
||||
void LockView(ScriptMethodParams ¶ms);
|
||||
void LockViewEx(ScriptMethodParams ¶ms);
|
||||
void LockViewAligned_Old(ScriptMethodParams ¶ms);
|
||||
void LockViewAlignedEx_Old(ScriptMethodParams ¶ms);
|
||||
void LockViewAligned(ScriptMethodParams ¶ms);
|
||||
void LockViewAlignedEx(ScriptMethodParams ¶ms);
|
||||
void LockViewFrame(ScriptMethodParams ¶ms);
|
||||
void LockViewFrameEx(ScriptMethodParams ¶ms);
|
||||
void LockViewOffset(ScriptMethodParams ¶ms);
|
||||
void LoseInventory(ScriptMethodParams ¶ms);
|
||||
void Move(ScriptMethodParams ¶ms);
|
||||
void PlaceOnWalkableArea(ScriptMethodParams ¶ms);
|
||||
void RemoveTint(ScriptMethodParams ¶ms);
|
||||
void RunInteraction(ScriptMethodParams ¶ms);
|
||||
void ScPl_Say(ScriptMethodParams ¶ms);
|
||||
void SayAt(ScriptMethodParams ¶ms);
|
||||
void SayBackground(ScriptMethodParams ¶ms);
|
||||
void SetAsPlayer(ScriptMethodParams ¶ms);
|
||||
void SetIdleView(ScriptMethodParams ¶ms);
|
||||
void SetProperty(ScriptMethodParams ¶ms);
|
||||
void SetTextProperty(ScriptMethodParams ¶ms);
|
||||
void SetSpeed(ScriptMethodParams ¶ms);
|
||||
void StopMoving(ScriptMethodParams ¶ms);
|
||||
void ScPl_Think(ScriptMethodParams ¶ms);
|
||||
void Tint(ScriptMethodParams ¶ms);
|
||||
void UnlockView(ScriptMethodParams ¶ms);
|
||||
void UnlockViewEx(ScriptMethodParams ¶ms);
|
||||
void Walk(ScriptMethodParams ¶ms);
|
||||
void WalkStraight(ScriptMethodParams ¶ms);
|
||||
void GetCharacterAtRoom(ScriptMethodParams ¶ms);
|
||||
void GetCharacterAtScreen(ScriptMethodParams ¶ms);
|
||||
void GetActiveInventory(ScriptMethodParams ¶ms);
|
||||
void SetActiveInventory(ScriptMethodParams ¶ms);
|
||||
void GetAnimating(ScriptMethodParams ¶ms);
|
||||
void GetAnimationSpeed(ScriptMethodParams ¶ms);
|
||||
void SetAnimationSpeed(ScriptMethodParams ¶ms);
|
||||
void GetBaseline(ScriptMethodParams ¶ms);
|
||||
void SetBaseline(ScriptMethodParams ¶ms);
|
||||
void GetBlinkInterval(ScriptMethodParams ¶ms);
|
||||
void SetBlinkInterval(ScriptMethodParams ¶ms);
|
||||
void GetBlinkView(ScriptMethodParams ¶ms);
|
||||
void SetBlinkView(ScriptMethodParams ¶ms);
|
||||
void GetBlinkWhileThinking(ScriptMethodParams ¶ms);
|
||||
void SetBlinkWhileThinking(ScriptMethodParams ¶ms);
|
||||
void GetBlockingHeight(ScriptMethodParams ¶ms);
|
||||
void SetBlockingHeight(ScriptMethodParams ¶ms);
|
||||
void GetBlockingWidth(ScriptMethodParams ¶ms);
|
||||
void SetBlockingWidth(ScriptMethodParams ¶ms);
|
||||
void GetClickable(ScriptMethodParams ¶ms);
|
||||
void SetClickable(ScriptMethodParams ¶ms);
|
||||
void GetDestinationX(ScriptMethodParams ¶ms);
|
||||
void GetDestinationY(ScriptMethodParams ¶ms);
|
||||
void GetDiagonalWalking(ScriptMethodParams ¶ms);
|
||||
void SetDiagonalWalking(ScriptMethodParams ¶ms);
|
||||
void GetFrame(ScriptMethodParams ¶ms);
|
||||
void SetFrame(ScriptMethodParams ¶ms);
|
||||
void GetHasExplicitTint_Old(ScriptMethodParams ¶ms);
|
||||
void GetHasExplicitTint(ScriptMethodParams ¶ms);
|
||||
void GetID(ScriptMethodParams ¶ms);
|
||||
void GetIdleView(ScriptMethodParams ¶ms);
|
||||
void GetIInventoryQuantity(ScriptMethodParams ¶ms);
|
||||
void SetIInventoryQuantity(ScriptMethodParams ¶ms);
|
||||
void GetIgnoreLighting(ScriptMethodParams ¶ms);
|
||||
void SetIgnoreLighting(ScriptMethodParams ¶ms);
|
||||
void GetIgnoreScaling(ScriptMethodParams ¶ms);
|
||||
void SetIgnoreScaling(ScriptMethodParams ¶ms);
|
||||
void GetIgnoreWalkbehinds(ScriptMethodParams ¶ms);
|
||||
void SetIgnoreWalkbehinds(ScriptMethodParams ¶ms);
|
||||
void GetLoop(ScriptMethodParams ¶ms);
|
||||
void SetLoop(ScriptMethodParams ¶ms);
|
||||
void SetManualScaling(ScriptMethodParams ¶ms);
|
||||
void GetMovementLinkedToAnimation(ScriptMethodParams ¶ms);
|
||||
void SetMovementLinkedToAnimation(ScriptMethodParams ¶ms);
|
||||
void GetMoving(ScriptMethodParams ¶ms);
|
||||
void GetName(ScriptMethodParams ¶ms);
|
||||
void SetName(ScriptMethodParams ¶ms);
|
||||
void GetNormalView(ScriptMethodParams ¶ms);
|
||||
void GetPreviousRoom(ScriptMethodParams ¶ms);
|
||||
void GetRoom(ScriptMethodParams ¶ms);
|
||||
void GetScaleMoveSpeed(ScriptMethodParams ¶ms);
|
||||
void SetScaleMoveSpeed(ScriptMethodParams ¶ms);
|
||||
void GetScaleVolume(ScriptMethodParams ¶ms);
|
||||
void SetScaleVolume(ScriptMethodParams ¶ms);
|
||||
void GetScaling(ScriptMethodParams ¶ms);
|
||||
void SetScaling(ScriptMethodParams ¶ms);
|
||||
void GetSolid(ScriptMethodParams ¶ms);
|
||||
void SetSolid(ScriptMethodParams ¶ms);
|
||||
void GetSpeaking(ScriptMethodParams ¶ms);
|
||||
void GetSpeakingFrame(ScriptMethodParams ¶ms);
|
||||
void GetCharacterSpeechAnimationDelay(ScriptMethodParams ¶ms);
|
||||
void SetSpeechAnimationDelay(ScriptMethodParams ¶ms);
|
||||
void GetSpeechColor(ScriptMethodParams ¶ms);
|
||||
void SetSpeechColor(ScriptMethodParams ¶ms);
|
||||
void GetSpeechView(ScriptMethodParams ¶ms);
|
||||
void SetSpeechView(ScriptMethodParams ¶ms);
|
||||
void GetThinkView(ScriptMethodParams ¶ms);
|
||||
void SetThinkView(ScriptMethodParams ¶ms);
|
||||
void GetTransparency(ScriptMethodParams ¶ms);
|
||||
void SetTransparency(ScriptMethodParams ¶ms);
|
||||
void GetTurnBeforeWalking(ScriptMethodParams ¶ms);
|
||||
void SetTurnBeforeWalking(ScriptMethodParams ¶ms);
|
||||
void GetView(ScriptMethodParams ¶ms);
|
||||
void GetWalkSpeedX(ScriptMethodParams ¶ms);
|
||||
void GetWalkSpeedY(ScriptMethodParams ¶ms);
|
||||
void GetX(ScriptMethodParams ¶ms);
|
||||
void SetX(ScriptMethodParams ¶ms);
|
||||
void GetY(ScriptMethodParams ¶ms);
|
||||
void SetY(ScriptMethodParams ¶ms);
|
||||
void GetZ(ScriptMethodParams ¶ms);
|
||||
void SetZ(ScriptMethodParams ¶ms);
|
||||
};
|
||||
|
||||
} // namespace Core
|
||||
} // namespace Plugins
|
||||
} // namespace AGS3
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user