author Sam Lantinga <>
Fri, 18 Dec 2009 07:41:59 +0000
changeset 3594 c8bed77b0386
parent 2986 bb773ff79106
child 5019 64a2d8f538a1
permissions -rwxr-xr-x
Added SDL_DrawRect(), SDL_DrawRects(), SDL_BlendRect() and SDL_BlendRects() Fixed line drawing so when blending a sequence of lines there are no overlapping pixels drawn.

# Generate a current snapshot from source control

echo "Checking out source"
svn co -q
(cd SDL && ./ && rm -rf autom4te.cache)
sh SDL/build-scripts/
cp SDL/include/SDL_config.h.default SDL/include/SDL_config.h

major=`fgrep "#define SDL_MAJOR_VERSION" SDL/include/SDL_version.h | \
       sed 's,[^0-9]*\([0-9]*\),\1,'`
minor=`fgrep "#define SDL_MINOR_VERSION" SDL/include/SDL_version.h | \
       sed 's,[^0-9]*\([0-9]*\),\1,'`
patch=`fgrep "#define SDL_PATCHLEVEL" SDL/include/SDL_version.h | \
       sed 's,[^0-9]*\([0-9]*\),\1,'`
rev=`fgrep "#define SDL_REVISION" SDL/include/SDL_revision.h | \
       sed 's,[^0-9]*\([0-9]*\),\1,'`

mv SDL $path
echo $path.tar.gz
tar zcf $path.tar.gz $path
echo $
rm -f $
zip -rq $ $path
rm -rf $path

#ln -sf $path.tar.gz SDL-1.3.tar.gz
#ln -sf $
#date=`date +"%a %b %e"`
#sed -e "s/<-- SDL 1.3 DATE -->.*/<-- SDL 1.3 DATE --> $date/" <../svn.php >../
#mv ../ ../svn.php