#include <Windows.h>
#include <d3d9.h>
#include <d3dx9.h>
#include <dinput.h>
#include <dsound.h>
Go to the source code of this file.
Defines | |
#define | _WIN32_WINNT 0x400 |
ウィンドウズヘッダ。WinNT4.0、Win98以降 | |
#define | D3D_DEBUG_INFO |
デバッグ時にDirectGraphicsのデバッグ情報を出力する | |
#define | DIRECTINPUT_VERSION 0x800 |
DirectInputバージョン8. | |
#define | DirectXSucceeded(dxStatus) ((dxStatus) >= 0) |
DirectXの成功. | |
#define | DirectXFailed(dxStatus) ((dxStatus) < 0) |
DirectXの失敗. | |
#define | DirectXAssert(expression) |
DirectXのアサート. | |
#define | DirectXAssertMessage(expression, message) |
DirectXのメッセージ付アサート. | |
#define | DirectXCheck(expression) DirectXAssert(expression) |
DirectXのチェック. | |
#define | DirectXCheckMessage(expression, message) DirectXAssertMessage(expression, message) |
DirectXのメッセージ付チェック. | |
#define | Direct3DCreate Direct3DCreate9 |
Direct3DCreate. | |
#define | DirectInputCreate DirectInput8Create |
DirectInputCreate. | |
#define | DirectInputInterfaceID IID_IDirectInput8 |
DirectInputInterfaceID. | |
#define | DirectInputDeviceClass_GameController DI8DEVCLASS_GAMECTRL |
DirectInputDeviceClass_GameController. | |
#define | DirectSoundBufferInterfaceID IID_IDirectSoundBuffer8 |
DirectSoundBufferInterfaceID. | |
#define | DirectSoundNotifyInterfaceID IID_IDirectSoundNotify8 |
DirectSoundNotifyInterfaceID. | |
#define | DirectSound3DBufferInterfaceID IID_IDirectSound3DBuffer8 |
DirectSound3DBufferInterfaceID. | |
#define | DirectSound3DListenerInterfaceID IID_IDirectSound3DListener8 |
DirectSound3DBufferInterfaceID. | |
Typedefs | |
typedef IDirect3D9 | Direct3D |
Direct3D. | |
typedef IDirect3DDevice9 | Direct3DDevice |
Direct3DDevice. | |
typedef IDirect3DStateBlock9 | Direct3DStateBlock |
Direct3DStateBlock. | |
typedef IDirect3DSurface9 | Direct3DSurface |
Direct3DSurface. | |
typedef IDirect3DIndexBuffer9 | Direct3DIndexBuffer |
Direct3DIndexBuffer. | |
typedef IDirect3DVertexDeclaration9 | Direct3DVertexDeclaration |
Direct3DVertexDeclaration. | |
typedef IDirect3DVertexBuffer9 | Direct3DVertexBuffer |
Direct3DVertexBuffer. | |
typedef IDirect3DTexture9 | Direct3DTexture |
Direct3DTexture. | |
typedef ID3DXBuffer | Direct3DXBuffer |
Direct3DXBuffer. | |
typedef ID3DXMesh | Direct3DXMesh |
Direct3DXMesh. | |
typedef IDirectInput8 | DirectInput |
DirectInput. | |
typedef IDirectInputDevice8 | DirectInputDevice |
DirectInputDevice. | |
typedef IDirectSound8 | DirectSound |
DirectSound. | |
typedef IDirectSoundBuffer | DirectSoundPrimaryBuffer |
DirectSoundPrimaryBuffer. | |
typedef IDirectSoundBuffer8 | DirectSoundBuffer |
DirectSoundBuffer. | |
typedef IDirectSoundNotify8 | DirectSoundNotify |
DirectSoundNotify. | |
typedef IDirectSound3DBuffer8 | DirectSound3DBuffer |
DirectSound3DBuffer. | |
typedef IDirectSound3DListener8 | DirectSound3DListener |
DirectSound3DBuffer. | |
typedef D3DADAPTER_IDENTIFIER9 | D3DAdapterIdentifier |
D3DADAPTER_IDENTIFIER. | |
typedef D3DCAPS9 | D3DCapacity |
D3DCAPS. | |
typedef D3DSURFACE_DESC | D3DSurfaceDescription |
D3DSURFACE_DESC. | |
typedef D3DVIEWPORT9 | D3DViewport |
D3DVIEWPORT9. | |
typedef D3DLIGHT9 | D3DLight |
D3DLIGHT9. | |
typedef D3DMATERIAL9 | D3DMaterial |
D3DMATERIAL9. | |
typedef D3DVERTEXELEMENT9 | D3DVertexElement |
D3DVERTEXELEMENT9. |
Definition in file DirectXDefinition.h.
|
Value: if(DirectXFailed(expression)){\ DebugOut("DirectXAssert %s %d\n", __FILE__, __LINE__);\ _asm{ int 3 }\ } リリース時には実行されません
Definition at line 78 of file DirectXDefinition.h. |
|
Value: if(DirectXFailed(expression)){\ DebugOut("DirectXAssert %s\n%s %d\n", message, __FILE__, __LINE__);\ _asm{ int 3 }\ } リリース時には実行されません
Definition at line 91 of file DirectXDefinition.h. |
|
|
DirectXのメッセージ付チェック. リリース時にチェックは実行されませんが、引数の構文は実行されます
Definition at line 112 of file DirectXDefinition.h. |
|
DirectXの失敗. リリース時にも実行されます
Definition at line 67 of file DirectXDefinition.h. Referenced by Lamp::SoundListener::apply3DSettings(), Lamp::RenderingDevice::beginScene(), Lamp::GraphicsDeviceComboInformation::buildMultiSampleConflict(), Lamp::JoystickDevice::checkJoystickObject(), Lamp::GraphicsDeviceInformation::enumerate(), Lamp::SoundBuffer::getBufferFrequency(), Lamp::SoundBuffer::getCursor(), Lamp::SoundBuffer::getState(), Lamp::StreamPlayer::initialize(), Lamp::MouseDevice::initialize(), Lamp::LampSound::initialize(), Lamp::LampInput::initialize(), Lamp::KeyboardDevice::initialize(), Lamp::JoystickDevice::initialize(), Lamp::InputDevice::initialize(), Lamp::BasicFramework::initializeGraphicsDeviceObjects(), Lamp::LampInput::joystickEnumeration(), Lamp::SoundBuffer::lock(), Lamp::SoundBuffer::playBuffer(), Lamp::GraphicsDevice::presentation(), Lamp::SoundCapacity::refresh(), Lamp::BasicFramework::restoreGraphicsDeviceObjects(), Lamp::Sound3D::set3DEnabled(), Lamp::Sound3D::setConeAngle(), Lamp::Sound3D::setConeDirection(), Lamp::Sound3D::setConeOutsideVolume(), Lamp::InputDevice::setCooperativeLevel(), Lamp::SoundBuffer::setCursor(), Lamp::SoundListener::setDirection(), Lamp::SoundListener::setDistanceFactor(), Lamp::SoundListener::setDopplerFactor(), Lamp::SoundBuffer::setFrequency(), Lamp::Sound3D::setMaximumDistance(), Lamp::Sound3D::setMinimumDistance(), Lamp::SoundBuffer::setOriginalFrequency(), Lamp::StereoSound::setPan(), Lamp::SoundListener::setPosition(), Lamp::Sound3D::setPosition(), Lamp::SoundListener::setRolloffFactor(), Lamp::SoundListener::setVelocity(), Lamp::Sound3D::setVelocity(), Lamp::SoundBuffer::setVolume(), Lamp::Sound3D::Sound3D(), Lamp::SoundBuffer::SoundBuffer(), Lamp::StereoSound::StereoSound(), Lamp::SoundBuffer::stopBuffer(), and Lamp::SoundBuffer::unlock(). |
|
DirectXの成功. リリース時にも実行されます
Definition at line 59 of file DirectXDefinition.h. Referenced by Lamp::InputDevice::acquire(), Lamp::GraphicsDeviceComboInformation::buildDepthStencilFormats(), Lamp::GraphicsDeviceComboInformation::buildMultiSampleType(), Lamp::GraphicsDevice::initialize(), Lamp::SoundBuffer::lock(), Lamp::SoundBuffer::playBuffer(), Lamp::MouseDevice::polling(), Lamp::KeyboardDevice::polling(), and Lamp::JoystickDevice::polling(). |