global_actors.h File Reference

Header file for global game actors. More...

#include <utility>
#include "defs.h"
#include "utils.h"

Include dependency graph for global_actors.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  hoa_global

Classes

class  hoa_global::GlobalActor
 Represents an actor that can participate in battles. More...
class  hoa_global::GlobalAttackPoint
 Represents the "attack points" present on an actor. More...
class  hoa_global::GlobalCharacter
 Represents playable game characters. More...
class  hoa_global::GlobalCharacterGrowth
 A container class for tracking the growth of a character. More...
class  hoa_global::GlobalEnemy
 Represents those enemies that fight in battles. More...
class  hoa_global::GlobalParty
 Represents a party of actors. More...
class  hoa_global::GlobalTarget
 Represents a target for an item, action, or skill. More...

Enumerations

Target Types
Enum values used for declaring the type of target of items, skills, and actions.

enum  hoa_global::GLOBAL_TARGET {
  hoa_global::GLOBAL_TARGET_INVALID = -1, hoa_global::GLOBAL_TARGET_ATTACK_POINT = 0, hoa_global::GLOBAL_TARGET_ACTOR = 1, hoa_global::GLOBAL_TARGET_PARTY = 2,
  hoa_global::GLOBAL_TARGET_TOTAL = 3
}
GlobalItem and GlobalSkill Usage Cases
Enum values used for identification of different game object types

enum  hoa_global::GLOBAL_USE {
  hoa_global::GLOBAL_USE_INVALID = -1, hoa_global::GLOBAL_USE_MENU = 0, hoa_global::GLOBAL_USE_BATTLE = 1, hoa_global::GLOBAL_USE_ALL = 2,
  hoa_global::GLOBAL_USE_TOTAL = 3
}

Variables

Game Character IDs
Integers that are used for identification of characters These series of constants are used as bit-masks for determining things such as if the character may use a certain item. Only one bit should be set for each character ID.

const uint32 hoa_global::GLOBAL_CHARACTER_ALL = 0xFFFFFFFF
const uint32 hoa_global::GLOBAL_CHARACTER_CLAUDIUS = 0x00000001
const uint32 hoa_global::GLOBAL_CHARACTER_INVALID = 0x00000000
const uint32 hoa_global::GLOBAL_CHARACTER_LAILA = 0x00000002
Character Attack Point Positions
Intergers that represent the location of the four attack points on characters

const uint32 hoa_global::GLOBAL_POSITION_ARMS = 2
const uint32 hoa_global::GLOBAL_POSITION_HEAD = 0
const uint32 hoa_global::GLOBAL_POSITION_LEGS = 3
const uint32 hoa_global::GLOBAL_POSITION_TORSO = 1


Detailed Description

Header file for global game actors.

****************************************************************************

Author:
Tyler Olsen, roots@allacrost.org
This file contains the implementation of "actors", which are living entities in the game (characters and enemies, but not NPCs). It also contains classes that are closely related to the implementation of actors

Definition in file global_actors.h.


Generated on Fri Jul 6 23:11:45 2007 for Hero of Allacrost by  doxygen 1.5.1