Thread: I do not want to belive this!

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Hail to the king, baby. Akkernight's Avatar
    Join Date
    Oct 2008
    Location
    Faroe Islands
    Posts
    717

    I do not want to belive this!

    Well, me and Elysia are kinda 'arguing' about game programming and how to load textures... And since Elysia is always right, I can not say anything else than I do not want to belive!
    Well, to the case, Elysia claims that we should make a class for each texture, we're talking about 100+ textures here, since it's a game! :O
    Now, it's also good practise to make files for each class, that's 100+ files for textures, maybe 200+ since they might need .h and .cpp files (very unlikely tho)
    So I want your suggestions, do we really need to do it this way? I personally have no other flexible way, except making some kind of array/vector to hold the textures, but there's no way you can keep track of the textures that way since, texture[76] would be a headache to remember which one it was...
    So again, what do you people think we should do?

    SOLVED!
    On it's own :O
    Last edited by Akkernight; 03-31-2009 at 04:08 PM.
    Currently research OpenGL

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. God
    By datainjector in forum A Brief History of Cprogramming.com
    Replies: 746
    Last Post: 12-22-2002, 12:01 PM
  2. Do you belive in magic
    By datainjector in forum A Brief History of Cprogramming.com
    Replies: 21
    Last Post: 09-16-2002, 03:42 AM