aboutsummaryrefslogtreecommitdiff
path: root/saga/sprite.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2004-05-05 13:05:45 +0000
committerTorbjörn Andersson2004-05-05 13:05:45 +0000
commit148872d1fd622092cb7975d414bb6f161d0801ef (patch)
tree336a5580e55e56c85862b2a0a3e0b5fe3ddb5262 /saga/sprite.cpp
parent4102a3b13f1455ddfd7e8b17e4f8f1bd1e14f0c2 (diff)
downloadscummvm-rg350-148872d1fd622092cb7975d414bb6f161d0801ef.tar.gz
scummvm-rg350-148872d1fd622092cb7975d414bb6f161d0801ef.tar.bz2
scummvm-rg350-148872d1fd622092cb7975d414bb6f161d0801ef.zip
Replaced R_printf() with debug() and warning(). There are still a couple of
standard printf()s left, though. svn-id: r13791
Diffstat (limited to 'saga/sprite.cpp')
-rw-r--r--saga/sprite.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/saga/sprite.cpp b/saga/sprite.cpp
index 5ab962e285..be31d6e0e4 100644
--- a/saga/sprite.cpp
+++ b/saga/sprite.cpp
@@ -47,7 +47,7 @@ int SPRITE_Init() {
return R_FAILURE;
}
- R_printf(R_STDOUT, "Initializing sprite subsystem...\n");
+ debug(0, "Initializing sprite subsystem...");
// Load sprite module resource context
result = GAME_GetFileContext(&SpriteModule.sprite_ctxt, R_GAME_RESOURCEFILE, 0);
@@ -72,7 +72,7 @@ int SPRITE_Shutdown() {
return R_FAILURE;
}
- R_printf(R_STDOUT, "Shutting down sprite subsystem...\n");
+ debug(0, "Shutting down sprite subsystem...");
free(SpriteModule.decode_buf);
@@ -305,7 +305,7 @@ int SPRITE_DrawOccluded(R_SURFACE *ds, R_SPRITELIST *sprite_list, int sprite_num
}
if (sprite_num >= sprite_list->sprite_count) {
- R_printf(R_STDOUT, "Invalid sprite number (%d) for sprite list %d.\n", sprite_num, sprite_list->slist_rn);
+ warning("Invalid sprite number (%d) for sprite list %d", sprite_num, sprite_list->slist_rn);
return R_FAILURE;
}