* layers system (stored in comments of .map file)

menus	* View->Layers Browser (L)
	* Edit->Expand Selection To Layers (ctrl + q)
	* shift + q: move-to LayersMenu
closes #133
This commit is contained in:
Garux
2025-08-31 16:25:12 +05:00
parent 581dd79acb
commit 1599d0a64b
40 changed files with 1042 additions and 82 deletions
+4
View File
@@ -55,6 +55,8 @@ const TypeId NODETYPEID_NONE = NODETYPEID_MAX;
const TypeId INSTANCETYPEID_MAX = 64;
const TypeId INSTANCETYPEID_NONE = INSTANCETYPEID_MAX;
class Layer;
namespace scene
{
/// \brief A unique key to an instance of a node in the scene-graph.
@@ -88,6 +90,8 @@ public:
virtual void insert_root( Node& root ) = 0;
/// \brief Clears the root-node of the graph.
virtual void erase_root() = 0;
/// \brief Returns current layer or 0 when no root is inserted.
virtual Layer* currentLayer() = 0;
/// \brief Traverses all nodes in the graph depth-first, starting from the root node.
virtual void traverse( const Walker& walker ) = 0;
/// \brief Traverses all nodes in the graph depth-first, starting from 'start'.
+1
View File
@@ -63,6 +63,7 @@ struct _QERScripLibTable
STRING_CONSTANT( Name, "scriptlib" );
Tokeniser& ( *m_pfnNewScriptTokeniser )( TextInputStream & istream );
Tokeniser& ( *m_pfnNewMapTokeniser )( TextInputStream & istream );
Tokeniser& ( *m_pfnNewSimpleTokeniser )( TextInputStream & istream );
TokenWriter& ( *m_pfnNewSimpleTokenWriter )( TextOutputStream & ostream );
};