[hlcoders] gpGlobals-curtime inaccessable from animationlayer.h

2006-12-20 Thread Michael Chang
-- [ Picked text/plain from multipart/alternative ] Hello once again guys. I'm trying to implement clientside SetAnimation() so it required me to much around in animationlayer.h One of the required functions that I needed to duplicate was Init() from BaseAnimatingOverlays. Inside Init, there's a

Re: [hlcoders] gpGlobals-curtime inaccessable from animationlayer.h

2006-12-20 Thread Justin Krenz
It's because one of the header files that BaseAnimatingOverlay.cpp includes goes back and defines that class. You need to include the header file that defines it by adding: #include globalvars_base.h Michael Chang wrote: -- [ Picked text/plain from multipart/alternative ] Hello once again

Re: [hlcoders] gpGlobals-curtime inaccessable from animationlayer.h

2006-12-20 Thread Michael Chang
-- [ Picked text/plain from multipart/alternative ] Thanks that worked out! ~M It's because one of the header files that BaseAnimatingOverlay.cpp includes goes back and defines that class. You need to include the header file that defines it by adding: #include globalvars_base.h --