tweak formatting

This commit is contained in:
Garux
2025-02-05 15:59:29 +05:00
parent 4a368deef0
commit 607d4c67ad
122 changed files with 663 additions and 663 deletions
+6 -6
View File
@@ -38,17 +38,17 @@ class VolumeTest
{
public:
/// \brief Returns true if \p point intersects volume.
/// \brief Returns true if \p point intersects volume.
virtual bool TestPoint( const Vector3& point ) const = 0;
/// \brief Returns true if \p segment intersects volume.
/// \brief Returns true if \p segment intersects volume.
virtual bool TestLine( const Segment& segment ) const = 0;
/// \brief Returns true if \p plane faces towards volume.
/// \brief Returns true if \p plane faces towards volume.
virtual bool TestPlane( const Plane3& plane ) const = 0;
/// \brief Returns true if \p plane transformed by \p localToWorld faces the viewer.
/// \brief Returns true if \p plane transformed by \p localToWorld faces the viewer.
virtual bool TestPlane( const Plane3& plane, const Matrix4& localToWorld ) const = 0;
/// \brief Returns the intersection of \p aabb and volume.
/// \brief Returns the intersection of \p aabb and volume.
virtual VolumeIntersectionValue TestAABB( const AABB& aabb ) const = 0;
/// \brief Returns the intersection of \p aabb transformed by \p localToWorld and volume.
/// \brief Returns the intersection of \p aabb transformed by \p localToWorld and volume.
virtual VolumeIntersectionValue TestAABB( const AABB& aabb, const Matrix4& localToWorld ) const = 0;
virtual bool fill() const = 0;
+27 -27
View File
@@ -30,16 +30,16 @@ class InputStream;
class ArchiveFile
{
public:
/// \brief Destroys the file object.
/// \brief Destroys the file object.
virtual void release() = 0;
/// \brief Returns the size of the file data in bytes.
/// \brief Returns the size of the file data in bytes.
virtual std::size_t size() const = 0;
/// \brief Returns the path to this file (relative to the filesystem root)
/// \brief Returns the path to this file (relative to the filesystem root)
virtual const char* getName() const = 0;
/// \brief Returns the stream associated with this file.
/// Subsequent calls return the same stream.
/// The stream may be read forwards until it is exhausted.
/// The stream remains valid for the lifetime of the file.
/// \brief Returns the stream associated with this file.
/// Subsequent calls return the same stream.
/// The stream may be read forwards until it is exhausted.
/// The stream remains valid for the lifetime of the file.
virtual InputStream& getInputStream() = 0;
};
@@ -49,12 +49,12 @@ class TextInputStream;
class ArchiveTextFile
{
public:
/// \brief Destroys the file object.
/// \brief Destroys the file object.
virtual void release() = 0;
/// \brief Returns the stream associated with this file.
/// Subsequent calls return the same stream.
/// The stream may be read forwards until it is exhausted.
/// The stream remains valid for the lifetime of the file.
/// \brief Returns the stream associated with this file.
/// Subsequent calls return the same stream.
/// The stream may be read forwards until it is exhausted.
/// The stream remains valid for the lifetime of the file.
virtual TextInputStream& getInputStream() = 0;
};
@@ -90,25 +90,25 @@ public:
eFilesAndDirectories = 0x03,
};
/// \brief Destroys the archive object.
/// Any unreleased file object associated with the archive remains valid. */
/// \brief Destroys the archive object.
/// Any unreleased file object associated with the archive remains valid. */
virtual void release() = 0;
/// \brief Returns a new object associated with the file identified by \p name, or 0 if the file cannot be opened.
/// Name comparisons are case-insensitive.
/// \brief Returns a new object associated with the file identified by \p name, or 0 if the file cannot be opened.
/// Name comparisons are case-insensitive.
virtual ArchiveFile* openFile( const char* name ) = 0;
/// \brief Returns a new object associated with the file identified by \p name, or 0 if the file cannot be opened.
/// Name comparisons are case-insensitive.
/// \brief Returns a new object associated with the file identified by \p name, or 0 if the file cannot be opened.
/// Name comparisons are case-insensitive.
virtual ArchiveTextFile* openTextFile( const char* name ) = 0;
/// Returns true if the file identified by \p name can be opened.
/// Name comparisons are case-insensitive.
/// Returns true if the file identified by \p name can be opened.
/// Name comparisons are case-insensitive.
virtual bool containsFile( const char* name ) = 0;
/// \brief Performs a depth-first traversal of the archive tree starting at \p root.
/// Traverses the entire tree if \p root is "".
/// When a file is encountered, calls \c visitor.file passing the file name.
/// When a directory is encountered, calls \c visitor.directory passing the directory name.
/// Skips the directory if \c visitor.directory returned true.
/// Root comparisons are case-insensitive.
/// Names are mixed-case.
/// \brief Performs a depth-first traversal of the archive tree starting at \p root.
/// Traverses the entire tree if \p root is "".
/// When a file is encountered, calls \c visitor.file passing the file name.
/// When a directory is encountered, calls \c visitor.directory passing the directory name.
/// Skips the directory if \c visitor.directory returned true.
/// Root comparisons are case-insensitive.
/// Names are mixed-case.
virtual void forEachFile( VisitorFunc visitor, const char* root ) = 0;
};
+7 -7
View File
@@ -34,8 +34,8 @@ public:
class InputStream : public StreamBase
{
public:
/// \brief Attempts to read the next \p length bytes from the stream to \p buffer.
/// Returns the number of bytes actually stored in \p buffer.
/// \brief Attempts to read the next \p length bytes from the stream to \p buffer.
/// Returns the number of bytes actually stored in \p buffer.
virtual size_type read( byte_type* buffer, size_type length ) = 0;
};
@@ -43,8 +43,8 @@ public:
class OutputStream : public StreamBase
{
public:
/// \brief Attempts to write \p length bytes to the stream from \p buffer.
/// Returns the number of bytes actually read from \p buffer.
/// \brief Attempts to write \p length bytes to the stream from \p buffer.
/// Returns the number of bytes actually read from \p buffer.
virtual size_type write( const byte_type* buffer, size_type length ) = 0;
};
@@ -61,11 +61,11 @@ public:
end,
};
/// \brief Sets the current \p position of the stream relative to the start.
/// \brief Sets the current \p position of the stream relative to the start.
virtual position_type seek( position_type position ) = 0;
/// \brief Sets the current \p position of the stream relative to either the start, end or current position.
/// \brief Sets the current \p position of the stream relative to either the start, end or current position.
virtual position_type seek( offset_type offset, seekdir direction ) = 0;
/// \brief Returns the current position of the stream.
/// \brief Returns the current position of the stream.
virtual position_type tell() const = 0;
};
+1 -1
View File
@@ -92,7 +92,7 @@ struct EntityClassManager
STRING_CONSTANT( Name, "eclassmanager" );
EntityClass* ( *findOrInsert )( const char* name, bool has_brushes );
const ListAttributeType* ( *findListType )(const char* name);
const ListAttributeType* ( *findListType )( const char* name );
void ( *forEach )( EntityClassVisitor& visitor );
void ( *attach )( ModuleObserver& observer );
void ( *detach )( ModuleObserver& observer );
+23 -23
View File
@@ -43,46 +43,46 @@ public:
INTEGER_CONSTANT( Version, 1 );
STRING_CONSTANT( Name, "VFS" );
/// \brief Adds a root search \p path.
/// Called before \c initialise.
/// \brief Adds a root search \p path.
/// Called before \c initialise.
virtual void initDirectory( const char *path ) = 0;
/// \brief Initialises the filesystem.
/// Called after all root search paths have been added.
/// \brief Initialises the filesystem.
/// Called after all root search paths have been added.
virtual void initialise() = 0;
/// \brief Shuts down the filesystem.
/// \brief Shuts down the filesystem.
virtual void shutdown() = 0;
/// \brief Returns the file identified by \p filename opened in binary mode, or 0 if not found.
/// The caller must \c release() the file returned if it is not 0.
/// \brief Returns the file identified by \p filename opened in binary mode, or 0 if not found.
/// The caller must \c release() the file returned if it is not 0.
virtual ArchiveFile* openFile( const char* filename ) = 0;
/// \brief Returns the file identified by \p filename opened in text mode, or 0 if not found.
/// The caller must \c release() the file returned if it is not 0.
/// \brief Returns the file identified by \p filename opened in text mode, or 0 if not found.
/// The caller must \c release() the file returned if it is not 0.
virtual ArchiveTextFile* openTextFile( const char* filename ) = 0;
/// \brief Opens the file identified by \p filename and reads it into \p buffer, or sets *\p buffer to 0 if not found.
/// Returns the size of the buffer allocated, or undefined value if *\p buffer is 0;
/// The caller must free the allocated buffer by calling \c freeFile
/// \deprecated Deprecated - use \c openFile.
/// \brief Opens the file identified by \p filename and reads it into \p buffer, or sets *\p buffer to 0 if not found.
/// Returns the size of the buffer allocated, or undefined value if *\p buffer is 0;
/// The caller must free the allocated buffer by calling \c freeFile
/// \deprecated Deprecated - use \c openFile.
virtual std::size_t loadFile( const char *filename, void **buffer ) = 0;
/// \brief Frees the buffer returned by \c loadFile.
/// \deprecated Deprecated.
/// \brief Frees the buffer returned by \c loadFile.
/// \deprecated Deprecated.
virtual void freeFile( void *p ) = 0;
/// \brief Calls \p callback for each directory under \p basedir.
/// \brief Calls \p callback for each directory under \p basedir.
virtual void forEachDirectory( const char* basedir, const FileNameCallback& callback, std::size_t depth = 1 ) = 0;
/// \brief Calls \p callback for each file under \p basedir matching \p extension.
/// Use "*" as \p extension to match all file extensions.
/// \brief Calls \p callback for each file under \p basedir matching \p extension.
/// Use "*" as \p extension to match all file extensions.
virtual void forEachFile( const char* basedir, const char* extension, const FileNameCallback& callback, std::size_t depth = 1 ) = 0;
/// \brief Returns the absolute filename for a relative \p name, or "" if not found.
/// \brief Returns the absolute filename for a relative \p name, or "" if not found.
virtual const char* findFile( const char* name ) = 0;
/// \brief Returns the filesystem root for an absolute \p name, or "" if not found.
/// This can be used to convert an absolute name to a relative name.
/// \brief Returns the filesystem root for an absolute \p name, or "" if not found.
/// This can be used to convert an absolute name to a relative name.
virtual const char* findRoot( const char* name ) = 0;
/// \brief Attach an \p observer whose realise() and unrealise() methods will be called when the filesystem is initialised or shut down.
/// \brief Attach an \p observer whose realise() and unrealise() methods will be called when the filesystem is initialised or shut down.
virtual void attach( ModuleObserver& observer ) = 0;
/// \brief Detach an \p observer previously-attached by calling \c attach.
/// \brief Detach an \p observer previously-attached by calling \c attach.
virtual void detach( ModuleObserver& observer ) = 0;
virtual Archive* getArchive( const char* archiveName, bool pakonly = true ) = 0;
+2 -2
View File
@@ -61,9 +61,9 @@ public:
INTEGER_CONSTANT( Version, 2 );
STRING_CONSTANT( Name, "map" );
/// \brief Read a map graph into \p root from \p outputStream, using \p entityTable to create entities.
/// \brief Read a map graph into \p root from \p outputStream, using \p entityTable to create entities.
virtual void readGraph( scene::Node& root, TextInputStream& inputStream, EntityCreator& entityTable ) const = 0;
/// \brief Write the map graph obtained by applying \p traverse to \p root into \p outputStream.
/// \brief Write the map graph obtained by applying \p traverse to \p root into \p outputStream.
virtual void writeGraph( scene::Node& root, GraphTraversalFunc traverse, TextOutputStream& outputStream ) const = 0;
};
+14 -14
View File
@@ -30,23 +30,23 @@
// Higher bits have the most effect - slowest state changes should be highest.
const unsigned int RENDER_DEFAULT = 0;
const unsigned int RENDER_LINESTIPPLE = 1 << 0; // glEnable(GL_LINE_STIPPLE)
const unsigned int RENDER_POLYGONSTIPPLE = 1 << 1; // glEnable(GL_POLYGON_STIPPLE)
const unsigned int RENDER_ALPHATEST = 1 << 2; // glEnable(GL_ALPHA_TEST)
const unsigned int RENDER_DEPTHTEST = 1 << 3; // glEnable(GL_DEPTH_TEST)
const unsigned int RENDER_DEPTHWRITE = 1 << 4; // glDepthMask(GL_TRUE)
const unsigned int RENDER_COLOURWRITE = 1 << 5; // glColorMask(GL_TRUE; GL_TRUE; GL_TRUE; GL_TRUE)
const unsigned int RENDER_CULLFACE = 1 << 6; // glEnable(GL_CULL_FACE)
const unsigned int RENDER_SCALED = 1 << 7; // glEnable(GL_NORMALIZE)
const unsigned int RENDER_LINESTIPPLE = 1 << 0; // glEnable( GL_LINE_STIPPLE )
const unsigned int RENDER_POLYGONSTIPPLE = 1 << 1; // glEnable( GL_POLYGON_STIPPLE )
const unsigned int RENDER_ALPHATEST = 1 << 2; // glEnable( GL_ALPHA_TEST )
const unsigned int RENDER_DEPTHTEST = 1 << 3; // glEnable( GL_DEPTH_TEST )
const unsigned int RENDER_DEPTHWRITE = 1 << 4; // glDepthMask( GL_TRUE )
const unsigned int RENDER_COLOURWRITE = 1 << 5; // glColorMask( GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE )
const unsigned int RENDER_CULLFACE = 1 << 6; // glEnable( GL_CULL_FACE )
const unsigned int RENDER_SCALED = 1 << 7; // glEnable( GL_NORMALIZE )
const unsigned int RENDER_SMOOTH = 1 << 8; // glShadeModel
const unsigned int RENDER_FOG = 1 << 9; // glEnable(GL_FOG)
const unsigned int RENDER_LIGHTING = 1 << 10; // glEnable(GL_LIGHTING)
const unsigned int RENDER_BLEND = 1 << 11; // glEnable(GL_BLEND)
const unsigned int RENDER_OFFSETLINE = 1 << 12; // glEnable(GL_POLYGON_OFFSET_LINE)
const unsigned int RENDER_FOG = 1 << 9; // glEnable( GL_FOG)
const unsigned int RENDER_LIGHTING = 1 << 10; // glEnable( GL_LIGHTING )
const unsigned int RENDER_BLEND = 1 << 11; // glEnable( GL_BLEND )
const unsigned int RENDER_OFFSETLINE = 1 << 12; // glEnable( GL_POLYGON_OFFSET_LINE )
const unsigned int RENDER_FILL = 1 << 13; // glPolygonMode
const unsigned int RENDER_COLOURARRAY = 1 << 14; // glEnableClientState(GL_COLOR_ARRAY)
const unsigned int RENDER_COLOURARRAY = 1 << 14; // glEnableClientState( GL_COLOR_ARRAY )
const unsigned int RENDER_COLOURCHANGE = 1 << 15; // render() is allowed to call glColor*()
const unsigned int RENDER_TEXTURE = 1 << 16; // glEnable(GL_TEXTURE_2D)
const unsigned int RENDER_TEXTURE = 1 << 16; // glEnable( GL_TEXTURE_2D )
const unsigned int RENDER_BUMP = 1 << 17;
const unsigned int RENDER_PROGRAM = 1 << 18;
const unsigned int RENDER_SCREEN = 1 << 19;
+31 -31
View File
@@ -75,39 +75,39 @@ public:
class Walker
{
public:
/// \brief Called before traversing the first child-instance of 'instance'. If the return value is false, the children of the current instance are not traversed.
/// \brief Called before traversing the first child-instance of 'instance'. If the return value is false, the children of the current instance are not traversed.
virtual bool pre( const Path& path, Instance& instance ) const = 0;
/// \brief Called after traversing the last child-instance of 'instance'.
/// \brief Called after traversing the last child-instance of 'instance'.
virtual void post( const Path& path, Instance& instance ) const {
}
};
/// \brief Returns the root-node of the graph.
/// \brief Returns the root-node of the graph.
virtual Node& root() = 0;
/// \brief Sets the root-node of the graph to be 'node'.
/// \brief Sets the root-node of the graph to be 'node'.
virtual void insert_root( Node& root ) = 0;
/// \brief Clears the root-node of the graph.
/// \brief Clears the root-node of the graph.
virtual void erase_root() = 0;
/// \brief Traverses all nodes in the graph depth-first, starting from the root node.
/// \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'.
/// \brief Traverses all nodes in the graph depth-first, starting from 'start'.
virtual void traverse_subgraph( const Walker& walker, const Path& start ) = 0;
/// \brief Returns the instance at the location identified by 'path', or 0 if it does not exist.
/// \brief Returns the instance at the location identified by 'path', or 0 if it does not exist.
virtual scene::Instance* find( const Path& path ) = 0;
/// \brief Invokes all scene-changed callbacks. Called when any part of the scene changes the way it will appear when the scene is rendered.
/// \todo Move to a separate class.
/// \brief Invokes all scene-changed callbacks. Called when any part of the scene changes the way it will appear when the scene is rendered.
/// \todo Move to a separate class.
virtual void sceneChanged() = 0;
/// \brief Add a \p callback to be invoked when the scene changes.
/// \todo Move to a separate class.
/// \brief Add a \p callback to be invoked when the scene changes.
/// \todo Move to a separate class.
virtual void addSceneChangedCallback( const SignalHandler& handler ) = 0;
/// \brief Invokes all bounds-changed callbacks. Called when the bounds of any instance in the scene change.
/// \todo Move to a separate class.
/// \brief Invokes all bounds-changed callbacks. Called when the bounds of any instance in the scene change.
/// \todo Move to a separate class.
virtual void boundsChanged() = 0;
/// \brief Add a \p callback to be invoked when the bounds of any instance in the scene change.
/// \brief Add a \p callback to be invoked when the bounds of any instance in the scene change.
virtual SignalHandlerId addBoundsChangedCallback( const SignalHandler& boundsChanged ) = 0;
/// \brief Remove a \p callback to be invoked when the bounds of any instance in the scene change.
/// \brief Remove a \p callback to be invoked when the bounds of any instance in the scene change.
virtual void removeBoundsChangedCallback( SignalHandlerId id ) = 0;
virtual TypeId getNodeTypeId( const char* name ) = 0;
@@ -122,28 +122,28 @@ public:
class Observer
{
public:
/// \brief Called when a node is added to the container.
/// \brief Called when a node is added to the container.
virtual void insert( Node& node ) = 0;
/// \brief Called when a node is removed from the container.
/// \brief Called when a node is removed from the container.
virtual void erase( Node& node ) = 0;
};
class Walker
{
public:
/// \brief Called before traversing the first child-node of 'node'. If the return value is false, the children of the current node are not traversed.
/// \brief Called before traversing the first child-node of 'node'. If the return value is false, the children of the current node are not traversed.
virtual bool pre( Node& node ) const = 0;
/// \brief Called after traversing the last child-node of 'node'.
/// \brief Called after traversing the last child-node of 'node'.
virtual void post( Node& node ) const {
}
};
/// \brief Adds a node to the container.
/// \brief Adds a node to the container.
virtual void insert( Node& node ) = 0;
/// \brief Removes a node from the container.
/// \brief Removes a node from the container.
virtual void erase( Node& node ) = 0;
/// \brief Traverses the subgraphs rooted at each node in the container, depth-first.
/// \brief Traverses the subgraphs rooted at each node in the container, depth-first.
virtual void traverse( const Walker& walker ) = 0;
/// \brief Returns true if the container contains no nodes.
/// \brief Returns true if the container contains no nodes.
virtual bool empty() const = 0;
};
@@ -155,9 +155,9 @@ public:
class Observer
{
public:
/// \brief Called when an instance is added to the container.
/// \brief Called when an instance is added to the container.
virtual void insert( scene::Instance* instance ) = 0;
/// \brief Called when an instance is removed from the container.
/// \brief Called when an instance is removed from the container.
virtual void erase( scene::Instance* instance ) = 0;
};
@@ -167,13 +167,13 @@ public:
virtual void visit( Instance& instance ) const = 0;
};
/// \brief Returns a new instance uniquely identified by 'path'.
/// \brief Returns a new instance uniquely identified by 'path'.
virtual scene::Instance* create( const scene::Path& path, scene::Instance* parent ) = 0;
/// \brief Calls Visitor::visit(instance) for each instance in the container.
/// \brief Calls Visitor::visit(instance) for each instance in the container.
virtual void forEachInstance( const Visitor& visitor ) = 0;
/// \brief Adds an instance to the container.
/// \brief Adds an instance to the container.
virtual void insert( Observer* observer, const Path& path, scene::Instance* instance ) = 0;
/// \brief Returns an instance removed from the container.
/// \brief Returns an instance removed from the container.
virtual scene::Instance* erase( Observer* observer, const Path& path ) = 0;
};
@@ -182,7 +182,7 @@ class Cloneable
public:
STRING_CONSTANT( Name, "scene::Cloneable" );
/// \brief Returns a copy of itself.
/// \brief Returns a copy of itself.
virtual scene::Node& clone() const = 0;
};
}
+6 -6
View File
@@ -31,8 +31,8 @@
class TextInputStream
{
public:
/// \brief Attempts to read the next \p length characters from the stream to \p buffer.
/// Returns the number of characters actually stored in \p buffer.
/// \brief Attempts to read the next \p length characters from the stream to \p buffer.
/// Returns the number of characters actually stored in \p buffer.
virtual std::size_t read( char* buffer, std::size_t length ) = 0;
};
@@ -40,8 +40,8 @@ public:
class TextOutputStream
{
public:
/// \brief Attempts to write \p length characters to the stream from \p buffer.
/// Returns the number of characters actually read from \p buffer.
/// \brief Attempts to write \p length characters to the stream from \p buffer.
/// Returns the number of characters actually read from \p buffer.
virtual std::size_t write( const char* buffer, std::size_t length ) = 0;
};
@@ -50,14 +50,14 @@ public:
To support writing a custom type MyClass to any kind of text-output-stream with operator<<:
\code
template<typename TextOutputStreamType>
TextOutputStreamType& ostream_write(TextOutputStreamType& ostream, const MyClass& myClass)
TextOutputStreamType& ostream_write( TextOutputStreamType& ostream, const MyClass& myClass )
{
return ostream << myClass.getName() << ' ' << myClass.getText();
}
\endcode
Expressing this as a template allows it to be used directly with any concrete text-output-stream type, not just the abstract TextOutputStream\n
\n
This overload writes a single character to any text-output-stream - ostream_write(TextOutputStreamType& ostream, char c).
This overload writes a single character to any text-output-stream - ostream_write( TextOutputStreamType& ostream, char c ).
*/
template<typename T>
inline TextOutputStream& operator<<( TextOutputStream& ostream, const T& t ){
+8 -8
View File
@@ -40,15 +40,15 @@ class ModelSkin
{
public:
STRING_CONSTANT( Name, "ModelSkin" );
/// \brief Attach an \p observer whose realise() and unrealise() methods will be called when the skin is loaded or unloaded.
/// \brief Attach an \p observer whose realise() and unrealise() methods will be called when the skin is loaded or unloaded.
virtual void attach( ModuleObserver& observer ) = 0;
/// \brief Detach an \p observer previously-attached by calling \c attach.
/// \brief Detach an \p observer previously-attached by calling \c attach.
virtual void detach( ModuleObserver& observer ) = 0;
/// \brief Returns true if this skin is currently loaded.
/// \brief Returns true if this skin is currently loaded.
virtual bool realised() const = 0;
/// \brief Returns the shader identifier that \p name remaps to, or "" if not found or not realised.
/// \brief Returns the shader identifier that \p name remaps to, or "" if not found or not realised.
virtual const char* getRemap( const char* name ) const = 0;
/// \brief Calls \p callback for each remap pair. Has no effect if not realised.
/// \brief Calls \p callback for each remap pair. Has no effect if not realised.
virtual void forEachRemap( const SkinRemapCallback& callback ) const = 0;
};
@@ -56,7 +56,7 @@ class SkinnedModel
{
public:
STRING_CONSTANT( Name, "SkinnedModel" );
/// \brief Instructs the skinned model to update its skin.
/// \brief Instructs the skinned model to update its skin.
virtual void skinChanged() = 0;
};
@@ -65,9 +65,9 @@ class ModelSkinCache
public:
INTEGER_CONSTANT( Version, 1 );
STRING_CONSTANT( Name, "modelskin" );
/// \brief Increments the reference count of and returns a reference to the skin uniquely identified by 'name'.
/// \brief Increments the reference count of and returns a reference to the skin uniquely identified by 'name'.
virtual ModelSkin& capture( const char* name ) = 0;
/// \brief Decrements the reference-count of the skin uniquely identified by 'name'.
/// \brief Decrements the reference-count of the skin uniquely identified by 'name'.
virtual void release( const char* name ) = 0;
};
+2 -2
View File
@@ -121,8 +121,8 @@ struct _QERFuncTable_1
scene::Node& ( *getMapWorldEntity )( );
float ( *getGridSize )();
const char* ( *getGameDescriptionKeyValue )(const char* key);
const char* ( *getRequiredGameDescriptionKeyValue )(const char* key);
const char* ( *getGameDescriptionKeyValue )( const char* key );
const char* ( *getRequiredGameDescriptionKeyValue )( const char* key );
void ( *attachGameToolsPathObserver )( ModuleObserver& observer );
void ( *detachGameToolsPathObserver )( ModuleObserver& observer );