mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-19 11:49:09 +00:00
Code changes to build with VS2010 without patching.
This commit will follow the tag VS2003_FINAL which is the last commit that will compile under VS2003 without changes. This incorporates all source code changes known to be necessary to build CWE with VS2010.
This commit is contained in:
@ -72,8 +72,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "plAudioSystem.h"
|
||||
#include <al.h>
|
||||
|
||||
#include <dmusici.h>
|
||||
#include <dxerr9.h>
|
||||
#include <dxerr.h>
|
||||
#ifdef EAX_SDK_AVAILABLE
|
||||
#include <eax.h>
|
||||
#include <eax-util.h>
|
||||
|
@ -42,7 +42,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include <stdio.h>
|
||||
#include "plWavFile.h"
|
||||
|
||||
#include <dxerr9.h>
|
||||
#include <dxerr.h>
|
||||
#include <dsound.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -57,7 +57,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include <d3d9.h>
|
||||
#include <ddraw.h>
|
||||
#include <d3dx9mesh.h>
|
||||
#include <dxerr9.h>
|
||||
#include <dxerr.h>
|
||||
|
||||
#include "hsWinRef.h"
|
||||
|
||||
@ -11837,7 +11837,7 @@ void plDXPipeline::ISetErrorMessage( char *errStr )
|
||||
// Convert the last D3D error code to a string (probably "Conflicting Render State").
|
||||
void plDXPipeline::IGetD3DError()
|
||||
{
|
||||
sprintf( fSettings.fErrorStr, "D3DError : %s", (char *)DXGetErrorString9( fSettings.fDXError ) );
|
||||
sprintf( fSettings.fErrorStr, "D3DError : %s", (char *)DXGetErrorString( fSettings.fDXError ) );
|
||||
}
|
||||
|
||||
// IShowErrorMessage /////////////////////////////////////////////////////////////
|
||||
|
Reference in New Issue
Block a user