Atrinik Client 2.5
include/player.h
Go to the documentation of this file.
00001 /************************************************************************
00002 *            Atrinik, a Multiplayer Online Role Playing Game            *
00003 *                                                                       *
00004 *    Copyright (C) 2009-2011 Alex Tokar and Atrinik Development Team    *
00005 *                                                                       *
00006 * Fork from Daimonin (Massive Multiplayer Online Role Playing Game)     *
00007 * and Crossfire (Multiplayer game for X-windows).                       *
00008 *                                                                       *
00009 * This program is free software; you can redistribute it and/or modify  *
00010 * it under the terms of the GNU General Public License as published by  *
00011 * the Free Software Foundation; either version 2 of the License, or     *
00012 * (at your option) any later version.                                   *
00013 *                                                                       *
00014 * This program is distributed in the hope that it will be useful,       *
00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00017 * GNU General Public License for more details.                          *
00018 *                                                                       *
00019 * You should have received a copy of the GNU General Public License     *
00020 * along with this program; if not, write to the Free Software           *
00021 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.             *
00022 *                                                                       *
00023 * The author can be reached at admin@atrinik.org                        *
00024 ************************************************************************/
00025 
00030 #ifndef PLAYER_H
00031 #define PLAYER_H
00032 
00038 #define GENDER_NEUTER 0
00039 
00040 #define GENDER_MALE 1
00041 
00042 #define GENDER_FEMALE 2
00043 
00044 #define GENDER_HERMAPHRODITE 3
00045 
00046 #define GENDER_MAX 4
00047 
00050 typedef enum _player_doll_enum
00051 {
00052     PDOLL_ARMOUR,
00053     PDOLL_HELM,
00054     PDOLL_GIRDLE,
00055     PDOLL_BOOT,
00056     PDOLL_RHAND,
00057     PDOLL_LHAND,
00058     PDOLL_RRING,
00059     PDOLL_LRING,
00060     PDOLL_BRACER,
00061     PDOLL_AMULET,
00062     PDOLL_SKILL_ITEM,
00063     PDOLL_WAND,
00064     PDOLL_BOW,
00065     PDOLL_GAUNTLET,
00066     PDOLL_ROBE,
00067     PDOLL_LIGHT,
00068 
00069     /* Must be last element */
00070     PDOLL_INIT
00071 } _player_doll_enum;
00072 
00074 typedef struct _player_doll_pos
00075 {
00077     int xpos;
00078 
00080     int ypos;
00081 } _player_doll_pos;
00082 
00083 const char *gender_noun[GENDER_MAX];
00084 
00089 enum
00090 {
00091     READY_OBJ_ARROW,
00092     READY_OBJ_THROW,
00093     READY_OBJ_MAX
00094 };
00095 
00096 #endif