Game Development Community

Llist examples?

by Frank Carney · in Torque Game Engine · 01/23/2007 (9:14 pm) · 0 replies

I am creating a widget that will need to handle possibly hundreds of light weight objects and was looking as using llist from core/llist.h. This appears to be a linked list template that seems to be rarely if ever used. Does anyone have experience with this code? So far I have done this:
typedef struct tnode{
   Point3F pos;
   ColorI  col;
};

typedef LList<tnode> tcnode;

Is this the correct way to instantiate this?

Thanks,
Frank

About the author

I Started programming in HS and have never stopped. Now an 18 year vet of programming anything from assembler on a NES console to a nuclear waste processing system. If it can be programmed I may have tried to program it!