diff options
-rw-r--r-- | src/gui/stats.cpp | 2 | ||||
-rw-r--r-- | src/gui/stats.h | 12 | ||||
-rw-r--r-- | src/main.h | 9 |
3 files changed, 11 insertions, 12 deletions
diff --git a/src/gui/stats.cpp b/src/gui/stats.cpp index ae6d2730..5350fc50 100644 --- a/src/gui/stats.cpp +++ b/src/gui/stats.cpp @@ -25,6 +25,6 @@ #include <iostream> -int charstats_display(PLAYER_INFO * test) { +void charstats_display() { std::cout << "char_stats: " << std::endl; } diff --git a/src/gui/stats.h b/src/gui/stats.h index cb1ec56e..e99206bd 100644 --- a/src/gui/stats.h +++ b/src/gui/stats.h @@ -24,19 +24,9 @@ #ifndef _STATS_H #define _STATS_H -#include <allegro.h> #include "../main.h" #include "gui.h" -typedef struct { - int id; - char name[24]; - short hp, max_hp, sp, max_sp, lv; - int xp, zeny, job_xp, job_lv; - short statp, skillp; - char STR, AGI, VIT, INT, DEX, LUK; -} PLAYER_INFO; - -int charstats_display(PLAYER_INFO *); +void charstats_display(); #endif @@ -59,6 +59,15 @@ typedef struct { short online_users; } SERVER_INFO; +typedef struct { + int id; + char name[24]; + short hp, max_hp, sp, max_sp, lv; + int xp, zeny, job_xp, job_lv; + short statp, skillp; + char STR, AGI, VIT, INT, DEX, LUK; +} PLAYER_INFO; + extern BITMAP *playerset; extern DATAFILE *graphic, *emotions; extern char username[25]; |