return result;
}
-static char * extensions[] = { "bmp", null };
-static char * extensionsMem[] = { "memorybmp", null };
+static const char * extensions[] = { "bmp", null };
+static const char * extensionsMem[] = { "memorybmp", null };
class MEMORYBMPFormat : BitmapFormat
{
return result;
}
- bool Save(Bitmap bitmap, char * filename, void * options)
+ bool Save(Bitmap bitmap, const char * filename, void * options)
{
bool result = false;
if(bitmap.pixelFormat == pixelFormat8 || bitmap.pixelFormat == pixelFormat888)
return result;
}
- ColorAlpha * LoadPalette(char * fileName, char * type)
+ ColorAlpha * LoadPalette(const char * fileName, const char * type)
{
ColorAlpha * result = null;
File f = FileOpen(fileName, read);