diff pytouhou/ui/window.pxd @ 589:0768122da817

Add a frameskip option, and use swap interval to implement it.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 10 Oct 2014 15:59:11 +0200
parents 00f228b57840
children 12756994a92c
line wrap: on
line diff
--- a/pytouhou/ui/window.pxd
+++ b/pytouhou/ui/window.pxd
@@ -22,6 +22,7 @@ cdef class Window:
     cdef sdl.Window win
     cdef Runner runner
     cdef Clock clock
+    cdef int frame, frameskip
 
     cdef void set_size(self, int width, int height) nogil
     cpdef set_runner(self, Runner runner=*)