From 686c3e8726f5321646d6221f62a24fba9600b742 Mon Sep 17 00:00:00 2001 From: "fix94.1" Date: Tue, 3 Jul 2012 17:07:53 +0000 Subject: [PATCH] -got rid of the new compile warnings --- source/banner/Animator.cpp | 4 ++-- source/banner/QuadPane.cpp | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/source/banner/Animator.cpp b/source/banner/Animator.cpp index 573f5f3b..f0db1efe 100644 --- a/source/banner/Animator.cpp +++ b/source/banner/Animator.cpp @@ -246,7 +246,7 @@ void Animator::ProcessHermiteKey(const KeyType& type, float value) // << " target: " << (int)type.target // << " value: " << value // << '\n'; - gprintf("Animator::ProcessHermiteKey\n"); + gprintf("Animator::ProcessHermiteKey, type.index: %d, value: %f\n", type.index, value); } void Animator::ProcessStepKey(const KeyType& type, StepKeyHandler::KeyData data) @@ -256,5 +256,5 @@ void Animator::ProcessStepKey(const KeyType& type, StepKeyHandler::KeyData data) // << " target: " << (int)type.target // << " data:" << (int)data.data1 << " " << (int)data.data2 // << '\n'; - gprintf("Animator::ProcessStepKey\n"); + gprintf("Animator::ProcessStepKey, type.index: %d, data: %d %d", type.index, data.data1, data.data2); } diff --git a/source/banner/QuadPane.cpp b/source/banner/QuadPane.cpp index c8890994..9550c38b 100644 --- a/source/banner/QuadPane.cpp +++ b/source/banner/QuadPane.cpp @@ -69,6 +69,9 @@ void QuadPane::Draw(const BannerResources& resources, u8 render_alpha, const flo if(!header) return; + if(ws_scale < 0) + gprintf("%f\n", ws_scale); + if (material_index < resources.materials.size()) { bool modulate_color = IsModulateColor(header->vertex_colors, render_alpha);