ScummVM API documentation
Ultima::Ultima4::Spell Struct Reference

Public Types

enum  Param {
  PARAM_NONE, PARAM_PLAYER, PARAM_DIR, PARAM_TYPEDIR,
  PARAM_PHASE, PARAM_FROMDIR
}
 
enum  SpecialEffects { SFX_NONE, SFX_INVERT, SFX_TREMOR }
 

Public Attributes

const char * _name
 
int _components
 
LocationContext _context
 
TransportContext _transportContext
 
SpellProc _spellFunc
 
Param _paramType
 
int _mp
 

Member Enumeration Documentation

◆ Param

Enumerator
PARAM_NONE 

None.

PARAM_PLAYER 

number of a player required

PARAM_DIR 

direction required

PARAM_TYPEDIR 

type of field and direction required (energy field)

PARAM_PHASE 

phase required (gate)

PARAM_FROMDIR 

direction from required (winds)

◆ SpecialEffects

Enumerator
SFX_NONE 

none

SFX_INVERT 

invert the screen (moongates, most normal spells)

SFX_TREMOR 

tremor spell


The documentation for this struct was generated from the following file: