From: <geo...@us...> - 2012-03-01 13:34:55
|
Revision: 4673 http://freeorion.svn.sourceforge.net/freeorion/revision/?rev=4673&view=rev Author: geoffthemedio Date: 2012-03-01 13:34:49 +0000 (Thu, 01 Mar 2012) Log Message: ----------- Added a getter for ShipDesign to return whether to look up the design's name/description in the stringtable. Modified Paths: -------------- trunk/FreeOrion/universe/ShipDesign.h Modified: trunk/FreeOrion/universe/ShipDesign.h =================================================================== --- trunk/FreeOrion/universe/ShipDesign.h 2012-02-27 08:02:30 UTC (rev 4672) +++ trunk/FreeOrion/universe/ShipDesign.h 2012-03-01 13:34:49 UTC (rev 4673) @@ -545,6 +545,7 @@ const std::string& Icon() const { return m_icon; } ///< returns filename for small-size icon graphic for design const std::string& Model() const { return m_3D_model; } ///< returns filename of 3D model that represents ships of design + bool LookupInStringtable() const { return m_name_desc_in_stringtable; } std::string Dump() const; ///< returns a data file format representation of this object //@} |