Subversion Repositories eduke32

Compare Revisions

Ignore whitespace Rev 5557 → Rev 5558

/polymer/eduke32/build/src/SDLMain.m
10,6 → 10,8
 
#if TARGET_OS_MAC
 
#include "compat.h"
 
#import <AppKit/AppKit.h>
 
#include "sdl_inc.h"
76,6 → 78,8
SDL_Event event;
event.type = SDL_QUIT;
SDL_PushEvent(&event);
 
UNREFERENCED_PARAMETER(sender);
}
@end
 
206,6 → 210,9
 
[sdlMain release];
[pool release];
 
UNREFERENCED_PARAMETER(argc);
UNREFERENCED_PARAMETER(argv);
}
 
 
254,6 → 261,9
SDL_strlcpy(arg, temparg, arglen);
gArgv[gArgc++] = arg;
gArgv[gArgc] = NULL;
 
UNREFERENCED_PARAMETER(theApplication);
 
return TRUE;
}
 
270,6 → 280,8
gCalledAppMainline = TRUE;
status = SDL_main (gArgc, gArgv);
 
UNREFERENCED_PARAMETER(note);
 
/* We're done, thank you for playing */
exit(status);
}
/polymer/eduke32/build/src/baselayer.c
372,6 → 372,8
case REND_POLYMER:
renderer = "great justice (Polymer)";
break;
default:
EDUKE32_UNREACHABLE_SECTION(break);
}
 
OSD_Printf("Rendering method changed to %s\n", renderer);
/polymer/eduke32/build/src/osd.c
202,9 → 202,12
int32_t i, len, err = 0;
char *buf = NULL;
 
if ((i = kopen4load(szScript, 0)) == -1) err = 1;
if (!err && (len = kfilelength(i)) <= 0) err = 2; // blank file
if (!err && (buf = (char *)Xmalloc(len + 1)) == NULL) err = 3;
if ((i = kopen4load(szScript, 0)) == -1)
err = 1;
else if ((len = kfilelength(i)) <= 0)
err = 2; // blank file
else if ((buf = (char *)Xmalloc(len + 1)) == NULL)
err = 3;
 
if (!err || err == 3)
OSD_Printf("Executing \"%s\"\n", szScript);