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<jan...@gmail.com> wrote:
You can use a CUtlVector and use standard function like addtotail...
J.
2010/7/28 Eddie Cameron<edd...@grapefruitgames.com>
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?
My C++ is a bit rusty so I'm probably missing something obvious.
Thanks for the help!
Eddie
grapefruitgames.com
_______________________________________________
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
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders