aboutsummaryrefslogtreecommitdiff
path: root/gst/info.h
diff options
context:
space:
mode:
authorjacopo grandi <jak.sk8@hotmail.it>2021-02-25 16:36:55 +0100
committerjacopo grandi <jak.sk8@hotmail.it>2021-02-25 16:36:55 +0100
commit2f345b1d6e130177efe4fa47d5b2bd11f352ce85 (patch)
tree3db145e227d3c90d683f0ca021f066e37c92154f /gst/info.h
parente8bc1eab9a45b8893701e3acbd008fe259c53a4c (diff)
guillotined dead code
Diffstat (limited to 'gst/info.h')
-rw-r--r--gst/info.h86
1 files changed, 1 insertions, 85 deletions
diff --git a/gst/info.h b/gst/info.h
index 1e22ea6..eab1a51 100644
--- a/gst/info.h
+++ b/gst/info.h
@@ -77,102 +77,18 @@ typedef struct {
int8_t levels[35];
} info_unit;
-typedef struct {
- char name[32];
- int damage_type;
- float weight[MAXLEVEL];
- float cooldown[MAXLEVEL];
- float damage[MAXLEVEL];
- float range[MAXLEVEL];
- float aoe[MAXLEVEL];
- int knockback[MAXLEVEL];
- float damage_battery[MAXLEVEL];
- int stun[MAXLEVEL];
- float reduce_armor[7][MAXLEVEL];
- float upkeep[MAXLEVEL];
- float charge_per_shot[MAXLEVEL];
-} info_weapon;
-
-typedef struct {
- char name[32];
- int slot_weapon[MAXLEVEL];
- int slot_armor[MAXLEVEL];
- int slot_aug[MAXLEVEL];
- float weight_max[MAXLEVEL];
- float hp[MAXLEVEL];
- float speed[MAXLEVEL];
- float upkeep[MAXLEVEL];
-} info_chassis;
-
-typedef struct {
- char name[32];
- float weight[MAXLEVEL];
- float capacity[MAXLEVEL];
- int recharge[MAXLEVEL];
-} info_battery;
-
-typedef struct {
- char name[32];
- float weight[MAXLEVEL];
- float armor[7][MAXLEVEL];
- float upkeep[MAXLEVEL];
-} info_armor;
-
-typedef struct {
- char name[32];
- float weight[MAXLEVEL];
- float add_damage[7][MAXLEVEL];
- float add_armor[7][MAXLEVEL];
- float add_range[MAXLEVEL];
- float add_cooldown[MAXLEVEL];
- float add_speed[MAXLEVEL];
- float add_hp[MAXLEVEL];
- float add_capacity[MAXLEVEL];
- float upkeep[MAXLEVEL];
-} info_aug;
-
-typedef struct {
- char name[32];
- float upkeep[MAXLEVEL];
-} info_brain;
typedef struct {
char damage_types[7][32];
info_unit templates[MAXTEMPLATES];
int templateslen;
- info_weapon weapons[64];
- int weaponslen;
- info_chassis chassis[32];
- int chassislen;
- info_battery batteries[32];
- int batterieslen;
- info_armor armors[32];
- int armorslen;
- info_aug augs[32];
- int augslen;
- info_brain brains[32];
- int brainslen;
stats_comp *stats[6];
int statslen[6];
} infos;
void info_unit_init (info_unit *u);
-float info_unit_get_capacity (infos *info, info_unit *u);
-float info_unit_get_upkeep (infos *info, info_unit *u);
-float info_unit_get_weight (infos *info, info_unit *u);
-float info_unit_get_dps (infos *info, info_unit *u);
-float info_unit_get_health(infos *info, info_unit *u);
-float info_unit_get_speed(infos *info, info_unit *u);
-float info_unit_get_damage(infos *info, info_unit *u, int w);
-float info_unit_get_charge_per_shot(infos *info, info_unit *u, int w);
-float info_unit_get_damage_target(infos *info, info_unit *u, int w,
- info_unit *t);
-float info_unit_get_cooldown(infos *info, info_unit *u, int w);
-float info_unit_get_range(infos *info, info_unit *u, int w);
-float info_unit_get_maxrange(infos *info, info_unit *u);
-float info_unit_get_armor(infos *info, info_unit *u, int d);
-float info_unit_get_cost(infos *info, info_unit *u);
+
int stats_frame_sprintf (infos *info, stats_frame *frame, char arr[][64]);
int stats_weapon_sprintf (infos *info, stats_weapon *weap, char arr[][64]);