[Scummvm-devel] Mixed case filenames

Travis Howell kirben at optusnet.com.au
Sun Oct 16 03:12:18 CEST 2005


We currently check the following types of filenames for games:
Filename.exe
filename.ext
FILENAME.EXE

But games from Humongous Entertainment often use a mixed case for the
filenames, with more types:
FILENAME.ext
Filename.Ext
FILENAME.Ext
filename.EXT
Filename.EXT

What would be the best way to handle mixed case filenames of these types, in
an efficient and portable way? could we consider using scumm_stricmp() to 
handle
filenames or is there a better method?





More information about the Scummvm-devel mailing list