editmap.cpp:946:81: error: no member named 'light' in 'item'
ilmenu.addentry(i, true, 0, "%s%s", items[i].tname(g).c_str(), items[i].light.luminance > 0 ? " L" : "" );
~~~~~~~~ ^
editmap.cpp:967:77: error: no member named 'light' in 'item'
imenu.addentry(imenu_luminance, true, -1, "lum: %f", (float)it->light.luminance);
~~ ^
editmap.cpp:968:75: error: no member named 'light' in 'item'
imenu.addentry(imenu_direction, true, -1, "dir: %d", (int)it->light.direction);
~~ ^
editmap.cpp:969:73: error: no member named 'light' in 'item'
imenu.addentry(imenu_width, true, -1, "width: %d", (int)it->light.width);
~~ ^
editmap.cpp:988:47: error: no member named 'light' in 'item'
intval = (int)it->light.luminance;
~~ ^
editmap.cpp:991:47: error: no member named 'light' in 'item'
intval = (int)it->light.direction;
~~ ^
editmap.cpp:994:47: error: no member named 'light' in 'item'
intval = (int)it->light.width;
~~ ^
editmap.cpp:1013:33: error: no member named 'light' in 'item'
it->light.luminance = (unsigned short)retval;
~~ ^
editmap.cpp:1014:102: error: no member named 'light' in 'item'
imenu.entries[imenu_luminance].txt = string_format("lum: %f", (float)it->light.luminance);
~~ ^
editmap.cpp:1016:33: error: no member named 'light' in 'item'
it->light.direction = (short)retval;
~~ ^
editmap.cpp:1017:100: error: no member named 'light' in 'item'
imenu.entries[imenu_direction].txt = string_format("dir: %d", (int)it->light.direction);
~~ ^
editmap.cpp:1019:33: error: no member named 'light' in 'item'
it->light.width = (short)retval;
~~ ^
editmap.cpp:1020:98: error: no member named 'light' in 'item'
imenu.entries[imenu_width].txt = string_format("width: %d", (int)it->light.width);
~~ ^
13 errors generated.
make: *** [obj/editmap.o] Error 1
make: *** Waiting for unfinished jobs....