Changeset 26 for trunk/Classes/generate_report.cpp
- Timestamp:
- 2010-05-28 07:39:52 (2 years ago)
- File:
-
- 1 edited
-
trunk/Classes/generate_report.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Classes/generate_report.cpp
r4 r26 135 135 } 136 136 // KP: always add traits here too 137 // @TODO: KP: check why there is a trailing , when not needed 138 #ifndef __IPAD__ 137 139 if (abilities.size() == 0) 138 140 { … … 143 145 res.add_text(", " + u->second.traits_description(),u->second.modification_description("trait")); 144 146 } 145 147 #endif 146 148 return res; 147 149 } … … 149 151 report res; 150 152 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() ); 152 157 str << u->second.hitpoints() << "/" << u->second.max_hitpoints(); 153 158 … … 193 198 std::stringstream tooltip; 194 199 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() ); 196 204 str << u->second.experience() << "/" << u->second.max_experience(); 197 205
Note: See TracChangeset
for help on using the changeset viewer.