Added support for ambient light track-wide (Joerg: am I duplicating something that already exists somewhere else?)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5792 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -266,7 +266,9 @@ void Track::loadTrackInfo()
|
||||
root->get("gravity", &m_gravity);
|
||||
root->get("arena", &m_is_arena);
|
||||
root->get("groups", &m_groups);
|
||||
|
||||
root->get("ambient", &m_sun_diffuse_color);
|
||||
root->get("ambient", &m_sun_specular_color);
|
||||
root->get("ambient", &m_default_ambient_color);
|
||||
root->get("maxKartCount", &m_max_kart_count);
|
||||
|
||||
for(unsigned int i=0; i<root->getNumNodes(); i++)
|
||||
|
||||
Reference in New Issue
Block a user