mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 02:30:46 +00:00
Engine: Remove some conditional disabling of spriteext features when !defined USE_OPENGL.
git-svn-id: https://svn.eduke32.com/eduke32@4971 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
e8f842ac28
commit
b980ca7b0b
1 changed files with 1 additions and 12 deletions
|
@ -5852,11 +5852,7 @@ static void drawsprite_classic(int32_t snum)
|
|||
|
||||
if ((cstat&48)==48)
|
||||
vtilenum = tilenum; // if the game wants voxels, it gets voxels
|
||||
else if (usevoxels && tiletovox[tilenum] != -1
|
||||
#ifdef USE_OPENGL
|
||||
&& (!(spriteext[spritenum].flags&SPREXT_NOTMD))
|
||||
#endif
|
||||
)
|
||||
else if (usevoxels && tiletovox[tilenum] != -1 && !(spriteext[spritenum].flags&SPREXT_NOTMD))
|
||||
{
|
||||
vtilenum = tiletovox[tilenum];
|
||||
cstat |= 48;
|
||||
|
@ -6852,9 +6848,7 @@ draw_as_face_sprite:
|
|||
}
|
||||
|
||||
i = (int32_t)tspr->ang+1536;
|
||||
#ifdef USE_OPENGL
|
||||
i += spriteext[spritenum].angoff;
|
||||
#endif
|
||||
drawvox(tspr->x,tspr->y,tspr->z,i,daxrepeat,(int32_t)tspr->yrepeat,vtilenum,tspr->shade,tspr->pal,lwall,swall);
|
||||
}
|
||||
}
|
||||
|
@ -11078,7 +11072,6 @@ void delete_maphack_lights() {}
|
|||
//
|
||||
int32_t loadmaphack(const char *filename)
|
||||
{
|
||||
#ifdef USE_OPENGL
|
||||
enum
|
||||
{
|
||||
T_SPRITE = 0,
|
||||
|
@ -11377,10 +11370,6 @@ int32_t loadmaphack(const char *filename)
|
|||
|
||||
scriptfile_close(script);
|
||||
return 0;
|
||||
#else
|
||||
UNREFERENCED_PARAMETER(filename);
|
||||
return -1;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue