more horizontal refactoring
[swftools.git] / lib / old_rfxswf.h
index 475c321..be79454 100644 (file)
@@ -1,23 +1,41 @@
-/* old_rfxswf.h\r
-\r
-   File which defines macros and typedefs for old versions of\r
-   the rfxswf lib functions and datatypes. (For routines which\r
-   still use them)\r
-\r
-   Part of the swftools package.\r
-\r
-   Copyright (c) 2000, 2001 Rainer Böhme <rfxswf@reflex-studio.de>\r
\r
-   This file is distributed under the GPL, see file COPYING for details \r
-\r
-*/\r
-\r
-#include "rfxswf.h"\r
-\r
-/*\r
-#define DataPos dataReadPos\r
-#define DataSize dataWritePos\r
-#define bitcount bitWritePos\r
-#define bitmask bitWritePos\r
-\r
-*/\r
+/* 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 <rfxswf@reflex-studio.de>
+   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)
+