The only problem with doing that is that later on in the file I actually have to use gEngfuncs, so it doesn't know what gEngfuncs really IS. Then if I try to use
gEngfuncs.pfnGetCvarFloat It chokes because it doesn't know whether gEngfuncs really has that member variable (well, function pointer). ----- Original Message ----- From: "omega" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, December 22, 2001 6:15 AM Subject: Re: [hlcoders] Server/Client CVAR Problems > well, you could always try: > #ifdef CLIENT_DLL > extern cl_enginefunc_t gEngfuncs; > #endif > and then theoretically you should have access to it regardless of header. > > im sorry if im not much help as of late, ive been slackin off and its like > im going stupid or something. i know i had to do something with this a year > ago, but i cant remember what i did to access t he stuff. > > > -omega > Blackened Interactive > http://www.nofadz.com/blackened > IRC: irc.gamesnet.net channel: #blackened-interactive > Assistant Coder, Underhive (http://www.underhive.com) > > ----- Original Message ----- > From: "Varlock" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, December 22, 2001 1:50 AM > Subject: Re: [hlcoders] Server/Client CVAR Problems > > > > I should have described the problem a bit better. I did do that, which > > means it compiles fine on the server side of things. But as soon as I > > compile it on the client workspace, it spits out errors about > redefinitions > > of Vector2D, etc... I've tried just getting the cl_enginefuncs_s structure > > definition alone, but I haven't had much luck. > > > > - Varlock > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders