mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2024-11-21 12:11:07 +00:00
53db277bae
I created this repo from the original dhewm3 repo, but I used git filter-branch to kill all the files that are not needed to just build base.dll and d3xp.dll (or .so or .dylib or whatever). So this is basically just the files the original Doom3 SDK had, but taken from dhewm3 instead (and thus GPL licensed and patched for 64bit-support etc) + some dhewm3 specific stuff + CMakeLists.txt to build them. The git filter-branch details: filter-branch -f --prune-empty --tree-filter /tmp/killkill.sh @ ## /tmp/killkill.sh: #!/bin/sh find . -exec /tmp/removeothers.sh {} \; exit 0 ## /tmp/removeothers.sh: #!/bin/bash FNAME="$1" if [[ $FNAME == \./\.git* ]] || [[ $FNAME == \./d3xp/* ]] || [[ $FNAME == \./game/* ]] then #echo "ignoring $FNAME" exit 0 fi if ! grep -Fxq "$FNAME" /tmp/d3sdklist.txt then #echo "REMOVING $FNAME" rm -rf "$FNAME" fi exit 0 ## /tmp/d3sdklist.txt was is just a textfile with one path per line with all the files (and directories!) I wanted to keep, like: . .. ./sys/platform.h ./framework/Game.h ./config.h.in ./CMakeLists.txt ## ... and all the relevant files from the SDK
50 lines
2 KiB
C++
50 lines
2 KiB
C++
/*
|
|
===========================================================================
|
|
|
|
Doom 3 GPL Source Code
|
|
Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
|
|
|
|
This file is part of the Doom 3 GPL Source Code ("Doom 3 Source Code").
|
|
|
|
Doom 3 Source Code 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 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
Doom 3 Source Code 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 Doom 3 Source Code. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
In addition, the Doom 3 Source Code is also subject to certain additional terms. You should have received a copy of these additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Doom 3 Source Code. If not, please request a copy in writing from id Software at the address below.
|
|
|
|
If you have questions concerning this license or the applicable additional terms, you may contact in writing id Software LLC, c/o ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA.
|
|
|
|
===========================================================================
|
|
*/
|
|
|
|
#ifndef __MAYA_MAIN_H__
|
|
#define __MAYA_MAIN_H__
|
|
|
|
#include "framework/FileSystem.h"
|
|
|
|
class idCommon;
|
|
class idSys;
|
|
|
|
/*
|
|
==============================================================
|
|
|
|
Maya Import
|
|
|
|
==============================================================
|
|
*/
|
|
|
|
|
|
typedef bool ( *exporterDLLEntry_t )( int version, idCommon *common, idSys *sys );
|
|
typedef const char *( *exporterInterface_t )( const char *ospath, const char *commandline );
|
|
typedef void ( *exporterShutdown_t )( void );
|
|
|
|
#endif /* !__MAYA_MAIN_H__ */
|