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:
@ -41,6 +41,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*==LICENSE==*/
|
||||
#pragma warning(disable: 4284)
|
||||
#include "HeadSpin.h"
|
||||
#include "hsWindows.h"
|
||||
#include "plClient.h"
|
||||
#include "hsStream.h"
|
||||
#include "plResMgr/plResManager.h"
|
||||
|
@ -40,9 +40,13 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
*==LICENSE==*/
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "hsWindows.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <direct.h> // windows directory handling fxns (for chdir)
|
||||
#include <process.h>
|
||||
#include <Shellapi.h> // ShellExecuteA
|
||||
|
||||
//#define DETACH_EXE // Microsoft trick to force loading of exe to memory
|
||||
#ifdef DETACH_EXE
|
||||
@ -51,7 +55,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
#include <curl/curl.h>
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "hsStream.h"
|
||||
|
||||
#include "plClient.h"
|
||||
@ -78,7 +81,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
#include "res/resource.h"
|
||||
|
||||
//#include <shellapi.h>
|
||||
//
|
||||
// Defines
|
||||
//
|
||||
|
Reference in New Issue
Block a user