From d015c4acdcccd84a160513617e75ee7c60ef2ee8 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Sun, 20 May 2012 07:24:28 +0000 Subject: [PATCH] Mac OS X: Add correct default values for 'gameexecutable' cfg string so that the Mapster32 test feature works with .app bundles. Note: You may encounter a crash if you try to test your map and Mapster32 is running fullscreen. git-svn-id: https://svn.eduke32.com/eduke32@2684 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/include/editor.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/polymer/eduke32/build/include/editor.h b/polymer/eduke32/build/include/editor.h index a345c62c0..36b5bc411 100644 --- a/polymer/eduke32/build/include/editor.h +++ b/polymer/eduke32/build/include/editor.h @@ -248,9 +248,12 @@ void correct_sprite_yoffset(int32_t i); extern uint8_t hlsectorbitmap[MAXSECTORS>>3]; -#ifdef _WIN32 +#if defined(_WIN32) #define DEFAULT_GAME_EXEC "eduke32.exe" #define DEFAULT_GAME_LOCAL_EXEC "eduke32.exe" +#elif defined(__APPLE__) +#define DEFAULT_GAME_EXEC "EDuke32.app/Contents/MacOS/eduke32" +#define DEFAULT_GAME_LOCAL_EXEC "EDuke32.app/Contents/MacOS/eduke32" #else #define DEFAULT_GAME_EXEC "eduke32" #define DEFAULT_GAME_LOCAL_EXEC "./eduke32"