mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
mapster32: fixes crash in linux
git-svn-id: https://svn.eduke32.com/eduke32@1372 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
0f95655e27
commit
ca81a4e40b
3 changed files with 8 additions and 8 deletions
|
@ -304,7 +304,7 @@ ifeq ($(PRETTY_OUTPUT),1)
|
||||||
printf "\033[K\033[0;35mChanging dir to \033[1;35m$(CURDIR)/$(EROOT)\033[0;35m \033[0m\n"
|
printf "\033[K\033[0;35mChanging dir to \033[1;35m$(CURDIR)/$(EROOT)\033[0;35m \033[0m\n"
|
||||||
endif
|
endif
|
||||||
$(MAKE) -C $(EROOT)/ "OBJ=../$(EOBJ)" \
|
$(MAKE) -C $(EROOT)/ "OBJ=../$(EOBJ)" \
|
||||||
SUPERBUILD=$(SUPERBUILD) POLYMOST=$(POLYMOST) \
|
SUPERBUILD=$(SUPERBUILD) POLYMOST=$(POLYMOST) DEBUGANYWAY=$(DEBUGANYWAY)\
|
||||||
USE_OPENGL=$(USE_OPENGL) BUILD32_ON_64=$(BUILD32_ON_64) \
|
USE_OPENGL=$(USE_OPENGL) BUILD32_ON_64=$(BUILD32_ON_64) \
|
||||||
NOASM=$(NOASM) RELEASE=$(RELEASE) OPTLEVEL=$(OPTLEVEL) RANCID_NETWORKING=$(RANCID_NETWORKING) $@
|
NOASM=$(NOASM) RELEASE=$(RELEASE) OPTLEVEL=$(OPTLEVEL) RANCID_NETWORKING=$(RANCID_NETWORKING) $@
|
||||||
ifeq ($(PRETTY_OUTPUT),1)
|
ifeq ($(PRETTY_OUTPUT),1)
|
||||||
|
|
|
@ -98,7 +98,7 @@ void _printmessage16(const char *fmt, ...);
|
||||||
|
|
||||||
#define printmessage16(fmt, ...) lastpm16time = totalclock, _printmessage16(fmt, ## __VA_ARGS__)
|
#define printmessage16(fmt, ...) lastpm16time = totalclock, _printmessage16(fmt, ## __VA_ARGS__)
|
||||||
|
|
||||||
extern char lastpm16buf[60];
|
extern char lastpm16buf[156];
|
||||||
|
|
||||||
void getpoint(int32_t searchxe, int32_t searchye, int32_t *x, int32_t *y);
|
void getpoint(int32_t searchxe, int32_t searchye, int32_t *x, int32_t *y);
|
||||||
int32_t getpointhighlight(int32_t xplc, int32_t yplc, int32_t point);
|
int32_t getpointhighlight(int32_t xplc, int32_t yplc, int32_t point);
|
||||||
|
|
|
@ -177,7 +177,7 @@ int32_t pk_turnaccel=16;
|
||||||
int32_t pk_turndecel=12;
|
int32_t pk_turndecel=12;
|
||||||
int32_t pk_uedaccel=3;
|
int32_t pk_uedaccel=3;
|
||||||
|
|
||||||
char lastpm16buf[60];
|
char lastpm16buf[156];
|
||||||
|
|
||||||
char changechar(char dachar, int32_t dadir, char smooshyalign, char boundcheck);
|
char changechar(char dachar, int32_t dadir, char smooshyalign, char boundcheck);
|
||||||
int32_t adjustmark(int32_t *xplc, int32_t *yplc, int16_t danumwalls);
|
int32_t adjustmark(int32_t *xplc, int32_t *yplc, int16_t danumwalls);
|
||||||
|
@ -6279,16 +6279,16 @@ void keytimerstuff(void)
|
||||||
void _printmessage16(const char *fmt, ...)
|
void _printmessage16(const char *fmt, ...)
|
||||||
{
|
{
|
||||||
int32_t i, ybase;
|
int32_t i, ybase;
|
||||||
char snotbuf[100];
|
char snotbuf[156];
|
||||||
char tmpstr[104];
|
char tmpstr[160];
|
||||||
va_list va;
|
va_list va;
|
||||||
|
|
||||||
va_start(va, fmt);
|
va_start(va, fmt);
|
||||||
Bvsnprintf(tmpstr, 104, fmt, va);
|
Bvsnprintf(tmpstr, 156, fmt, va);
|
||||||
va_end(va);
|
va_end(va);
|
||||||
|
|
||||||
i = 0;
|
i = 0;
|
||||||
while ((tmpstr[i] != 0) && (i < 94))
|
while ((tmpstr[i] != 0) && (i < 146))
|
||||||
{
|
{
|
||||||
snotbuf[i] = tmpstr[i];
|
snotbuf[i] = tmpstr[i];
|
||||||
i++;
|
i++;
|
||||||
|
|
Loading…
Reference in a new issue