summaryrefslogtreecommitdiff
path: root/src/win95/io.c
diff options
context:
space:
mode:
authorSteven Fuller <relnev@icculus.org>2001-08-07 04:48:41 +0000
committerPatryk Obara <dreamer.tan@gmail.com>2019-08-20 02:22:36 +0200
commitfc5b084897d1e0a9eb4a3557d517607609f4d4e5 (patch)
tree807946cc617e3d85f5e817c5a6611dd3b714b173 /src/win95/io.c
parent78cdb29e7aa6860640b9ab77994b17b22840cf11 (diff)
Removed some unused bits.
Diffstat (limited to 'src/win95/io.c')
-rw-r--r--src/win95/io.c103
1 files changed, 0 insertions, 103 deletions
diff --git a/src/win95/io.c b/src/win95/io.c
index 8777eba..a8c4c3e 100644
--- a/src/win95/io.c
+++ b/src/win95/io.c
@@ -15,17 +15,6 @@
#undef textprint
-
-#if SupportTLTFiles
-#define Output_TLT_File No
-#endif
-
-#define Output_VEA_File No
-
-#define Proper_8Bit_MIP No
-
-#define DontLet222ColoursGoToBlack Yes
-
#define textprintOn Yes
#define DHMtextprint Yes
@@ -70,7 +59,6 @@
*/
-extern SCENE Global_Scene;
extern SHAPEHEADER **mainshapelist;
extern SHAPEHEADER *testpaletteshapelist[];
extern SCREENDESCRIPTORBLOCK ScreenDescriptorBlock;
@@ -110,15 +98,10 @@ extern IMAGEHEADER ImageHeaderArray[]; /* Array of Image Headers */
*/
- int DrawMode = DrawPerVDB;
-/* Win95 default ought to be per frame */
-
/* Timer */
long lastTickCount;
unsigned char *ScreenBuffer = 0; /* Ensure initialised to Null */
- unsigned char *ScreenBuffer2 = 0;
-
unsigned char LPTestPalette[1024]; /* to cast to lp*/
@@ -141,10 +124,8 @@ extern IMAGEHEADER ImageHeaderArray[]; /* Array of Image Headers */
unsigned char *PaletteRemapTable = 0;
- int **ShadingTableArray = 0;
int NumShadingTables = 0;
- unsigned char **PaletteShadingTableArray = 0;
int NumPaletteShadingTables = 0;
int FrameRate;
@@ -294,63 +275,6 @@ void GetDOSFilename(char *fnameptr)
}
-
-/*
-
- Compare two strings.
-
- Return Yes if they're the same, else No.
-
-*/
-
-/*
- IMPORTANT!!!
- This function is not ideal!!! It is used
- here because this is only an initialisation
- stage, but if you want to compare strings
- elsewhere you should either use the C library
- function or (if there's a problem with that)
- write your own.
-*/
-
-int CompareStringCH(char *string1, char *string2)
-
-{
-
- char *srtmp;
- char *srtmp2;
- int slen1 = 0;
- int slen2 = 0;
- int i;
-
-
- srtmp = string1;
-
- while(*srtmp++ != 0)
- slen1++;
-
- srtmp = string2;
-
- while(*srtmp++ != 0)
- slen2++;
-
- if(slen1 != slen2) return No;
-
- else {
-
- srtmp = string1;
- srtmp2 = string2;
-
- for(i=slen1; i!=0; i--)
- if(*srtmp++ != *srtmp2++) return No;
-
- return Yes;
-
- }
-
-}
-
-
/*
Compare two filenames.
@@ -839,19 +763,6 @@ void (*UpdateScreen[]) (void) = {
};
-
-/*
- Not supported in Windows 95 !!!
-*/
-
-
-void PlotPixelTest(int x, int y, unsigned char col)
-
-{
-
-}
-
-
/*
Wait for Return Key
@@ -963,11 +874,6 @@ void GetProjectFilename(char *fname, char *image)
}
-
-
-
-
-
/*
Attempts to load the image file.
@@ -989,13 +895,6 @@ TEXTURE* LoadImageCH(char *fname, IMAGEHEADER *iheader)
}
-
-
-
-
-
-
-
void ConvertToDDPalette(unsigned char* src, unsigned char* dst, int length, int flags)
{
int i;
@@ -1943,5 +1842,3 @@ void ConvertDDToInternalPalette(unsigned char* src, unsigned char* dst, int leng
*dst++ = (*src++) >> 2;
}
}
-
-