mirror of
https://github.com/JezuzLizard/T4SP-Server-Plugin.git
synced 2025-04-20 05:25:44 +00:00
Added a few types
This commit is contained in:
parent
cf83dc255c
commit
d7e9ba5439
1838
src/game/clientscript_public.hpp
Normal file
1838
src/game/clientscript_public.hpp
Normal file
File diff suppressed because it is too large
Load Diff
4168
src/game/enums.hpp
Normal file
4168
src/game/enums.hpp
Normal file
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"
|
|
13277
src/game/structs.hpp
13277
src/game/structs.hpp
File diff suppressed because it is too large
Load Diff
5422
src/game/xasset.hpp
Normal file
5422
src/game/xasset.hpp
Normal file
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__)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user