Remove some dead code

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@675 4a71c877-e1ca-e34f-864e-861f7616d084
master
Per Inge Mathisen 2006-09-01 21:01:17 +00:00
parent 346a73eba8
commit b7b01e70b6
2 changed files with 3 additions and 22 deletions

View File

@ -191,12 +191,6 @@ extern BOOL mapLoad(char *pFileData, UDWORD fileSize);
/* Save the map data */
extern BOOL mapSave(char **ppFileData, UDWORD *pFileSize);
/* Load map texture info */
extern void mapLoadTexture(void);
/* Save the current map texture info */
extern void mapSaveTexture(void);
/* A post process for the water tiles in map to ensure height integrity */
extern void mapWaterProcess( void );

View File

@ -20,27 +20,15 @@
#define NUM_OTHER_PAGES 19
iSprite tempTexStore;
iPalette tempPal;
/* Stores the graphics data for the terrain tiles textures */
/* Stores the graphics data for the terrain tiles textures (in src/data.c) */
iSprite tilesPCX;
/* Stores the raw PCX data for the terrain tiles at load file time */
iBitmap **tilesRAW;
/* How many tiles have we loaded */
UDWORD numPCXTiles;
/* How many pages have we loaded */
SDWORD firstTexturePage;
SDWORD numTexturePages;
int pageId[MAX_TERRAIN_PAGES];
/* Presently all texture pages are 256*256 big */
typedef struct _texturePage
{
UDWORD pageNumber;
UDWORD cardAddress;
} TEXTURE_PAGE_3DFX;
/* Texture page and coordinates for each tile */
TILE_TEX_INFO tileTexInfo[MAX_TILES];
static UDWORD getTileXIndex(UDWORD tileNumber);
@ -234,7 +222,6 @@ BOOL getTileRadarColours(void)
w = tilesPCX.width / TILE_WIDTH;
h = tilesPCX.height / TILE_HEIGHT;
numPCXTiles = w * h;
t = 0;
for (i=0; i<h; i++)