Ignore:
Timestamp:
2010-05-28 07:39:52 (2 years ago)
Author:
kpoole
Message:

Episode 5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Classes/generate_report.cpp

    r4 r26  
    135135        } 
    136136        // KP: always add traits here too 
     137        // @TODO: KP: check why there is a trailing , when not needed 
     138#ifndef __IPAD__         
    137139        if (abilities.size() == 0) 
    138140        { 
     
    143145            res.add_text(", " + u->second.traits_description(),u->second.modification_description("trait")); 
    144146        } 
    145  
     147#endif 
    146148        return res; 
    147149    } 
     
    149151        report res; 
    150152        std::stringstream tooltip; 
    151         str << "HP:\n" << font::color2markup( u->second.hp_color() ); 
     153#ifndef __IPAD__     
     154        str << "HP:\n"; 
     155#endif 
     156        str << font::color2markup( u->second.hp_color() ); 
    152157        str << u->second.hitpoints() << "/" << u->second.max_hitpoints(); 
    153158 
     
    193198      std::stringstream tooltip; 
    194199 
    195       str << "XP:\n" << font::color2markup( u->second.xp_color() ); 
     200#ifndef __IPAD__     
     201        str << "XP:\n"; 
     202#endif 
     203        str << font::color2markup( u->second.xp_color() ); 
    196204      str << u->second.experience() << "/" << u->second.max_experience(); 
    197205 
Note: See TracChangeset for help on using the changeset viewer.