91 {
92 int count =
g_Game.ConfigGetChildrenCount(
path);
93 for ( int i = 0; i < count; i++ )
94 {
95 string itemName;
97
98 string typesPath =
path +
" " + itemName +
" types";
99 string texturePath =
path +
" " + itemName +
" texture";
100
101 if (
g_Game.ConfigIsExisting(typesPath) &&
g_Game.ConfigIsExisting(texturePath))
102 {
104 string texture;
105 g_Game.ConfigGetText(texturePath, texture);
106 g_Game.ConfigGetTextArray(typesPath, types);
107
108 foreach (string s: types)
109 {
111 }
112 }
113 else
114 {
115 ErrorEx(
"Billboard set incorrect configuration, type or texture param missing: " +
path);
116 }
117
118 }
119 }
class BillboardSetHandler m_TypeTextureMapping
array< string > TStringArray