implemented some sam&max specific features,

fixed some bugs

svn-id: r3486
This commit is contained in:
Ludvig Strigeus 2001-11-11 16:54:45 +00:00
parent 27e55e52a9
commit b9facc7de4
11 changed files with 411 additions and 106 deletions

11
sdl.cpp
View file

@ -106,7 +106,12 @@ void waitForTimer(Scumm *s, int delay) {
if (event.key.keysym.sym=='s' && event.key.keysym.mod&KMOD_CTRL) {
s->resourceStats();
}
#if defined(__APPLE__)
if (event.key.keysym.sym=='q' && event.key.keysym.mod&KMOD_LMETA) {
exit(1);
}
#endif
break;
case SDL_MOUSEMOTION: {
int newx,newy;
@ -615,7 +620,11 @@ void initGraphics(Scumm *s, bool fullScreen) {
);
}
#if !defined(__APPLE__)
#undef main
#endif
int main(int argc, char* argv[]) {
int delta,tmp;