diff --git a/data/dynos_bin_actor.cpp b/data/dynos_bin_actor.cpp index 149b1e98a..aa49a2fa1 100644 --- a/data/dynos_bin_actor.cpp +++ b/data/dynos_bin_actor.cpp @@ -245,7 +245,7 @@ static void DynOS_Actor_Generate(const SysPath &aPackFolder, Array> _ActorsFolders; GfxData *_GfxData = New(); diff --git a/data/dynos_bin_behavior.cpp b/data/dynos_bin_behavior.cpp index 62fa21e1c..c1c69cb02 100644 --- a/data/dynos_bin_behavior.cpp +++ b/data/dynos_bin_behavior.cpp @@ -2647,7 +2647,7 @@ static void DynOS_Bhv_Generate(const SysPath &aPackFolder, Array> _BehaviorsFolders; GfxData *_GfxData = New(); diff --git a/data/dynos_bin_compress.cpp b/data/dynos_bin_compress.cpp index 040f7e47e..879fc8b50 100644 --- a/data/dynos_bin_compress.cpp +++ b/data/dynos_bin_compress.cpp @@ -176,9 +176,7 @@ BinFile *DynOS_Bin_Decompress(const SysPath &aFilename) { DynOS_Bin_Compress_Free(); return BinFile::OpenR(aFilename.c_str()); } -#ifdef DEVELOPMENT PrintNoNewLine("Decompressing file \"%s\"...", aFilename.c_str()); -#endif // Read expected uncompressed file size if (!DynOS_Bin_Compress_Check( @@ -228,15 +226,11 @@ BinFile *DynOS_Bin_Decompress(const SysPath &aFilename) { PrintError("ERROR: uncompress rc: %d, length uncompressed: %lu, length compressed: %lu, length header: %lu", uncompressRc, sLengthUncompressed, sLengthCompressed, _LengthHeader); return NULL; } -#ifdef DEVELOPMENT Print("uncompress rc: %d, length uncompressed: %lu, length compressed: %lu, length header: %lu", uncompressRc, sLengthUncompressed, sLengthCompressed, _LengthHeader); -#endif // Return uncompressed data as a BinFile BinFile *_BinFile = BinFile::OpenB(sBufferUncompressed, sLengthUncompressed); DynOS_Bin_Compress_Free(); -#ifdef DEVELOPMENT Print(" Done."); -#endif return _BinFile; } diff --git a/data/dynos_bin_lvl.cpp b/data/dynos_bin_lvl.cpp index c9e837a21..b3b26ad67 100644 --- a/data/dynos_bin_lvl.cpp +++ b/data/dynos_bin_lvl.cpp @@ -1232,7 +1232,7 @@ static void DynOS_Lvl_GeneratePack_Recursive(const SysPath &directory, GfxData * } void DynOS_Lvl_GeneratePack(const SysPath &aPackFolder) { - Print("Processing Levels: \"%s\"", aPackFolder.c_str()); + Print("Processing levels: \"%s\"", aPackFolder.c_str()); Array> _ActorsFolders; GfxData *_GfxData = New(); diff --git a/data/dynos_bin_tex.cpp b/data/dynos_bin_tex.cpp index 93d869170..3a1e58206 100644 --- a/data/dynos_bin_tex.cpp +++ b/data/dynos_bin_tex.cpp @@ -466,7 +466,7 @@ static void DynOS_Tex_GeneratePack_Recursive(const SysPath &aPackFolder, SysPath } void DynOS_Tex_GeneratePack(const SysPath &aPackFolder, SysPath &aOutputFolder, bool aAllowCustomTextures) { - Print("Processing Textures: \"%s\"", aPackFolder.c_str()); + Print("Processing textures: \"%s\"", aPackFolder.c_str()); // skip generation if any .tex files exist if (FileTypeExists(aOutputFolder, ".tex")) { diff --git a/src/engine/behavior_script.c b/src/engine/behavior_script.c index 76252625a..528aa3e1d 100644 --- a/src/engine/behavior_script.c +++ b/src/engine/behavior_script.c @@ -1168,7 +1168,7 @@ static s32 bhv_cmd_spawn_obj_ext(void) { static s32 bhv_cmd_load_animations_ext(void) { //u8 field = BHV_CMD_GET_2ND_U8(0); - printf("LOAD_ANIMATIONS_EXT is not yet supported! Skipping behavior command.\n"); + LOG_ERROR("LOAD_ANIMATIONS_EXT is not yet supported! Skipping behavior command.\n"); //BehaviorScript *behavior = (BehaviorScript *)gCurrentObject->behavior; diff --git a/src/pc/configfile.c b/src/pc/configfile.c index 63525b846..ddd0156d7 100644 --- a/src/pc/configfile.c +++ b/src/pc/configfile.c @@ -570,9 +570,11 @@ static void configfile_load_internal(const char *filename, bool* error) { } } - if (option == NULL) + if (option == NULL) { +#ifdef DEVELOPMENT printf("unknown option '%s'\n", tokens[0]); - else { +#endif + } else { switch (option->type) { case CONFIG_TYPE_BOOL: if (strcmp(tokens[1], "true") == 0)