git-svn-id: https://svn.eduke32.com/eduke32@399 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2006-12-10 19:32:44 +00:00
parent 169e0c824b
commit 7017166f2d
7 changed files with 439 additions and 439 deletions

View file

@ -102,6 +102,7 @@ GAMEOBJS=$(OBJ)/game.$o \
$(OBJ)/config.$o \
$(OBJ)/gamedef.$o \
$(OBJ)/gameexec.$o \
$(OBJ)/gamevars.$o \
$(OBJ)/global.$o \
$(OBJ)/menus.$o \
$(OBJ)/namesdyn.$o \

View file

@ -6,6 +6,7 @@ $(OBJ)/actors.$o: $(SRC)/actors.c $(duke3d_h)
$(OBJ)/anim.$o: $(SRC)/anim.c $(duke3d_h) $(SRC)/jmact/animlib.h
$(OBJ)/gamedef.$o: $(SRC)/gamedef.c $(duke3d_h) $(gamedef_h)
$(OBJ)/gameexec.$o: $(SRC)/gameexec.c $(duke3d_h) $(gamedef_h)
$(OBJ)/gamevars.$o: $(SRC)/gamevars.c $(duke3d_h) $(gamedef_h)
$(OBJ)/global.$o: $(SRC)/global.c $(duke3d_h)
$(OBJ)/menus.$o: $(SRC)/menus.c $(duke3d_h) $(SRC)/jmact/mouse.h
$(OBJ)/namesdyn.$o: $(SRC)/namesdyn.c $(duke3d_h)

View file

@ -71,6 +71,7 @@ AUDIOLIBOBJ=$(AUDIOLIB_JFAUD)
$(OBJ)\anim.$o \
$(OBJ)\gamedef.$o \
$(OBJ)\gameexec.$o \
$(OBJ)\gamevars.$o \
$(OBJ)\global.$o \
$(OBJ)\menus.$o \
$(OBJ)\namesdyn.$o \

View file

@ -59,6 +59,7 @@ GAMEOBJS=$(OBJ)\game.$o &
$(OBJ)\anim.$o &
$(OBJ)\gamedef.$o &
$(OBJ)\gameexec.$o &
$(OBJ)\gamevars.$o &
$(OBJ)\global.$o &
$(OBJ)\menus.$o &
$(OBJ)\namesdyn.$o &

View file

@ -148,10 +148,6 @@ extern short EGS(short whatsect,long s_x,long s_y,long s_z,short s_pn,signed cha
extern char wallswitchcheck(short i);
extern short spawn(short j,short pn);
extern void animatesprites(long x,long y,short a,long smoothratio);
extern void printstr(short x,short y,char string[],char attribute);
extern void Logo(void);
extern void loadtmb(void);
extern void compilecons(void);
extern int main(int argc,char **argv);
extern void opendemowrite(void);
extern void closedemowrite(void);

View file

@ -8897,7 +8897,7 @@ static void checkcommandline(int argc,char **argv)
}
}
void Logo(void)
static void Logo(void)
{
short soundanm;
long logoflags=GetGameVar("LOGO_FLAGS",255, -1, -1);
@ -9078,7 +9078,7 @@ void Logo(void)
clearview(0L);
}
void loadtmb(void)
static void loadtmb(void)
{
unsigned char tmb[8000];
long fil, l;
@ -9091,11 +9091,11 @@ void loadtmb(void)
kclose(fil);
}
void freeconmem(void)
static void freeconmem(void)
{
int i;
for (i=0;i<MAXLEVELS*MAXVOLUMES;i++)
for (i=MAXLEVELS*MAXVOLUMES;i>0;i--)
{
if (level_names[i] != NULL)
Bfree(level_names[i]);
@ -9105,7 +9105,7 @@ void freeconmem(void)
Bfree(music_fn[0][i]);
}
for (i=0;i<MAXQUOTES;i++)
for (i=MAXQUOTES;i>0;i--)
{
if (fta_quotes[i] != NULL)
Bfree(fta_quotes[i]);
@ -9113,7 +9113,7 @@ void freeconmem(void)
Bfree(redefined_quotes[i]);
}
for (i=0;i<iGameVarCount;i++)
for (i=iGameVarCount;i>0;i--)
{
if (aGameVars[i].szLabel != NULL)
Bfree(aGameVars[i].szLabel);
@ -9157,7 +9157,7 @@ void Shutdown(void)
===================
*/
void compilecons(void)
static void compilecons(void)
{
int i;
label = (char *)&sprite[0]; // V8: 16384*44/64 = 11264 V7: 4096*44/64 = 2816

File diff suppressed because it is too large Load diff