aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/libflash/files/patch-graphic16.h11
-rw-r--r--graphics/libflash/files/patch-graphic24.h11
-rw-r--r--graphics/libflash/files/patch-graphic32.h11
-rw-r--r--graphics/libflash/files/patch-matrix.h18
-rw-r--r--graphics/libflash/files/patch-sound.h15
-rw-r--r--graphics/libflash/files/patch-swf.h12
6 files changed, 78 insertions, 0 deletions
diff --git a/graphics/libflash/files/patch-graphic16.h b/graphics/libflash/files/patch-graphic16.h
new file mode 100644
index 000000000000..07f6556d1e39
--- /dev/null
+++ b/graphics/libflash/files/patch-graphic16.h
@@ -0,0 +1,11 @@
+--- lib/graphic16.h Fri May 25 15:04:22 2007
++++ lib2/graphic16.h Fri May 25 15:05:53 2007
+@@ -24,7 +24,7 @@
+
+ class GraphicDevice16: public GraphicDevice {
+ private:
+- long GraphicDevice16::allocColor(Color color);
++ long allocColor(Color color);
+
+ public:
+ GraphicDevice16(FlashDisplay *fd);
diff --git a/graphics/libflash/files/patch-graphic24.h b/graphics/libflash/files/patch-graphic24.h
new file mode 100644
index 000000000000..8be94d090e5f
--- /dev/null
+++ b/graphics/libflash/files/patch-graphic24.h
@@ -0,0 +1,11 @@
+--- lib/graphic24.h Fri May 25 15:04:22 2007
++++ lib2/graphic24.h Fri May 25 15:06:00 2007
+@@ -24,7 +24,7 @@
+
+ class GraphicDevice24: public GraphicDevice {
+ private:
+- long GraphicDevice24::allocColor(Color color);
++ long allocColor(Color color);
+
+ public:
+ GraphicDevice24(FlashDisplay *fd);
diff --git a/graphics/libflash/files/patch-graphic32.h b/graphics/libflash/files/patch-graphic32.h
new file mode 100644
index 000000000000..d788e38ac2b0
--- /dev/null
+++ b/graphics/libflash/files/patch-graphic32.h
@@ -0,0 +1,11 @@
+--- lib/graphic32.h Fri May 25 15:04:22 2007
++++ lib2/graphic32.h Fri May 25 15:06:05 2007
+@@ -24,7 +24,7 @@
+
+ class GraphicDevice32: public GraphicDevice {
+ private:
+- long GraphicDevice32::allocColor(Color color);
++ long allocColor(Color color);
+
+ public:
+ GraphicDevice32(FlashDisplay *fd);
diff --git a/graphics/libflash/files/patch-matrix.h b/graphics/libflash/files/patch-matrix.h
new file mode 100644
index 000000000000..3cb0fd6af337
--- /dev/null
+++ b/graphics/libflash/files/patch-matrix.h
@@ -0,0 +1,18 @@
+--- lib/matrix.h Fri May 25 15:04:22 2007
++++ lib2/matrix.h Fri May 25 15:05:10 2007
+@@ -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 --git a/graphics/libflash/files/patch-sound.h b/graphics/libflash/files/patch-sound.h
new file mode 100644
index 000000000000..471c8d0e5076
--- /dev/null
+++ b/graphics/libflash/files/patch-sound.h
@@ -0,0 +1,15 @@
+--- lib/sound.h Fri May 25 15:04:22 2007
++++ lib2/sound.h Fri May 25 15:05:20 2007
+@@ -103,9 +103,9 @@
+ long playSounds(); // Actually play sounds of all instances
+ long fillSoundBuffer(SoundList *, char *buffer, long bufferSize); // Fill sound buffer
+ private:
+- int SoundMixer::Mp3Scale(mad_fixed_t sample);
+- void SoundMixer::Mp3Decompress(SoundList *sl);
+- void SoundMixer::uninitMp3Sounds(SoundList *sl);
++ int Mp3Scale(mad_fixed_t sample);
++ void Mp3Decompress(SoundList *sl);
++ void uninitMp3Sounds(SoundList *sl);
+ };
+
+ #endif /* _SOUND_H_ */
diff --git a/graphics/libflash/files/patch-swf.h b/graphics/libflash/files/patch-swf.h
new file mode 100644
index 000000000000..630fd85a7899
--- /dev/null
+++ b/graphics/libflash/files/patch-swf.h
@@ -0,0 +1,12 @@
+--- lib/swf.h Fri May 25 15:04:22 2007
++++ lib2/swf.h Fri May 25 15:08:36 2007
+@@ -199,7 +199,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);
+