r4281 - in packages/trunk/starfighter/debian: . patches
Gonéri Le Bouder
goneri-guest at alioth.debian.org
Mon Sep 24 09:22:24 UTC 2007
Author: goneri-guest
Date: 2007-09-24 09:22:24 +0000 (Mon, 24 Sep 2007)
New Revision: 4281
Modified:
packages/trunk/starfighter/debian/changelog
packages/trunk/starfighter/debian/patches/10_nobusyloop.diff
Log:
add two TODO in the changelog
Modified: packages/trunk/starfighter/debian/changelog
===================================================================
--- packages/trunk/starfighter/debian/changelog 2007-09-24 08:12:43 UTC (rev 4280)
+++ packages/trunk/starfighter/debian/changelog 2007-09-24 09:22:24 UTC (rev 4281)
@@ -6,9 +6,11 @@
[ Gonéri Le Bouder ]
* update 10_nobusyloop.diff to fix the build with gcc 4.2
thanks Brian m. Carlson and Jens Seidel(Closes: #385714)
+TODO this patch is broken
* make the package binNMU by replace starfighter-data (= ${Source-Version})
by starfighter-data (= ${source:Version}), thanks Lior Kaplan
(Closes: #435958)
+TODO seems to be broken too...
* clean the starfighter binary (Closes: #424236)
* do not ignore make clean return anymore
* add myself in Uploaders:
Modified: packages/trunk/starfighter/debian/patches/10_nobusyloop.diff
===================================================================
--- packages/trunk/starfighter/debian/patches/10_nobusyloop.diff 2007-09-24 08:12:43 UTC (rev 4280)
+++ packages/trunk/starfighter/debian/patches/10_nobusyloop.diff 2007-09-24 09:22:24 UTC (rev 4281)
@@ -32,7 +32,7 @@
- // Do nothing. If we were to insert an SDL_Delay(1) in here
- // then we would actually lose around 10 frames per second!!
- }
-+ SDL_Delay(frameLimit + 16 - min(max(SDL_GetTicks(), 0), 16));
++ SDL_Delay(max(frameLimit + 16 - SDL_GetTicks(), 0));
frameLimit = SDL_GetTicks();
}
@@ -45,7 +45,7 @@
// Limit us to 60 frame a second
- while (SDL_GetTicks() < (frameLimit + 16)){}
-+ SDL_Delay(frameLimit + 16 - min(max(SDL_GetTicks(), 0), 16));
++ SDL_Delay(max(frameLimit + 16 - SDL_GetTicks(), 0));
frameLimit = SDL_GetTicks();
}
@@ -78,7 +78,7 @@
graphics.blit(graphics.messageBox, (800 - graphics.messageBox->w) / 2, 500);
- while (SDL_GetTicks() < (frameLimit + 16)){}
-+ SDL_Delay(frameLimit + 16 - min(max(SDL_GetTicks(), 0), 16));
++ SDL_Delay(max(frameLimit + 16 - SDL_GetTicks(), 0));
frameLimit = SDL_GetTicks();
if (engine.keyState[SDLK_ESCAPE])
@@ -91,7 +91,7 @@
}
- while (SDL_GetTicks() < (frameLimit + 16)){}
-+ SDL_Delay(frameLimit + 16 - min(max(SDL_GetTicks(), 0), 16));
++ SDL_Delay(max(frameLimit + 16 - SDL_GetTicks(), 0));
frameLimit = SDL_GetTicks();
}
}
@@ -100,7 +100,7 @@
// Limit us to 60 frame a second
- while (SDL_GetTicks() < (frameLimit + 16)){}
-+ SDL_Delay(frameLimit + 16 - min(max(SDL_GetTicks(), 0), 16));
++ SDL_Delay(max(frameLimit + 16 - SDL_GetTicks(), 0));
frameLimit = SDL_GetTicks();
}
@@ -109,7 +109,7 @@
SDL_FillRect(graphics.screen, &r2, graphics.black);
- while (SDL_GetTicks() < (frameLimit + 16)){}
-+ SDL_Delay(frameLimit + 16 - min(max(SDL_GetTicks(), 0), 16));
++ SDL_Delay(max(frameLimit + 16 - SDL_GetTicks(), 0));
frameLimit = SDL_GetTicks();
}
More information about the Pkg-games-commits
mailing list