Game runs slowly on my computer when I'm in the middle of the huts and trees ( 10-15 fps vs 30-40 fps in the open). Supposedly, using a display list can improve this; minor testing with just rocks and trees gained a few fps.
All it would take is a function in main.cpp (or as part of init() in objloader.h) to generate the display lists, and replace the renderOBJModel() calls in gameobjects.cpp with glCallList(). Also objectstates would no longer need a _tid.
If there are no objections to this, I can do it tonight after I finish with AI.
Game runs slowly on my computer when I'm in the middle of the huts and trees ( 10-15 fps vs 30-40 fps in the open). Supposedly, using a display list can improve this; minor testing with just rocks and trees gained a few fps.
All it would take is a function in main.cpp (or as part of init() in objloader.h) to generate the display lists, and replace the renderOBJModel() calls in gameobjects.cpp with glCallList(). Also objectstates would no longer need a _tid.
If there are no objections to this, I can do it tonight after I finish with AI.