ref: 607bbfcef85c488dfefef1ce30a3e614b4adb6e1
parent: 90ffbacd29a110fb0627202abca5e5a1dafd43ec
author: Clownacy <Clownacy@users.noreply.github.com>
date: Wed Jul 31 19:12:06 EDT 2019
Remove some debug prints I prefer to only print on error
--- a/src/Draw.cpp
+++ b/src/Draw.cpp
@@ -260,7 +260,6 @@
Backend_Unlock(surf[surf_no].backend);
SDL_FreeSurface(converted_surface);
- printf(" ^ Successfully loaded\n");
success = TRUE;
}
}
@@ -292,7 +291,6 @@
}
else
{
- printf("Loading surface (as .pbm) from %s for surface id %d\n", path, surf_no);
if (LoadBitmap(fp, surf_no, create_surface))
return TRUE;
}
@@ -303,7 +301,6 @@
fp = SDL_RWFromFile(path, "rb");
if (fp)
{
- printf("Loading surface (as .bmp) from %s for surface id %d\n", path, surf_no);
if (LoadBitmap(fp, surf_no, create_surface))
return TRUE;
}
@@ -324,7 +321,6 @@
// But hey, if I ever need to create an RWops from an array that's -32768 bytes long, they've got me covered!
SDL_RWops *fp = SDL_RWFromConstMem(data, size);
- printf("Loading surface from resource %s for surface id %d\n", res, surf_no);
if (LoadBitmap(fp, surf_no, create_surface))
return TRUE;
}
--- a/src/Organya.cpp
+++ b/src/Organya.cpp
@@ -432,7 +432,6 @@
memset(now_leng, 0, sizeof(now_leng));
// Open file
- printf("Loading org %s\n", name);
const unsigned char *p = FindResource(name, "ORG", NULL);
// Version Check