[Scummvm-cvs-logs] CVS: scummvm/scumm/smush codec47.cpp,1.57,1.58
Chris Apers
chrilith at users.sourceforge.net
Mon Aug 18 04:05:07 CEST 2003
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm akos.cpp,1.84,1.85 bundle.cpp,1.45,1.46 charset.cpp,2.59,2.60 costume.cpp,1.102,1.103 dialogs.cpp,1.67,1.68 gfx.cpp,2.185,2.186 imuse_digi.cpp,1.34,1.35
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm costume.cpp,1.101,1.102 intern.h,2.103,2.104 script_v2.cpp,2.174,2.175
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/scumm/smush
In directory sc8-pr-cvs1:/tmp/cvs-serv2175/smush
Modified Files:
codec47.cpp
Log Message:
Updated globals access for PalmOS
Index: codec47.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/smush/codec47.cpp,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -d -r1.57 -r1.58
--- codec47.cpp 17 Aug 2003 16:40:36 -0000 1.57
+++ codec47.cpp 18 Aug 2003 10:56:21 -0000 1.58
@@ -82,6 +82,9 @@
0, 0, 0, 0, 1, 3, 4, 6, 7, 7, 7, 7, 6, 4, 3, 1,
};
+#ifdef __PALM_OS__
+static int8 *codec47_table;
+#else
static int8 codec47_table[] = {
0, 0, -1, -43, 6, -43, -9, -42, 13, -41,
-16, -40, 19, -39, -23, -36, 26, -34, -2, -33,
@@ -135,6 +138,7 @@
23, 36, -19, 39, 16, 40, -13, 41, 9, 42,
-6, 43, 1, 43, 0, 0, 0, 0, 0, 0
};
+#endif
void Codec47Decoder::makeTablesInterpolation(int param) {
int32 variable1, variable2;
@@ -612,3 +616,15 @@
return true;
}
+#ifdef __PALM_OS__
+#include "scumm_globals.h"
+
+_GINIT(Codec47)
+_GSETPTR(codec47_table, GBVARS_CODEC47TABLE_INDEX, int8, GBVARS_SCUMM)
+_GEND
+
+_GRELEASE(Codec47)
+_GRELEASEPTR(GBVARS_CODEC47TABLE_INDEX, GBVARS_SCUMM)
+_GEND
+
+#endif
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm akos.cpp,1.84,1.85 bundle.cpp,1.45,1.46 charset.cpp,2.59,2.60 costume.cpp,1.102,1.103 dialogs.cpp,1.67,1.68 gfx.cpp,2.185,2.186 imuse_digi.cpp,1.34,1.35
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm costume.cpp,1.101,1.102 intern.h,2.103,2.104 script_v2.cpp,2.174,2.175
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list