mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 11:10:39 +00:00
KenBuild: Fix symbol issues.
git-svn-id: https://svn.eduke32.com/eduke32@5739 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
c0b9c3a189
commit
942690dac6
2 changed files with 10 additions and 10 deletions
|
@ -58,7 +58,7 @@ extern short brightness;
|
||||||
extern int fullscreen;
|
extern int fullscreen;
|
||||||
extern unsigned char option[8];
|
extern unsigned char option[8];
|
||||||
extern unsigned char keys[NUMBUILDKEYS];
|
extern unsigned char keys[NUMBUILDKEYS];
|
||||||
extern double msens;
|
double msens;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* SETUP.DAT
|
* SETUP.DAT
|
||||||
|
@ -98,7 +98,7 @@ extern double msens;
|
||||||
* 18 = Chat (0xf)
|
* 18 = Chat (0xf)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int loadsetup(const char *fn)
|
int Ken_loadsetup(const char *fn)
|
||||||
{
|
{
|
||||||
BFILE *fp;
|
BFILE *fp;
|
||||||
#define VL 32
|
#define VL 32
|
||||||
|
@ -160,7 +160,7 @@ int loadsetup(const char *fn)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int writesetup(const char *fn)
|
int Ken_writesetup(const char *fn)
|
||||||
{
|
{
|
||||||
BFILE *fp;
|
BFILE *fp;
|
||||||
|
|
||||||
|
|
|
@ -55,8 +55,8 @@ void musicoff(void);
|
||||||
void refreshaudio(void);
|
void refreshaudio(void);
|
||||||
|
|
||||||
// declared in config.c
|
// declared in config.c
|
||||||
int loadsetup(const char *);
|
int Ken_loadsetup(const char *);
|
||||||
int writesetup(const char *);
|
int Ken_writesetup(const char *);
|
||||||
|
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
KEN'S TAG DEFINITIONS: (Please define your own tags for your games)
|
KEN'S TAG DEFINITIONS: (Please define your own tags for your games)
|
||||||
|
@ -508,7 +508,7 @@ int32_t app_main(int32_t argc, char const * const * argv)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((i = loadsetup(setupfilename)) < 0)
|
if ((i = Ken_loadsetup(setupfilename)) < 0)
|
||||||
buildputs("Configuration file not found, using defaults.\n");
|
buildputs("Configuration file not found, using defaults.\n");
|
||||||
|
|
||||||
#if defined STARTUP_SETUP_WINDOW
|
#if defined STARTUP_SETUP_WINDOW
|
||||||
|
@ -517,7 +517,7 @@ int32_t app_main(int32_t argc, char const * const * argv)
|
||||||
if (quitevent || !startwin_run()) return -1;
|
if (quitevent || !startwin_run()) return -1;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
writesetup(setupfilename);
|
Ken_writesetup(setupfilename);
|
||||||
|
|
||||||
initgroupfile(G_GrpFile());
|
initgroupfile(G_GrpFile());
|
||||||
if (initengine())
|
if (initengine())
|
||||||
|
@ -5035,7 +5035,7 @@ void initlava(void)
|
||||||
modify exact [eax edx]
|
modify exact [eax edx]
|
||||||
int addlava(int);
|
int addlava(int);
|
||||||
#elif defined(_MSC_VER) && !defined(NOASM)
|
#elif defined(_MSC_VER) && !defined(NOASM)
|
||||||
inline int addlava(void *b)
|
int addlava(void *b)
|
||||||
{
|
{
|
||||||
_asm
|
_asm
|
||||||
{
|
{
|
||||||
|
@ -5051,7 +5051,7 @@ inline int addlava(void *b)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#elif defined(__GNUC__) && defined(__i386__) && !defined(NOASM)
|
#elif defined(__GNUC__) && defined(__i386__) && !defined(NOASM)
|
||||||
inline int addlava(void *b)
|
int addlava(void *b)
|
||||||
{
|
{
|
||||||
int r;
|
int r;
|
||||||
__asm__ __volatile__(
|
__asm__ __volatile__(
|
||||||
|
@ -5069,7 +5069,7 @@ inline int addlava(void *b)
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
inline int addlava(void *bx)
|
int addlava(void *bx)
|
||||||
{
|
{
|
||||||
char *b = (char *)bx;
|
char *b = (char *)bx;
|
||||||
return b[-133] + b[-132] + b[-131] + b[1] + b[-1] + b[131] + b[132];
|
return b[-133] + b[-132] + b[-131] + b[1] + b[-1] + b[131] + b[132];
|
||||||
|
|
Loading…
Reference in a new issue