Mercurial > touhou
comparison pytouhou/lib/sdl.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 | c34b23e29d16 |
children | e15672733c93 |
comparison
equal
deleted
inserted
replaced
588:7a82c4b52b16 | 589:0768122da817 |
---|---|
115 cdef void init(Uint32 flags) except * | 115 cdef void init(Uint32 flags) except * |
116 cdef void img_init(int flags) except * | 116 cdef void img_init(int flags) except * |
117 cdef void mix_init(int flags) except * | 117 cdef void mix_init(int flags) except * |
118 cdef void ttf_init() except * | 118 cdef void ttf_init() except * |
119 cdef void gl_set_attribute(SDL_GLattr attr, int value) except * | 119 cdef void gl_set_attribute(SDL_GLattr attr, int value) except * |
120 cdef int gl_set_swap_interval(int interval) except * | |
120 cdef list poll_events() | 121 cdef list poll_events() |
121 cdef Surface load_png(file_) | 122 cdef Surface load_png(file_) |
122 cdef Surface create_rgb_surface(int width, int height, int depth, Uint32 rmask=*, Uint32 gmask=*, Uint32 bmask=*, Uint32 amask=*) | 123 cdef Surface create_rgb_surface(int width, int height, int depth, Uint32 rmask=*, Uint32 gmask=*, Uint32 bmask=*, Uint32 amask=*) |
123 cdef void mix_open_audio(int frequency, Uint16 format_, int channels, int chunksize) except * | 124 cdef void mix_open_audio(int frequency, Uint16 format_, int channels, int chunksize) except * |
124 cdef void mix_allocate_channels(int numchans) except * | 125 cdef void mix_allocate_channels(int numchans) except * |