More compiling. Things are starting to get hacky (adding stubs, commenting

out unimplemented windows stuff, and so on).
This commit is contained in:
Steven Fuller 2001-07-29 20:57:33 +00:00 committed by Patryk Obara
parent 5c497c61a6
commit 4db15e7459
13 changed files with 420 additions and 60 deletions

View file

@ -1,11 +1,15 @@
#include <windows.h>
#include <string.h>
#include "fixer.h"
#include "string.hpp"
#ifndef DB_LEVEL
#define DB_LEVEL 4
#endif
#include "db.h"
#include "awTexLd.h"
#include "awtexld.h"
#include "chnkload.hpp"
#include "chunkpal.hpp"
@ -16,12 +20,12 @@
#include "ffstdio.h"
#endif
#ifndef CL_SUPPORT_ALTTAB
#error "Please #define CL_SUPPORT_ALTTAB to 0 or 1 in projload.hpp"
#endif
#if CL_SUPPORT_ALTTAB
#include "alt_tab.h"
#endif
//#ifndef CL_SUPPORT_ALTTAB
// #error "Please #define CL_SUPPORT_ALTTAB to 0 or 1 in projload.hpp"
//#endif
//#if CL_SUPPORT_ALTTAB
// #include "alt_tab.h"
//#endif
#include "chnktexi.h"
@ -36,7 +40,9 @@ char const * cl_pszGameMode = NULL;
// used to determine if the display is palettized
// currently assuming that if this is <= 8 then all
// surfaces et. except d3d textures have a global palette
extern "C" extern int VideoModeColourDepth;
extern "C" {
extern int VideoModeColourDepth;
};
// useful filename handling functions
@ -649,7 +655,9 @@ char * CL_GetImageFileName(char * pszDestBuf, unsigned nBufSize, char const * ps
}
}
extern "C" extern void CheckForWindowsMessages(void);
extern "C" {
extern void CheckForWindowsMessages(void);
};
int CL_LoadImageOnce(char const * pszFileName, unsigned fFlagsEtc)
{