renamed time to gl_time
updated makefile
This commit is contained in:
parent
68e729721d
commit
a293e23fe2
|
@ -12,7 +12,7 @@ CPP = gcc
|
|||
NAME = fakemeta_amxx
|
||||
|
||||
OBJECTS = sdk/amxxmodule.cpp dllfunc.cpp engfunc.cpp fakemeta_amxx.cpp pdata.cpp forward.cpp \
|
||||
fm_tr.cpp pev.cpp glb.cpp
|
||||
fm_tr.cpp pev.cpp glb.cpp fm_tr2.cpp
|
||||
|
||||
LINK =
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ void initialize_glb_offsets()
|
|||
DO_OFFSET_GLB(cdAudioTrack);
|
||||
DO_OFFSET_GLB(maxClients);
|
||||
DO_OFFSET_GLB(maxEntities);
|
||||
DO_OFFSET_GLB(time);
|
||||
g_glob_offset_table[gl_time] = offsetof(globalvars_t, time);
|
||||
DO_OFFSET_GLB(frametime);
|
||||
DO_OFFSET_GLB(force_retouch);
|
||||
DO_OFFSET_GLB(deathmatch);
|
||||
|
@ -163,4 +163,4 @@ AMX_NATIVE_INFO glb_natives[] =
|
|||
{
|
||||
{"global_get", amx_glb},
|
||||
{NULL, NULL},
|
||||
};
|
||||
};
|
||||
|
|
|
@ -12,7 +12,7 @@ enum glb_pointers
|
|||
maxEntities,
|
||||
glb_end_int,
|
||||
glb_start_float,
|
||||
time,
|
||||
gl_time,
|
||||
frametime,
|
||||
force_retouch,
|
||||
deathmatch,
|
||||
|
@ -49,4 +49,5 @@ enum glb_pointers
|
|||
|
||||
void initialize_glb_offsets();
|
||||
|
||||
#endif /* _INCLUDE_GLB_H */
|
||||
#endif /* _INCLUDE_GLB_H */
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user