There are two references to SDL_FRAMEWORK that should have been written
FRAMEWORK_SDL. In CGame.cpp, I think the section should be removed in it's
entirety as there is really no need for it and correcting the define results in
failure when compiling. In init.cpp, correcting the define allows Mac OS X
builds to assign a custom icon. If this is not fixed, the icon gets replaced
every time the game is run.
gore = 1;
skill = 1;
-#ifdef SDL_FRAMEWORK
- float r,g,b;
- if (SDL_GetGamma(&r, &g, &b) != -1) {
- if (r != g || g != b) {
- brightness = -1;
- } else {
- brightness = 10 * r;
- }
- }
-#endif
clear();
}
SDL_Surface *device = graphics.loadImage("gfx/main/alienDevice.png");
-#ifndef SDL_FRAMEWORK
+#ifndef FRAMEWORK_SDL
SDL_WM_SetIcon(device, NULL);
#endif
SDL_WM_SetCaption("Blob Wars : Metal Blob Solid", "Blob Wars");