Separated DirectX content from:

1) dll entry functions
2) Server (inside the dll)
3) Server-Client interface.

uMod now detects if a DirectX device was created and is under "control" of uMod (a counter is shown after the game name). Thus if the injection did not work properly, uMod wont show a DX9 or DX9EX count.
This commit is contained in:
code@koerner-de.net
2012-03-22 20:35:16 +00:00
parent 0c11963a9c
commit 56844968e4
52 changed files with 1329 additions and 1416 deletions
+4 -1
View File
@@ -18,7 +18,8 @@ along with Universal Modding Engine. If not, see <http://www.gnu.org/licenses/>
#include "uMod_Main.h"
#include "..\uMod_DXMain\uMod_Main.h"
#include "uMod_IDirect3DDevice9Ex.h"
#define uMod_IDirect3DDevice9 uMod_IDirect3DDevice9Ex
#define IDirect3DDevice9 IDirect3DDevice9Ex
@@ -26,7 +27,9 @@ along with Universal Modding Engine. If not, see <http://www.gnu.org/licenses/>
#define RETURN_QueryInterface 0x01000001L
#define PRE_MESSAGE "uMod_IDirect3DDevice9Ex"
#define DEF_DX_VERSION VERSION_DX9EX
#define uMod_IDirect3DDevice9_H_
#include "uMod_IDirect3DDevice9.cpp"