Again, a slight update: added a google code project for prometheus here: http://code.google.com/p/prometheuslib/
Also, WILL asked a valid point about how library management works as I didnt explain it in my last blog post, heres how:
you have an array of objects each with:
The data (eg fonts, image)
Name
Boolean whether its used or not
and any extra data.
Then when you call load_whatever(name, source) it loads that into the next empty slot in the array. To process it you simple do process_whatever(NAME) and it checks where it is in the array and does it for you. Its not always the most efficient, however.
Hopefully that clarifies things as to how I would implement a library s such.
Furthermore, all Prometheus updates will be posted here and links to the code on google code also.
cheers,
code_glitch
PS: Also made a small graphics update retro style. Although it should no longer be called probewars, it looks a ton better now...
The download links are here: http://code.google.com/p/prometheuslib/downloads/list
The homepage is here: http://code.google.com/p/prometheuslib/
Bookmarks