mirror of
https://github.com/JezuzLizard/T4SP-Server-Plugin.git
synced 2026-05-02 04:59:37 +00:00
Added a few types
This commit is contained in:
File diff suppressed because it is too large
Load Diff
+4168
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,4 @@
|
|||||||
#include <stdinc.hpp>
|
#include <stdinc.hpp>
|
||||||
#include "game.hpp"
|
|
||||||
|
|
||||||
#include <utils/hook.hpp>
|
#include <utils/hook.hpp>
|
||||||
#include <utils/memory.hpp>
|
#include <utils/memory.hpp>
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "structs.hpp"
|
|
||||||
|
|
||||||
#define SELECT(mp, sp) (game::environment::t4mp() ? mp : sp)
|
#define SELECT(mp, sp) (game::environment::t4mp() ? mp : sp)
|
||||||
#define ASSIGN(type, mp, sp) reinterpret_cast<type>(SELECT(mp, sp))
|
#define ASSIGN(type, mp, sp) reinterpret_cast<type>(SELECT(mp, sp))
|
||||||
#define CALL_ADDR(mp, sp) ASSIGN(void*, mp, sp)
|
#define CALL_ADDR(mp, sp) ASSIGN(void*, mp, sp)
|
||||||
@@ -67,5 +65,3 @@ namespace game
|
|||||||
T* t4sp_;
|
T* t4sp_;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "symbols.hpp"
|
|
||||||
+13237
-40
File diff suppressed because it is too large
Load Diff
+5422
File diff suppressed because it is too large
Load Diff
@@ -56,8 +56,11 @@
|
|||||||
#pragma comment(lib, "Crypt32.lib")
|
#pragma comment(lib, "Crypt32.lib")
|
||||||
|
|
||||||
#include "utils/hexrays_defs.h"
|
#include "utils/hexrays_defs.h"
|
||||||
|
|
||||||
|
#include "game/enums.hpp"
|
||||||
#include "game/structs.hpp"
|
#include "game/structs.hpp"
|
||||||
#include "game/game.hpp"
|
#include "game/game.hpp"
|
||||||
|
#include "game/symbols.hpp"
|
||||||
|
|
||||||
#define printf(__fmt__, ...) \
|
#define printf(__fmt__, ...) \
|
||||||
game::Com_Printf(game::CON_CHANNEL_SERVER, __fmt__, __VA_ARGS__)
|
game::Com_Printf(game::CON_CHANNEL_SERVER, __fmt__, __VA_ARGS__)
|
||||||
|
|||||||
Reference in New Issue
Block a user