mirror of
https://github.com/Garux/netradiant-custom.git
synced 2026-09-28 00:00:03 +02:00
* 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:
@@ -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'.
|
||||
|
||||
@@ -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 );
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user