diff options
| author | Steven Fuller <relnev@icculus.org> | 2008-05-04 02:51:54 -0700 |
|---|---|---|
| committer | Patryk Obara <dreamer.tan@gmail.com> | 2019-08-20 02:22:37 +0200 |
| commit | 76403986b15eb10e3045397ccb4262b87419c86c (patch) | |
| tree | f4effc045a39bf1bef37e5dddad0c20111ab1b3c /src/win95/cl_init.cpp | |
| parent | a64e1008385dd2eef5f44f9adb135f7644da92fd (diff) | |
Removed unused image and font code.
Diffstat (limited to 'src/win95/cl_init.cpp')
| -rw-r--r-- | src/win95/cl_init.cpp | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/src/win95/cl_init.cpp b/src/win95/cl_init.cpp deleted file mode 100644 index beab242..0000000 --- a/src/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)); -} |
