Horizon Official Technical Documentation
GridDefinitions.hpp File Reference
+ Include dependency graph for GridDefinitions.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Horizon
 
namespace  Horizon::Zone
 
namespace  Horizon::Zone::Units
 

Macros

#define MAX_CELLS_PER_GRID   32
 
#define MAX_GRIDS_PER_MAP   14
 
#define MAX_CELLS_PER_MAP   MAX_CELLS_PER_GRID * MAX_GRIDS_PER_MAP
 
#define unit_ns(e)   Horizon::Zone::Units::e
 

Typedefs

typedef GridHolder< AllUnitTypes > GridHolderType
 
typedef Coordinates< MAX_GRIDS_PER_MAPGridCoords
 
typedef Coordinates< MAX_CELLS_PER_MAPMapCoords
 
typedef GridReferenceContainer< AllUnitTypes > MapUnitContainer
 

Enumerations

enum  grid_unit_skill_use_notification_type { GRID_UNIT_SKILL_USE_NOTIFY_CASTTIME , GRID_UNIT_SKILL_USE_NOTIFY_SUCCESS_DAMAGE , GRID_UNIT_SKILL_USE_NOTIFY_SUCCESS_NO_DAMAGE }
 

Functions

typedef TYPELIST_9 (unit_ns(Player), unit_ns(NPC), unit_ns(Elemental), unit_ns(Homunculus), unit_ns(Mercenary), unit_ns(Pet), unit_ns(Monster), unit_ns(Skill), unit_ns(Item)) AllUnitTypes
 

Macro Definition Documentation

◆ MAX_CELLS_PER_GRID

#define MAX_CELLS_PER_GRID   32

◆ MAX_CELLS_PER_MAP

#define MAX_CELLS_PER_MAP   MAX_CELLS_PER_GRID * MAX_GRIDS_PER_MAP

◆ MAX_GRIDS_PER_MAP

#define MAX_GRIDS_PER_MAP   14

◆ unit_ns

#define unit_ns (   e)    Horizon::Zone::Units::e

Typedef Documentation

◆ GridCoords

◆ GridHolderType

typedef GridHolder<AllUnitTypes> GridHolderType

◆ MapCoords

◆ MapUnitContainer

Enumeration Type Documentation

◆ grid_unit_skill_use_notification_type

Enumerator
GRID_UNIT_SKILL_USE_NOTIFY_CASTTIME 
GRID_UNIT_SKILL_USE_NOTIFY_SUCCESS_DAMAGE 
GRID_UNIT_SKILL_USE_NOTIFY_SUCCESS_NO_DAMAGE 
88{
92};
@ GRID_UNIT_SKILL_USE_NOTIFY_CASTTIME
Definition: GridDefinitions.hpp:89
@ GRID_UNIT_SKILL_USE_NOTIFY_SUCCESS_DAMAGE
Definition: GridDefinitions.hpp:90
@ GRID_UNIT_SKILL_USE_NOTIFY_SUCCESS_NO_DAMAGE
Definition: GridDefinitions.hpp:91

Function Documentation

◆ TYPELIST_9()

typedef TYPELIST_9 ( unit_ns(Player ,
unit_ns(NPC)  ,
unit_ns(Elemental)  ,
unit_ns(Homunculus)  ,
unit_ns(Mercenary)  ,
unit_ns(Pet)  ,
unit_ns(Monster)  ,
unit_ns(Skill)  ,
unit_ns(Item)   
)