Removed unused functions.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5028 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
6b156233fb
commit
625d7a91ed
@ -280,15 +280,3 @@ void ItemManager::switchItems()
|
|||||||
m_switch_time = m_switch_time < 0 ? stk_config->m_item_switch_time : -1;
|
m_switch_time = m_switch_time < 0 ? stk_config->m_item_switch_time : -1;
|
||||||
|
|
||||||
} // switchItems
|
} // switchItems
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
|
||||||
void ItemManager::setItem(const lisp::Lisp *item_node,
|
|
||||||
const char *colour, Item::ItemType type)
|
|
||||||
{
|
|
||||||
std::string name;
|
|
||||||
item_node->get(colour, name);
|
|
||||||
if(name.size()>0)
|
|
||||||
{
|
|
||||||
m_item_mesh[type]=m_all_meshes[name];
|
|
||||||
}
|
|
||||||
} // setItem
|
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include "items/item.hpp"
|
#include "items/item.hpp"
|
||||||
|
#include "lisp/lisp.hpp"
|
||||||
|
|
||||||
class Kart;
|
class Kart;
|
||||||
|
|
||||||
@ -50,9 +51,6 @@ private:
|
|||||||
* value is <0, it indicates that the items are not switched atm. */
|
* value is <0, it indicates that the items are not switched atm. */
|
||||||
float m_switch_time;
|
float m_switch_time;
|
||||||
|
|
||||||
void setItem(const lisp::Lisp *item_node, const char *colour,
|
|
||||||
Item::ItemType type);
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ItemManager();
|
ItemManager();
|
||||||
~ItemManager();
|
~ItemManager();
|
||||||
|
Loading…
Reference in New Issue
Block a user