naev 0.11.5
NPC_t Struct Reference

The bar NPC. More...

Data Fields

unsigned int id
 
NPCtype type
 
int priority
 
char * name
 
glTextureportrait
 
glTexturebackground
 
char * desc
 
union { 
 
   NPCmisnData   m 
 
   NPCevtData   e 
 
u 
 

Detailed Description

The bar NPC.

Definition at line 55 of file npc.c.

Field Documentation

◆ background

glTexture* NPC_t::background

Background of the NPC.

Definition at line 61 of file npc.c.

◆ desc

char* NPC_t::desc

Translated, human-readable NPC description.

Definition at line 62 of file npc.c.

◆ e

NPCevtData NPC_t::e

Event data (for event generated NPC).

Definition at line 65 of file npc.c.

◆ id

unsigned int NPC_t::id

ID of the NPC.

Definition at line 56 of file npc.c.

◆ m

NPCmisnData NPC_t::m

Mission information (for mission generated NPC).

Definition at line 64 of file npc.c.

◆ name

char* NPC_t::name

Translated, human-readable name of the NPC.

Definition at line 59 of file npc.c.

◆ portrait

glTexture* NPC_t::portrait

Portrait of the NPC.

Definition at line 60 of file npc.c.

◆ priority

int NPC_t::priority

NPC priority, 5 is average, 0 is highest, 10 is lowest.

Definition at line 58 of file npc.c.

◆ type

NPCtype NPC_t::type

Type of the NPC.

Definition at line 57 of file npc.c.

◆ [union]

union { ... } NPC_t::u

Type-specific data.


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