jkxr/Projects/Android/jni/OpenJK/code/qcommon/stringed_interface.h
Simon 4597b03873 Initial Commit
Opens in Android Studio but haven't even tried to build it yet (it won't.. I know that much!)
2022-09-18 16:37:21 +01:00

41 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 ///////////////////