mirror of
https://github.com/gwdevhub/gMod.git
synced 2026-07-24 12:06:45 +00:00
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:
@@ -20,7 +20,10 @@ 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_IDirect3D9Ex.h"
|
||||
#include "uMod_IDirect3DDevice9.h"
|
||||
#include "uMod_IDirect3DDevice9Ex.h"
|
||||
|
||||
|
||||
|
||||
@@ -29,6 +32,8 @@ along with Universal Modding Engine. If not, see <http://www.gnu.org/licenses/>
|
||||
#define m_pIDirect3D9 m_pIDirect3D9Ex
|
||||
#define PRE_MESSAGE "uMod_IDirect3D9Ex"
|
||||
|
||||
#define uMod_IDirect3D9_H_
|
||||
|
||||
#include "uMod_IDirect3D9.cpp"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user