Remove some dead code.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5822 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
535c97354f
commit
4cfdec7d58
|
@ -32,20 +32,6 @@
|
|||
#include "lib/framework/frame.h"
|
||||
#include "pietypes.h"
|
||||
|
||||
|
||||
|
||||
/***************************************************************************/
|
||||
/***************************************************************************/
|
||||
/*
|
||||
* Global Definitions
|
||||
*/
|
||||
/***************************************************************************/
|
||||
#define iV_SCANTABLE_MAX 1024
|
||||
|
||||
// texture animation defines
|
||||
#define iV_IMD_ANIM_FRAMES 8
|
||||
|
||||
|
||||
//*************************************************************************
|
||||
//
|
||||
// screen surface structure
|
||||
|
@ -62,7 +48,6 @@ typedef struct _iSurface {
|
|||
iClip clip;
|
||||
|
||||
UBYTE *buffer;
|
||||
Sint32 scantable[iV_SCANTABLE_MAX]; // currently uses 4k per structure (!)
|
||||
|
||||
int width;
|
||||
int height;
|
||||
|
|
|
@ -38,7 +38,6 @@ iSurface *psRendSurface;
|
|||
iSurface *iV_SurfaceCreate(Uint32 flags, int width, int height, int xp, int yp, UBYTE *buffer)
|
||||
{
|
||||
iSurface *s = malloc(sizeof(iSurface));
|
||||
int i;
|
||||
|
||||
assert(buffer!=NULL); // on playstation this MUST be null
|
||||
|
||||
|
@ -56,13 +55,7 @@ iSurface *iV_SurfaceCreate(Uint32 flags, int width, int height, int xp, int yp,
|
|||
s->width = width;
|
||||
s->height = height;
|
||||
s->size = width * height;
|
||||
|
||||
s->buffer = buffer;
|
||||
for (i=0; i<iV_SCANTABLE_MAX; i++)
|
||||
{
|
||||
s->scantable[i] = i * width;
|
||||
}
|
||||
|
||||
s->clip.left = 0;
|
||||
s->clip.right = width-1;
|
||||
s->clip.top = 0;
|
||||
|
|
|
@ -1327,8 +1327,7 @@ void intDisplayFLICView(WIDGET *psWidget, UDWORD xOffset, UDWORD yOffset, PIELIG
|
|||
seq_RenderVideoToBuffer(NULL, psViewResearch->sequenceName,
|
||||
gameTime2, SEQUENCE_HOLD);
|
||||
//download to screen now
|
||||
seq_BlitBufferToScreen((SBYTE *)rendSurface.buffer, rendSurface.scantable[1],
|
||||
x0, y0);
|
||||
seq_BlitBufferToScreen((SBYTE *)rendSurface.buffer, x0, y0);
|
||||
CloseButtonRender();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue