mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-12-02 09:02:09 +00:00
42 lines
1.4 KiB
C
42 lines
1.4 KiB
C
|
/*
|
||
|
===========================================================================
|
||
|
Copyright (C) 2000 - 2013, Raven Software, Inc.
|
||
|
Copyright (C) 2001 - 2013, Activision, Inc.
|
||
|
Copyright (C) 2013 - 2015, OpenJK contributors
|
||
|
|
||
|
This file is part of the OpenJK source code.
|
||
|
|
||
|
OpenJK is free software; you can redistribute it and/or modify it
|
||
|
under the terms of the GNU General Public License version 2 as
|
||
|
published by the Free Software Foundation.
|
||
|
|
||
|
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, see <http://www.gnu.org/licenses/>.
|
||
|
===========================================================================
|
||
|
*/
|
||
|
|
||
|
// 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
|
||
|
|
||
|
#include <string>
|
||
|
|
||
|
unsigned char * SE_LoadFileData ( const char *psFileName, int *piLoadedLength = 0);
|
||
|
void SE_FreeFileDataAfterLoad( unsigned char *psLoadedFile );
|
||
|
int SE_BuildFileList ( const char *psStartDir, std::string &strResults );
|
||
|
|
||
|
#endif // #ifndef STRINGED_INTERFACE_H
|
||
|
|
||
|
|
||
|
////////////////// eof ///////////////////
|
||
|
|