Mercurial > sdl-ios-xcode
diff src/audio/sdlgenaudiocvt.pl @ 1985:8055185ae4ed
Added source color and alpha modulation support.
Added perl script to generate optimized render copy functions.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 28 Aug 2006 03:17:39 +0000 |
parents | 3b4ce57c6215 |
children | b2b7154ce016 |
line wrap: on
line diff
--- a/src/audio/sdlgenaudiocvt.pl Thu Aug 24 12:49:59 2006 +0000 +++ b/src/audio/sdlgenaudiocvt.pl Mon Aug 28 03:17:39 2006 +0000 @@ -23,9 +23,7 @@ sub outputHeader { print <<EOF; -/* DO NOT EDIT THIS FILE! It is generated code. */ -/* Please modify SDL/src/audio/sdlgenaudiocvt.pl instead. */ - +/* DO NOT EDIT! This file is generated by sdlgenaudiocvt.pl */ /* SDL - Simple DirectMedia Layer Copyright (C) 1997-2006 Sam Lantinga @@ -52,7 +50,7 @@ #include "SDL_audio.h" #include "SDL_audio_c.h" -/* Now the generated code... */ +/* *INDENT-OFF* */ EOF @@ -66,6 +64,13 @@ print("\n"); } +sub outputFooter { + print <<EOF; +/* *INDENT-ON* */ + +/* vi: set ts=4 sw=4 expandtab: */ +EOF +} sub splittype { my $t = shift; @@ -307,7 +312,9 @@ EOF +outputFooter(); + exit 0; -# end of sdlaudiocvt.pl ... +# end of sdlgenaudiocvt.pl ...