mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Remove global Windows.h include
This is the beginning of efforts to reduce the scope of Windows.h. I have shuttled it into hsWindows.h (again) and fixed the compilation of the major apps. There is still some scope work that needs to be done, and the Max plugin has not yet been addressed.
This commit is contained in:
@ -42,6 +42,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef hsCodec_inc
|
||||
#define hsCodec_inc
|
||||
|
||||
#include "HeadSpin.h"
|
||||
|
||||
class plMipmap;
|
||||
|
||||
class hsCodec
|
||||
|
@ -46,6 +46,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
|
||||
#if HS_BUILD_FOR_WIN32
|
||||
#include "hsWindows.h"
|
||||
#include <vfw.h>
|
||||
#endif
|
||||
|
||||
|
@ -58,7 +58,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#define _plDynSurfaceWriter_h
|
||||
|
||||
#include "hsColorRGBA.h"
|
||||
// EVIL
|
||||
#include "hsWindows.h" // FIXME: windows :(
|
||||
|
||||
struct hsMatrix44;
|
||||
|
||||
|
@ -63,8 +63,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
|
||||
#include "hsColorRGBA.h"
|
||||
// EVIL
|
||||
#include "hsTemplates.h"
|
||||
#include "hsWindows.h" // FIXME: Windows header level include :(
|
||||
|
||||
#if HS_BUILD_FOR_WIN32
|
||||
|
||||
|
Reference in New Issue
Block a user