MCPcopy Create free account
hub / github.com/ddnet/ddnet / SelectLayer

Method SelectLayer

src/game/editor/mapitems/map.cpp:324–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322}
323
324void CEditorMap::SelectLayer(int LayerIndex, int GroupIndex)
325{
326 if(GroupIndex != -1)
327 m_SelectedGroup = GroupIndex;
328
329 m_vSelectedLayers.clear();
330 DeselectQuads();
331 DeselectQuadPoints();
332 AddSelectedLayer(LayerIndex);
333}
334
335void CEditorMap::AddSelectedLayer(int LayerIndex)
336{

Callers 14

RenderLayersMethod · 0.80
PopupLayerMethod · 0.80
UndoMethod · 0.80
RedoMethod · 0.80
ApplyMethod · 0.80
SelectByTileMethod · 0.80
AddSoundLayerMethod · 0.80
AddTileLayerMethod · 0.80
AddQuadsLayerMethod · 0.80
AddSwitchLayerMethod · 0.80
AddFrontLayerMethod · 0.80
AddTuneLayerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected