Skip to content

Commit

Permalink
Merge pull request #2 from sparkecho/master
Browse files Browse the repository at this point in the history
Replace incompatible images.
  • Loading branch information
TatriX authored Apr 27, 2017
2 parents a03a77f + a08f05e commit 983ac86
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 3 deletions.
Binary file renamed 2/hello.bmp → 2/hello_world.bmp
100644 → 100755
Binary file not shown.
2 changes: 1 addition & 1 deletion 2/main.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

(defun main(&key (delay 2000))
(with-window-surface (window screen-surface)
(sdl2:blit-surface (sdl2:load-bmp "2/hello.bmp")
(sdl2:blit-surface (sdl2:load-bmp "2/hello_world.bmp")
nil
screen-surface
nil)
Expand Down
Binary file modified 3/exit.bmp
100644 → 100755
Binary file not shown.
3 changes: 2 additions & 1 deletion 3/main.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@
(:quit () t)
(:idle ()
(sdl2:blit-surface image nil screen-surface nil)
(sdl2:update-window window))))))
(sdl2:update-window window)
(sdl2:delay 100)))))) ;reduce cpu usage
Binary file modified 4/down.bmp
100644 → 100755
Binary file not shown.
Binary file modified 4/left.bmp
100644 → 100755
Binary file not shown.
3 changes: 2 additions & 1 deletion 4/main.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@
(t (setf image (getf images :default)))))
(:idle ()
(sdl2:blit-surface image nil screen-surface nil)
(sdl2:update-window window))))))
(sdl2:update-window window)
(sdl2:delay 100)))))) ;reduce cpu usage
Binary file modified 4/press.bmp
100644 → 100755
Binary file not shown.
Binary file modified 4/right.bmp
100644 → 100755
Binary file not shown.
Binary file modified 4/up.bmp
100644 → 100755
Binary file not shown.

0 comments on commit 983ac86

Please sign in to comment.