-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have created a branch off of the latest lispbuilder v0.7.1 release in
SVN. This branch is in /branches/lispbuilder-sdl-NEW-API.

I have made a lot of changes to the existing functions in util-sdl.lisp,
and added more. I've also added some CFFI translation functions into
translate.lisp.

- - The allocation and deallocation of foreign objects should now be
automatic and transparent (For the functions that have been converted.
I'm not finished yet.)
- - colors and rectangles are now vectors, e.g. #(255 255 255), or (color
r g b a), (rectangle x y w h), or #(0 0 150 150).
- - x y is now generally also passed as a vector. (point x y), or #(100 100)
- - Some low level SDL functions can accept NIL and convert to a null
pointer accordingly. Vector color or rectangle data are converted
automatically to the foreign equivalent.
- - A lot of functionality has been consolidated into several larger
functions. For example:
   - "convert-surface-to-display-format" now also sets the key color and
alpha value.
   - "create-surface" takes a whole load of keyword parameters to apply
to a newly created surface, e.g. alpha, key color, acceleration, surface
type. (Not yet tested)
   - get-pixel returns a vector instead of an integer color value.
   - draw-rect and draw-pixel can test for surface lock, clipping, and
update the surface after drawing based on the keyword parameters. (Take
a look at how fast Justin's 'pixels' demo runs now.)

I have also updated all the examples to use these new functions. In
addition, the 'squashed' example is now compiled by asdf.

Homework for the weekend; please download and provide feedback.

- - Luke

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)

iD8DBQFEf7hF5MUPBfk1w0ARAmgGAKCHvKjNxP/XGbYnx+CouMhyUiV4rwCfeTdz
vJLFyST/xsmul9ur1ALsFPk=
=Z2g8
-----END PGP SIGNATURE-----
_______________________________________________
application-builder mailing list
application-builder@lispniks.com
http://www.lispniks.com/mailman/listinfo/application-builder

Reply via email to