From 58ff679af70144555cdfdc2b9be9918696465de9 Mon Sep 17 00:00:00 2001
From: dseg <dseg>
Date: Thu, 2 Jun 2005 01:11:33 +0000
Subject: [PATCH] Couldn't compile since rfxswf.h R1.112. fixed.

---
 lib/example/box.c        |    6 +++---
 lib/example/buttontest.c |    2 +-
 lib/example/jpegtest.c   |    6 +++---
 lib/example/shape1.c     |    4 ++--
 lib/example/sprites.c    |    4 ++--
 lib/example/transtest.c  |    6 +++---
 lib/example/zlibtest.c   |    6 +++---
 7 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/lib/example/box.c b/lib/example/box.c
index e25083a..0e7caa1 100644
--- a/lib/example/box.c
+++ b/lib/example/box.c
@@ -52,7 +52,7 @@ void calcTables()
   }
 }
 
-void ShapeSquare(LPTAG t,LPSHAPE s,int p1,int p2,int p3,int p4,int dx,int dy)
+void ShapeSquare(TAG* t,SHAPE* s,int p1,int p2,int p3,int p4,int dx,int dy)
 { 
   // Hidden-Line-Check
     if (((dX[p2]-dX[p1])*(dY[p3]-dY[p1])-(dX[p3]-dX[p1])*(dY[p2]-dY[p1]))<0) return;
@@ -99,10 +99,10 @@ void mapBox(int xw,int yw,int zw)
                
 int main (int argc,char ** argv)
 { SWF swf;
-  LPTAG t;
+  TAG* t;
   RGBA rgb;
   SRECT r;
-  LPSHAPE s;
+  SHAPE* s;
   S32 width = 800,height = 800;
   U8 gbits,abits;
   CXFORM cx1,cx2;
diff --git a/lib/example/buttontest.c b/lib/example/buttontest.c
index 6ad544c..9f9f41b 100644
--- a/lib/example/buttontest.c
+++ b/lib/example/buttontest.c
@@ -37,7 +37,7 @@ int main (int argc,char ** argv)
 { SWF swf;
   RGBA rgb;
   SRECT r;
-  LPSHAPE s;
+  SHAPE* s;
   ActionTAG*a1,*a2,*a3, *actiontoset;
   S32 width=300,height = 300;
   
diff --git a/lib/example/jpegtest.c b/lib/example/jpegtest.c
index 1c4cd1c..3931814 100644
--- a/lib/example/jpegtest.c
+++ b/lib/example/jpegtest.c
@@ -34,12 +34,12 @@
 
 int main( int argc, char ** argv)
 { SWF swf;
-  LPTAG t;
+  TAG* t;
   RGBA rgb;
-  LPSHAPE s;
+  SHAPE* s;
   MATRIX m;
   SRECT r;
-  LPJPEGBITS jpeg;
+  JPEGBITS* jpeg;
 
   int f; // file handle
   
diff --git a/lib/example/shape1.c b/lib/example/shape1.c
index 24292f9..a65d0e4 100644
--- a/lib/example/shape1.c
+++ b/lib/example/shape1.c
@@ -28,10 +28,10 @@
                
 int main (int argc,char ** argv)
 { SWF swf;
-  LPTAG t;
+  TAG* t;
   RGBA rgb;
   SRECT r;
-  LPSHAPE s;
+  SHAPE* s;
   S32 width=300,height = 300;
   
   int f,i,ls1,ls2;
diff --git a/lib/example/sprites.c b/lib/example/sprites.c
index 0598eda..7c97c3c 100644
--- a/lib/example/sprites.c
+++ b/lib/example/sprites.c
@@ -53,8 +53,8 @@ int main(int argc, char ** argv)
 { SWF swf;
   RGBA rgb;
 
-  LPTAG t;
-  LPSHAPE s;
+  TAG* t;
+  SHAPE* s;
   SRECT r;
 
   U16 id_circle;
diff --git a/lib/example/transtest.c b/lib/example/transtest.c
index 15d34c5..56f5180 100644
--- a/lib/example/transtest.c
+++ b/lib/example/transtest.c
@@ -32,13 +32,13 @@
   
 int main (int argc,char ** argv)
 { SWF swf;
-  LPTAG t;
+  TAG* t;
   RGBA rgb;
   SRECT r;
-  LPSHAPE s;
+  SHAPE* s;
   S32 width = 800,height = 800;
   int fs,ls; // line & fillstyle
-  LPJPEGBITS jpeg;
+  JPEGBITS* jpeg;
   MATRIX m;  
   
   int f,i,j,frame;
diff --git a/lib/example/zlibtest.c b/lib/example/zlibtest.c
index 6f0a19d..967f861 100644
--- a/lib/example/zlibtest.c
+++ b/lib/example/zlibtest.c
@@ -36,12 +36,12 @@
 
 int main ( int argc, char ** argv)
 { SWF swf;
-  LPTAG t;
+  TAG* t;
   RGBA rgb;
-  LPSHAPE s;
+  SHAPE* s;
   MATRIX m;
   SRECT r;
-  LPJPEGBITS jpeg;
+  JPEGBITS* jpeg;
   int i,f;
   
   int ls; // line style
-- 
1.7.10.4