xoreos  0.0.5
Namespaces | Enumerations | Functions | Variables
types.h File Reference

Basic Neverwinter Nights 2 type definitions. More...

#include "src/common/types.h"
Include dependency graph for types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Engines
 
 Engines::NWN2
 

Enumerations

enum  Engines::NWN2::ObjectType {
  Engines::NWN2::kObjectTypeCreature = 1U << 0, Engines::NWN2::kObjectTypeItem = 1U << 1, Engines::NWN2::kObjectTypeTrigger = 1U << 2, Engines::NWN2::kObjectTypeDoor = 1U << 3,
  Engines::NWN2::kObjectTypeAreaOfEffect = 1U << 4, Engines::NWN2::kObjectTypeWaypoint = 1U << 5, Engines::NWN2::kObjectTypePlaceable = 1U << 6, Engines::NWN2::kObjectTypeStore = 1U << 7,
  Engines::NWN2::kObjectTypeEncounter = 1U << 8, Engines::NWN2::kObjectTypeLight = 1U << 9, Engines::NWN2::kObjectTypePlacedEffect = 1U << 10, Engines::NWN2::kObjectTypeInvalid = 0x7FFF,
  Engines::NWN2::kObjectTypeAll = 0x7FFF, Engines::NWN2::kObjectTypeMAX = 0x7FFF, Engines::NWN2::kObjectTypeArea = 1U << 29, Engines::NWN2::kObjectTypeModule = 1U << 30,
  Engines::NWN2::kObjectTypeSelf = 1U << 31
}
 Object type, matches the bitfield in nwscript.nss. More...
 
enum  Engines::NWN2::Script {
  Engines::NWN2::kScriptAcquireItem = 0, Engines::NWN2::kScriptActiveItem, Engines::NWN2::kScriptAttacked, Engines::NWN2::kScriptBlocked,
  Engines::NWN2::kScriptClick, Engines::NWN2::kScriptClient, Engines::NWN2::kScriptClosed, Engines::NWN2::kScriptCutsceneAbort,
  Engines::NWN2::kScriptDamaged, Engines::NWN2::kScriptDeath, Engines::NWN2::kScriptDialogue, Engines::NWN2::kScriptDisarm,
  Engines::NWN2::kScriptDisturbed, Engines::NWN2::kScriptEndRound, Engines::NWN2::kScriptEnter, Engines::NWN2::kScriptExhausted,
  Engines::NWN2::kScriptExit, Engines::NWN2::kScriptFailToOpen, Engines::NWN2::kScriptHeartbeat, Engines::NWN2::kScriptLock,
  Engines::NWN2::kScriptModuleLoad, Engines::NWN2::kScriptModuleStart, Engines::NWN2::kScriptNotice, Engines::NWN2::kScriptOpen,
  Engines::NWN2::kScriptPCLoaded, Engines::NWN2::kScriptPlayerChat, Engines::NWN2::kScriptPlayerDeath, Engines::NWN2::kScriptPlayerDying,
  Engines::NWN2::kScriptPlayerEquipItem, Engines::NWN2::kScriptPlayerLevelUp, Engines::NWN2::kScriptPlayerRespanw, Engines::NWN2::kScriptPlayerRest,
  Engines::NWN2::kScriptPlayerUnequipItem, Engines::NWN2::kScriptRested, Engines::NWN2::kScriptShout, Engines::NWN2::kScriptSpawn,
  Engines::NWN2::kScriptSpellCastAt, Engines::NWN2::kScriptStoreClose, Engines::NWN2::kScriptStoreOpen, Engines::NWN2::kScriptTrapTriggered,
  Engines::NWN2::kScriptUnaquireItem, Engines::NWN2::kScriptUnlock, Engines::NWN2::kScriptUsed, Engines::NWN2::kScriptUserdefined,
  Engines::NWN2::kScriptMAX
}
 
enum  Engines::NWN2::Ability {
  Engines::NWN2::kAbilityStrength = 0, Engines::NWN2::kAbilityDexterity = 1, Engines::NWN2::kAbilityConstitution = 2, Engines::NWN2::kAbilityIntelligence = 3,
  Engines::NWN2::kAbilityWisdom = 4, Engines::NWN2::kAbilityCharisma = 5, Engines::NWN2::kAbilityMAX
}
 
enum  Engines::NWN2::Alignment {
  Engines::NWN2::kAlignmentAll = 0, Engines::NWN2::kAlignmentNeutral = 1, Engines::NWN2::kAlignmentLawful = 2, Engines::NWN2::kAlignmentChaotic = 3,
  Engines::NWN2::kAlignmentGood = 4, Engines::NWN2::kAlignmentEvil = 5
}
 
enum  Engines::NWN2::Gender {
  Engines::NWN2::kGenderMale = 0, Engines::NWN2::kGenderFemale = 1, Engines::NWN2::kGenderBoth = 2, Engines::NWN2::kGenderOther = 3,
  Engines::NWN2::kGenderNone = 4
}
 

Functions

Alignment Engines::NWN2::getAlignmentLawChaos (uint8 lawChaos)
 
Alignment Engines::NWN2::getAlignmentGoodEvil (uint8 goodEvil)
 

Variables

static const uint32 Engines::NWN2::kRaceInvalid = 28
 
static const uint32 Engines::NWN2::kSubRaceInvalid = 255
 
static const uint32 Engines::NWN2::kClassInvalid = 255
 

Detailed Description

Basic Neverwinter Nights 2 type definitions.

Definition in file types.h.