mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-04 16:38:55 +00:00
120 lines
2.6 KiB
C++
120 lines
2.6 KiB
C++
/* 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.
|
|
*
|
|
*/
|
|
|
|
#ifndef TWINE_SHARED_H
|
|
#define TWINE_SHARED_H
|
|
|
|
#include "common/scummsys.h"
|
|
|
|
namespace TwinE {
|
|
|
|
enum class ShapeType {
|
|
kNone = 0,
|
|
kSolid = 1,
|
|
kStairsTopLeft = 2,
|
|
kStairsTopRight = 3,
|
|
kStairsBottomLeft = 4,
|
|
kStairsBottomRight = 5,
|
|
kDoubleSideStairsTop1 = 6,
|
|
kDoubleSideStairsBottom1 = 7,
|
|
kDoubleSideStairsLeft1 = 8,
|
|
kDoubleSideStairsRight1 = 9,
|
|
kDoubleSideStairsTop2 = 10,
|
|
kDoubleSideStairsBottom2 = 11,
|
|
kDoubleSideStairsLeft2 = 12,
|
|
kDoubleSideStairsRight2 = 13,
|
|
kFlatBottom1 = 14,
|
|
kFlatBottom2 = 15
|
|
};
|
|
|
|
/** Control mode types */
|
|
enum class ControlMode {
|
|
kNoMove = 0,
|
|
kManual = 1,
|
|
kFollow = 2,
|
|
kTrack = 3,
|
|
kFollow2 = 4,
|
|
kTrackAttack = 5,
|
|
kSameXZ = 6,
|
|
kRandom = 7
|
|
};
|
|
|
|
enum class AnimationTypes {
|
|
kAnimNone = -1,
|
|
kStanding = 0,
|
|
kForward = 1,
|
|
kBackward = 2,
|
|
kTurnLeft = 3,
|
|
kTurnRight = 4,
|
|
kHit = 5,
|
|
kBigHit = 6,
|
|
kFall = 7,
|
|
kLanding = 8,
|
|
kLandingHit = 9,
|
|
kLandDeath = 10,
|
|
kAction = 11,
|
|
kClimbLadder = 12,
|
|
kTopLadder = 13,
|
|
kJump = 14,
|
|
kThrowBall = 15,
|
|
kHide = 16,
|
|
kKick = 17,
|
|
kRightPunch = 18,
|
|
kLeftPunch = 19,
|
|
kFoundItem = 20,
|
|
kDrawn = 21,
|
|
kHit2 = 22,
|
|
kSabreAttack = 23,
|
|
kSabreUnknown = 24,
|
|
|
|
kAnimInvalid = 255
|
|
};
|
|
|
|
/** Hero behaviour
|
|
* <li> NORMAL: Talk / Read / Search / Use
|
|
* <li> ATHLETIC: Jump
|
|
* <li> AGGRESSIVE:
|
|
* Auto mode : Fight
|
|
* Manual mode : While holding the spacebar down
|
|
* UP / RIGHT / LEFT will manually select
|
|
* different punch/kick options
|
|
* <li> DISCREET: Kneel down to hide
|
|
*
|
|
* @note The values must match the @c TextId indices
|
|
*/
|
|
enum class HeroBehaviourType {
|
|
kNormal = 0,
|
|
kAthletic = 1,
|
|
kAggressive = 2,
|
|
kDiscrete = 3,
|
|
kProtoPack = 4
|
|
};
|
|
|
|
enum class ExtraSpecialType {
|
|
kHitStars = 0,
|
|
kExplodeCloud = 1
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|