helapordo 1.4.12
|
Represents the entity initialised from a equipClass. More...
#include <game_core.h>
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. | |
Perk * | perks [EQUIPPERKSMAX] |
Array of Perk of the instance. | |
char | sprite [8][20] |
Char matrix to hold the encoded sprite. | |
Represents the entity initialised from a equipClass.
int Equip::atk |
equip boost atk value
int Equip::bonus |
Defines how many pointers to bonus functions the instance holds.
equipClass Equip::class |
Defines which kind of equipClass the instance relates to.
int Equip::cost |
Helps giving a coin value when selling or buying the equip.
int Equip::def |
equip boost def value
char Equip::desc[50] |
Description string.
int Equip::enr |
equip boost enr value
Pointer to temp boost function applying to Enemy, takes a int.
int Equip::equipped |
Flag indicating the instance as currently in use if set.
int Equip::level |
Level value.
char Equip::name[25] |
Name string.
Perk* Equip::perks[EQUIPPERKSMAX] |
Array of Perk of the instance.
int Equip::perksCount |
Defines how many Perk pointers the instance holds.
int Equip::qty |
Defines how many copies of the equipClass the instance holds.
Should be <=1, >=0
quality Equip::qual |
Defines which kind of quality the instances relates to.
char Equip::sprite[8][20] |
Char matrix to hold the encoded sprite.
Equipzone Equip::type |
Defines which kind of Equipzone the instance relates to.
int Equip::vel |
equip boost vel value