diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2004-11-19 15:58:06 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2004-11-19 15:58:06 +0000 |
commit | ff858300d4b303d4c48b2d915ac6cea30182aa8d (patch) | |
tree | 786c2808202abdae93d6a48c2272b66f28da6a94 /src/main.cpp | |
parent | a2cc2aa19f7dacdd719c9459cdfedb952e0c8d09 (diff) | |
download | mana-ff858300d4b303d4c48b2d915ac6cea30182aa8d.tar.gz mana-ff858300d4b303d4c48b2d915ac6cea30182aa8d.tar.bz2 mana-ff858300d4b303d4c48b2d915ac6cea30182aa8d.tar.xz mana-ff858300d4b303d4c48b2d915ac6cea30182aa8d.zip |
Hair styles
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 1cf0fa1c..17dfdd2e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -48,7 +48,7 @@ SERVER_INFO *server_info; PLAYER_INFO *char_info = new PLAYER_INFO; BITMAP *playerset, *hairset; -DATAFILE *graphic, *emotions; +DATAFILE *graphic, *emotions, *weaponset; char username[25]; char password[25]; @@ -207,7 +207,10 @@ void init_engine() { hairset = load_bitmap("./data/graphic/hairset.bmp", NULL); if(hairset==NULL) error("Unable to load hairset bitmap"); - + weaponset = load_datafile("./data/graphic/weapon.dat"); + if(weaponset==NULL) + error("Unable to load weaponset datafile"); + init_gui(buffer, "./data/Skin/aqua.skin"); state = LOGIN; } |