jedi-academy/code/qcommon/stringed_interface.h

22 lines
655 B
C
Raw Normal View History

2013-04-19 02:52:48 +00:00
// Filename:- stringed_interface.h
//
// These are the functions that get replaced by game-specific ones (or StringEd code) so SGE can access files etc
//
#ifndef STRINGED_INTERFACE_H
#define STRINGED_INTERFACE_H
#pragma warning ( disable : 4786 ) // disable the usual stupid and pointless STL warning
#include <string>
using namespace std;
unsigned char * SE_LoadFileData ( const char *psFileName, int *piLoadedLength = 0);
void SE_FreeFileDataAfterLoad( unsigned char *psLoadedFile );
int SE_BuildFileList ( const char *psStartDir, string &strResults );
#endif // #ifndef STRINGED_INTERFACE_H
////////////////// eof ///////////////////