X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fold_rfxswf.h;h=be79454c14ccde54f6efefedbc77280344ce5075;hp=475c3214005fc311035febc20633893f3a4bed63;hb=879d0eec420fe0fd5ddcd56c8fe62b82a6744edd;hpb=e448c7a56df8e289c9dbd5b8d87753addd541091 diff --git a/lib/old_rfxswf.h b/lib/old_rfxswf.h index 475c321..be79454 100644 --- a/lib/old_rfxswf.h +++ b/lib/old_rfxswf.h @@ -1,23 +1,41 @@ -/* old_rfxswf.h - - File which defines macros and typedefs for old versions of - the rfxswf lib functions and datatypes. (For routines which - still use them) - - Part of the swftools package. - - Copyright (c) 2000, 2001 Rainer Böhme - - This file is distributed under the GPL, see file COPYING for details - -*/ - -#include "rfxswf.h" - -/* -#define DataPos dataReadPos -#define DataSize dataWritePos -#define bitcount bitWritePos -#define bitmask bitWritePos - -*/ +/* old_rfxswf.h + + File which defines macros and typedefs for old versions of + the rfxswf lib functions and datatypes. (For routines which + still use them) + + Part of the swftools package. + + Copyright (c) 2000, 2001 Rainer Böhme + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ + +#include "rfxswf.h" + +/* +#define DataPos dataReadPos +#define DataSize dataWritePos +#define bitcount bitWritePos +#define bitmask bitWritePos + +*/ +#define GetDataSize GetTagLen +#define GetDataSizePtr GetTagLenPtr +#define RFXSWF_ReadTag(a,b) swf_ReadTag(a,b) +#define RFXSWF_WriteTag(a,b) swf_WriteTag(a,b) +#define RFXSWF_UpdateFrame(a,b) swf_UpdateFrame(a,b) +#define RFXSWF_WriteTag(a,b) swf_WriteTag(a,b) +#define RFXSWF_DefineSprite_GetRealSize(a) swf_DefineSprite_GetRealSize(a) +