mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-25 10:51:36 +00:00
preproc: FreeBSD game names are like Linux ones
This commit is contained in:
parent
9f595b664b
commit
9d7cc6cd17
1 changed files with 3 additions and 3 deletions
|
@ -794,7 +794,7 @@ CGameDescription::CGameDescription( xmlDocPtr pDoc, const Str &GameFile ){
|
||||||
if ( prop == NULL ) {
|
if ( prop == NULL ) {
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
mEngine = "quake3.exe";
|
mEngine = "quake3.exe";
|
||||||
#elif __linux__
|
#elif defined( __linux__ ) || defined( __FreeBSD__ )
|
||||||
mEngine = "quake3";
|
mEngine = "quake3";
|
||||||
#elif __APPLE__
|
#elif __APPLE__
|
||||||
mEngine = "Quake3.app";
|
mEngine = "Quake3.app";
|
||||||
|
@ -808,7 +808,7 @@ CGameDescription::CGameDescription( xmlDocPtr pDoc, const Str &GameFile ){
|
||||||
if ( prop == NULL ) {
|
if ( prop == NULL ) {
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
mMultiplayerEngine = "quake3.exe";
|
mMultiplayerEngine = "quake3.exe";
|
||||||
#elif __linux__
|
#elif defined( __linux__ ) || defined( __FreeBSD__ )
|
||||||
mMultiplayerEngine = "quake3";
|
mMultiplayerEngine = "quake3";
|
||||||
#elif __APPLE__
|
#elif __APPLE__
|
||||||
mMultiplayerEngine = "Quake3.app";
|
mMultiplayerEngine = "Quake3.app";
|
||||||
|
@ -3775,7 +3775,7 @@ void CGameInstall::Run() {
|
||||||
case GAME_ET: {
|
case GAME_ET: {
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
fprintf( fg, " " ENGINE_ATTRIBUTE "=\"ET.exe\"\n");
|
fprintf( fg, " " ENGINE_ATTRIBUTE "=\"ET.exe\"\n");
|
||||||
#elif __linux__
|
#elif defined( __linux__ ) || defined( __FreeBSD__ )
|
||||||
fprintf( fg, " " ENGINE_ATTRIBUTE "=\"et\"\n" );
|
fprintf( fg, " " ENGINE_ATTRIBUTE "=\"et\"\n" );
|
||||||
#endif
|
#endif
|
||||||
fprintf( fg, " prefix=\".etwolf\"\n" );
|
fprintf( fg, " prefix=\".etwolf\"\n" );
|
||||||
|
|
Loading…
Reference in a new issue