Planeshift
Classes | Enumerations

entitylabels.h File Reference

#include <cstypes.h>
#include <csutil/ref.h>
#include <imesh/sprite2d.h>
#include <ivideo/fontserv.h>
#include <csutil/leakguard.h>
#include "pscelclient.h"
#include "util/genericevent.h"

Go to the source code of this file.

Classes

struct  psEntityLabels::labelRow
 This describes one row of text displayed on entity label. More...
class  psEntityLabels
 class psEntityLabels serves for creation and management of 2D sprites hanging above cel-entities that display entity names and possibly guilds More...

Enumerations

enum  psEntityLabelType {
  ENTITY_DEFAULT = 0, ENTITY_PLAYER, ENTITY_NPC, ENTITY_DEAD,
  ENTITY_GM1, ENTITY_GM25, ENTITY_TESTER, ENTITY_DEV,
  ENTITY_GROUP, ENTITY_GUILD, ENTITY_TYPES_AMOUNT
}
 

psRntityLabelType defines types of entities that have own color

More...
enum  psEntityLabelVisib { LABEL_ALWAYS = 0, LABEL_ONMOUSE, LABEL_ONTARGET, LABEL_NEVER }
 

psEntityLabelVisib defines possible visibility modes of labels

More...

Enumeration Type Documentation

psRntityLabelType defines types of entities that have own color

Enumerator:
ENTITY_DEFAULT 

default or unmovable entities

ENTITY_PLAYER 

players

ENTITY_NPC 

NPCs.

ENTITY_DEAD 

dead bodies

ENTITY_GM1 

GM 1.

ENTITY_GM25 

GM 2-5.

ENTITY_TESTER 

testers

ENTITY_DEV 

developers

ENTITY_GROUP 

grouped-with-you chars

ENTITY_GUILD 

grouped-with-you-and-the-same-guild chars

ENTITY_TYPES_AMOUNT 

amount of entity types

Definition at line 50 of file entitylabels.h.

psEntityLabelVisib defines possible visibility modes of labels

Enumerator:
LABEL_ALWAYS 

labels of all entities are visible

LABEL_ONMOUSE 

only label of the entity under mouse is visible

LABEL_ONTARGET 

only label of the targeted entity is visible

LABEL_NEVER 

no labels are visible

Definition at line 42 of file entitylabels.h.