mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-16 01:11:28 +00:00
Move APPNAME and APPBASENAME to common_game.h so we can use them for the data paths in common.cpp
git-svn-id: https://svn.eduke32.com/eduke32@6728 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
3b6bb3b7a3
commit
0e0de77439
3 changed files with 11 additions and 11 deletions
|
@ -317,11 +317,11 @@ void G_ExtInit(void)
|
|||
{
|
||||
Bsnprintf(cwd,sizeof(cwd),"%s/"
|
||||
#if defined(_WIN32)
|
||||
"EDuke32 Settings"
|
||||
APPNAME " Settings"
|
||||
#elif defined(GEKKO)
|
||||
"apps/eduke32"
|
||||
"apps/" APPBASENAME
|
||||
#else
|
||||
".eduke32"
|
||||
"." APPBASENAME
|
||||
#endif
|
||||
,homedir);
|
||||
asperr = addsearchpath(cwd);
|
||||
|
|
|
@ -15,6 +15,14 @@ extern "C" {
|
|||
|
||||
extern int g_useCwd;
|
||||
|
||||
#ifndef APPNAME
|
||||
#define APPNAME "EDuke32"
|
||||
#endif
|
||||
|
||||
#ifndef APPBASENAME
|
||||
#define APPBASENAME "eduke32"
|
||||
#endif
|
||||
|
||||
#define GAMEFLAG_DUKE 0x00000001
|
||||
#define GAMEFLAG_NAM 0x00000002
|
||||
#define GAMEFLAG_NAPALM 0x00000004
|
||||
|
|
|
@ -43,14 +43,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|||
#include "keyboard.h"
|
||||
#include "fx_man.h"
|
||||
|
||||
#ifndef APPNAME
|
||||
#define APPNAME "EDuke32"
|
||||
#endif
|
||||
|
||||
#ifndef APPBASENAME
|
||||
#define APPBASENAME "eduke32"
|
||||
#endif
|
||||
|
||||
#define HEAD2 APPNAME
|
||||
|
||||
#ifdef EDUKE32_STANDALONE
|
||||
|
|
Loading…
Reference in a new issue