Removed GP descriptions, they weren't useful in any way

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4940 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2010-03-05 23:51:44 +00:00
parent 6d800e52fa
commit 127d58e2dd
7 changed files with 11 additions and 7 deletions

View File

@ -1,5 +1,5 @@
<supertuxkart_grand_prix name="All tracks" description="All tracks included in SuperTuxKart">
<supertuxkart_grand_prix name="All tracks">
<track id="beach" laps="2" />
<track id="startrack" laps="3" />

View File

@ -1,5 +1,5 @@
<supertuxkart_grand_prix name="At World's End" description="Last grand prix, longer and harder">
<supertuxkart_grand_prix name="At World's End">
<track id="fortmagma" laps="3" />
<track id="canyon" laps="2" />

View File

@ -1,5 +1,5 @@
<supertuxkart_grand_prix name="Penguin Playground" description="First grand prix, easy to get started">
<supertuxkart_grand_prix name="Penguin Playground">
<track id="sandtrack" laps="3" />
<track id="snowmountain" laps="3" />

View File

@ -1,5 +1,5 @@
<supertuxkart_grand_prix name="Snag Drive" description="Third grand prix">
<supertuxkart_grand_prix name="Snag Drive">
<track id="islandtrack" laps="2" />
<track id="tuxtollway" laps="2" />

View File

@ -1,5 +1,5 @@
<supertuxkart_grand_prix name="To the Moon and Back" description="Second grand prix">
<supertuxkart_grand_prix name="To the Moon and Back">
<track id="lighthouse" laps="4" />
<track id="skyline" laps="3" />

View File

@ -55,12 +55,14 @@ GrandPrixData::GrandPrixData(const std::string filename) throw(std::logic_error)
m_name = _(temp_name.c_str());
foundName = true;
/*
std::string temp_desc;
const int readDesc = root->get( "description", &temp_desc );
if (readDesc == 1 && temp_desc.size() > 0)
{
m_description = _(temp_desc.c_str());
}
*/
// This used to be there, but I'm leaving it out since it seems it was unused
// lisp->get("item", m_item_style);

View File

@ -32,7 +32,9 @@
class GrandPrixData
{
irr::core::stringw m_name; //!< The name of the grand prix - might be translated!
irr::core::stringw m_description; //!< Description for this GP
//irr::core::stringw m_description; //!< Description for this GP
std::string m_id; //!< Internal name of the grand prix, not translated
std::string m_filename; //!< Original filename, only for error handling needed
std::string m_item_style; //!< item style which overwrites the track default
@ -59,7 +61,7 @@ public:
const irr::core::stringw& getName () const { return m_name; }
/** @return the (potentially translated) user-visible description of the Grand Prix */
const irr::core::stringw& getDescription () const { return m_description; }
//const irr::core::stringw& getDescription () const { return m_description; }
/** @return the internale name identifier of the Grand Prix (not translated) */
const std::string& getId () const { return m_id; }