From 02e55b0647eb5c631e7d7669a13fd0d47ec26c15 Mon Sep 17 00:00:00 2001 From: jacopo grandi Date: Thu, 4 Mar 2021 12:40:52 +0100 Subject: morning fixes and bruteforce unit generation --- gst/info.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gst/info.h') diff --git a/gst/info.h b/gst/info.h index e0d784a..4f04a34 100644 --- a/gst/info.h +++ b/gst/info.h @@ -90,9 +90,12 @@ typedef struct { } infos; void info_unit_init (info_unit *u); +void info_unit_printf (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]); +void stats_unit_printf (infos *info, stats_unit *u); + void stats_unit_compute (infos *info, info_unit *u, stats_unit *base); float stats_compute_damage (stats_weapon *weapon, stats_frame *frame, @@ -104,6 +107,7 @@ void info_load (infos *info); void info_save_templates (infos *info, char *filename); void info_template_add (infos *info, info_unit *temp); +void info_template_rm (infos *info, int n); #include "units.h" -- cgit v1.2.3-54-g00ecf