2011-08-28 19:49:15 +02:00
|
|
|
/*
|
2014-04-01 07:36:42 +02:00
|
|
|
* Copyright (c) 2010-2014 OTClient <https://github.com/edubart/otclient>
|
2011-08-28 19:49:15 +02:00
|
|
|
*
|
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
* of this software and associated documentation files (the "Software"), to deal
|
|
|
|
* in the Software without restriction, including without limitation the rights
|
|
|
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
|
* copies of the Software, and to permit persons to whom the Software is
|
|
|
|
* furnished to do so, subject to the following conditions:
|
|
|
|
*
|
|
|
|
* The above copyright notice and this permission notice shall be included in
|
|
|
|
* all copies or substantial portions of the Software.
|
|
|
|
*
|
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
|
* THE SOFTWARE.
|
|
|
|
*/
|
|
|
|
|
2013-01-09 17:57:18 +01:00
|
|
|
#ifndef CLIENT_CONST_H
|
|
|
|
#define CLIENT_CONST_H
|
2011-08-28 19:49:15 +02:00
|
|
|
|
|
|
|
namespace Otc
|
|
|
|
{
|
2012-01-30 01:00:12 +01:00
|
|
|
enum {
|
|
|
|
TILE_PIXELS = 32,
|
2012-01-30 19:18:10 +01:00
|
|
|
MAX_ELEVATION = 24,
|
|
|
|
|
|
|
|
SEA_FLOOR = 7,
|
2012-01-30 01:00:12 +01:00
|
|
|
MAX_Z = 15,
|
2012-01-30 19:18:10 +01:00
|
|
|
UNDERGROUND_FLOOR = SEA_FLOOR+1,
|
|
|
|
AWARE_UNDEGROUND_FLOOR_RANGE = 2,
|
|
|
|
|
2012-02-02 17:37:52 +01:00
|
|
|
INVISIBLE_TICKS_PER_FRAME = 500,
|
2012-01-30 01:00:12 +01:00
|
|
|
ITEM_TICKS_PER_FRAME = 500,
|
|
|
|
ANIMATED_TEXT_DURATION = 1000,
|
2012-06-16 00:18:30 +02:00
|
|
|
STATIC_DURATION_PER_CHARACTER = 60,
|
2012-01-30 01:00:12 +01:00
|
|
|
MIN_STATIC_TEXT_DURATION = 3000,
|
2013-01-08 16:32:37 +01:00
|
|
|
MAX_STATIC_TEXT_WIDTH = 200,
|
2013-01-20 17:09:14 +01:00
|
|
|
MAX_AUTOWALK_STEPS_RETRY = 10,
|
|
|
|
MAX_AUTOWALK_DIST = 127
|
2012-01-30 01:00:12 +01:00
|
|
|
};
|
|
|
|
|
2012-01-30 19:18:10 +01:00
|
|
|
enum DrawFlags {
|
|
|
|
DrawGround = 1,
|
2012-02-02 21:54:49 +01:00
|
|
|
DrawGroundBorders = 2,
|
|
|
|
DrawOnBottom = 4,
|
|
|
|
DrawOnTop = 8,
|
|
|
|
DrawItems = 16,
|
|
|
|
DrawCreatures = 32,
|
|
|
|
DrawEffects = 64,
|
|
|
|
DrawMissiles = 128,
|
|
|
|
DrawCreaturesInformation = 256,
|
|
|
|
DrawStaticTexts = 512,
|
|
|
|
DrawAnimatedTexts = 1024,
|
|
|
|
DrawAnimations = 2048,
|
2013-02-01 15:38:17 +01:00
|
|
|
DrawBars = 4096,
|
|
|
|
DrawNames = 8192,
|
|
|
|
DrawLights = 16384,
|
2012-02-02 21:54:49 +01:00
|
|
|
DrawWalls = DrawOnBottom | DrawOnTop,
|
|
|
|
DrawEverything = DrawGround | DrawGroundBorders | DrawWalls | DrawItems |
|
2012-08-19 10:08:20 +02:00
|
|
|
DrawCreatures | DrawEffects | DrawMissiles | DrawCreaturesInformation |
|
2013-02-01 15:38:17 +01:00
|
|
|
DrawStaticTexts | DrawAnimatedTexts | DrawAnimations | DrawBars | DrawNames |
|
|
|
|
DrawLights
|
2012-01-30 01:00:12 +01:00
|
|
|
};
|
|
|
|
|
2011-08-31 18:49:51 +02:00
|
|
|
enum DatOpts {
|
2011-08-31 15:16:56 +02:00
|
|
|
DatGround = 0,
|
2011-09-01 02:44:33 +02:00
|
|
|
DatGroundClip,
|
|
|
|
DatOnBottom,
|
|
|
|
DatOnTop,
|
|
|
|
DatContainer,
|
|
|
|
DatStackable,
|
|
|
|
DatForceUse,
|
|
|
|
DatMultiUse,
|
|
|
|
DatWritable,
|
|
|
|
DatWritableOnce,
|
|
|
|
DatFluidContainer,
|
|
|
|
DatSplash,
|
|
|
|
DatBlockWalk,
|
2012-06-21 19:54:20 +02:00
|
|
|
DatNotMoveable,
|
2011-09-01 02:44:33 +02:00
|
|
|
DatBlockProjectile,
|
|
|
|
DatBlockPathFind,
|
|
|
|
DatPickupable,
|
|
|
|
DatHangable,
|
|
|
|
DatHookSouth,
|
|
|
|
DatHookEast,
|
|
|
|
DatRotable,
|
|
|
|
DatLight,
|
|
|
|
DatDontHide,
|
|
|
|
DatTranslucent,
|
2011-09-01 19:55:50 +02:00
|
|
|
DatDisplacement,
|
2011-09-01 02:44:33 +02:00
|
|
|
DatElevation,
|
|
|
|
DatLyingCorpse,
|
|
|
|
DatAnimateAlways,
|
|
|
|
DatMinimapColor,
|
|
|
|
DatLensHelp,
|
|
|
|
DatFullGround,
|
|
|
|
DatIgnoreLook,
|
|
|
|
DatCloth,
|
|
|
|
DatAnimation, // lastest tibia
|
2011-08-31 18:49:51 +02:00
|
|
|
DatLastOpt = 255
|
|
|
|
};
|
|
|
|
|
2012-07-18 08:04:57 +02:00
|
|
|
enum InventorySlot {
|
2011-11-10 06:29:25 +01:00
|
|
|
InventorySlotHead = 1,
|
|
|
|
InventorySlotNecklace,
|
|
|
|
InventorySlotBackpack,
|
|
|
|
InventorySlotArmor,
|
|
|
|
InventorySlotRight,
|
|
|
|
InventorySlotLeft,
|
|
|
|
InventorySlotLegs,
|
|
|
|
InventorySlotFeet,
|
|
|
|
InventorySlotRing,
|
2012-07-18 08:04:57 +02:00
|
|
|
InventorySlotAmmo,
|
|
|
|
InventorySlotPurse,
|
2012-08-24 01:29:05 +02:00
|
|
|
InventorySlotExt1,
|
|
|
|
InventorySlotExt2,
|
|
|
|
InventorySlotExt3,
|
|
|
|
InventorySlotExt4,
|
2012-07-18 08:04:57 +02:00
|
|
|
LastInventorySlot
|
2011-11-10 06:29:25 +01:00
|
|
|
};
|
|
|
|
|
2011-11-03 20:26:53 +01:00
|
|
|
enum Statistic {
|
2012-01-09 01:43:36 +01:00
|
|
|
Health = 0,
|
2011-11-03 20:26:53 +01:00
|
|
|
MaxHealth,
|
|
|
|
FreeCapacity,
|
|
|
|
Experience,
|
|
|
|
Level,
|
|
|
|
LevelPercent,
|
|
|
|
Mana,
|
|
|
|
MaxMana,
|
|
|
|
MagicLevel,
|
|
|
|
MagicLevelPercent,
|
|
|
|
Soul,
|
|
|
|
Stamina,
|
|
|
|
LastStatistic
|
|
|
|
};
|
|
|
|
|
2011-08-30 03:34:00 +02:00
|
|
|
enum Skill {
|
|
|
|
Fist = 0,
|
|
|
|
Club,
|
|
|
|
Sword,
|
|
|
|
Axe,
|
|
|
|
Distance,
|
|
|
|
Shielding,
|
|
|
|
Fishing,
|
|
|
|
LastSkill
|
|
|
|
};
|
|
|
|
|
2011-08-28 19:49:15 +02:00
|
|
|
enum Direction {
|
|
|
|
North = 0,
|
|
|
|
East,
|
|
|
|
South,
|
2011-08-29 07:54:28 +02:00
|
|
|
West,
|
|
|
|
NorthEast,
|
|
|
|
SouthEast,
|
|
|
|
SouthWest,
|
2011-12-26 07:14:57 +01:00
|
|
|
NorthWest,
|
|
|
|
InvalidDirection
|
2011-08-28 19:49:15 +02:00
|
|
|
};
|
|
|
|
|
2011-11-30 19:59:36 +01:00
|
|
|
enum FluidsColor {
|
2012-01-09 01:43:36 +01:00
|
|
|
FluidTransparent = 0,
|
2011-11-30 19:59:36 +01:00
|
|
|
FluidBlue,
|
|
|
|
FluidRed,
|
|
|
|
FluidBrown,
|
|
|
|
FluidGreen,
|
|
|
|
FluidYellow,
|
|
|
|
FluidWhite,
|
|
|
|
FluidPurple
|
|
|
|
};
|
|
|
|
|
|
|
|
enum FluidsType {
|
2012-01-25 01:00:09 +01:00
|
|
|
FluidNone = 0,
|
|
|
|
FluidWater,
|
|
|
|
FluidMana,
|
|
|
|
FluidBeer,
|
|
|
|
FluidOil,
|
|
|
|
FluidBlood,
|
|
|
|
FluidSlime,
|
|
|
|
FluidMud,
|
|
|
|
FluidLemonade,
|
|
|
|
FluidMilk,
|
|
|
|
FluidWine,
|
|
|
|
FluidHealth,
|
|
|
|
FluidUrine,
|
|
|
|
FluidRum,
|
|
|
|
FluidFruidJuice,
|
|
|
|
FluidCoconutMilk,
|
|
|
|
FluidTea,
|
|
|
|
FluidMead
|
2011-11-30 19:59:36 +01:00
|
|
|
};
|
|
|
|
|
2012-01-03 14:13:54 +01:00
|
|
|
enum FightModes {
|
|
|
|
FightOffensive = 1,
|
|
|
|
FightBalanced = 2,
|
|
|
|
FightDefensive = 3
|
|
|
|
};
|
|
|
|
|
|
|
|
enum ChaseModes {
|
2012-02-08 00:06:52 +01:00
|
|
|
DontChase = 0,
|
2012-01-03 14:13:54 +01:00
|
|
|
ChaseOpponent = 1
|
|
|
|
};
|
2012-01-07 00:54:17 +01:00
|
|
|
|
2013-11-19 00:50:00 +01:00
|
|
|
enum PVPModes {
|
|
|
|
WhiteDove = 0,
|
|
|
|
WhiteHand = 1,
|
|
|
|
YellowHand = 2,
|
|
|
|
RedFist = 3
|
|
|
|
};
|
|
|
|
|
2012-01-07 00:54:17 +01:00
|
|
|
enum PlayerSkulls {
|
|
|
|
SkullNone = 0,
|
2012-01-09 01:43:36 +01:00
|
|
|
SkullYellow,
|
|
|
|
SkullGreen,
|
|
|
|
SkullWhite,
|
|
|
|
SkullRed,
|
|
|
|
SkullBlack,
|
|
|
|
SkullOrange
|
2012-01-07 00:54:17 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
enum PlayerShields {
|
|
|
|
ShieldNone = 0,
|
2012-01-11 00:38:32 +01:00
|
|
|
ShieldWhiteYellow, // 1 party leader
|
|
|
|
ShieldWhiteBlue, // 2 party member
|
|
|
|
ShieldBlue, // 3 party member sexp off
|
|
|
|
ShieldYellow, // 4 party leader sexp off
|
|
|
|
ShieldBlueSharedExp, // 5 party member sexp on
|
|
|
|
ShieldYellowSharedExp, // 6 // party leader sexp on
|
|
|
|
ShieldBlueNoSharedExpBlink, // 7 party member sexp inactive guilty
|
|
|
|
ShieldYellowNoSharedExpBlink, // 8 // party leader sexp inactive guilty
|
|
|
|
ShieldBlueNoSharedExp, // 9 party member sexp inactive innocent
|
2013-11-13 00:48:41 +01:00
|
|
|
ShieldYellowNoSharedExp, // 10 party leader sexp inactive innocent
|
|
|
|
ShieldGray // 11 member of another party
|
2012-01-07 00:54:17 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
enum PlayerEmblems {
|
|
|
|
EmblemNone = 0,
|
2012-01-09 01:43:36 +01:00
|
|
|
EmblemGreen,
|
|
|
|
EmblemRed,
|
2013-11-13 00:48:41 +01:00
|
|
|
EmblemBlue,
|
|
|
|
EmblemMember,
|
2013-11-13 00:50:46 +01:00
|
|
|
EmblemOther
|
2012-01-09 01:43:36 +01:00
|
|
|
};
|
|
|
|
|
2014-03-12 06:39:20 +01:00
|
|
|
enum CreatureIcons {
|
|
|
|
NpcIconNone = 0,
|
|
|
|
NpcIconChat,
|
|
|
|
NpcIconTrade,
|
|
|
|
NpcIconQuest,
|
|
|
|
NpcIconTradeQuest
|
|
|
|
};
|
|
|
|
|
2012-02-09 04:45:19 +01:00
|
|
|
enum PlayerStates {
|
2012-01-09 01:43:36 +01:00
|
|
|
IconNone = 0,
|
|
|
|
IconPoison = 1,
|
|
|
|
IconBurn = 2,
|
|
|
|
IconEnergy = 4,
|
|
|
|
IconDrunk = 8,
|
|
|
|
IconManaShield = 16,
|
|
|
|
IconParalyze = 32,
|
|
|
|
IconHaste = 64,
|
|
|
|
IconSwords = 128,
|
|
|
|
IconDrowning = 256,
|
|
|
|
IconFreezing = 512,
|
|
|
|
IconDazzled = 1024,
|
|
|
|
IconCursed = 2048,
|
|
|
|
IconPartyBuff = 4096,
|
|
|
|
IconPzBlock = 8192,
|
2013-01-07 18:17:01 +01:00
|
|
|
IconPz = 16384,
|
|
|
|
IconBleeding = 32768,
|
|
|
|
IconHungry = 65536
|
2012-01-07 00:54:17 +01:00
|
|
|
};
|
2012-02-03 01:25:18 +01:00
|
|
|
|
2012-07-26 11:12:20 +02:00
|
|
|
enum MessageMode {
|
|
|
|
MessageNone = 0,
|
|
|
|
MessageSay = 1,
|
|
|
|
MessageWhisper = 2,
|
|
|
|
MessageYell = 3,
|
|
|
|
MessagePrivateFrom = 4,
|
|
|
|
MessagePrivateTo = 5,
|
|
|
|
MessageChannelManagement = 6,
|
|
|
|
MessageChannel = 7,
|
|
|
|
MessageChannelHighlight = 8,
|
|
|
|
MessageSpell = 9,
|
|
|
|
MessageNpcFrom = 10,
|
|
|
|
MessageNpcTo = 11,
|
|
|
|
MessageGamemasterBroadcast = 12,
|
|
|
|
MessageGamemasterChannel = 13,
|
|
|
|
MessageGamemasterPrivateFrom = 14,
|
|
|
|
MessageGamemasterPrivateTo = 15,
|
|
|
|
MessageLogin = 16,
|
|
|
|
MessageWarning = 17,
|
|
|
|
MessageGame = 18,
|
|
|
|
MessageFailure = 19,
|
|
|
|
MessageLook = 20,
|
|
|
|
MessageDamageDealed = 21,
|
|
|
|
MessageDamageReceived = 22,
|
|
|
|
MessageHeal = 23,
|
|
|
|
MessageExp = 24,
|
|
|
|
MessageDamageOthers = 25,
|
|
|
|
MessageHealOthers = 26,
|
|
|
|
MessageExpOthers = 27,
|
|
|
|
MessageStatus = 28,
|
|
|
|
MessageLoot = 29,
|
|
|
|
MessageTradeNpc = 30,
|
|
|
|
MessageGuild = 31,
|
|
|
|
MessagePartyManagement = 32,
|
|
|
|
MessageParty = 33,
|
|
|
|
MessageBarkLow = 34,
|
|
|
|
MessageBarkLoud = 35,
|
|
|
|
MessageReport = 36,
|
|
|
|
MessageHotkeyUse = 37,
|
|
|
|
MessageTutorialHint = 38,
|
|
|
|
MessageThankyou = 39,
|
|
|
|
MessageMarket = 40,
|
|
|
|
MessageBeyondLast = 41,
|
|
|
|
|
|
|
|
// deprecated
|
|
|
|
MessageMonsterYell = 42,
|
|
|
|
MessageMonsterSay = 43,
|
|
|
|
MessageRed = 44,
|
|
|
|
MessageBlue = 45,
|
|
|
|
MessageRVRChannel = 46,
|
|
|
|
MessageRVRAnswer = 47,
|
|
|
|
MessageRVRContinue = 48,
|
2014-12-29 18:08:13 +01:00
|
|
|
MessageGameHighlight = 49,
|
2014-12-30 19:25:20 +01:00
|
|
|
MessageNpcFromStartBlock = 50,
|
|
|
|
LastMessage = 51,
|
2012-08-19 10:08:20 +02:00
|
|
|
MessageInvalid = 255
|
2012-02-03 01:25:18 +01:00
|
|
|
};
|
2012-05-29 00:04:44 +02:00
|
|
|
|
|
|
|
enum GameFeature {
|
2012-07-18 01:49:21 +02:00
|
|
|
GameProtocolChecksum = 1,
|
|
|
|
GameAccountNames = 2,
|
2013-01-17 21:24:41 +01:00
|
|
|
GameChallengeOnLogin = 3,
|
2012-08-19 03:40:04 +02:00
|
|
|
GamePenalityOnDeath = 4,
|
|
|
|
GameNameOnNpcTrade = 5,
|
|
|
|
GameDoubleFreeCapacity = 6,
|
|
|
|
GameDoubleExperience = 7,
|
|
|
|
GameTotalCapacity = 8,
|
|
|
|
GameSkillsBase = 9,
|
|
|
|
GamePlayerRegenerationTime = 10,
|
|
|
|
GameChannelPlayerList = 11,
|
|
|
|
GamePlayerMounts = 12,
|
|
|
|
GameEnvironmentEffect = 13,
|
|
|
|
GameCreatureEmblems = 14,
|
|
|
|
GameItemAnimationPhase = 15,
|
|
|
|
GameMagicEffectU16 = 16,
|
|
|
|
GamePlayerMarket = 17,
|
|
|
|
GameSpritesU32 = 18,
|
2014-07-29 21:11:17 +02:00
|
|
|
// 19 unused
|
2012-08-19 03:40:04 +02:00
|
|
|
GameOfflineTrainingTime = 20,
|
|
|
|
GamePurseSlot = 21,
|
|
|
|
GameFormatCreatureName = 22,
|
2012-08-19 11:46:24 +02:00
|
|
|
GameSpellList = 23,
|
2012-08-25 21:11:54 +02:00
|
|
|
GameClientPing = 24,
|
2013-01-09 20:29:58 +01:00
|
|
|
GameExtendedClientPing = 25,
|
|
|
|
GameDoubleHealth = 28,
|
|
|
|
GameDoubleSkills = 29,
|
|
|
|
GameChangeMapAwareRange = 30,
|
|
|
|
GameMapMovePosition = 31,
|
|
|
|
GameAttackSeq = 32,
|
|
|
|
GameBlueNpcNameColor = 33,
|
|
|
|
GameDiagonalAnimatedText = 34,
|
|
|
|
GameLoginPending = 35,
|
|
|
|
GameNewSpeedLaw = 36,
|
2013-01-18 06:27:29 +01:00
|
|
|
GameForceFirstAutoWalkStep = 37,
|
2013-01-29 21:36:27 +01:00
|
|
|
GameMinimapRemove = 38,
|
2013-02-15 19:38:57 +01:00
|
|
|
GameDoubleShopSellAmount = 39,
|
2013-07-28 07:05:46 +02:00
|
|
|
GameContainerPagination = 40,
|
|
|
|
GameThingMarks = 41,
|
2013-10-04 04:09:54 +02:00
|
|
|
GameLooktypeU16 = 42,
|
|
|
|
GamePlayerStamina = 43,
|
|
|
|
GamePlayerAddons = 44,
|
2013-10-20 17:15:24 +02:00
|
|
|
GameMessageStatements = 45,
|
2013-10-04 04:09:54 +02:00
|
|
|
GameMessageLevel = 46,
|
|
|
|
GameNewFluids = 47,
|
|
|
|
GamePlayerStateU16 = 48,
|
2013-10-20 17:15:24 +02:00
|
|
|
GameNewOutfitProtocol = 49,
|
2013-11-11 02:31:59 +01:00
|
|
|
GamePVPMode = 50,
|
2013-12-25 15:10:59 +01:00
|
|
|
GameWritableDate = 51,
|
2014-01-14 23:15:01 +01:00
|
|
|
GameAdditionalVipInfo = 52,
|
2014-02-24 19:33:29 +01:00
|
|
|
GameBaseSkillU16 = 53,
|
2014-03-12 06:39:20 +01:00
|
|
|
GameCreatureIcons = 54,
|
|
|
|
GameHideNpcNames = 55,
|
2014-04-04 17:58:12 +02:00
|
|
|
GameSpritesAlphaChannel = 56,
|
2014-06-23 17:05:35 +02:00
|
|
|
GamePremiumExpiration = 57,
|
2014-07-15 23:19:08 +02:00
|
|
|
GameBrowseField = 58,
|
2014-08-03 00:02:28 +02:00
|
|
|
GameEnhancedAnimations = 59,
|
2014-12-29 18:08:13 +01:00
|
|
|
GameOGLInformation = 60,
|
|
|
|
GameMessageSizeCheck = 61,
|
|
|
|
GamePreviewState = 62,
|
|
|
|
GameLoginPacketEncryption = 63,
|
|
|
|
GameClientVersion = 64,
|
|
|
|
GameContentRevision = 65,
|
|
|
|
GameExperienceBonus = 66,
|
2015-01-18 15:14:07 +01:00
|
|
|
GameAuthenticator = 67,
|
|
|
|
GameUnjustifiedPoints = 68,
|
2015-01-27 23:44:37 +01:00
|
|
|
GameSessionKey = 69,
|
2013-10-04 04:09:54 +02:00
|
|
|
|
2012-07-18 01:49:21 +02:00
|
|
|
LastGameFeature = 101
|
2012-05-29 00:04:44 +02:00
|
|
|
};
|
2012-07-05 14:38:48 +02:00
|
|
|
|
|
|
|
enum PathFindResult {
|
2013-01-03 09:24:07 +01:00
|
|
|
PathFindResultOk = 0,
|
2012-12-28 12:05:45 +01:00
|
|
|
PathFindResultSamePosition,
|
|
|
|
PathFindResultImpossible,
|
|
|
|
PathFindResultTooFar,
|
|
|
|
PathFindResultNoWay
|
2012-08-22 04:10:56 +02:00
|
|
|
};
|
|
|
|
|
2012-12-28 12:05:45 +01:00
|
|
|
enum PathFindFlags {
|
2013-01-27 17:06:47 +01:00
|
|
|
PathFindAllowNotSeenTiles = 1,
|
2012-12-28 12:05:45 +01:00
|
|
|
PathFindAllowCreatures = 2,
|
|
|
|
PathFindAllowNonPathable = 4,
|
2013-01-27 17:06:47 +01:00
|
|
|
PathFindAllowNonWalkable = 8
|
2012-07-05 14:38:48 +02:00
|
|
|
};
|
2012-10-11 17:36:00 +02:00
|
|
|
|
2014-08-06 20:40:56 +02:00
|
|
|
enum AutomapFlags {
|
2012-12-28 12:05:45 +01:00
|
|
|
MapMarkTick = 0,
|
|
|
|
MapMarkQuestion,
|
|
|
|
MapMarkExclamation,
|
|
|
|
MapMarkStar,
|
|
|
|
MapMarkCross,
|
|
|
|
MapMarkTemple,
|
|
|
|
MapMarkKiss,
|
|
|
|
MapMarkShovel,
|
|
|
|
MapMarkSword,
|
|
|
|
MapMarkFlag,
|
|
|
|
MapMarkLock,
|
|
|
|
MapMarkBag,
|
|
|
|
MapMarkSkull,
|
|
|
|
MapMarkDollar,
|
|
|
|
MapMarkRedNorth,
|
|
|
|
MapMarkRedSouth,
|
|
|
|
MapMarkRedEast,
|
|
|
|
MapMarkRedWest,
|
|
|
|
MapMarkGreenNorth,
|
|
|
|
MapMarkGreenSouth
|
2012-10-11 17:36:00 +02:00
|
|
|
};
|
2012-12-26 14:56:06 +01:00
|
|
|
|
2014-08-06 20:40:56 +02:00
|
|
|
enum VipState {
|
2012-12-28 12:05:45 +01:00
|
|
|
VipStateOffline = 0,
|
|
|
|
VipStateOnline = 1,
|
|
|
|
VipStatePending = 2
|
|
|
|
};
|
|
|
|
|
2014-08-06 20:40:56 +02:00
|
|
|
enum SpeedFormula {
|
2012-12-28 12:05:45 +01:00
|
|
|
SpeedFormulaA = 0,
|
|
|
|
SpeedFormulaB,
|
|
|
|
SpeedFormulaC,
|
|
|
|
LastSpeedFormula
|
2012-12-26 14:56:06 +01:00
|
|
|
};
|
2014-08-06 20:40:56 +02:00
|
|
|
|
|
|
|
enum AnimationPhase {
|
|
|
|
PhaseAutomatic = 0,
|
|
|
|
PhaseRandom = 254,
|
|
|
|
PhaseAsync = 255
|
|
|
|
};
|
2014-12-29 18:08:13 +01:00
|
|
|
|
|
|
|
enum Blessings {
|
|
|
|
BlessingNone = 0,
|
|
|
|
BlessingAdventurer = 1,
|
|
|
|
BlessingSpiritualShielding = 1 << 1,
|
|
|
|
BlessingEmbraceOfTibia = 1 << 2,
|
|
|
|
BlessingFireOfSuns = 1 << 3,
|
|
|
|
BlessingWisdomOfSolitude = 1 << 4,
|
|
|
|
BlessingSparkOfPhoenix = 1 << 5
|
|
|
|
};
|
2011-08-28 19:49:15 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|