[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Guile-SDL 0.3.2 available
From: |
Thien-Thi Nguyen |
Subject: |
Guile-SDL 0.3.2 available |
Date: |
Sun, 23 Jan 2005 02:18:34 +0100 |
release notes:
this release is motivated primarily by the bugfixes, although the
upgrade was a nice enough experience (interface continuity -- thanks
Andreas Schiffler!) to be recommendable to anyone...
thi
README excerpt:
This directory contains Guile-SDL, a set of modules that provide
bindings for SDL (Simple DirectMedia Layer) to enable Guile
programmers to do all the nice things you can do with SDL.
Most of the SDL functions have been wrapped with the exception of a
few functions that were too C-centric. The SDL Threads and the Audio
functions haven't been included because of the problems with Guile
code being run from more than one thread. However audio programming
can be done with the module `(sdl mixer)' that requires the SDL_mixer
library.
Also included is SDL_gfx 2.0.13 (by Andreas Schiffler) and bindings
for it.
NEWS excerpt:
- 0.3.2 | 2005-01-23
- bugfix: (sdl sdl) proc `fill-rect' handles alpha/red values > 127
The color used to be extracted as signed instead of unsigned.
This caused incorrect out-of-range errors for color values whose
high bit (alpha for ABGR, red for RGBA) was set.
- bugfix: (sdl misc-utils) proc `copy-surface' handles SDL_SRCALPHA
The proc now takes care to clear this flag (and restore it
afterwards) in the source surface around the blit, so that RGB
values are copied correctly. Unfortunately, the actual alpha
value is lost due to being unconditionally restored as 255.
- procs moved to (sdl gfx): zoom-surface and roto-zoom-surface
Side effect of the upgrade described in the next entry.
- embedded library upgraded: libSDL_gfx 2.0.13
This library (by Andreas Schiffler) is the successor to
libSDL_gfxPrimitives and libSDL_rotozoom, incorporating their
functionality and interfaces, and providing other goodies as
well. The result for Guile-SDL users is that module (sdl gfx)
has been augmented w/ the following new procs:
zoom-surface ;; moved from (sdl sdl)
roto-zoom-surface ;; likewise
draw-hline ;; rest are completely new
draw-vline
draw-aa-circle
draw-aa-ellipse
draw-pie-slice
draw-trigon
draw-aa-trigon
draw-aa-polygon
draw-bezier
make-fps-manager
fps-manager-set!
fps-manager-get
fps-manager-delay!
For more info, see new chapter "libSDL_gfx" sections: Graphics
Primitives, Rotation / Zooming, and Managing Frame Rate.
cvs tag:
v-0-3-2
tarball, QUICK-START, anoncvs instructions and other files in dir:
http://www.glug.org/people/ttn/software/guile-sdl/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Guile-SDL 0.3.2 available,
Thien-Thi Nguyen <=