mirror of
https://github.com/JezuzLizard/T4SP-Server-Plugin.git
synced 2025-07-05 10:41:54 +00:00
Added a few types
This commit is contained in:
@ -1,7 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include "structs.hpp"
|
||||
|
||||
#define SELECT(mp, sp) (game::environment::t4mp() ? mp : sp)
|
||||
#define ASSIGN(type, mp, sp) reinterpret_cast<type>(SELECT(mp, sp))
|
||||
#define CALL_ADDR(mp, sp) ASSIGN(void*, mp, sp)
|
||||
@ -67,5 +65,3 @@ namespace game
|
||||
T* t4sp_;
|
||||
};
|
||||
}
|
||||
|
||||
#include "symbols.hpp"
|
Reference in New Issue
Block a user