mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
Some leftover stuff from the Wii patch.
- in actors.c, make a static array const (the original patch removed the staticness) - remove one comment and change some compiled-out code - remove commented out pre-Makefile.common stuff Some changes were not adopted from tueidj's patch: - whitespace cleanup - ud.config.UseJoystick = 1 in config.c - Makefile.common, as mentioned before - proper read-in of g_numRealPalettes, because it was done with r2503 git-svn-id: https://svn.eduke32.com/eduke32@2632 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
1bb6fb5cd4
commit
008121cffd
4 changed files with 7 additions and 15 deletions
|
@ -346,10 +346,6 @@ ifeq ($(PRETTY_OUTPUT),1)
|
|||
printf "\033[K\033[0;35mChanging dir to \033[1;35m$(CURDIR)/$(EROOT)\033[0;35m \033[0m\n"
|
||||
endif
|
||||
$(MAKE) -C $(EROOT)/ "OBJ=../$(EOBJ)" $@ LUNATIC=$(LUNATIC)
|
||||
#\
|
||||
DEBUGANYWAY=$(DEBUGANYWAY) KRANDDEBUG=$(KRANDDEBUG)\
|
||||
USE_OPENGL=$(USE_OPENGL) BUILD32_ON_64=$(BUILD32_ON_64) PROFILER=$(PROFILER)\
|
||||
NOASM=$(NOASM) NEDMALLOC=$(NEDMALLOC) RELEASE=$(RELEASE) OPTLEVEL=$(OPTLEVEL) $@
|
||||
ifeq ($(PRETTY_OUTPUT),1)
|
||||
printf "\033[K\033[0;35mChanging dir to \033[1;35m$(CURDIR)\033[0;35m \033[0m\n"
|
||||
endif
|
||||
|
@ -360,7 +356,7 @@ $(JAUDIOLIBDIR)/$(JAUDIOLIB):
|
|||
ifeq ($(PRETTY_OUTPUT),1)
|
||||
printf "\033[K\033[0;35mChanging dir to \033[1;35m$(CURDIR)/$(JAUDIOLIBDIR)\033[0;35m \033[0m\n"
|
||||
endif
|
||||
$(MAKE) -C $(JAUDIOLIBDIR) #PRETTY_OUTPUT=$(PRETTY_OUTPUT) EROOT=$(EROOT) RELEASE=$(RELEASE) OPTLEVEL=$(OPTLEVEL) DEBUGANYWAY=$(DEBUGANYWAY)
|
||||
$(MAKE) -C $(JAUDIOLIBDIR)
|
||||
ifeq ($(PRETTY_OUTPUT),1)
|
||||
printf "\033[K\033[0;35mChanging dir to \033[1;35m$(CURDIR)\033[0;35m \033[0m\n"
|
||||
endif
|
||||
|
@ -369,7 +365,7 @@ $(ENETDIR)/$(ENETLIB):
|
|||
ifeq ($(PRETTY_OUTPUT),1)
|
||||
printf "\033[K\033[0;35mChanging dir to \033[1;35m$(CURDIR)/$(ENETDIR)\033[0;35m \033[0m\n"
|
||||
endif
|
||||
$(MAKE) -C $(ENETDIR) #PRETTY_OUTPUT=$(PRETTY_OUTPUT) EROOT=$(EROOT) RELEASE=$(RELEASE) OPTLEVEL=$(OPTLEVEL)
|
||||
$(MAKE) -C $(ENETDIR)
|
||||
ifeq ($(PRETTY_OUTPUT),1)
|
||||
printf "\033[K\033[0;35mChanging dir to \033[1;35m$(CURDIR)\033[0;35m \033[0m\n"
|
||||
endif
|
||||
|
|
|
@ -4150,7 +4150,7 @@ ACTOR_STATIC void G_MoveActors(void)
|
|||
|
||||
if (t[3]>0)
|
||||
{
|
||||
static char frames[] = {5,5,6,6,7,7,6,5};
|
||||
static const char frames[] = {5,5,6,6,7,7,6,5};
|
||||
|
||||
s->picnum = GREENSLIME+frames[t[3]];
|
||||
|
||||
|
|
|
@ -9504,10 +9504,6 @@ static void G_LoadExtraPalettes(void)
|
|||
G_GameExit("\nERROR: File 'lookup.dat' not found.");
|
||||
|
||||
g_numRealPalettes = tmpbyte;
|
||||
#if defined(__APPLE__) && B_BIG_ENDIAN != 0
|
||||
// this is almost as bad as just setting the value to 25 :P
|
||||
// g_numRealPalettes = ((g_numRealPalettes * 0x80200802ULL) & 0x0884422110ULL) * 0x0101010101ULL >> 32;
|
||||
#endif
|
||||
|
||||
for (j=g_numRealPalettes+1; j<MAXPALOOKUPS; j++)
|
||||
makepalookup(j, NULL ,0,0,0, 1);
|
||||
|
|
|
@ -981,10 +981,10 @@ int32_t FX_PlayLoopedAuto(char *ptr, uint32_t length, int32_t loopstart, int32_t
|
|||
int32_t handle = -1;
|
||||
#if 0
|
||||
{
|
||||
int32_t fmtstr[2];
|
||||
fmtstr[0] = *(int32_t *)ptr;
|
||||
((char *)fmtstr)[4] = 0;
|
||||
printf("FX_PlayLoopedAuto %s\n",(char *)fmtstr);
|
||||
char fmtstr[5];
|
||||
Bmemcpy(fmtstr, ptr, 4);
|
||||
fmtstr[4] = 0;
|
||||
printf("FX_PlayLoopedAuto %s\n", fmtstr);
|
||||
}
|
||||
#endif
|
||||
switch (LITTLE32(*(int32_t *)ptr))
|
||||
|
|
Loading…
Reference in a new issue