summaryrefslogtreecommitdiff
blob: 363846c43ab51dee8faee105d719499d218755b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
diff -Naur libflash-0.4.10-orig/lib/graphic16.h libflash-0.4.10/lib/graphic16.h
--- libflash-0.4.10-orig/lib/graphic16.h	2001-04-22 22:18:55.000000000 -0600
+++ libflash-0.4.10/lib/graphic16.h	2007-03-05 17:53:38.000000000 -0600
@@ -24,7 +24,7 @@
 
 class GraphicDevice16: public GraphicDevice {
 private:
-	long GraphicDevice16::allocColor(Color color);
+	long allocColor(Color color);
 
 public:
 	GraphicDevice16(FlashDisplay *fd);
diff -Naur libflash-0.4.10-orig/lib/graphic24.h libflash-0.4.10/lib/graphic24.h
--- libflash-0.4.10-orig/lib/graphic24.h	2001-04-22 22:18:55.000000000 -0600
+++ libflash-0.4.10/lib/graphic24.h	2007-03-05 17:53:38.000000000 -0600
@@ -24,7 +24,7 @@
 
 class GraphicDevice24: public GraphicDevice {
 private:
-	long GraphicDevice24::allocColor(Color color);
+	long allocColor(Color color);
 
 public:
 	GraphicDevice24(FlashDisplay *fd);
diff -Naur libflash-0.4.10-orig/lib/graphic32.h libflash-0.4.10/lib/graphic32.h
--- libflash-0.4.10-orig/lib/graphic32.h	2001-04-22 22:18:55.000000000 -0600
+++ libflash-0.4.10/lib/graphic32.h	2007-03-05 17:53:38.000000000 -0600
@@ -24,7 +24,7 @@
 
 class GraphicDevice32: public GraphicDevice {
 private:
-	long GraphicDevice32::allocColor(Color color);
+	long allocColor(Color color);
 
 public:
 	GraphicDevice32(FlashDisplay *fd);
diff -Naur libflash-0.4.10-orig/lib/matrix.h libflash-0.4.10/lib/matrix.h
--- libflash-0.4.10-orig/lib/matrix.h	2001-04-22 22:18:54.000000000 -0600
+++ libflash-0.4.10/lib/matrix.h	2007-03-05 17:53:38.000000000 -0600
@@ -33,13 +33,13 @@
 #endif
 
 	inline
-	long Matrix::getX(long x, long y)
+	long getX(long x, long y)
 	{
 		return (long) (x*a+y*b+tx);
 	};
 
 	inline
-	long Matrix::getY(long x, long y)
+	long getY(long x, long y)
 	{
 		return (long) (x*c+y*d+ty);
 	};
diff -Naur libflash-0.4.10-orig/lib/swf.h libflash-0.4.10/lib/swf.h
--- libflash-0.4.10-orig/lib/swf.h	2001-04-22 22:18:54.000000000 -0600
+++ libflash-0.4.10/lib/swf.h	2007-03-05 17:54:57.000000000 -0600
@@ -196,7 +196,9 @@
 #define true 1
 #endif
 
+extern "C" {
 extern int shape_size,shape_nb,shaperecord_size,shaperecord_nb,style_size,style_nb;
+};
 
 typedef void (*ScanLineFunc)(void *id, long y, long start, long end);