mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-13 07:58:04 +00:00
Trivial stuff that got accumulated and not committed.
git-svn-id: https://svn.eduke32.com/eduke32@2471 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
b044502709
commit
26dfddfaf0
5 changed files with 7 additions and 16 deletions
|
@ -29,7 +29,7 @@ duke3d_h=\
|
||||||
|
|
||||||
gamedef_h=$(SRC)/gamedef.h $(SRC)/gameexec.h $(SRC)/gamevars.h
|
gamedef_h=$(SRC)/gamedef.h $(SRC)/gameexec.h $(SRC)/gamevars.h
|
||||||
|
|
||||||
$(OBJ)/game.$o: $(SRC)/game.c $(SRC)/jmact/scriplib.h $(duke3d_h) $(INC)/osdfuncs.h $(INC)/osdcmds.h $(INC)/grpscan.h $(INC)/demo.h
|
$(OBJ)/game.$o: $(SRC)/game.c $(SRC)/jmact/scriplib.h $(duke3d_h) $(INC)/osdfuncs.h $(INC)/osdcmds.h $(INC)/grpscan.h $(INC)/demo.h $(EINC)/hightile.h
|
||||||
$(OBJ)/actors.$o: $(SRC)/actors.c $(duke3d_h)
|
$(OBJ)/actors.$o: $(SRC)/actors.c $(duke3d_h)
|
||||||
$(OBJ)/anim.$o: $(SRC)/anim.c $(duke3d_h) $(SRC)/jmact/animlib.h $(SRC)/animvpx.h
|
$(OBJ)/anim.$o: $(SRC)/anim.c $(duke3d_h) $(SRC)/jmact/animlib.h $(SRC)/animvpx.h
|
||||||
$(OBJ)/demo.$o: $(SRC)/demo.c $(duke3d_h)
|
$(OBJ)/demo.$o: $(SRC)/demo.c $(duke3d_h)
|
||||||
|
|
|
@ -320,7 +320,7 @@ EXTERN int16_t headsectbunch[2][YAX_MAXBUNCHES], nextsectbunch[2][MAXSECTORS];
|
||||||
|
|
||||||
EXTERN int16_t numsectors, numwalls;
|
EXTERN int16_t numsectors, numwalls;
|
||||||
EXTERN char display_mirror;
|
EXTERN char display_mirror;
|
||||||
EXTERN /*volatile*/ int32_t totalclock;
|
EXTERN int32_t totalclock;
|
||||||
EXTERN int32_t numframes, randomseed;
|
EXTERN int32_t numframes, randomseed;
|
||||||
EXTERN int16_t sintable[2048];
|
EXTERN int16_t sintable[2048];
|
||||||
EXTERN uint8_t palette[768];
|
EXTERN uint8_t palette[768];
|
||||||
|
@ -496,7 +496,7 @@ TILE VARIABLES:
|
||||||
NUMTILES - the number of tiles found TILES.DAT.
|
NUMTILES - the number of tiles found TILES.DAT.
|
||||||
TILESIZX[MAXTILES] - simply the x-dimension of the tile number.
|
TILESIZX[MAXTILES] - simply the x-dimension of the tile number.
|
||||||
TILESIZY[MAXTILES] - simply the y-dimension of the tile number.
|
TILESIZY[MAXTILES] - simply the y-dimension of the tile number.
|
||||||
WALOFF[MAXTILES] - the actual 32-bit offset pointing to the top-left
|
WALOFF[MAXTILES] - the actual address pointing to the top-left
|
||||||
corner of the tile.
|
corner of the tile.
|
||||||
PICANM[MAXTILES] - flags for animating the tile.
|
PICANM[MAXTILES] - flags for animating the tile.
|
||||||
|
|
||||||
|
|
|
@ -4595,6 +4595,7 @@ static void drawalls(int32_t bunch)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//DRAW WALLS SECTION!
|
//DRAW WALLS SECTION!
|
||||||
for (z=bunchfirst[bunch]; z>=0; z=p2[z])
|
for (z=bunchfirst[bunch]; z>=0; z=p2[z])
|
||||||
{
|
{
|
||||||
|
|
|
@ -27,17 +27,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
#define SV_MINOR_VER 2
|
#define SV_MINOR_VER 2
|
||||||
|
|
||||||
#pragma pack(push,1)
|
#pragma pack(push,1)
|
||||||
# if 0
|
|
||||||
struct savehead_
|
|
||||||
{
|
|
||||||
char name[21];
|
|
||||||
int32_t byteversion;
|
|
||||||
int32_t numplr,volnum,levnum,plrskl;
|
|
||||||
char boardfn[BMAX_PATH];
|
|
||||||
};
|
|
||||||
# endif
|
|
||||||
|
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
char headerstr[11];
|
char headerstr[11];
|
||||||
|
|
|
@ -295,7 +295,8 @@ void S_Cleanup(void)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Bmemcpy(ldq, (void *)dq, sizeof(int32_t) *(ldnum = dnum));
|
ldnum = dnum;
|
||||||
|
Bmemcpy(ldq, (void *)dq, ldnum*sizeof(int32_t));
|
||||||
dnum = 0;
|
dnum = 0;
|
||||||
|
|
||||||
mutex_unlock(&s_mutex);
|
mutex_unlock(&s_mutex);
|
||||||
|
@ -372,7 +373,7 @@ int32_t S_LoadSound(uint32_t num)
|
||||||
g_soundlocks[num] = 200;
|
g_soundlocks[num] = 200;
|
||||||
|
|
||||||
allocache((intptr_t *)&g_sounds[num].ptr, l, (char *)&g_soundlocks[num]);
|
allocache((intptr_t *)&g_sounds[num].ptr, l, (char *)&g_soundlocks[num]);
|
||||||
l = kread(fp, g_sounds[num].ptr , l);
|
l = kread(fp, g_sounds[num].ptr, l);
|
||||||
kclose(fp);
|
kclose(fp);
|
||||||
|
|
||||||
return l;
|
return l;
|
||||||
|
|
Loading…
Reference in a new issue