X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=gacela.lisp;h=4197d22d077e2b488fc7f692d48285aced148848;hb=6a3d1ffb69036e6d4f1c239fd7d52f9bfc48d50c;hp=c6cdeb9f57e7d5b6a94c1f12c60eff2a4ffca441;hpb=91e3209f15176fa1503199b6c77fa5fc4ee85e3a;p=gacela.git diff --git a/gacela.lisp b/gacela.lisp index c6cdeb9..4197d22 100644 --- a/gacela.lisp +++ b/gacela.lisp @@ -288,9 +288,9 @@ (cond ((not (quit?)) (glClear (+ GL_COLOR_BUFFER_BIT GL_DEPTH_BUFFER_BIT)) (to-origin) - (refresh-visible-boxes) + (refresh-active-objects) (when (functionp game-code) (funcall game-code)) - (render-boxes) + (render-objects) (SDL_GL_SwapBuffers) (delay-frame)))) (setq running nil)) @@ -306,7 +306,7 @@ (quit-audio) (quit-video-mode) ; (quit-all-mobs) - (quit-all-boxes) + (kill-all-objects) ; (clear-events) ; (quit-events) (quit-sdl))