63 lines
1.5 KiB
C
63 lines
1.5 KiB
C
/***************************************************************************/
|
|
/*
|
|
* pieState.c
|
|
*
|
|
* renderer setup and state control routines for 3D rendering
|
|
*
|
|
*/
|
|
/***************************************************************************/
|
|
|
|
#include "frame.h"
|
|
#include "pietexture.h"
|
|
#include "piedef.h"
|
|
#include "piestate.h"
|
|
#include "tex.h"
|
|
|
|
/***************************************************************************/
|
|
/*
|
|
* Local Definitions
|
|
*/
|
|
/***************************************************************************/
|
|
|
|
typedef struct _textureState
|
|
{
|
|
UDWORD lastPageDownloaded;
|
|
UDWORD texPage;
|
|
} TEXTURE_STATE;
|
|
|
|
/***************************************************************************/
|
|
/*
|
|
* Local Variables
|
|
*/
|
|
/***************************************************************************/
|
|
|
|
TEXTURE_STATE textureStates;
|
|
|
|
/***************************************************************************/
|
|
/*
|
|
* Local ProtoTypes
|
|
*/
|
|
/***************************************************************************/
|
|
|
|
/***************************************************************************/
|
|
/*
|
|
* Source
|
|
*/
|
|
/***************************************************************************/
|
|
|
|
BOOL pie_Download8bitTexturePage(void* bitmap,UWORD Width,UWORD Height)
|
|
{
|
|
return TRUE;
|
|
}
|
|
|
|
BOOL pie_Reload8bitTexturePage(void* bitmap,UWORD Width,UWORD Height, SDWORD index)
|
|
{
|
|
// return dtm_ReLoadTexture(index);
|
|
return FALSE;
|
|
}
|
|
|
|
UDWORD pie_GetLastPageDownloaded(void)
|
|
{
|
|
return _TEX_INDEX;
|
|
}
|