summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Baldeck <alexander@archlinux.org>2004-10-02 12:32:40 +0000
committerAlexander Baldeck <alexander@archlinux.org>2004-10-02 12:32:40 +0000
commit2e41ecaf9bfbbd8384095f0458cd20a6a0b5be9e (patch)
tree0569ab47c757932a16a1c796674ea9751d21a5ed
parentce46dce55e10d7c86752c549ce113ed9ce5bacdb (diff)
downloadmana-2e41ecaf9bfbbd8384095f0458cd20a6a0b5be9e.tar.gz
mana-2e41ecaf9bfbbd8384095f0458cd20a6a0b5be9e.tar.bz2
mana-2e41ecaf9bfbbd8384095f0458cd20a6a0b5be9e.tar.xz
mana-2e41ecaf9bfbbd8384095f0458cd20a6a0b5be9e.zip
*** empty log message ***
-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];