DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ InitInfoGrid()

void ConstructionActionInfoToolsGrid::InitInfoGrid ( LayoutHolder parent,
Widget handledWidget )
inlineprotected

См. определение в файле ActionInfoGrids.c строка 108

109 {
110 super.InitInfoGrid(parent,handledWidget);
111
112 //2. create default number of icons
113 for (int i = 1; i < EnumTools.GetEnumSize(EConstructionTools); ++i) //skipping the 'TOOL_NO_ACTION'
114 {
115 CreateNewIcon(1 << (i - 1)); //indexing by tool category bit value
116 }
117
118 m_LastToolMask = 0;
119 m_LastPartMask = 0;
120 }
void CreateNewIcon(int idx=-1)
Определения ActionInfoGrids.c:122

Перекрестные ссылки CreateNewIcon(), EnumTools::GetEnumSize(), m_LastPartMask и m_LastToolMask.