aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/wintermute/Base/BPersistMgr.cpp1
-rw-r--r--engines/wintermute/Base/BSurfaceSDL.cpp1
-rw-r--r--engines/wintermute/Sys/SysClass.cpp5
3 files changed, 1 insertions, 6 deletions
diff --git a/engines/wintermute/Base/BPersistMgr.cpp b/engines/wintermute/Base/BPersistMgr.cpp
index a70b915fc2..938498dae8 100644
--- a/engines/wintermute/Base/BPersistMgr.cpp
+++ b/engines/wintermute/Base/BPersistMgr.cpp
@@ -467,7 +467,6 @@ char *CBPersistMgr::GetString() {
ret[len] = '\0';
/* char *ret = (char *)(_buffer + _offset);
_offset += len;*/
- warning("Read string %s with len %d", ret, len);
if (!strcmp(ret, "(null)")) {
delete[] ret;
return NULL;
diff --git a/engines/wintermute/Base/BSurfaceSDL.cpp b/engines/wintermute/Base/BSurfaceSDL.cpp
index 9e77b9c1b7..e118bac384 100644
--- a/engines/wintermute/Base/BSurfaceSDL.cpp
+++ b/engines/wintermute/Base/BSurfaceSDL.cpp
@@ -100,7 +100,6 @@ bool hasTransparency(Graphics::Surface *surf) {
HRESULT CBSurfaceSDL::create(const char *filename, bool default_ck, byte ck_red, byte ck_green, byte ck_blue, int lifeTime, bool keepLoaded) {
/* CBRenderSDL *renderer = static_cast<CBRenderSDL *>(Game->_renderer); */
Common::String strFileName(filename);
- warning("CBSurfaceSDL::create(%s, %d, %d, %d, %d, %d, %d", filename, default_ck, ck_red, ck_green, ck_blue, lifeTime, keepLoaded);
CBImage *image = new CBImage(Game);
image->loadFile(strFileName);
// const Graphics::Surface *surface = image->getSurface();
diff --git a/engines/wintermute/Sys/SysClass.cpp b/engines/wintermute/Sys/SysClass.cpp
index dede71b756..730753cf18 100644
--- a/engines/wintermute/Sys/SysClass.cpp
+++ b/engines/wintermute/Sys/SysClass.cpp
@@ -122,7 +122,6 @@ int CSysClass::GetNumInstances() {
//////////////////////////////////////////////////////////////////////////
void CSysClass::Dump(Common::WriteStream *stream) {
- //fprintf(stream, "%03d %c %-20s instances: %d\n", _iD, _persistent ? 'p' : ' ', _name.c_str(), GetNumInstances());
Common::String str;
str = Common::String::format("%03d %c %-20s instances: %d\n", _iD, _persistent ? 'p' : ' ', _name.c_str(), GetNumInstances());
stream->write(str.c_str(), str.size());
@@ -130,7 +129,6 @@ void CSysClass::Dump(Common::WriteStream *stream) {
//////////////////////////////////////////////////////////////////////////
void CSysClass::SaveTable(CBGame *Game, CBPersistMgr *PersistMgr) {
- warning("Saving %d:%s with %d instancces", _iD, _name.c_str(), _instances.size());
PersistMgr->PutString(_name.c_str());
PersistMgr->PutDWORD(_iD);
PersistMgr->PutDWORD(_instances.size());
@@ -145,10 +143,9 @@ void CSysClass::SaveTable(CBGame *Game, CBPersistMgr *PersistMgr) {
void CSysClass::LoadTable(CBGame *Game, CBPersistMgr *PersistMgr) {
_savedID = PersistMgr->GetDWORD();
int numInstances = PersistMgr->GetDWORD();
- warning("Loading table for %d:%s with %d instances", _savedID, _name.c_str(), numInstances);
+
for (int i = 0; i < numInstances; i++) {
int instID = PersistMgr->GetDWORD();
- warning("Loaded instanceID: %d", instID);
if (_persistent) {
if (i > 0) {