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 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

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 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

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,

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 botman.hlcod...@gmail.com 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

Re: [hlcoders] Alien Swarm VPK

2010-07-28 Thread Yorg Kuijs
That easy huh? It will have to wait for another day though, I decided to take it as an oppurtonity to start over clean and do some things better. To Jonathan: Are you guys aware that after running a map with a mod, then trying to run another(or the same after exit to main menu) will result in

Re: [hlcoders] Alien Swarm VPK

2010-07-28 Thread Graham Mackie
the 20 file were for adding lines for new ammo/pickup functions for that weapon. I could have gotten the altered text simply by editing mymod_english.txt. I can easily change Cyked's Test Weapon into anything using custom models. the mining laser was just something i could add because it didnt

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