Atrinik Client 2.5
include/server_files.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 SERVER_FILES_H
00031 #define SERVER_FILES_H
00032 
00036 enum
00037 {
00039     SERVER_FILE_UNUSED4,
00041     SERVER_FILE_UNUSED1,
00043     SERVER_FILE_UNUSED2,
00045     SERVER_FILE_UNUSED3,
00046     SERVER_FILE_BMAPS,
00047     SERVER_FILE_HFILES,
00048     SERVER_FILE_UPDATES,
00049     SERVER_FILE_SPELLS,
00050     SERVER_FILE_SETTINGS,
00051     SERVER_FILE_ANIMS,
00052     SERVER_FILE_EFFECTS,
00053     SERVER_FILE_SKILLS,
00054 
00056     SERVER_FILES_MAX
00057 };
00058 
00060 typedef struct server_files_struct
00061 {
00063     uint8 loaded;
00064 
00072     sint8 update;
00073 
00075     size_t size;
00076 
00078     unsigned long crc32;
00079 } server_files_struct;
00080 
00081 #endif