renamed time to gl_time

updated makefile
This commit is contained in:
David Anderson 2006-03-20 18:45:53 +00:00
parent 68e729721d
commit a293e23fe2
3 changed files with 6 additions and 5 deletions

View File

@ -12,7 +12,7 @@ CPP = gcc
NAME = fakemeta_amxx NAME = fakemeta_amxx
OBJECTS = sdk/amxxmodule.cpp dllfunc.cpp engfunc.cpp fakemeta_amxx.cpp pdata.cpp forward.cpp \ 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 = LINK =

View File

@ -12,7 +12,7 @@ void initialize_glb_offsets()
DO_OFFSET_GLB(cdAudioTrack); DO_OFFSET_GLB(cdAudioTrack);
DO_OFFSET_GLB(maxClients); DO_OFFSET_GLB(maxClients);
DO_OFFSET_GLB(maxEntities); 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(frametime);
DO_OFFSET_GLB(force_retouch); DO_OFFSET_GLB(force_retouch);
DO_OFFSET_GLB(deathmatch); DO_OFFSET_GLB(deathmatch);
@ -163,4 +163,4 @@ AMX_NATIVE_INFO glb_natives[] =
{ {
{"global_get", amx_glb}, {"global_get", amx_glb},
{NULL, NULL}, {NULL, NULL},
}; };

View File

@ -12,7 +12,7 @@ enum glb_pointers
maxEntities, maxEntities,
glb_end_int, glb_end_int,
glb_start_float, glb_start_float,
time, gl_time,
frametime, frametime,
force_retouch, force_retouch,
deathmatch, deathmatch,
@ -49,4 +49,5 @@ enum glb_pointers
void initialize_glb_offsets(); void initialize_glb_offsets();
#endif /* _INCLUDE_GLB_H */ #endif /* _INCLUDE_GLB_H */