mirror of
https://github.com/gwdevhub/gMod.git
synced 2026-07-22 18:39:31 +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:
+24
-1
@@ -31,10 +31,33 @@ public:
|
||||
~uMod_Frame(void);
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* A game has started and opend a pipe to the GUI. The Server thus create an event and send it to the main frame.
|
||||
* @param event
|
||||
*/
|
||||
void OnAddGame( wxCommandEvent &event);
|
||||
/**
|
||||
* A game has quite and closed it pipe to the GUI. The Server thus create an event and send it to the main frame.
|
||||
* @param event
|
||||
*/
|
||||
void OnDeleteGame( wxCommandEvent &event);
|
||||
|
||||
/**
|
||||
* A game has created a DX device. The Server thus create an event and send it to the main frame.
|
||||
* @param event
|
||||
*/
|
||||
void OnAddDevice( wxCommandEvent &event);
|
||||
/**
|
||||
* A game has deleted a DX device. The Server thus create an event and send it to the main frame.
|
||||
* @param event
|
||||
*/
|
||||
void OnRemoveDevice( wxCommandEvent &event);
|
||||
|
||||
|
||||
/**
|
||||
* The user tries to close the GUI.
|
||||
* @param WXUNUSED
|
||||
*/
|
||||
void OnClose(wxCloseEvent& WXUNUSED(event));
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user