General:

- New plumbing for managing foreign objects, now used throughout the 
lispbuilder-sdl* packages.

- Everything KEY-COLOR renamed to COLOR-KEY, e.g.
  - :KEY-COLOR renamed to :ENABLE-COLOR-KEY
  - :SET-KEY-COLOR renamed to SET-COLOR-KEY
  - :KEY-COLOR-AT renamed to :COLOR-KEY-AT

- :CHANNEL-ALPHA renamed to :PIXEL-ALPHA

- Note the different behaviour of :SURFACE-ALPHA & :ENABLE-SURACE-ALPHA 
  - :SURFACE-ALPHA sets the ALPHA component of the SURFACE to an INTEGER 
between 0 and 255
  - :ENABLE-SURACE-ALPHA sets SDL-SRC-ALPHA flag of a surface.

- Note the different behaviour of :COLOR-KEY & :ENABLE-COLOR-KEY
  - :COLOR-KEY sets the COLOR of the COLOR-KEY for a SURFACE
  - :ENABLE-COLOR-KEY sets SDL-SRC-COLOR-KEY flag of a surface.

- Ability to turn on/off the surface flags rle-acce, color-key and surface-
alpha without having an effect on existing surface flags.

- :ALPHA keyword in DRAW- functions has changed. Now accepts an INTEGER value 
between 0 and 255. No longer accepts NIL/T.

- The DRAW- functions will automatically set an ALPHA channel mask on a surface 
(i.e. RGBA) if :COLOR is an RGBA color when :ALPHA is 0 to 255.

- Finer control of surface flags at time of SURFACE creation using MAKE-
INSTANCE 'SURFACE.

New SURFACE functions:
- GET-SURFACE-FLAG
- ENABLE-SURFACE-ALPHA-P
- SURFACE-ALPHA-P
- ENABLE-COLOR-KEY-P
- COLOR-KEY-P
- PIXEL-ALPHA-P
- RLE-ACCEL-P
- VIDEO-PIXEL-FORMAT
- VIDEO-MEMORY
- CONVERT-SURFACE-TO-DISPLAY-FORMAT
- COPY-SURFACE
- CREATE-SURFACE
- LOAD-IMAGE

Changes to keywords for existing SURFACE functions:
- SET-COLOR-KEY
- SET-ALPHA
- CONVERT-SURFACE



_______________________________________________
application-builder mailing list
[email protected]
http://www.lispniks.com/mailman/listinfo/application-builder

Reply via email to