Added support for the kart files to specify the shape of its symbol in the mini map.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3799 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
f3bc93f69a
commit
217ff4741a
@ -187,6 +187,7 @@ void KartProperties::getAllData(const lisp::Lisp* lisp)
|
||||
Vec3 c;
|
||||
lisp->get("rgb", c);
|
||||
m_color.set(255, (int)(255*c.getX()), (int)(255*c.getY()), (int)(255*c.getZ()));
|
||||
lisp->get("shape", m_shape);
|
||||
lisp->get("engine-power", m_engine_power, 3);
|
||||
lisp->get("time-full-steer", m_time_full_steer);
|
||||
lisp->get("time-full-steer-ai", m_time_full_steer_ai);
|
||||
|
Loading…
Reference in New Issue
Block a user