diff pytouhou/lib/sdl.pxd @ 419:1c92721f8e49

Re-implement frame control
author Thibaut Girka <thib@sitedethib.com>
date Wed, 06 Feb 2013 18:45:12 +0100
parents 63f59be04a54
children 3a7b36324611
line wrap: on
line diff
--- a/pytouhou/lib/sdl.pxd
+++ b/pytouhou/lib/sdl.pxd
@@ -86,3 +86,8 @@ cdef extern from "SDL_events.h":
 
 cdef extern from "SDL_keyboard.h":
     const Uint8 *SDL_GetKeyboardState(int *numkeys)
+
+
+cdef extern from "SDL_timer.h":
+    Uint32 SDL_GetTicks()
+    void SDL_Delay(Uint32 ms)