diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-20 22:16:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-20 22:16:03 +0300 |
commit | 8ed89ded1f45665fadd1e16ddc5d1b4962ad2182 (patch) | |
tree | e0373525405c821800fb845a3806d039deb93624 /src/net/eathena | |
parent | 99df456164cbb994e2d789c25b193074476a97a2 (diff) | |
download | plus-8ed89ded1f45665fadd1e16ddc5d1b4962ad2182.tar.gz plus-8ed89ded1f45665fadd1e16ddc5d1b4962ad2182.tar.bz2 plus-8ed89ded1f45665fadd1e16ddc5d1b4962ad2182.tar.xz plus-8ed89ded1f45665fadd1e16ddc5d1b4962ad2182.zip |
Move net sprite defines into separate file.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/beinghandler.cpp | 1 | ||||
-rw-r--r-- | src/net/eathena/charserverhandler.cpp | 1 | ||||
-rw-r--r-- | src/net/eathena/protocol.h | 19 | ||||
-rw-r--r-- | src/net/eathena/sprite.h | 45 |
4 files changed, 47 insertions, 19 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp index 136f19b03..e32ced211 100644 --- a/src/net/eathena/beinghandler.cpp +++ b/src/net/eathena/beinghandler.cpp @@ -38,6 +38,7 @@ #include "net/eathena/messageout.h" #include "net/eathena/protocol.h" +#include "net/eathena/sprite.h" #include "resources/iteminfo.h" diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp index cd7496086..15a122b9e 100644 --- a/src/net/eathena/charserverhandler.cpp +++ b/src/net/eathena/charserverhandler.cpp @@ -35,6 +35,7 @@ #include "net/eathena/messageout.h" #include "net/eathena/network.h" #include "net/eathena/protocol.h" +#include "net/eathena/sprite.h" #include "resources/iteminfo.h" diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index dfe3cc979..598f62101 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -49,25 +49,6 @@ namespace EAthena }; } // namespace EAthena -enum -{ - SPRITE_BASE = 0, - SPRITE_SHOE, - SPRITE_BOTTOMCLOTHES, - SPRITE_TOPCLOTHES, - SPRITE_MISC1, - SPRITE_MISC2, - SPRITE_HAIR, - SPRITE_HAT, - SPRITE_CAPE, - SPRITE_GLOVES, - SPRITE_WEAPON, - SPRITE_SHIELD, - SPRITE_EVOL1, - SPRITE_EVOL2, - SPRITE_VECTOREND -}; - /********************************* * Packets from server to client * *********************************/ diff --git a/src/net/eathena/sprite.h b/src/net/eathena/sprite.h new file mode 100644 index 000000000..65bba131c --- /dev/null +++ b/src/net/eathena/sprite.h @@ -0,0 +1,45 @@ +/* + * The ManaPlus Client + * Copyright (C) 2004-2009 The Mana World Development Team + * Copyright (C) 2009-2010 The Mana Developers + * Copyright (C) 2011-2014 The ManaPlus Developers + * + * This file is part of The ManaPlus Client. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef NET_EATHENA_SPRITE_H +#define NET_EATHENA_SPRITE_H + +enum +{ + SPRITE_BASE = 0, + SPRITE_SHOE, + SPRITE_BOTTOMCLOTHES, + SPRITE_TOPCLOTHES, + SPRITE_MISC1, + SPRITE_MISC2, + SPRITE_HAIR, + SPRITE_HAT, + SPRITE_CAPE, + SPRITE_GLOVES, + SPRITE_WEAPON, + SPRITE_SHIELD, + SPRITE_EVOL1, + SPRITE_EVOL2, + SPRITE_VECTOREND +}; + +#endif // NET_EATHENA_SPRITE_H |