List of game systems ... help!
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
xeosdd@goconnect.net
XEOS Digital Development - Supporting the independant and OpenSource game developers!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement