[Scummvm-cvs-logs] CVS: scummvm/scumm scumm.h,1.434,1.435 resource.cpp,1.232,1.233 akos.cpp,1.136,1.137
Max Horn
fingolfin at users.sourceforge.net
Sat Jul 31 16:22:01 CEST 2004
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/saga animation.cpp,1.9,1.10 events.cpp,1.12,1.13 input.cpp,1.3,1.4 music.h,1.7,1.8 render.cpp,1.13,1.14 render.h,1.8,1.9 saga.cpp,1.22,1.23 saga.h,1.16,1.17 scene.cpp,1.12,1.13 sndres.cpp,1.15,1.16 render_mod.h,1.6,NONE
- Next message: [Scummvm-cvs-logs] CVS: scummvm/saga actionmap.cpp,1.8,1.9 actionmap.h,1.4,1.5 actor.cpp,1.12,1.13 actor.h,1.4,1.5 animation.cpp,1.10,1.11 animation.h,1.7,1.8 cvar.cpp,1.6,1.7 cvar.h,1.4,1.5 cvar_mod.h,1.4,1.5 objectmap.cpp,1.9,1.10 objectmap.h,1.4,1.5 render.cpp,1.14,1.15 saga.cpp,1.23,1.24 scene.cpp,1.13,1.14 scene.h,1.4,1.5 script.cpp,1.8,1.9 script.h,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11308
Modified Files:
scumm.h resource.cpp akos.cpp
Log Message:
isGlobInMemory == isResourceLoaded
Index: scumm.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scumm.h,v
retrieving revision 1.434
retrieving revision 1.435
diff -u -d -r1.434 -r1.435
--- scumm.h 26 Jul 2004 23:15:01 -0000 1.434
+++ scumm.h 31 Jul 2004 23:20:37 -0000 1.435
@@ -661,7 +661,6 @@
int getResourceSize(int type, int idx);
public:
- bool isGlobInMemory(int type, int index) const;
bool isResourceLoaded(int type, int index) const;
byte *getResourceAddress(int type, int i);
byte *getStringAddress(int i);
Index: resource.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/resource.cpp,v
retrieving revision 1.232
retrieving revision 1.233
diff -u -d -r1.232 -r1.233
--- resource.cpp 26 Jul 2004 23:15:01 -0000 1.232
+++ resource.cpp 31 Jul 2004 23:20:37 -0000 1.233
@@ -2201,7 +2201,7 @@
}
bool ScummEngine::isResourceLoaded(int type, int idx) const {
- if (!validateResource("isLoaded", type, idx))
+ if (!validateResource("isResourceLoaded", type, idx))
return false;
return res.address[type][idx] != NULL;
}
@@ -2426,14 +2426,6 @@
allocResTypeData(rtImage, MKID('AWIZ'), _numImages, "images", 1);
}
-
-bool ScummEngine::isGlobInMemory(int type, int idx) const{
- if (!validateResource("isGlobInMemory", type, idx))
- return false;
-
- return res.address[type][idx] != NULL;
-}
-
void ScummEngine::dumpResource(const char *tag, int idx, const byte *ptr, int length) {
char buf[256];
File out;
Index: akos.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/akos.cpp,v
retrieving revision 1.136
retrieving revision 1.137
diff -u -d -r1.136 -r1.137
--- akos.cpp 11 Jul 2004 09:15:13 -0000 1.136
+++ akos.cpp 31 Jul 2004 23:20:37 -0000 1.137
@@ -588,7 +588,7 @@
/* implement custom scale table */
v1.scaletable = (_vm->_features & GF_HUMONGOUS) ? oldScaleTable : defaultScaleTable;
- if (_vm->VAR_CUSTOMSCALETABLE != 0xFF && _vm->isGlobInMemory(rtString, _vm->VAR(_vm->VAR_CUSTOMSCALETABLE))) {
+ if (_vm->VAR_CUSTOMSCALETABLE != 0xFF && _vm->isResourceLoaded(rtString, _vm->VAR(_vm->VAR_CUSTOMSCALETABLE))) {
v1.scaletable = _vm->getStringAddressVar(_vm->VAR_CUSTOMSCALETABLE);
}
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/saga animation.cpp,1.9,1.10 events.cpp,1.12,1.13 input.cpp,1.3,1.4 music.h,1.7,1.8 render.cpp,1.13,1.14 render.h,1.8,1.9 saga.cpp,1.22,1.23 saga.h,1.16,1.17 scene.cpp,1.12,1.13 sndres.cpp,1.15,1.16 render_mod.h,1.6,NONE
- Next message: [Scummvm-cvs-logs] CVS: scummvm/saga actionmap.cpp,1.8,1.9 actionmap.h,1.4,1.5 actor.cpp,1.12,1.13 actor.h,1.4,1.5 animation.cpp,1.10,1.11 animation.h,1.7,1.8 cvar.cpp,1.6,1.7 cvar.h,1.4,1.5 cvar_mod.h,1.4,1.5 objectmap.cpp,1.9,1.10 objectmap.h,1.4,1.5 render.cpp,1.14,1.15 saga.cpp,1.23,1.24 scene.cpp,1.13,1.14 scene.h,1.4,1.5 script.cpp,1.8,1.9 script.h,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list