Go to the source code of this file.
Defines | |
#define | SAFE_DELETE(p) { if(p) { delete (p); (p)=NULL; } } |
#define | SAFE_DELETE_ARRAY(p) { if(p) { delete[] (p); (p)=NULL; } } |
#define | SAFE_RELEASE(p) { if(p) { (p)->Release(); (p)=NULL; } } |
#define | DXTRACE sizeof |
#define | DEBUG_MSG(str) (0L) |
Enumerations | |
enum | TIMER_COMMAND { TIMER_RESET, TIMER_START, TIMER_STOP, TIMER_ADVANCE, TIMER_GETABSOLUTETIME, TIMER_GETAPPTIME, TIMER_GETELAPSEDTIME } |
Functions | |
const TCHAR * | DXUtil_GetDXSDKMediaPath () |
HRESULT | DXUtil_FindMediaFile (TCHAR *strPath, TCHAR *strFilename) |
HRESULT | DXUtil_WriteStringRegKey (HKEY hKey, TCHAR *strRegName, TCHAR *strValue) |
HRESULT | DXUtil_WriteIntRegKey (HKEY hKey, TCHAR *strRegName, DWORD dwValue) |
HRESULT | DXUtil_WriteGuidRegKey (HKEY hKey, TCHAR *strRegName, GUID guidValue) |
HRESULT | DXUtil_WriteBoolRegKey (HKEY hKey, TCHAR *strRegName, BOOL bValue) |
HRESULT | DXUtil_ReadStringRegKey (HKEY hKey, TCHAR *strRegName, TCHAR *strValue, DWORD dwLength, TCHAR *strDefault) |
HRESULT | DXUtil_ReadIntRegKey (HKEY hKey, TCHAR *strRegName, DWORD *pdwValue, DWORD dwDefault) |
HRESULT | DXUtil_ReadGuidRegKey (HKEY hKey, TCHAR *strRegName, GUID *pGuidValue, GUID &guidDefault) |
HRESULT | DXUtil_ReadBoolRegKey (HKEY hKey, TCHAR *strRegName, BOOL *pbValue, BOOL bDefault) |
FLOAT __stdcall | DXUtil_Timer (TIMER_COMMAND command) |
VOID | DXUtil_ConvertAnsiStringToWide (WCHAR *wstrDestination, const CHAR *strSource, int cchDestChar=-1) |
VOID | DXUtil_ConvertWideStringToAnsi (CHAR *strDestination, const WCHAR *wstrSource, int cchDestChar=-1) |
VOID | DXUtil_ConvertGenericStringToAnsi (CHAR *strDestination, const TCHAR *tstrSource, int cchDestChar=-1) |
VOID | DXUtil_ConvertGenericStringToWide (WCHAR *wstrDestination, const TCHAR *tstrSource, int cchDestChar=-1) |
VOID | DXUtil_ConvertAnsiStringToGeneric (TCHAR *tstrDestination, const CHAR *strSource, int cchDestChar=-1) |
VOID | DXUtil_ConvertWideStringToGeneric (TCHAR *tstrDestination, const WCHAR *wstrSource, int cchDestChar=-1) |
VOID | DXUtil_Trace (TCHAR *strMsg,...) |
HRESULT | _DbgOut (TCHAR *, DWORD, HRESULT, TCHAR *) |
|
|
|
|
|
Definition at line 15 of file dxutil.h. Referenced by CleanUp(), cGame_Manager::Clear(), and cGame_Manager::~cGame_Manager(). |
|
|
|
Definition at line 17 of file dxutil.h. Referenced by CSurface::Destroy(), CDisplay::DestroyObjects(), CDisplay::InitClipper(), InitDD(), and CSurface::~CSurface(). |
|
|
|
Definition at line 577 of file dxutil.cpp. Referenced by cSprite_Display_Def::Display(), cBitmap_Display_Def::Display(), cGame_Manager::Display_Score(), cGame_Manager::Display_Time(), and Draw_Line(). |
|
Definition at line 529 of file dxutil.cpp. References DXUtil_ConvertAnsiStringToWide(). |
|
Definition at line 431 of file dxutil.cpp. Referenced by DXUtil_ConvertAnsiStringToGeneric(), and DXUtil_ConvertGenericStringToWide(). |
|
Definition at line 479 of file dxutil.cpp. References DXUtil_ConvertWideStringToAnsi(). |
|
Definition at line 504 of file dxutil.cpp. References DXUtil_ConvertAnsiStringToWide(). |
|
Definition at line 455 of file dxutil.cpp. Referenced by DXUtil_ConvertGenericStringToAnsi(), and DXUtil_ConvertWideStringToGeneric(). |
|
Definition at line 554 of file dxutil.cpp. References DXUtil_ConvertWideStringToAnsi(). |
|
Definition at line 60 of file dxutil.cpp. References DXUtil_GetDXSDKMediaPath(). |
|
Definition at line 26 of file dxutil.cpp. Referenced by DXUtil_FindMediaFile(). |
|
Definition at line 178 of file dxutil.cpp. |
|
Definition at line 216 of file dxutil.cpp. |
|
Definition at line 140 of file dxutil.cpp. |
|
Definition at line 101 of file dxutil.cpp. |
|
Definition at line 262 of file dxutil.cpp. References TIMER_ADVANCE, TIMER_GETABSOLUTETIME, TIMER_GETAPPTIME, TIMER_GETELAPSEDTIME, TIMER_RESET, TIMER_START, and TIMER_STOP. Referenced by cBomb::cBomb(), cGame_Manager::cGame_Manager(), cUnit::cUnit(), cUnit::Follow_Path(), cGame_Manager::Generate_Cadeaux(), cUnit::Move(), cPlayer::React_To_Bomb(), cGame_Manager::Read_Keyboard_And_React(), cGame_Manager::Reset(), cBomb::Reset(), cGame_Manager::Start(), and cGame_Manager::Update_Game(). |
|
Definition at line 604 of file dxutil.cpp. |
|
Definition at line 200 of file dxutil.cpp. |
|
Definition at line 238 of file dxutil.cpp. |
|
Definition at line 162 of file dxutil.cpp. |
|
Definition at line 122 of file dxutil.cpp. |