This topic is now archived and is closed to further replies.


List of game systems ... help!

Recommended Posts

xeos    122
I''m currently creating a system which lets users add a System (Rendering, sound etc.) to a list, and reference them by name. I''ve tried to create the linked list myself, but have been unable to overcome some issues (access violations when deleteing object etc.). Ideally, I''d like the system to store the object and a unique name in a basic list, which only needs to be able to add, delete and retrive objects. We need to find objects and delete them based upon name (which returns a pointer), but we should add them by function type, or possibly by pointers (I want to be able to add objects from DLLs as well). Is there a simple solution using STL (such as maps?), or is a custom solution better. I don''t know very much STL, but I''m trying to learn some. Should I add my systems as objects or pointers to objects? What''s the best way to get something working? Any help would be appreciated. Simon Wilson

Share this post

Link to post
Share on other sites