-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmemory.h
33 lines (28 loc) · 976 Bytes
/
memory.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#include <SDL2/SDL_events.h>
#include <SDL2/SDL_video.h>
#include "sdk.h"
typedef int (*PollEvent)(SDL_Event *);
typedef void (*SwapWindow)(SDL_Window *);
typedef struct {
ClientMode *clientMode;
Input *input;
void (*debugMsg)(const char *msg, ...);
void (*conColorMsg)(Color8 *, const char *msg, ...);
PollEvent *pollEvent;
SwapWindow *swapWindow;
bool (*isOtherEnemy)(Entity *, Entity *);
void (*setClantag)(const char *, const char *);
bool (*lineGoesThroughSmoke)(Vector, Vector, short);
GlobalVars *globalVars;
GlowObjectManager *glowObjectManager;
void *demoFileEndReached;
int *predictionRandomSeed;
MoveData *moveData;
MoveHelper *moveHelper;
KeyValues *(*keyValuesFromString)(const char *name, const char *value, const char **);
KeyValues *(*keyValuesFindKey)(KeyValues *, const char *name, bool create);
void (*keyValuesSetString)(KeyValues *, const char *value);
Entity **localPlayer;
} Memory;
extern Memory memory;
void memory_init(void);