fileio.h

Go to the documentation of this file.
00001 //     $Id: fileio.h,v 1.4 2001-10-11 10:41:06 mbickel Exp $
00002 //
00003 //     $Log: fileio.h,v $
00004 //     Revision 1.4  2001-10-11 10:41:06  mbickel
00005 //      Restructured platform fileio handling
00006 //      Added map archival information to mapeditor
00007 //
00008 //     Revision 1.3  2001/05/18 22:30:30  mbickel
00009 //      The data file is now installed in the correct directory
00010 //      If the installation directory is changed with configure, the new path
00011 //       will now be compiled directly into ASC
00012 //
00013 //     Revision 1.2  2001/02/26 21:14:33  mbickel
00014 //      Added two small editors to the linux makefiles
00015 //      Added some more truecolor hacks to the graphics engine
00016 //
00017 //     Revision 1.1  2000/10/14 10:55:06  mbickel
00018 //      Added ASC-Win32 project files for Watcom
00019 //
00020 //     Revision 1.2  2000/10/12 21:37:56  mbickel
00021 //      Further restructured platform dependant routines
00022 //
00023 //     Revision 1.1  2000/10/12 20:21:42  mbickel
00024 //      Restructuring operating system dependant files
00025 //
00026 //
00027 /*
00028     This file is part of Advanced Strategic Command; http://www.asc-hq.de
00029     Copyright (C) 1994-1999  Martin Bickel  and  Marc Schellenberger
00030 
00031     This program is free software; you can redistribute it and/or modify
00032     it under the terms of the GNU General Public License as published by
00033     the Free Software Foundation; either version 2 of the License, or
00034     (at your option) any later version.
00035 
00036     This program is distributed in the hope that it will be useful,
00037     but WITHOUT ANY WARRANTY; without even the implied warranty of
00038     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00039     GNU General Public License for more details.
00040 
00041     You should have received a copy of the GNU General Public License
00042     along with this program; see the file COPYING. If not, write to the 
00043     Free Software Foundation, Inc., 59 Temple Place, Suite 330, 
00044     Boston, MA  02111-1307  USA
00045 */
00046 
00047 // this file takes care that the necessary header files for opendir / readdir
00048 // are being included in basestrm.cpp
00049 
00050 #ifndef fileio_h_included
00051  #define fileio_h_included
00052 
00053  #include <direct.h>
00054  #define direct dirent
00055 
00056  extern const char* filereadmode;
00057  extern const char* filewritemode;
00058  extern const char* filereadmodetext;
00059  extern const char* filewritemodetext;
00060  extern const char pathdelimitter;
00061  extern const char* pathdelimitterstring;
00062  
00063  extern const int maxfilenamelength;
00064  extern const char* asc_configurationfile;
00065 
00066 #endif

Generated on Mon Jan 5 01:28:20 2009 for Advanced Strategic Command by  doxygen 1.5.1