diff options
author | Boutade <thegoofist@protonmail.com> | 2019-10-16 11:30:39 -0500 |
---|---|---|
committer | Boutade <thegoofist@protonmail.com> | 2019-10-16 11:30:39 -0500 |
commit | a81008aa9217ab1ea792d71451b2de3e683500f9 (patch) | |
tree | c9b9a72c20cfc395cc4ca4e02f8770c4af604078 /the-price-of-a-cup-of-coffee.lisp | |
parent | bbc957bb9dd1e8514e7d4e97bf1039d540a6d551 (diff) |
cleaning
Diffstat (limited to 'the-price-of-a-cup-of-coffee.lisp')
-rw-r--r-- | the-price-of-a-cup-of-coffee.lisp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/the-price-of-a-cup-of-coffee.lisp b/the-price-of-a-cup-of-coffee.lisp index 35d51f2..1c47208 100644 --- a/the-price-of-a-cup-of-coffee.lisp +++ b/the-price-of-a-cup-of-coffee.lisp @@ -501,27 +501,18 @@ (sdl2:with-init (:everything) (sdl2:with-window (win :w 1024 :h 600 :title "The Price Of A Cup Of Coffee" :flags '(:shown)) (sdl2:with-renderer (renderer win :flags '(:accelerated)) - (boot-up renderer) - (sdl2:with-event-loop (:method :poll) - (:keydown (:keysym keysym) (if (sdl2:scancode= (sdl2:scancode-value keysym) :scancode-escape) (sdl2:push-event :quit) (handle-keydown keysym))) - (:keyup (:keysym keysym) (handle-keyup keysym)) - (:idle () (update :game (sdl2:get-ticks)) (render :game renderer) - (sdl2:delay +frame-delay+)) - - (:quit () - ; (harmony-simple:stop *current-track*) - t))))) + (:quit () t))))) (free-assets))) |