mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-18 06:32:37 +00:00
Some more standalone stuff.
git-svn-id: https://svn.eduke32.com/eduke32@6467 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
60fcb6527c
commit
32d3ca1591
2 changed files with 7 additions and 7 deletions
|
@ -72,8 +72,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|||
# endif
|
||||
#endif /* _WIN32 */
|
||||
|
||||
const char* AppProperName = "EDuke32";
|
||||
const char* AppTechnicalName = "eduke32";
|
||||
const char* AppProperName = APPNAME;
|
||||
const char* AppTechnicalName = APPBASENAME;
|
||||
|
||||
int32_t g_quitDeadline = 0;
|
||||
|
||||
|
@ -6117,7 +6117,7 @@ int app_main(int argc, char const * const * argv)
|
|||
#ifdef _WIN32
|
||||
if (!G_CheckCmdSwitch(argc, argv, "-noinstancechecking") && win_checkinstance())
|
||||
{
|
||||
if (!wm_ynbox("EDuke32","Another Build game is currently running. "
|
||||
if (!wm_ynbox(APPNAME, "Another Build game is currently running. "
|
||||
"Do you wish to continue starting this copy?"))
|
||||
return 3;
|
||||
}
|
||||
|
@ -6138,9 +6138,9 @@ int app_main(int argc, char const * const * argv)
|
|||
char cwd[BMAX_PATH];
|
||||
char *homedir = Bgethomedir();
|
||||
if (homedir)
|
||||
Bsnprintf(cwd, sizeof(cwd), "%s/Library/Logs/eduke32.log", homedir);
|
||||
Bsnprintf(cwd, sizeof(cwd), "%s/Library/Logs/" APPBASENAME ".log", homedir);
|
||||
else
|
||||
Bstrcpy(cwd, "eduke32.log");
|
||||
Bstrcpy(cwd, APPBASENAME ".log");
|
||||
OSD_SetLogFile(cwd);
|
||||
Bfree(homedir);
|
||||
}
|
||||
|
|
|
@ -52,9 +52,9 @@ static int8_t external_midi_restart=0;
|
|||
#endif
|
||||
|
||||
#ifdef __ANDROID__ //TODO fix
|
||||
static char const *external_midi_tempfn = "eduke32-music.mid";
|
||||
static char const *external_midi_tempfn = APPBASENAME "-music.mid";
|
||||
#else
|
||||
static char const *external_midi_tempfn = "/tmp/eduke32-music.mid";
|
||||
static char const *external_midi_tempfn = "/tmp/" APPBASENAME "-music.mid";
|
||||
#endif
|
||||
|
||||
static int32_t external_midi = 0;
|
||||
|
|
Loading…
Reference in a new issue