removed dependency on sdl-image, using sdl only. added copyright-notice for bmp.lisp
authorU-christoph-TP\christoph <christoph@christoph-TP.(none)>
Mon, 16 Aug 2010 18:22:03 +0000 (20:22 +0200)
committerU-christoph-TP\christoph <christoph@christoph-TP.(none)>
Mon, 16 Aug 2010 18:22:03 +0000 (20:22 +0200)
animation.lisp
bmp.lisp
uxul-world.asd

index 3d86d5b..ec09fc4 100755 (executable)
@@ -132,26 +132,25 @@ images-variable."
   (make-instance 'animation
                 :images-2x (mapcar
                             #'(lambda (x)
-                                (sdl:convert-surface :surface (sdl-image:load-image
-                                                               (car x)
-                                                               :image-type :BMP :alpha 1 )))
+                                (sdl:convert-surface :surface (sdl:load-image
+                                                               (car x) :alpha 1 )))
                             image-list)
                 :images-1x (mapcar
                             #'(lambda (x)
-                                (sdl:convert-surface :surface (sdl-image:load-image
+                                (sdl:convert-surface :surface (sdl:load-image
                                                                (cadr x)
-                                                               :image-type :BMP :alpha 1 )))
+                                                               :alpha 1 )))
                             image-list)
                 :images-.5x (mapcar
                             #'(lambda (x)
-                                (sdl:convert-surface :surface (sdl-image:load-image
+                                (sdl:convert-surface :surface (sdl:load-image
                                                                (caddr x)
-                                                               :image-type :BMP :alpha 1 )))
+                                                               :alpha 1 )))
                             image-list)
                 :images-.25x (mapcar
                             #'(lambda (x)
-                                (sdl:convert-surface :surface (sdl-image:load-image
+                                (sdl:convert-surface :surface (sdl:load-image
                                                                (cadddr x)
-                                                               :image-type :BMP :alpha 1 )))
+                                                               :alpha 1 )))
                             image-list)
                 :sprite-delay frame-skip))
\ No newline at end of file
index 51faca9..0b05d55 100755 (executable)
--- a/bmp.lisp
+++ b/bmp.lisp
@@ -1,7 +1,8 @@
-(in-package :uxul-world)\r
+;;; -*- lisp -*-\r
 \r
+;;; Copyright 2010 Christoph Senjak\r
 \r
-;; this should go into functions.lisp\r
+(in-package :uxul-world)\r
 \r
 (defun intersection-interval (a b c d)\r
   "We assume a<b and c<d. Compute the intersection-interval between\r
@@ -287,4 +288,4 @@ image-data (for efficiency-reasons)."
                   (b (as-alpha-value\r
                       (elt cpix 0) (elt background-rgb 0) alpha))\r
                  )\r
-             (format out "~d ~d ~d~%" r g b))))))))
\ No newline at end of file
+             (format out "~d ~d ~d~%" r g b))))))))\r
index 9190c77..bb9f515 100755 (executable)
@@ -9,7 +9,7 @@
   :license "Copyright 2009 Christoph Senjak."
   :depends-on (#:lispbuilder-sdl #:closer-mop
                                 #:cl-fad
-                                 #:lispbuilder-sdl-image)
+                                 #:lispbuilder-sdl)
   :components ((:file "uxul-world")
                (:file "constants")
                (:file "macros")