Only in heartalien-1.2.2/src/: alien
Only in heartalien-1.2.2/src/: animation.o
Only in heartalien-1.2.2/src/: cd_iso.o
Only in heartalien-1.2.2/src/: common.o
Only in heartalien-1.2.2/src/: debug.o
Only in heartalien-1.2.2/src/: decode.o
Only in heartalien-1.2.2/src/: game2bin.o
Only in heartalien-1.2.2/src/: lzss.o
diff -r -u /shm/heartalien-1.2.2/src/main.c heartalien-1.2.2/src/main.c
--- /shm/heartalien-1.2.2/src/main.c	Wed Jan 12 22:00:58 2005
+++ heartalien-1.2.2/src/main.c	Wed Jun 29 01:02:08 2005
@@ -38,9 +38,7 @@
 #include "game2bin.h"
 #include "animation.h"
 
-#ifdef WIN32
 #include "getopt.h"
-#endif
 
 static char *VERSION = "1.2.2";
 
@@ -447,7 +445,7 @@
 {
 	SDL_Event event;
 
-	SDL_PollEvent(&event);
+	while (SDL_PollEvent(&event))
         switch (event.type) 
 	{
 		case SDL_KEYUP:
@@ -596,16 +594,33 @@
 
 void rest(int fps)
 {
-	if (fastest_flag == 0)
-	{
-		if (speed_throttle == 1)
-		{
-			/* 5 times faster */
-			fps = fps*5;
-		}
-
-		SDL_Delay(1000 / fps);
-	}
+        static Uint32 last_tick = 0;
+        Uint32 this_tick;
+        int delayms;
+
+        if (speed_throttle == 1)
+        {
+                {
+                        /* 5 times faster */
+                        fps = fps*5;
+                 }
+        }
+
+        this_tick = SDL_GetTicks();
+
+        if (last_tick > 0) {
+          delayms = 1000.0 / fps - (this_tick - last_tick);
+        } else {
+                delayms = 1000.0 / fps;
+        }
+
+        if (fastest_flag == 0)
+        {
+                if (delayms > 0) {
+                        SDL_Delay(delayms);
+                }
+        }
+        last_tick = SDL_GetTicks();
 }
 
 void init_tasks()
Only in heartalien-1.2.2/src/: main.o
Only in heartalien-1.2.2/src/: music.o
diff -r -u /shm/heartalien-1.2.2/src/render.c heartalien-1.2.2/src/render.c
--- /shm/heartalien-1.2.2/src/render.c	Mon Jan 10 21:49:56 2005
+++ heartalien-1.2.2/src/render.c	Wed Jun 29 00:52:53 2005
@@ -31,8 +31,6 @@
 extern int fullscreen_flag;
 extern int filtered_flag;
 extern int scale;
-extern int palette_changed;
-extern SDL_Color palette[256];
 extern SDL_Surface *screen;
 
 static int palette_changed = 0;
Only in heartalien-1.2.2/src/: render.o
Only in heartalien-1.2.2/src/: rooms.o
Only in heartalien-1.2.2/src/: scale2x.o
Only in heartalien-1.2.2/src/: scale3x.o
Only in heartalien-1.2.2/src/: screen.o
Only in heartalien-1.2.2/src/: sound.o
Only in heartalien-1.2.2/src/: sprites.o
Only in heartalien-1.2.2/src/: vm.o
