Conditionally make MPakArchive methods const based on Ogre version
With commit cbb02b the build fails with Ogre 1.9. Maybe another OGRE_VERSION conditional would work here? From the docs it seems that these five functions (exists, find, getModifiedTime, list, listFileInfo) were made const in Ogre 1.10. The 1.9 docs have these five functions being non-const and the 1.10 docs have them as const.
Make some methods const so they aren't pure virtual
Fix mismatching allocation and deallocation: buffer
Fix filehandle leak found by Cppcheck.
Fix invalid new-expression of abstract class type.
I made a branch named singleton in my local copy of the repository on sourceforge and Git is set up on my computer to use my GitHub ID and email. The patches ware made with git show > singleton.patch after commiting the change to my singleton branch with git commit for the first patch and git commit --amend for v2 and v3 patches. v3: moved conditional to include/ogreapp.h The Ogre version I'm using is 1.9. Funguloids builds with this patch and a few other changes.
How about this patch? I added a check against OGRE_VERSION to define msSingleton to the older ms_Singleton if version < 1.8.