helapordo 1.4.12
Loading...
Searching...
No Matches
Equip Struct Reference

Represents the entity initialised from a equipClass. More...

#include <game_core.h>

Collaboration diagram for Equip:

Data Fields

equipClass class
 Defines which kind of equipClass the instance relates to.
 
Equipzone type
 Defines which kind of Equipzone the instance relates to.
 
char name [25]
 Name string.
 
char desc [50]
 Description string.
 
int qty
 Defines how many copies of the equipClass the instance holds.
 
int equipped
 Flag indicating the instance as currently in use if set.
 
int level
 Level value.
 
int atk
 equip boost atk value
 
int def
 equip boost def value
 
int vel
 equip boost vel value
 
int enr
 equip boost enr value
 
int bonus
 Defines how many pointers to bonus functions the instance holds.
 
int perksCount
 Defines how many Perk pointers the instance holds.
 
int cost
 Helps giving a coin value when selling or buying the equip.
 
quality qual
 Defines which kind of quality the instances relates to.
 
void(* equip_fun )(Fighter *, Enemy *, Path *)
 Pointer to temp boost function applying to Enemy, takes a int.
 
Perkperks [EQUIPPERKSMAX]
 Array of Perk of the instance.
 
char sprite [8][20]
 Char matrix to hold the encoded sprite.
 

Detailed Description

Represents the entity initialised from a equipClass.

See also
equipClass
Equipzone
quality

Field Documentation

◆ atk

int Equip::atk

equip boost atk value

◆ bonus

int Equip::bonus

Defines how many pointers to bonus functions the instance holds.

◆ class

equipClass Equip::class

Defines which kind of equipClass the instance relates to.

◆ cost

int Equip::cost

Helps giving a coin value when selling or buying the equip.

◆ def

int Equip::def

equip boost def value

◆ desc

char Equip::desc[50]

Description string.

◆ enr

int Equip::enr

equip boost enr value

◆ equip_fun

void(* Equip::equip_fun) (Fighter *, Enemy *, Path *)

Pointer to temp boost function applying to Enemy, takes a int.

◆ equipped

int Equip::equipped

Flag indicating the instance as currently in use if set.

◆ level

int Equip::level

Level value.

◆ name

char Equip::name[25]

Name string.

◆ perks

Perk* Equip::perks[EQUIPPERKSMAX]

Array of Perk of the instance.

◆ perksCount

int Equip::perksCount

Defines how many Perk pointers the instance holds.

◆ qty

int Equip::qty

Defines how many copies of the equipClass the instance holds.

Should be <=1, >=0

◆ qual

quality Equip::qual

Defines which kind of quality the instances relates to.

◆ sprite

char Equip::sprite[8][20]

Char matrix to hold the encoded sprite.

◆ type

Equipzone Equip::type

Defines which kind of Equipzone the instance relates to.

◆ vel

int Equip::vel

equip boost vel value


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