mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-04 00:23:22 +08:00
48 lines
1.2 KiB
C
48 lines
1.2 KiB
C
//--------------------------------------------------------------------------------------
|
|
// File: DxStdAfx.h
|
|
//
|
|
// Desc: Standard includes and precompiled headers for DXUT
|
|
//
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
//--------------------------------------------------------------------------------------
|
|
#pragma once
|
|
#ifndef DXSDK_STDAFX_H
|
|
#define DXSDK_STDAFX_H
|
|
|
|
#include <windows.h>
|
|
#include <assert.h>
|
|
#include <wchar.h>
|
|
#include <mmsystem.h>
|
|
#include <commctrl.h> // for InitCommonControls()
|
|
#include <shellapi.h> // for ExtractIcon()
|
|
#include <new.h> // for placement new
|
|
#include <math.h>
|
|
#include <limits.h>
|
|
#include <stdio.h>
|
|
#include <multimon.h>
|
|
|
|
// Direct3D includes
|
|
#include <d3d9.h>
|
|
#include <d3dx9.h>
|
|
#include <dxerr9.h>
|
|
|
|
|
|
#define STRSAFE_NO_DEPRECATE
|
|
#include <strsafe.h>
|
|
|
|
#include "DXUTmisc.h"
|
|
#include "DXUTgui.h"
|
|
#include "DXUTsettingsDlg.h"
|
|
|
|
#ifndef SAFE_DELETE
|
|
#define SAFE_DELETE(p) { if(p) { delete (p); (p)=NULL; } }
|
|
#endif
|
|
#ifndef SAFE_DELETE_ARRAY
|
|
#define SAFE_DELETE_ARRAY(p) { if(p) { delete[] (p); (p)=NULL; } }
|
|
#endif
|
|
#ifndef SAFE_RELEASE
|
|
#define SAFE_RELEASE(p) { if(p) { (p)->Release(); (p)=NULL; } }
|
|
#endif
|
|
|
|
#endif // !defined(DXSDK_STDAFX_H)
|