From b151298459cd3c748ec80b6d7cd4a8d7bdd3ee86 Mon Sep 17 00:00:00 2001 From: Steven Fuller Date: Thu, 22 May 2003 00:23:07 +0000 Subject: warning removal. --- src/win95/awtexld.h | 4 +++- src/win95/texio.c | 21 +++------------------ 2 files changed, 6 insertions(+), 19 deletions(-) (limited to 'src/win95') diff --git a/src/win95/awtexld.h b/src/win95/awtexld.h index 51266e0..5be1a97 100644 --- a/src/win95/awtexld.h +++ b/src/win95/awtexld.h @@ -65,11 +65,13 @@ enum , _AW_TLF_FORCE32BITENUM = 0x0fffffffU /* probably entirely unnecessary */ }; -/* alt_tab junk */ +/* SBF - alt_tab junk */ #define ATIncludeSurfaceDb(p, d, s) fprintf(stderr, "ATIncludeSurfaceDb: %s/%d: %s\n", __FILE__, __LINE__, s) #define ATIncludeTextureDb(p, d, s) fprintf(stderr, "ATIncludeTextureDb: %s/%d: %s\n", __FILE__, __LINE__, s) void ATIncludeSurface(DDSurface * pSurface, AW_BACKUPTEXTUREHANDLE hBackup); void ATRemoveSurface(DDSurface * pSurface); +void ATRemoveTexture(D3DTexture * pTexture); + extern AW_TL_ERC awTlLastErr; diff --git a/src/win95/texio.c b/src/win95/texio.c index 3e23805..2044dd7 100644 --- a/src/win95/texio.c +++ b/src/win95/texio.c @@ -35,7 +35,10 @@ #include "awtexld.h" + +#if 0 /* SBF - commented out */ #include "alt_tab.h" +#endif /* #define for experimental purposes @@ -45,16 +48,6 @@ #define DefinedTextureType TextureTypePPM -#if 0 -#if debug -int tripa = 100; -int tripb = 100; -int tripc = 0; -#define trip_up tripa = tripb / tripc; -#endif -#endif - - /* externs for commonly used global variables and arrays @@ -857,10 +850,6 @@ void SpriteResizing(SHAPEHEADER *sptr) } - /* TEST */ - /*trip_up;*/ - - texture_defn_index = (pheader->PolyColour >> TxDefn); txah_ptr = (TXANIMHEADER **) shape_textures[texture_defn_index]; @@ -1227,10 +1216,6 @@ void FindImageExtents(IMAGEHEADER *ihdr, int numuvs, int *uvdata, IMAGEEXTENTS * if(e->u_high == smallint) e->u_high = e_curr->u_high; if(e->v_high == smallint) e->v_high = e_curr->v_high; - - /* TEST */ - /*trip_up;*/ - } break; -- cgit v1.3