Results 1 to 9 of 9

Thread: Prometheus Development Thread

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #7
    PGD Staff code_glitch's Avatar
    Join Date
    Oct 2009
    Location
    UK (England, the bigger bit)
    Posts
    933
    Blog Entries
    45
    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/
    Last edited by code_glitch; 05-10-2010 at 08:44 PM.
    I once tried to change the world. But they wouldn't give me the source code. Damned evil cunning.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •