wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/src unit_display.cpp


From: Guillaume Melquiond
Subject: [Wesnoth-cvs-commits] wesnoth/src unit_display.cpp
Date: Sun, 12 Sep 2004 08:38:27 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Guillaume Melquiond <address@hidden>    04/09/12 12:33:09

Modified files:
        src            : unit_display.cpp 

Log message:
        Comment out debug message displayed on each frame of a unit animation

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/unit_display.cpp.diff?tr1=1.29&tr2=1.30&r1=text&r2=text

Patches:
Index: wesnoth/src/unit_display.cpp
diff -u wesnoth/src/unit_display.cpp:1.29 wesnoth/src/unit_display.cpp:1.30
--- wesnoth/src/unit_display.cpp:1.29   Mon Aug 30 02:03:07 2004
+++ wesnoth/src/unit_display.cpp        Sun Sep 12 12:33:08 2004
@@ -327,7 +327,7 @@
 
                const unit_animation::frame& unit_frame = 
attack_anim.get_current_frame(unit_animation::UNIT_FRAME);
 
-               std::cerr << "Animation time :" << animation_time << ", image " 
<< unit_frame.image << "\n";
+               //std::cerr << "Animation time :" << animation_time << ", image 
" << unit_frame.image << "\n";
                int new_halo_x = unit_frame.halo_x;
                int new_halo_y = unit_frame.halo_y;
                const std::string* unit_image = &unit_frame.image;
@@ -373,7 +373,7 @@
                Uint32 defensive_colour = 0;
                double defensive_alpha = 1.0;
 
-               std::cerr << "Waiting for missile impact at " << missile_impact 
<< "\n";
+               //std::cerr << "Waiting for missile impact at " << 
missile_impact << "\n";
                if(damage > 0 && animation_time >= missile_impact) {
                        
if(def->second.gets_hit(minimum<int>(drain_speed,damage))) {
                                dead = true;
@@ -403,7 +403,7 @@
 
                if(animation_time >= 0 && animation_time < real_last_missile && 
!hide) {
                        const unit_animation::frame& missile_frame = 
attack_anim.get_current_frame(unit_animation::MISSILE_FRAME);
-                       std::cerr << "Missile: animation time :" << 
animation_time << ", image " << missile_frame.image << ", halo: " << 
missile_frame.halo << "\n";
+                       //std::cerr << "Missile: animation time :" << 
animation_time << ", image " << missile_frame.image << ", halo: " << 
missile_frame.halo << "\n";
 
                        new_halo_x = missile_frame.halo_x;
                        new_halo_y = missile_frame.halo_y;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]