From: <wel...@us...> - 2011-04-27 10:44:25
|
Revision: 7188 http://planeshift.svn.sourceforge.net/planeshift/?rev=7188&view=rev Author: weltall2 Date: 2011-04-27 10:44:19 +0000 (Wed, 27 Apr 2011) Log Message: ----------- expanded psraceinfo api Modified Paths: -------------- trunk/src/server/bulkobjects/psraceinfo.h Modified: trunk/src/server/bulkobjects/psraceinfo.h =================================================================== --- trunk/src/server/bulkobjects/psraceinfo.h 2011-04-26 16:52:07 UTC (rev 7187) +++ trunk/src/server/bulkobjects/psraceinfo.h 2011-04-27 10:44:19 UTC (rev 7188) @@ -115,6 +115,11 @@ const char *GetRace() { return name; } const char *GetMeshName() { return mesh_name.GetDataSafe(); } + + /** Gets the name of the texture associated to this race, if any. + * @return The name of the texture. + */ + const char *GetTextureName() { return base_texture_name.GetDataSafe(); } const char *GetHelmGroup() { return helmGroup.GetDataSafe(); } const char *GetBracerGroup() { return BracerGroup.GetDataSafe(); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |