Re: [hlcoders] Simple Queue

2010-07-28 Thread Eddie Cameron
Thanks guys! I didn't even realise there was a STL vector type in the SDK... Eddie ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

Re: [hlcoders] Simple queue

2010-07-28 Thread John Vidler
That comment just made my day ^.^ On 28 Jul 2010 14:25, "Jeffrey "botman" Broome" wrote: No!!! Things are supposed to go in the head and *out* the tail. The other way around is just gross. :) On 7/28/2010 4:43 AM, Tony "omega" Sergi wrote: > > Yeah, that works. > Just add new items to ta

Re: [hlcoders] Simple queue

2010-07-28 Thread Jeffrey "botman" Broome
No!!! Things are supposed to go in the head and *out* the tail. The other way around is just gross. :) On 7/28/2010 4:43 AM, Tony "omega" Sergi wrote: Yeah, that works. Just add new items to tail, and then retrieve (and remove) from head. -Tony On Wed, Jul 28, 2010 at 6:30 PM, Janek wrot

Re: [hlcoders] Simple queue

2010-07-28 Thread Tony "omega" Sergi
Yeah, that works. Just add new items to tail, and then retrieve (and remove) from head. -Tony On Wed, Jul 28, 2010 at 6:30 PM, Janek wrote: > You can use a CUtlVector and use standard function like addtotail... > > J. > > 2010/7/28 Eddie Cameron > > > Hi guys, > > > > I need to use a simple FI

Re: [hlcoders] Simple queue

2010-07-28 Thread Janek
You can use a CUtlVector and use standard function like addtotail... J. 2010/7/28 Eddie Cameron > Hi guys, > > I need to use a simple FIFO queue in my mod, but am stuck as to how this is > used in the SDK. I can only find a priority queue(from CUtl), which I can't > get to work properly. > Is t

[hlcoders] Simple queue

2010-07-27 Thread Eddie Cameron
Hi guys, I need to use a simple FIFO queue in my mod, but am stuck as to how this is used in the SDK. I can only find a priority queue(from CUtl), which I can't get to work properly. Is there any standard queue in the SDK? Or is there a way to make the priority queue act like a normal queue? M