mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 02:30:46 +00:00
Fix http://forums.3drealms.com/vb/showpost.php?p=439437 and bump demo/savegame version number due to a change in the size of the spriteext struct
git-svn-id: https://svn.eduke32.com/eduke32@328 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
90eb35a551
commit
44d1866c5a
4 changed files with 5 additions and 4 deletions
|
@ -151,7 +151,7 @@ typedef struct BPACK {
|
|||
short mdanimcur;
|
||||
short angoff;
|
||||
short pitch, roll;
|
||||
short xoff, yoff, zoff;
|
||||
long xoff, yoff, zoff;
|
||||
unsigned char flags;
|
||||
char filler[3];
|
||||
} spriteexttype;
|
||||
|
|
|
@ -4627,6 +4627,7 @@ if (dastat&16) { xoff = 0; yoff = 0; }
|
|||
setgotpic(picnum);
|
||||
bufplc = waloff[picnum];
|
||||
|
||||
if(!palookup[dapalnum]) dapalnum = 0;
|
||||
palookupoffs = FP_OFF(palookup[dapalnum]) + (getpalookup(0L,(long)dashade)<<8);
|
||||
|
||||
i = divscale32(1L,z);
|
||||
|
|
|
@ -1523,9 +1523,9 @@ void Keys3d(void)
|
|||
}
|
||||
|
||||
if (tabgraphic == 1 )
|
||||
rotatesprite((44)<<16,(114)<<16,32768,0,temppicnum,tempshade,temppal,2,0L,0L,xdim-1L,ydim-1L);
|
||||
rotatesprite((44+tilesizx[temppicnum])<<16,(114)<<16,32768,0,temppicnum,tempshade,temppal,2,0L,0L,xdim-1L,ydim-1L);
|
||||
else if (tabgraphic == 2 )
|
||||
rotatesprite((44)<<16,(114)<<16,16384,0,temppicnum,tempshade,temppal,2,0L,0L,xdim-1L,ydim-1L);
|
||||
rotatesprite((44+tilesizx[temppicnum])<<16,(114)<<16,16384,0,temppicnum,tempshade,temppal,2,0L,0L,xdim-1L,ydim-1L);
|
||||
|
||||
begindrawing();
|
||||
j = xdimgame>640?0:1;
|
||||
|
|
|
@ -62,7 +62,7 @@ extern int conversion, shareware, gametype;
|
|||
#define BYTEVERSION_13 27
|
||||
#define BYTEVERSION_14 116
|
||||
#define BYTEVERSION_15 117
|
||||
#define BYTEVERSION_JF 168 // increase by 3, because atomic GRP adds 1, and Shareware adds 2
|
||||
#define BYTEVERSION_JF 171 // increase by 3, because atomic GRP adds 1, and Shareware adds 2
|
||||
|
||||
#define BYTEVERSION (BYTEVERSION_JF+(PLUTOPAK?1:(VOLUMEONE<<1))) // JBF 20040116: different data files give different versions
|
||||
|
||||
|
|
Loading…
Reference in a new issue