From 2186d5f3f95cd74a070a490d899291648d58667a Mon Sep 17 00:00:00 2001 From: Steven Fuller Date: Sun, 1 Jul 2001 00:55:22 +0000 Subject: Initial revision --- 3dc/win95/CL_INIT.CPP | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 3dc/win95/CL_INIT.CPP (limited to '3dc/win95/CL_INIT.CPP') diff --git a/3dc/win95/CL_INIT.CPP b/3dc/win95/CL_INIT.CPP deleted file mode 100644 index beab242..0000000 --- a/3dc/win95/CL_INIT.CPP +++ /dev/null @@ -1,34 +0,0 @@ -#include "cl_init.h" -#include "system.h" // because the 3dc header files don't automatically include the ones they need -#include "equates.h" // because the 3dc header files don't automatically include the ones they need -#include "platform.h" // for VideoModeTypes -#include "shape.h" // because the 3dc header files don't automatically include the ones they need -#include "prototyp.h" // for SDB -#include "d3_image.hpp" // for init functions - -extern "C" extern SCREENDESCRIPTORBLOCK ScreenDescriptorBlock; - -void CL_Init_All(void) -{ - switch (VideoModeTypeScreen) - { - case VideoModeType_8: - if (ScreenDescriptorBlock.SDB_Flags & SDB_Flag_TLTPalette) - CL_Init_DirectDrawMode(CLV_8TLT); - else - CL_Init_DirectDrawMode(CLV_8); - break; - case VideoModeType_15: - CL_Init_DirectDrawMode(CLV_15); - break; - case VideoModeType_24: - CL_Init_DirectDrawMode(CLV_24); - break; - case VideoModeType_8T: - CL_Init_DirectDrawMode(CLV_8T); - break; - } - - if (ScanDrawDirectDraw != ScanDrawMode) - CL_Init_D3DMode(&(d3d.TextureFormat[d3d.CurrentTextureFormat].ddsd)); -} -- cgit v1.3