Re: [hlcoders] Problem with Client side animations

2001-11-14 Thread Neale Roberts
Isn't there a royalty issue with mp3 support? I suspect it probably won't affect free mods, but it's possibly worth considering Ogg-Vorbis as an alternative to mp3 if you do something commercial :) - Original Message - From: Nathan Taylor To: HLCoders Sent: Wednesday,

Re: [hlcoders] Problem with Client side animations

2001-11-14 Thread Nathan Taylor
Me? Commercial0? HAHAAHAH!! I laugh at you.I could never hand code something commercial. What's Ogg-vorbis? - Original Message - From: Neale Roberts Sent: Wednesday, November 14, 2001 4:27 AM To: [EMAIL PROTECTED] Subject: Re: [hlcoders] Problem with Client side animations Isn't there a

Re: [hlcoders] # of entities

2001-11-14 Thread botman
Is there a clean way to count the totally number of a certain entity in map? -Ron By certain entity I assume you mean of the same classname... edict_t *pEdict = NULL; int count = 0; while (pEdict=UTIL_FindEntityByClassname(pEdict, classname_to_search_for)) { count++; } Jeffrey botman

RE: [hlcoders] # of entities

2001-11-14 Thread Yacketta, Ronald
OOPS! Wrong cvs tree ;) There is a pLast = pObject; In between the for {} and do {} while (); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Yacketta, Ronald Sent: Wednesday, November 14, 2001 9:35 AM To: [EMAIL PROTECTED] Subject: RE: [hlcoders] #

RE: [hlcoders] # of entities

2001-11-14 Thread Yacketta, Ronald
*nod* I also missed some key logic it looks like as well *sigh* oh well, no one said I was a botman ;) God of SDK -Ron -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of _Phantom_ Sent: Wednesday, November 14, 2001 11:13 AM To: [EMAIL PROTECTED] Subject:

Re: AW: [hlcoders] Big problem with SDK 2.2 ( again !!!! )

2001-11-14 Thread Pat Magnan
vModEnable is voice related stuff. I got spammed with that by sub classing one of the gamerules classes, and not defining this in my Gamerules' ClientCommand function. I ended up doing a work around like thus: // Do nothing except prevent vModEnable messages spamming clients if (FStrEq(pcmd,

[hlcoders] syntax and ansi compliance

2001-11-14 Thread Dave R. Meyers
I think this might be a silly quiestion, but I am curious. When I ported my mod over to Linux, I had to change a bunch of counter loops: for ( int i = 1; i = gpGlobals-maxClients; i++ ) to this style int i; for ( i = 1; i = gpGlobals-maxClients; i++ ) For ansi compliance. The question

Re: [hlcoders] Problem with m_iClip being different on client and server

2001-11-14 Thread Commando
Ronald wrote: Nothing is being clobbered.. The code is never compiled ;) #if 0 Nothing is compiled in here. #endif I realize that is not getting compiled, that is what worries me, because what is getting compiled is; #if 0 //.. #else m_iClip += 10; #endif Which is adding 10 to