/* * fnames.h - Names of data files for Exult. * * Copyright (C) 1999 Jeffrey S. Freedman * Copyright (C) 2000-2001 The Exult Team * * 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 * (at your option) 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, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef FNAMES_H #define FNAMES_H 1 // This will get prepended with different things at runtime // depending on the OS #if defined(__MORPHOS__) || defined(AMIGA) #define USER_CONFIGURATION_FILE "PROGDIR:exult.cfg" #else #define USER_CONFIGURATION_FILE "exult.cfg" #endif #if (defined(MACOS) || defined(MACOSX)) && !defined(EXULT_DATADIR) #define EXULT_DATADIR "data" #endif /* * Here are the files we use: */ #define GAMEDAT "/" #define SHAPES_VGA "/shapes.vga" #define PATCH_SHAPES "/shapes.vga" #define FACES_VGA "/faces.vga" #define PATCH_FACES "/faces.vga" #define GUMPS_VGA "/gumps.vga" #define PATCH_GUMPS "/gumps.vga" #define FONTS_VGA "/fonts.vga" #define PATCH_FONTS "/fonts.vga" #define SPRITES_VGA "/sprites.vga" #define PATCH_SPRITES "/sprites.vga" #define MAINSHP_FLX "/mainshp.flx" #define ENDSHAPE_FLX "/endshape.flx" #define SHPDIMS "/shpdims.dat" #define PATCH_SHPDIMS "/shpdims.dat" #define TFA "/tfa.dat" #define PATCH_TFA "/tfa.dat" #define WGTVOL "/wgtvol.dat" #define PATCH_WGTVOL "/wgtvol.dat" #define U7CHUNKS "/u7chunks" #define PATCH_U7CHUNKS "/u7chunks" #define U7MAP "/u7map" #define PATCH_U7MAP "/u7map" #define TEXT_FLX "/text.flx" #define PATCH_TEXT "/text.flx" #define EXULTMSG "/exultmsg.txt" #define U7IFIX "/u7ifix" #define PATCH_U7IFIX "/u7ifix" #define U7IREG "/u7ireg" #define PALETTES_FLX "/palettes.flx" #define U7NBUF_DAT "/u7nbuf.dat" #define NPC_DAT "/npc.dat" #define MONSNPCS "/monsnpcs.dat" #define USEDAT "/usecode.dat" #define USEVARS "/usecode.var" #define FLAGINIT "/flaginit" #define GWINDAT "/gamewin.dat" #define GSCHEDULE "/schedule.dat" #define SCHEDULE_DAT "/schedule.dat" #define SHPDIMS_DAT "/shpdims.dat" #define INITGAME "/initgame.dat" #define PATCH_INITGAME "/initgame.dat" #define USECODE "/usecode" #define PATCH_USECODE "/usecode" #define POINTERS "/pointers.shp" #define PATCH_POINTERS "/pointers.shp" #define MAINMUS "/mt32mus.dat" #define MAINMUS_AD "/adlibmus.dat" #define INTROMUS "/intrordm.dat" #define INTROMUS_AD "/introadm.dat" #define XMIDI_MT "/xmidi.mt" #define U7SPEECH "/u7speech.spc" #define SISPEECH "/sispeech.spc" #define XFORMTBL "/xform.tbl" #define MONSTERS "/monsters.dat" #define PATCH_MONSTERS "/monsters.dat" #define EQUIP "/equip.dat" #define PATCH_EQUIP "/equip.dat" #define READY "/ready.dat" #define PATCH_READY "/ready.dat" #define WIHH "/wihh.dat" #define PATCH_WIHH "/wihh.dat" #define IDENTITY "/identity" #define ENDGAME "/endgame.dat" #define ENDSCORE_XMI "/endscore.xmi" #define MIDITMPFILE "u7midi" #define MIDISFXFILE "u7sfx" #define SAVENAME "/exult%02d%s.sav" #define SAVENAME2 "/exult*%s.sav" #define INTROSND "/introsnd.dat" #define PATCH_ARMOR "/armor.dat" #define ARMOR "/armor.dat" #define WEAPONS "/weapons.dat" #define PATCH_WEAPONS "/weapons.dat" #define AMMO "/ammo.dat" #define PATCH_AMMO "/ammo.dat" #define PAPERDOL "/paperdol.vga" #define PATCH_PAPERDOL "/paperdol.vga" #define OCCLUDE "/occlude.dat" #define PATCH_OCCLUDE "/occlude.dat" #define GSCRNSHOT "/scrnshot.shp" #define GSAVEINFO "/saveinfo.dat" #define GEXULTVER "/exult.ver" #define GNEWGAMEVER "/newgame.ver" #define KEYRINGDAT "/keyring.dat" #define NUM_FONTS (20) #endif