View Single Post
Re: How to do correct movement
Old
  (#29)
SteveC
Member
 
Status: Offline
Posts: 37
Join Date: Jan 2005
Location: UK
Default Re: How to do correct movement - 09-01-2005

Quote:
Originally Posted by Cheeseh
It works for your SCBot source, but not with my bot, I get even more errors than I used to. (1761 errors to be exact!) (also seems a bit of a hack since it isn't the game dll we're building)
Yeah if you define GAME_DLL (or CLIENT_DLL) and include some other files then you can cause major problems. I don't think you need much more than cbase.h normally (apart from the interface headers).

And the only reason it's a 'hack' is because valve forces us to define one to get the Networkvar.h to compile properly. The first time I had commented the #if statement on line 421 of Networkvar.h, so I didn't need to define either DLL type.
I can see your point though that I'm missleading the engine a little tiny bit.

Last edited by SteveC; 09-01-2005 at 15:34..
  
Reply With Quote