X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=gacela_SDL.lisp;h=26e9a6fa46d216abb232b6707d73a43dbb6b252f;hb=6b5631c92ca29a80af99d228b3fe346c5b5e8eee;hp=adcef190979560d01d963b716212f2aea28858f6;hpb=678a1561ca858c34fecf04792831caf68559c2ac;p=gacela.git diff --git a/gacela_SDL.lisp b/gacela_SDL.lisp index adcef19..26e9a6f 100644 --- a/gacela_SDL.lisp +++ b/gacela_SDL.lisp @@ -21,7 +21,6 @@ (clines "#include ") (clines "#include ") (clines "#include ") -(clines "#include ") ;;; These are the flags which may be passed to SDL_Init() (defconstant SDL_INIT_TIMER #x00000001) @@ -136,6 +135,9 @@ (defcfun "int gacela_SDL_EnableKeyRepeat (int delay, int interval)" 0 "return SDL_EnableKeyRepeat (delay, interval);") +(defcfun "int gacela_zoomSurface (int src, float zoomx, float zoomy, int smooth)" 0 + "return zoomSurface (src, zoomx, zoomy, smooth);") + (defentry SDL_Init (int) (int "gacela_SDL_Init")) (defentry SDL_Quit () (void "gacela_SDL_Quit")) (defentry SDL_SetVideoMode (int int int int) (int "gacela_SDL_SetVideoMode")) @@ -172,11 +174,10 @@ ;(defentry Mix_FreeMusic (int) (void "gacela_Mix_FreeMusic")) ;(defentry Mix_FreeChunk (int) (void "gacela_Mix_FreeChunk")) ;(defentry Mix_CloseAudio () (void "gacela_Mix_CloseAudio")) -;(defentry sge_FilledCircle (int int int int int int int) (void "gacela_sge_FilledCircle")) -;(defentry sge_FilledRect (int int int int int int int int) (void "gacela_sge_FilledRect")) ;(defentry free (int) (void "gacela_free")) (defentry SDL_GL_SwapBuffers () (void "gacela_SDL_GL_SwapBuffers")) (defentry SDL_EnableKeyRepeat (int int) (int "gacela_SDL_EnableKeyRepeat")) +(defentry zoomSurface (int float float int) (int "gacela_zoomSurface")) ;;; C-Gacela Functions (defcfun "int gacela_surface_format (int surface)" 0