mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-04 21:10:32 +00:00
Asset Browser initial implementation - Asset updates.
Script execution on certain existing assets, new asset types and some tweaks to the managers.
This commit is contained in:
parent
ab453d068c
commit
4341428d53
41 changed files with 3173 additions and 96 deletions
|
|
@ -120,6 +120,7 @@ private:
|
|||
char mModuleExtension[256];
|
||||
Taml mTaml;
|
||||
SimSet mNotificationListeners;
|
||||
bool mIgnoreLoadedGroups;
|
||||
|
||||
// Module definition entry.
|
||||
struct ModuleDefinitionEntry : public typeModuleDefinitionVector
|
||||
|
|
@ -161,6 +162,7 @@ public:
|
|||
bool scanModules( const char* pPath, const bool rootOnly = false );
|
||||
|
||||
/// Module unregister.
|
||||
bool registerModule(const char* pModulePath, const char* pModuleFile);
|
||||
bool unregisterModule( const char* pModuleId, const U32 versionId );
|
||||
|
||||
/// Module (un)loading.
|
||||
|
|
@ -179,6 +181,9 @@ public:
|
|||
StringTableEntry copyModule( ModuleDefinition* pSourceModuleDefinition, const char* pTargetModuleId, const char* pTargetPath, const bool useVersionPathing );
|
||||
bool synchronizeDependencies( ModuleDefinition* pRootModuleDefinition, const char* pTargetDependencyPath );
|
||||
|
||||
/// Editing modules
|
||||
bool renameModule(ModuleDefinition* pSourceModuleDefinition, const char* pNewModuleName);
|
||||
|
||||
/// Module updates.
|
||||
inline bool isModuleMergeAvailable( void ) const { return Platform::isFile( getModuleMergeFilePath() ); }
|
||||
bool canMergeModules( const char* pMergeSourcePath );
|
||||
|
|
@ -188,10 +193,11 @@ public:
|
|||
void addListener( SimObject* pListener );
|
||||
void removeListener( SimObject* pListener );
|
||||
|
||||
void setIgnoreLoadedGroups(bool doIgnore) { mIgnoreLoadedGroups = doIgnore; }
|
||||
|
||||
private:
|
||||
void clearDatabase( void );
|
||||
bool removeModuleDefinition( ModuleDefinition* pModuleDefinition );
|
||||
bool registerModule( const char* pModulePath, const char* pModuleFile );
|
||||
|
||||
void raiseModulePreLoadNotifications( ModuleDefinition* pModuleDefinition );
|
||||
void raiseModulePostLoadNotifications( ModuleDefinition* pModuleDefinition );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue