MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / reset

Method reset

Source/3rdParty/tmxlite/Map.cpp:355–377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353}
354
355bool Map::reset()
356{
357 m_orientation = Orientation::None;
358 m_renderOrder = RenderOrder::None;
359 m_tileCount = { 0u, 0u };
360 m_tileSize = { 0u, 0u };
361 m_hexSideLength = 0.f;
362 m_staggerAxis = StaggerAxis::None;
363 m_staggerIndex = StaggerIndex::None;
364 m_backgroundColour = {};
365 m_workingDirectory = "";
366
367 m_tilesets.clear();
368 m_layers.clear();
369 m_properties.clear();
370
371 m_templateObjects.clear();
372 m_templateTilesets.clear();
373
374 m_animTiles.clear();
375
376 return false;
377}

Callers 13

OpenDialogFunction · 0.45
OpenDialogMultipleFunction · 0.45
SaveDialogFunction · 0.45
PickFolderFunction · 0.45
PickFolderMultipleFunction · 0.45
GetPathFunction · 0.45
setMethod · 0.45
readMethod · 0.45
open_streamMethod · 0.45
shutdown_and_closeMethod · 0.45
environmentMethod · 0.45
runtimeMethod · 0.45

Calls 1

clearMethod · 0.65

Tested by

no test coverage detected