summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/stats.cpp2
-rw-r--r--src/gui/stats.h12
-rw-r--r--src/main.h9
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
diff --git a/src/main.h b/src/main.h
index a5a97f0c..825cc7ef 100644
--- a/src/main.h
+++ b/src/main.h
@@ -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];