xoreos  0.0.5
Classes | Typedefs | Enumerations | Functions | Variables
Engines::NWN Namespace Reference

Classes

struct  AnimationName
 
class  Area
 An area in Neverwinter Nights, holding all objects and room tiles within, as well as general area properties like the current background music and ambient sounds. More...
 
class  ButtonsGroup
 
class  CharacterInfo
 A NWN character info panel. More...
 
class  CharAlignment
 
class  CharAppearance
 
class  CharAttributes
 
class  CharClass
 
class  CharDomain
 
class  CharFeats
 
class  CharFeatsPopup
 
class  CharGenBase
 
class  CharGenChoices
 
class  CharGenMenu
 The NWN character generator. More...
 
class  CharHelp
 
class  CharInfoVoice
 
class  CharPackage
 
class  CharPortrait
 
class  CharPremadeMenu
 The NWN character creator. More...
 
class  CharRace
 
class  CharSchool
 
class  CharSex
 
class  CharSkills
 
class  CharSpells
 
class  CharTypeMenu
 The NWN new/premade character selection menu. More...
 
class  ChatModeButton
 The chat mode button within the NWN ingame quickchat. More...
 
class  Compass
 The NWN ingame compass. More...
 
class  CompassWidget
 The NWN compass widget. More...
 
class  Console
 
class  Creature
 
class  Dialog
 
class  DialogBox
 
class  Door
 
class  EngineProbe
 
class  EngineProbeFallback
 
class  EngineProbeLinux
 
class  EngineProbeMac
 
class  EngineProbeWindows
 
class  FadeModel
 
struct  FeatItem
 
class  Functions
 
class  Game
 
class  GUI
 A NWN GUI. More...
 
class  IngameGUI
 The NWN ingame GUI elements. More...
 
class  IngameMainMenu
 The NWN ingame main menu. More...
 
class  Item
 
class  Legal
 The NWN legal billboard. More...
 
class  Location
 
class  MainMenu
 The NWN main menu. More...
 
class  ModelWidget
 A NWN model widget. More...
 
class  Module
 
class  MoviesBaseMenu
 The NWN base game movies menu. More...
 
class  MoviesCampMenu
 The NWN campaign movies menu. More...
 
class  NewCampMenu
 The NWN new campaign menu. More...
 
class  NewGameFog
 
class  NewGameFogs
 
class  NewMenu
 The NWN new game menu. More...
 
class  NewModuleMenu
 The NWN new module menu. More...
 
class  NewPremiumMenu
 The NWN new premium module menu. More...
 
class  NewXP1Menu
 The NWN new game menu, expansion 1. More...
 
class  NewXP2Menu
 The NWN new game menu, expansion 2. More...
 
class  NWNEngine
 
class  NWNModelLoader
 
class  NWNWidget
 Base class for all widgets in NWN. More...
 
class  NWNWidgetWithCaption
 A NWN widget with a text caption. More...
 
class  Object
 
class  ObjectContainer
 
class  ObjectDistanceSort
 A class able to sort objects by distance to a target object. More...
 
class  OKCancelDialog
 The NWN okay/cancel dialog. More...
 
class  OptionsControlsMenu
 The NWN controls options menu. More...
 
class  OptionsFeedbackMenu
 The NWN feedback options menu. More...
 
class  OptionsGameMenu
 The NWN game options menu. More...
 
class  OptionsGorePasswordMenu
 The NWN violence/gore password options menu. More...
 
class  OptionsMenu
 The NWN options menu. More...
 
class  OptionsResolutionMenu
 The NWN resolution options menu. More...
 
class  OptionsSoundAdvancedMenu
 The NWN advanced sound options menu. More...
 
class  OptionsSoundMenu
 The NWN sound options menu. More...
 
class  OptionsVideoAdvancedMenu
 The NWN advanced video options menu. More...
 
class  OptionsVideoMenu
 The NWN video options menu. More...
 
class  PartyLeader
 The NWN ingame party leader bar. More...
 
class  Placeable
 
class  Portrait
 A NWN portrait model. More...
 
class  PortraitWidget
 A NWN portrait widget. More...
 
class  QuadWidget
 A NWN quad widget. More...
 
class  Quickbar
 The NWN ingame quickbar. More...
 
class  QuickbarButton
 A button within the NWN quickbar. More...
 
class  Quickchat
 The NWN ingame quickchat. More...
 
class  ScriptContainer
 
struct  ScriptName
 
class  Scrollbar
 A NWN scrollbar model. More...
 
class  SearchType
 
class  Situated
 
struct  SkillItem
 
struct  Spell
 
struct  TalkAnim
 
struct  TalkAnimationName
 
class  Tileset
 
class  Tooltip
 A tooltip. More...
 
class  Version
 
class  Waypoint
 
class  WidgetButton
 A NWN button widget. More...
 
class  WidgetCheckBox
 A NWN checkbox widget. More...
 
class  WidgetClose
 A NWN close button widget. More...
 
class  WidgetEditBox
 A NWN editbox widget. More...
 
class  WidgetFrame
 A NWN frame widget. More...
 
class  WidgetGridBox
 
class  WidgetGridItemPortrait
 
class  WidgetLabel
 A NWN label widget. More...
 
class  WidgetListBox
 A NWN listbox widget. More...
 
class  WidgetListItem
 An item widget within a NWN listbox widget. More...
 
class  WidgetListItemBaseButton
 
class  WidgetListItemButton
 
class  WidgetListItemCharacter
 
class  WidgetListItemDomain
 
class  WidgetListItemFeat
 
class  WidgetListItemModule
 
class  WidgetListItemPremium
 
class  WidgetListItemSkill
 
class  WidgetListItemSpell
 
class  WidgetListItemTextLine
 A text line widget within a NWN listbox widget. More...
 
class  WidgetListItemVoice
 
class  WidgetPanel
 A NWN panel widget. More...
 
class  WidgetScrollbar
 A NWN scrollbar widget. More...
 
class  WidgetSlider
 A NWN slider widget. More...
 
class  YesNoCancelDialog
 The NWN yes/no/cancel dialog. More...
 

Typedefs

typedef std::map< FeatItem, std::vector< FeatItem > > MasterFeatsMap
 

Enumerations

enum  ChatMode {
  kModeShout = 0, kModeWhisper = 1, kModeTell = 2, kModeTalk = 3,
  kModeParty = 4, kModeDM = 5
}
 
enum  AdditionalButton { kHelpButton = 0x01, kMoveButton = 0x02, kNoButton = 0x04 }
 
enum  ObjectType {
  kObjectTypeCreature = 1U << 0, kObjectTypeItem = 1U << 1, kObjectTypeTrigger = 1U << 2, kObjectTypeDoor = 1U << 3,
  kObjectTypeAreaOfEffect = 1U << 4, kObjectTypeWaypoint = 1U << 5, kObjectTypePlaceable = 1U << 6, kObjectTypeStore = 1U << 7,
  kObjectTypeEncounter = 1U << 8, kObjectTypeInvalid = 0x7FFF, kObjectTypeAll = 0x7FFF, kObjectTypeMAX = 0x7FFF,
  kObjectTypeArea = 1U << 29, kObjectTypeModule = 1U << 30, kObjectTypeSelf = 1U << 31
}
 Object type, matches the bitfield in nwscript.nss. More...
 
enum  Script {
  kScriptAcquireItem = 0, kScriptUnacquireItem, kScriptActivateItem, kScriptEnter,
  kScriptExit, kScriptCutsceneAbort, kScriptHeartbeat, kScriptModuleLoad,
  kScriptModuleStart, kScriptPlayerChat, kScriptPlayerDeath, kScriptPlayerDying,
  kScriptPlayerEquipItem, kScriptPlayerUnequipItem, kScriptPlayerLevelUp, kScriptPlayerRest,
  kScriptPlayerRespawn, kScriptUserdefined, kScriptUsed, kScriptClick,
  kScriptOpen, kScriptClosed, kScriptDamaged, kScriptDeath,
  kScriptDisarm, kScriptLock, kScriptUnlock, kScriptAttacked,
  kScriptSpellCastAt, kScriptTrapTriggered, kScriptDialogue, kScriptDisturbed,
  kScriptEndRound, kScriptBlocked, kScriptNotice, kScriptRested,
  kScriptSpawn, kScriptFailToOpen, kScriptMAX
}
 
enum  Animation {
  kAnimationLoopingPause = 0, kAnimationLoopingPause2 = 1, kAnimationLoopingListen = 2, kAnimationLoopingMeditate = 3,
  kAnimationLoopingWorship = 4, kAnimationLoopingLookFar = 5, kAnimationLoopingSitChair = 6, kAnimationLoopingSitCross = 7,
  kAnimationLoopingTalkNormal = 8, kAnimationLoopingTalkPleading = 9, kAnimationLoopingTalkForceful = 10, kAnimationLoopingTalkLaughing = 11,
  kAnimationLoopingGetLow = 12, kAnimationLoopingGetMid = 13, kAnimationLoopingPauseTired = 14, kAnimationLoopingPauseDrunk = 15,
  kAnimationLoopingDeadFront = 16, kAnimationLoopingDeadBack = 17, kAnimationLoopingConjure1 = 18, kAnimationLoopingConjure2 = 19,
  kAnimationLoopingSpasm = 20, kAnimationLoopingCustom1 = 21, kAnimationLoopingCustom2 = 22, kAnimationLoopingCustom3 = 23,
  kAnimationLoopingCustom4 = 24, kAnimationLoopingCustom5 = 25, kAnimationLoopingCustom6 = 26, kAnimationLoopingCustom7 = 27,
  kAnimationLoopingCustom8 = 28, kAnimationLoopingCustom9 = 29, kAnimationLoopingCustom10 = 30, kAnimationFireForgetHeadTurnLeft = 100,
  kAnimationFireForgetHeadTurnRight = 101, kAnimationFireForgetPauseScratchHead = 102, kAnimationFireForgetPauseBored = 103, kAnimationFireForgetSalute = 104,
  kAnimationFireForgetBow = 105, kAnimationFireForgetSteal = 106, kAnimationFireForgetGreeting = 107, kAnimationFireForgetTaunt = 108,
  kAnimationFireForgetVictory1 = 109, kAnimationFireForgetVictory2 = 110, kAnimationFireForgetVictory3 = 111, kAnimationFireForgetRead = 112,
  kAnimationFireForgetDrink = 113, kAnimationFireForgetDodgeSide = 114, kAnimationFireForgetDodgeDuck = 115, kAnimationFireForgetSpasm = 116,
  kAnimationPlaceableActivate = 200, kAnimationPlaceableDeactivate = 201, kAnimationPlaceableOpen = 202, kAnimationPlaceableClose = 203,
  kAnimationDoorClose = 204, kAnimationDoorOpen1 = 205, kAnimationDoorOpen2 = 206, kAnimationDoorDestroy = 207
}
 
enum  TalkAnimation {
  kTalkAnimationDefault = 0, kTalkAnimationTaunt = 28, kTalkAnimationGreeting = 29, kTalkAnimationListen = 30,
  kTalkAnimationWorship = 33, kTalkAnimationSalute = 34, kTalkAnimationBow = 35, kTalkAnimationSteal = 37,
  kTalkAnimationNormal = 38, kTalkAnimationPleading = 39, kTalkAnimationForceful = 40, kTalkAnimationLaugh = 41,
  kTalkAnimationVictoryFighter = 44, kTalkAnimationVictoryMage = 45, kTalkAnimationVictoryThief = 46, kTalkAnimationLookFar = 48,
  kTalkAnimationDrink = 70, kTalkAnimationRead = 71, kTalkAnimationNone = 88
}
 
enum  SFFSounds {
  kSSFAttack = 0, kSSFBattlecry1 = 1, kSSFBattlecry2 = 2, kSSFBattlecry3 = 3,
  kSSFHealMe = 4, kSSFHelp = 5, kSSFEnemiesSighted = 6, kSSFFlee = 7,
  kSSFTaunt = 8, kSSFGuardMe = 9, kSSFHold = 10, kSSFAttackGrunt1 = 11,
  kSSFAttackGrunt2 = 12, kSSFAttackGrunt3 = 13, kSSFPainGrunt1 = 14, kSSFPainGrunt2 = 15,
  kSSFPainGrunt3 = 16, kSSFNearDeath = 17, kSSFDeath = 18, kSSFPoisoned = 19,
  kSSFSpellFailed = 20, kSSFWeaponIneffective = 21, kSSFFollowMe = 22, kSSFLookHere = 23,
  kSSFGroupParty = 24, kSSFMoveOver = 25, kSSFPickLock = 26, kSSFSearch = 27,
  kSSFGoStealthy = 28, kSSFCanDo = 29, kSSFCannotDo = 30, kSSFTaskComplete = 31,
  kSSFEncumbered = 32, kSSFSelected = 33, kSSFHello = 34, kSSFYes = 35,
  kSSFNo = 36, kSSFStop = 37, kSSFRest = 38, kSSFBored = 39,
  kSSFGoodbye = 40, kSSFThankYou = 41, kSSFLaugh = 42, kSSFCuss = 43,
  kSSFCheer = 44, kSSFSomethingToSay = 45, kSSFGoodIdea = 46, kSSFBadIdea = 47,
  kSSFThreaten = 48
}
 
enum  GameDifficulty {
  kDifficultyVeryEasy = 0, kDifficultyEasy = 1, kDifficultyNormal = 2, kDifficultyDifficult = 3,
  kDifficultyCoreRules = 4
}
 
enum  AssociateType {
  kAssociateTypeNone = 0, kAssociateTypeHenchman = 1, kAssociateTypeAnimalCompanion = 2, kAssociateTypeFamiliar = 3,
  kAssociateTypeSummoned = 4, kAssociateTypeDominated = 5
}
 
enum  Ability {
  kAbilityStrength = 0, kAbilityDexterity = 1, kAbilityConstitution = 2, kAbilityIntelligence = 3,
  kAbilityWisdom = 4, kAbilityCharisma = 5, kAbilityMAX
}
 
enum  Alignment {
  kAlignmentAll = 0, kAlignmentNeutral = 1, kAlignmentLawful = 2, kAlignmentChaotic = 3,
  kAlignmentGood = 4, kAlignmentEvil = 5
}
 
enum  Gender {
  kGenderMale = 0, kGenderFemale = 1, kGenderBoth = 2, kGenderOther = 3,
  kGenderNone = 4
}
 

Functions

static Graphics::Aurora::ModelcreateNewGameFog ()
 
bool compPtrItem (WidgetListItem *itemA, WidgetListItem *itemB)
 
void createEngineProbes (std::list< const ::Engines::EngineProbe *> &probes)
 
void createEngineProbes (std::list< const EngineProbe *> &probes)
 Create all probes for this engine and add them to the list. More...
 
static NWN::Object kDefaultValueObjectInvalid (kObjectTypeInvalid)
 
static NWN::Object kDefaultValueObjectSelf (kObjectTypeSelf)
 
static const Aurora::NWScript::Variable kDefaultIntMinus1 ((int32) - 1)
 
static const Aurora::NWScript::Variable kDefaultInt0 ((int32) 0)
 
static const Aurora::NWScript::Variable kDefaultInt1 ((int32) 1)
 
static const Aurora::NWScript::Variable kDefaultInt9 ((int32) 9)
 
static const Aurora::NWScript::Variable kDefaultInt18 ((int32) 18)
 
static const Aurora::NWScript::Variable kDefaultInt100 ((int32) 100)
 
static const Aurora::NWScript::Variable kDefaultFloatMinus1_0 (- 1.0f)
 
static const Aurora::NWScript::Variable kDefaultFloat0_0 (0.0f)
 
static const Aurora::NWScript::Variable kDefaultFloat1_0 (1.0f)
 
static const Aurora::NWScript::Variable kDefaultFloat2_0 (2.0f)
 
static const Aurora::NWScript::Variable kDefaultFloat30_0 (30.0f)
 
static const Aurora::NWScript::Variable kDefaultFloat40_0 (40.0f)
 
static const Aurora::NWScript::Variable kDefaultFloat180_0 (180.0f)
 
static const Aurora::NWScript::Variable kDefaultVector0 (0.0f, 0.0f, 0.0f)
 
static const Aurora::NWScript::Variable kDefaultStringEmpty (Common::UString(""))
 
static const Aurora::NWScript::Variable kDefaultACDodgeBonus ((int32) 0)
 
static const Aurora::NWScript::Variable kDefaultACVsDamageTypeAll ((int32) 4103)
 
static const Aurora::NWScript::Variable kDefaultAlignmentAll ((int32) 0)
 
static const Aurora::NWScript::Variable kDefaultAttackBonusMisc ((int32) 0)
 
static const Aurora::NWScript::Variable kDefaultCameraTransitionTypeSnap ((int32) 0)
 
static const Aurora::NWScript::Variable kDefaultClassTypeInvalid ((int32) 255)
 
static const Aurora::NWScript::Variable kDefaultDamagePowerNormal ((int32) 0)
 
static const Aurora::NWScript::Variable kDefaultDamageTypeMagical ((int32) 8)
 
static const Aurora::NWScript::Variable kDefaultFalse ((int32) 0)
 
static const Aurora::NWScript::Variable kDefaultGenderMale ((int32) 0)
 
static const Aurora::NWScript::Variable kDefaultIPConstUnlimitedAmmoBasic ((int32) 1)
 
static const Aurora::NWScript::Variable kDefaultMetaMagicAny ((int32) 255)
 
static const Aurora::NWScript::Variable kDefaultMissChanceTypeNormal ((int32) 0)
 
static const Aurora::NWScript::Variable kDefaultNameFirstGenericMale ((int32) - 1)
 
static const Aurora::NWScript::Variable kDefaultObjectTypeAll ((int32) 32767)
 
static const Aurora::NWScript::Variable kDefaultObjectTypeCreature ((int32) 1)
 
static const Aurora::NWScript::Variable kDefaultObjectTypeInvalid ((int32) 32767)
 
static const Aurora::NWScript::Variable kDefaultPackageInvalid ((int32) 255)
 
static const Aurora::NWScript::Variable kDefaultPersistentZoneActive ((int32) 0)
 
static const Aurora::NWScript::Variable kDefaultProjectilePathTypeDefault ((int32) 0)
 
static const Aurora::NWScript::Variable kDefaultSavingThrowTypeAll ((int32) 0)
 
static const Aurora::NWScript::Variable kDefaultSavingThrowTypeNone ((int32) 0)
 
static const Aurora::NWScript::Variable kDefaultSpellAllSpells ((int32) - 1)
 
static const Aurora::NWScript::Variable kDefaultSpellSchoolGeneral ((int32) 0)
 
static const Aurora::NWScript::Variable kDefaultStandardFactionHostile ((int32) 0)
 
static const Aurora::NWScript::Variable kDefaultTalkVolumeTalk ((int32) 0)
 
static const Aurora::NWScript::Variable kDefaultTrue ((int32) 1)
 
static const Aurora::NWScript::Variable kDefaultUseCreatureLevel ((int32) 0)
 
static const Aurora::NWScript::Variable kDefaultVFXNone ((int32) - 1)
 
static const Aurora::NWScript::Variable kDefaultFadeSpeedMedium (0.01f)
 
Alignment getAlignmentLawChaos (uint8 lawChaos)
 
Alignment getAlignmentGoodEvil (uint8 goodEvil)
 
Common::UString getCreatureAnimationName (Animation animation, bool simple=false)
 Return the name (as found in the models) of a specific creature animation. More...
 
Common::UString getCreatureTalkAnimationName (TalkAnimation animation)
 Return the name (as found in the models) of a specific creature talk animation. More...
 
Common::UString getPlaceableAnimationName (Animation animation)
 Return the name (as found in the models) of a specific placeable animation. More...
 
Common::UString getDoorAnimationName (Animation animation, bool alternate=false)
 Return the name (as found in the models) of a specific door animation. More...
 
bool isAnimationLooping (Animation animation)
 Return true if the specified animation allows looping. More...
 

Variables

static const char *const kBodyPartModels []
 
static const char *const kBodyPartNodes []
 
static const char *const kBodyPartFields []
 
static const char *const kButtonTags []
 
static const char *const kButtonModels []
 
static const uint32 kButtonTooltips []
 
static const Common::UString kStringEmpty
 
static const char *const texturePacks [4][4]
 
static const ScriptName kScriptNames []
 
static const Aurora::NWScript::Variable kDefaultObjectInvalid & kDefaultValueObjectInvalid
 
static const Aurora::NWScript::Variable kDefaultObjectSelf & kDefaultValueObjectSelf
 
static const uint32 kActionInvalid = 0xFFFF
 
static const uint32 kRaceInvalid = 28
 
static const uint32 kClassInvalid = 255
 

Typedef Documentation

◆ MasterFeatsMap

typedef std::map<FeatItem, std::vector<FeatItem> > Engines::NWN::MasterFeatsMap

Definition at line 60 of file charfeats.h.

Enumeration Type Documentation

◆ Ability

Enumerator
kAbilityStrength 
kAbilityDexterity 
kAbilityConstitution 
kAbilityIntelligence 
kAbilityWisdom 
kAbilityCharisma 
kAbilityMAX 

Definition at line 249 of file types.h.

◆ AdditionalButton

Enumerator
kHelpButton 
kMoveButton 
kNoButton 

Definition at line 72 of file listitembutton.h.

◆ Alignment

Enumerator
kAlignmentAll 
kAlignmentNeutral 
kAlignmentLawful 
kAlignmentChaotic 
kAlignmentGood 
kAlignmentEvil 

Definition at line 259 of file types.h.

◆ Animation

Enumerator
kAnimationLoopingPause 
kAnimationLoopingPause2 
kAnimationLoopingListen 
kAnimationLoopingMeditate 
kAnimationLoopingWorship 
kAnimationLoopingLookFar 
kAnimationLoopingSitChair 
kAnimationLoopingSitCross 
kAnimationLoopingTalkNormal 
kAnimationLoopingTalkPleading 
kAnimationLoopingTalkForceful 
kAnimationLoopingTalkLaughing 
kAnimationLoopingGetLow 
kAnimationLoopingGetMid 
kAnimationLoopingPauseTired 
kAnimationLoopingPauseDrunk 
kAnimationLoopingDeadFront 
kAnimationLoopingDeadBack 
kAnimationLoopingConjure1 
kAnimationLoopingConjure2 
kAnimationLoopingSpasm 
kAnimationLoopingCustom1 
kAnimationLoopingCustom2 
kAnimationLoopingCustom3 
kAnimationLoopingCustom4 
kAnimationLoopingCustom5 
kAnimationLoopingCustom6 
kAnimationLoopingCustom7 
kAnimationLoopingCustom8 
kAnimationLoopingCustom9 
kAnimationLoopingCustom10 
kAnimationFireForgetHeadTurnLeft 
kAnimationFireForgetHeadTurnRight 
kAnimationFireForgetPauseScratchHead 
kAnimationFireForgetPauseBored 
kAnimationFireForgetSalute 
kAnimationFireForgetBow 
kAnimationFireForgetSteal 
kAnimationFireForgetGreeting 
kAnimationFireForgetTaunt 
kAnimationFireForgetVictory1 
kAnimationFireForgetVictory2 
kAnimationFireForgetVictory3 
kAnimationFireForgetRead 
kAnimationFireForgetDrink 
kAnimationFireForgetDodgeSide 
kAnimationFireForgetDodgeDuck 
kAnimationFireForgetSpasm 
kAnimationPlaceableActivate 
kAnimationPlaceableDeactivate 
kAnimationPlaceableOpen 
kAnimationPlaceableClose 
kAnimationDoorClose 
kAnimationDoorOpen1 
kAnimationDoorOpen2 
kAnimationDoorDestroy 

Definition at line 99 of file types.h.

◆ AssociateType

Enumerator
kAssociateTypeNone 
kAssociateTypeHenchman 
kAssociateTypeAnimalCompanion 
kAssociateTypeFamiliar 
kAssociateTypeSummoned 
kAssociateTypeDominated 

Definition at line 240 of file types.h.

◆ ChatMode

Enumerator
kModeShout 
kModeWhisper 
kModeTell 
kModeTalk 
kModeParty 
kModeDM 

Definition at line 41 of file quickchat.h.

◆ GameDifficulty

Enumerator
kDifficultyVeryEasy 
kDifficultyEasy 
kDifficultyNormal 
kDifficultyDifficult 
kDifficultyCoreRules 

Definition at line 232 of file types.h.

◆ Gender

Enumerator
kGenderMale 
kGenderFemale 
kGenderBoth 
kGenderOther 
kGenderNone 

Definition at line 268 of file types.h.

◆ ObjectType

Object type, matches the bitfield in nwscript.nss.

Enumerator
kObjectTypeCreature 
kObjectTypeItem 
kObjectTypeTrigger 
kObjectTypeDoor 
kObjectTypeAreaOfEffect 
kObjectTypeWaypoint 
kObjectTypePlaceable 
kObjectTypeStore 
kObjectTypeEncounter 
kObjectTypeInvalid 
kObjectTypeAll 
kObjectTypeMAX 
kObjectTypeArea 

Fake value for an area object.

kObjectTypeModule 

Fake value for a module object.

kObjectTypeSelf 

Fake value to describe the calling object in a script.

Definition at line 36 of file types.h.

◆ Script

Enumerator
kScriptAcquireItem 
kScriptUnacquireItem 
kScriptActivateItem 
kScriptEnter 
kScriptExit 
kScriptCutsceneAbort 
kScriptHeartbeat 
kScriptModuleLoad 
kScriptModuleStart 
kScriptPlayerChat 
kScriptPlayerDeath 
kScriptPlayerDying 
kScriptPlayerEquipItem 
kScriptPlayerUnequipItem 
kScriptPlayerLevelUp 
kScriptPlayerRest 
kScriptPlayerRespawn 
kScriptUserdefined 
kScriptUsed 
kScriptClick 
kScriptOpen 
kScriptClosed 
kScriptDamaged 
kScriptDeath 
kScriptDisarm 
kScriptLock 
kScriptUnlock 
kScriptAttacked 
kScriptSpellCastAt 
kScriptTrapTriggered 
kScriptDialogue 
kScriptDisturbed 
kScriptEndRound 
kScriptBlocked 
kScriptNotice 
kScriptRested 
kScriptSpawn 
kScriptFailToOpen 
kScriptMAX 

Definition at line 57 of file types.h.

◆ SFFSounds

Enumerator
kSSFAttack 
kSSFBattlecry1 
kSSFBattlecry2 
kSSFBattlecry3 
kSSFHealMe 
kSSFHelp 
kSSFEnemiesSighted 
kSSFFlee 
kSSFTaunt 
kSSFGuardMe 
kSSFHold 
kSSFAttackGrunt1 
kSSFAttackGrunt2 
kSSFAttackGrunt3 
kSSFPainGrunt1 
kSSFPainGrunt2 
kSSFPainGrunt3 
kSSFNearDeath 
kSSFDeath 
kSSFPoisoned 
kSSFSpellFailed 
kSSFWeaponIneffective 
kSSFFollowMe 
kSSFLookHere 
kSSFGroupParty 
kSSFMoveOver 
kSSFPickLock 
kSSFSearch 
kSSFGoStealthy 
kSSFCanDo 
kSSFCannotDo 
kSSFTaskComplete 
kSSFEncumbered 
kSSFSelected 
kSSFHello 
kSSFYes 
kSSFNo 
kSSFStop 
kSSFRest 
kSSFBored 
kSSFGoodbye 
kSSFThankYou 
kSSFLaugh 
kSSFCuss 
kSSFCheer 
kSSFSomethingToSay 
kSSFGoodIdea 
kSSFBadIdea 
kSSFThreaten 

Definition at line 180 of file types.h.

◆ TalkAnimation

Enumerator
kTalkAnimationDefault 
kTalkAnimationTaunt 
kTalkAnimationGreeting 
kTalkAnimationListen 
kTalkAnimationWorship 
kTalkAnimationSalute 
kTalkAnimationBow 
kTalkAnimationSteal 
kTalkAnimationNormal 
kTalkAnimationPleading 
kTalkAnimationForceful 
kTalkAnimationLaugh 
kTalkAnimationVictoryFighter 
kTalkAnimationVictoryMage 
kTalkAnimationVictoryThief 
kTalkAnimationLookFar 
kTalkAnimationDrink 
kTalkAnimationRead 
kTalkAnimationNone 

Definition at line 158 of file types.h.

Function Documentation

◆ compPtrItem()

bool Engines::NWN::compPtrItem ( WidgetListItem itemA,
WidgetListItem itemB 
)

Definition at line 48 of file listbox.cpp.

Referenced by Engines::NWN::WidgetListBox::sortByTag().

Here is the caller graph for this function:

◆ createEngineProbes() [1/2]

void Engines::NWN::createEngineProbes ( std::list< const EngineProbe *> &  probes)

Create all probes for this engine and add them to the list.

◆ createEngineProbes() [2/2]

void Engines::NWN::createEngineProbes ( std::list< const ::Engines::EngineProbe *> &  probes)

Definition at line 135 of file probes.cpp.

Referenced by createEngineProbes().

Here is the caller graph for this function:

◆ createNewGameFog()

static Graphics::Aurora::Model* Engines::NWN::createNewGameFog ( )
static

Definition at line 150 of file newgamefog.cpp.

References Common::ScopedPtrBase< T, Deallocator >::release().

Referenced by Engines::NWN::NewGameFogs::NewGameFogs().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getAlignmentGoodEvil()

Alignment Engines::NWN::getAlignmentGoodEvil ( uint8  goodEvil)

Definition at line 42 of file types.cpp.

References kAlignmentEvil, kAlignmentGood, and kAlignmentNeutral.

Referenced by Engines::NWN::Functions::getAlignmentGoodEvil().

Here is the caller graph for this function:

◆ getAlignmentLawChaos()

Alignment Engines::NWN::getAlignmentLawChaos ( uint8  lawChaos)

Definition at line 33 of file types.cpp.

References kAlignmentChaotic, kAlignmentLawful, and kAlignmentNeutral.

Referenced by Engines::NWN::Functions::getAlignmentLawChaos().

Here is the caller graph for this function:

◆ getCreatureAnimationName()

Common::UString Engines::NWN::getCreatureAnimationName ( Animation  animation,
bool  simple = false 
)

Return the name (as found in the models) of a specific creature animation.

Parameters
simpleIf true, return the name as found in simple, non-player-type creatures. Otherwise, return the name as found in complex player-type creatures.

Definition at line 61 of file types.cpp.

References ARRAYSIZE, kAnimationFireForgetBow, kAnimationFireForgetDodgeDuck, kAnimationFireForgetDodgeSide, kAnimationFireForgetDrink, kAnimationFireForgetGreeting, kAnimationFireForgetHeadTurnLeft, kAnimationFireForgetHeadTurnRight, kAnimationFireForgetPauseBored, kAnimationFireForgetPauseScratchHead, kAnimationFireForgetRead, kAnimationFireForgetSalute, kAnimationFireForgetSpasm, kAnimationFireForgetSteal, kAnimationFireForgetTaunt, kAnimationFireForgetVictory1, kAnimationFireForgetVictory2, kAnimationFireForgetVictory3, kAnimationLoopingConjure1, kAnimationLoopingConjure2, kAnimationLoopingCustom1, kAnimationLoopingCustom10, kAnimationLoopingCustom2, kAnimationLoopingCustom3, kAnimationLoopingCustom4, kAnimationLoopingCustom5, kAnimationLoopingCustom6, kAnimationLoopingCustom7, kAnimationLoopingCustom8, kAnimationLoopingCustom9, kAnimationLoopingDeadBack, kAnimationLoopingDeadFront, kAnimationLoopingGetLow, kAnimationLoopingGetMid, kAnimationLoopingListen, kAnimationLoopingLookFar, kAnimationLoopingMeditate, kAnimationLoopingPause, kAnimationLoopingPause2, kAnimationLoopingPauseDrunk, kAnimationLoopingPauseTired, kAnimationLoopingSitChair, kAnimationLoopingSitCross, kAnimationLoopingSpasm, kAnimationLoopingTalkForceful, kAnimationLoopingTalkLaughing, kAnimationLoopingTalkNormal, kAnimationLoopingTalkPleading, kAnimationLoopingWorship, Engines::NWN::AnimationName::nameComplex, and Engines::NWN::AnimationName::nameSimple.

Referenced by Engines::NWN::Creature::playAnimation().

Here is the caller graph for this function:

◆ getCreatureTalkAnimationName()

Common::UString Engines::NWN::getCreatureTalkAnimationName ( TalkAnimation  animation)

Return the name (as found in the models) of a specific creature talk animation.

Definition at line 120 of file types.cpp.

References ARRAYSIZE, kTalkAnimationDefault, kTalkAnimationForceful, kTalkAnimationLaugh, kTalkAnimationNormal, kTalkAnimationPleading, and Engines::NWN::TalkAnimationName::name.

Referenced by Engines::NWN::Dialog::playAnimation().

Here is the caller graph for this function:

◆ getDoorAnimationName()

Common::UString Engines::NWN::getDoorAnimationName ( Animation  animation,
bool  alternate = false 
)

Return the name (as found in the models) of a specific door animation.

Parameters
alternateIf true, return the alternate animation name. This is only used for kAnimationDoorClose, where the actual animation might be different depending to which side the door is currently opened.

Definition at line 151 of file types.cpp.

References ARRAYSIZE, kAnimationDoorClose, kAnimationDoorDestroy, kAnimationDoorOpen1, kAnimationDoorOpen2, Engines::NWN::AnimationName::nameComplex, and Engines::NWN::AnimationName::nameSimple.

Referenced by Engines::NWN::Door::playAnimation().

Here is the caller graph for this function:

◆ getPlaceableAnimationName()

Common::UString Engines::NWN::getPlaceableAnimationName ( Animation  animation)

Return the name (as found in the models) of a specific placeable animation.

Definition at line 136 of file types.cpp.

References ARRAYSIZE, kAnimationPlaceableActivate, kAnimationPlaceableClose, kAnimationPlaceableDeactivate, kAnimationPlaceableOpen, and Engines::NWN::AnimationName::nameComplex.

Referenced by Engines::NWN::Placeable::playAnimation().

Here is the caller graph for this function:

◆ isAnimationLooping()

bool Engines::NWN::isAnimationLooping ( Animation  animation)

Return true if the specified animation allows looping.

Definition at line 166 of file types.cpp.

References kAnimationLoopingCustom10, and kAnimationLoopingPause.

Referenced by Engines::NWN::Door::playAnimation(), Engines::NWN::Placeable::playAnimation(), Engines::NWN::Functions::playAnimation(), and Engines::NWN::Creature::playAnimation().

Here is the caller graph for this function:

◆ kDefaultACDodgeBonus()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultACDodgeBonus ( (int32 0)
static

◆ kDefaultACVsDamageTypeAll()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultACVsDamageTypeAll ( (int32 4103)
static

◆ kDefaultAlignmentAll()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultAlignmentAll ( (int32 0)
static

◆ kDefaultAttackBonusMisc()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultAttackBonusMisc ( (int32 0)
static

◆ kDefaultCameraTransitionTypeSnap()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultCameraTransitionTypeSnap ( (int32 0)
static

◆ kDefaultClassTypeInvalid()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultClassTypeInvalid ( (int32 255)
static

◆ kDefaultDamagePowerNormal()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultDamagePowerNormal ( (int32 0)
static

◆ kDefaultDamageTypeMagical()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultDamageTypeMagical ( (int32 8)
static

◆ kDefaultFadeSpeedMedium()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultFadeSpeedMedium ( 0.  01f)
static

◆ kDefaultFalse()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultFalse ( (int32 0)
static

◆ kDefaultFloat0_0()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultFloat0_0 ( 0.  0f)
static

◆ kDefaultFloat180_0()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultFloat180_0 ( 180.  0f)
static

◆ kDefaultFloat1_0()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultFloat1_0 ( 1.  0f)
static

◆ kDefaultFloat2_0()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultFloat2_0 ( 2.  0f)
static

◆ kDefaultFloat30_0()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultFloat30_0 ( 30.  0f)
static

◆ kDefaultFloat40_0()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultFloat40_0 ( 40.  0f)
static

◆ kDefaultFloatMinus1_0()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultFloatMinus1_0 ( - 1.  0f)
static

◆ kDefaultGenderMale()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultGenderMale ( (int32 0)
static

◆ kDefaultInt0()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultInt0 ( (int32 0)
static

◆ kDefaultInt1()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultInt1 ( (int32 1)
static

◆ kDefaultInt100()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultInt100 ( (int32 100)
static

◆ kDefaultInt18()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultInt18 ( (int32 18)
static

◆ kDefaultInt9()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultInt9 ( (int32 9)
static

◆ kDefaultIntMinus1()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultIntMinus1 ( (int32) -  1)
static

◆ kDefaultIPConstUnlimitedAmmoBasic()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultIPConstUnlimitedAmmoBasic ( (int32 1)
static

◆ kDefaultMetaMagicAny()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultMetaMagicAny ( (int32 255)
static

◆ kDefaultMissChanceTypeNormal()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultMissChanceTypeNormal ( (int32 0)
static

◆ kDefaultNameFirstGenericMale()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultNameFirstGenericMale ( (int32) -  1)
static

◆ kDefaultObjectTypeAll()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultObjectTypeAll ( (int32 32767)
static

◆ kDefaultObjectTypeCreature()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultObjectTypeCreature ( (int32 1)
static

◆ kDefaultObjectTypeInvalid()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultObjectTypeInvalid ( (int32 32767)
static

◆ kDefaultPackageInvalid()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultPackageInvalid ( (int32 255)
static

◆ kDefaultPersistentZoneActive()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultPersistentZoneActive ( (int32 0)
static

◆ kDefaultProjectilePathTypeDefault()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultProjectilePathTypeDefault ( (int32 0)
static

◆ kDefaultSavingThrowTypeAll()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultSavingThrowTypeAll ( (int32 0)
static

◆ kDefaultSavingThrowTypeNone()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultSavingThrowTypeNone ( (int32 0)
static

◆ kDefaultSpellAllSpells()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultSpellAllSpells ( (int32) -  1)
static

◆ kDefaultSpellSchoolGeneral()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultSpellSchoolGeneral ( (int32 0)
static

◆ kDefaultStandardFactionHostile()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultStandardFactionHostile ( (int32 0)
static

◆ kDefaultStringEmpty()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultStringEmpty ( Common::UString("")  )
static

◆ kDefaultTalkVolumeTalk()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultTalkVolumeTalk ( (int32 0)
static

◆ kDefaultTrue()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultTrue ( (int32 1)
static

◆ kDefaultUseCreatureLevel()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultUseCreatureLevel ( (int32 0)
static

◆ kDefaultValueObjectInvalid()

static NWN::Object Engines::NWN::kDefaultValueObjectInvalid ( kObjectTypeInvalid  )
static

◆ kDefaultValueObjectSelf()

static NWN::Object Engines::NWN::kDefaultValueObjectSelf ( kObjectTypeSelf  )
static

◆ kDefaultVector0()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultVector0 ( 0.  0f,
0.  0f,
0.  0f 
)
static

◆ kDefaultVFXNone()

static const Aurora::NWScript::Variable Engines::NWN::kDefaultVFXNone ( (int32) -  1)
static

Variable Documentation

◆ kActionInvalid

const uint32 Engines::NWN::kActionInvalid = 0xFFFF
static

Definition at line 276 of file types.h.

◆ kBodyPartFields

const char* const Engines::NWN::kBodyPartFields[]
static
Initial value:
= {
"Appearance_Head",
"BodyPart_Neck" ,
"BodyPart_Torso" ,
"BodyPart_Pelvis",
"BodyPart_Belt" ,
"ArmorPart_RFoot", "BodyPart_LFoot" ,
"BodyPart_RShin" , "BodyPart_LShin" ,
"BodyPart_LThigh", "BodyPart_RThigh",
"BodyPart_RFArm" , "BodyPart_LFArm" ,
"BodyPart_RBicep", "BodyPart_LBicep",
"BodyPart_RShoul", "BodyPart_LShoul",
"BodyPart_RHand" , "BodyPart_LHand"
}

Definition at line 732 of file creature.cpp.

Referenced by Engines::NWN::Creature::loadProperties().

◆ kBodyPartModels

const char* const Engines::NWN::kBodyPartModels[]
static
Initial value:
= {
"head" ,
"neck" ,
"chest" ,
"pelvis",
"belt" ,
"footr" , "footl" ,
"shinr" , "shinl" ,
"legl" , "legr" ,
"forer" , "forel" ,
"bicepr", "bicepl",
"shor" , "shol" ,
"handr" , "handl"
}

Definition at line 478 of file creature.cpp.

Referenced by Engines::NWN::Creature::getPartModels().

◆ kBodyPartNodes

const char* const Engines::NWN::kBodyPartNodes[]
static
Initial value:
= {
"head_g" ,
"neck_g" ,
"torso_g" ,
"pelvis_g" ,
"belt_g" ,
"rfoot_g" , "lfoot_g" ,
"rshin_g" , "lshin_g" ,
"lthigh_g" , "rthigh_g" ,
"rforearm_g" , "lforearm_g" ,
"rbicep_g" , "lbicep_g" ,
"rshoulder_g", "lshoulder_g",
"rhand_g" , "lhand_g"
}

Definition at line 494 of file creature.cpp.

Referenced by Engines::NWN::Creature::loadModel().

◆ kButtonModels

const char* const Engines::NWN::kButtonModels[]
static
Initial value:
= {
"pb_but_map", "pb_but_jour", "pb_but_rest" , "pb_but_opts",
"pb_but_inv", "pb_but_char", "pb_but_spell", "pb_but_pvp"
}

Definition at line 49 of file partyleader.cpp.

Referenced by Engines::NWN::PartyLeader::PartyLeader().

◆ kButtonTags

const char* const Engines::NWN::kButtonTags[]
static
Initial value:
= {
"ButtonMap" , "ButtonJournal" , "ButtonRest" , "ButtonOptions",
"ButtonInventory", "ButtonCharacter", "ButtonSpells", "ButtonPlayers"
}

Definition at line 44 of file partyleader.cpp.

Referenced by Engines::KotOR::Menu::Menu(), and Engines::NWN::PartyLeader::PartyLeader().

◆ kButtonTooltips

const uint32 Engines::NWN::kButtonTooltips[]
static
Initial value:
= {
7036, 7037, 8105, 7040, 7035, 7039, 7038, 8106
}

Definition at line 54 of file partyleader.cpp.

Referenced by Engines::NWN::PartyLeader::PartyLeader().

◆ kClassInvalid

const uint32 Engines::NWN::kClassInvalid = 255
static

◆ kDefaultValueObjectInvalid

const Aurora::NWScript::Variable kDefaultObjectInvalid& Engines::NWN::kDefaultValueObjectInvalid
static

Definition at line 96 of file function_tables.h.

◆ kDefaultValueObjectSelf

const Aurora::NWScript::Variable kDefaultObjectSelf& Engines::NWN::kDefaultValueObjectSelf
static

Definition at line 97 of file function_tables.h.

◆ kRaceInvalid

const uint32 Engines::NWN::kRaceInvalid = 28
static

◆ kScriptNames

const ScriptName Engines::NWN::kScriptNames[]
static

Definition at line 49 of file container.cpp.

Referenced by Engines::NWN::ScriptContainer::readScripts().

◆ kStringEmpty

const Common::UString Engines::NWN::kStringEmpty
static

◆ texturePacks

const char* const Engines::NWN::texturePacks[4][4]
static
Initial value:
= {
{ "textures_tpc.erf", "tiles_tpc.erf", "xp1_tex_tpc.erf", "xp2_tex_tpc.erf" },
{ "textures_tpa.erf", "tiles_tpc.erf", "xp1_tex_tpc.erf", "xp2_tex_tpc.erf" },
{ "textures_tpa.erf", "tiles_tpb.erf", "xp1_tex_tpb.erf", "xp2_tex_tpb.erf" },
{ "textures_tpa.erf", "tiles_tpa.erf", "xp1_tex_tpa.erf", "xp2_tex_tpa.erf" }
}

Definition at line 603 of file module.cpp.

Referenced by Engines::NWN::Module::loadTexturePack().