Changeset 15 for Plugins


Ignore:
Timestamp:
12/23/2006 08:44:49 PM (13 years ago)
Author:
art
Message:
 
Location:
Plugins/luaScripting
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Plugins/luaScripting/Plugin.cpp

    r1 r15  
    8585extern "C" _PluginExport  unsigned int plgEngineVersion( void ) 
    8686{ 
    87         return createVersionInteger(0,0,6); 
     87        return createVersionInteger(0,0,7); 
    8888} 
    8989 
  • Plugins/luaScripting/ScriptLoader.cpp

    r1 r15  
    2121LuaScriptLoader::LuaScriptLoader() : IResourceLoader("LuaScriptLoader") 
    2222{ 
    23         initialize(); 
     23        initializeResourceLoader(); 
    2424} 
    2525 
     
    3232 
    3333//---------------------------------------------------------------------------------- 
    34 Result LuaScriptLoader::initialize(){ 
     34Result LuaScriptLoader::initializeResourceLoader(){ 
    3535         
    3636        // fill out supported resource types; 
     
    5252 
    5353//---------------------------------------------------------------------------------- 
    54 Result LuaScriptLoader::loadImpl(IResource* res, const std::string& fileName, PropertyList* param) 
     54Result LuaScriptLoader::loadResourceImpl(IResource* res, const std::string& fileName, PropertyList* param) 
    5555{ 
    5656 
     
    7777 
    7878//---------------------------------------------------------------------------------- 
    79 IResource* LuaScriptLoader::createImpl(const ::std::string& resourceType, PropertyList* params) 
     79IResource* LuaScriptLoader::createResourceImpl(const ::std::string& resourceType, PropertyList* params) 
    8080{ 
    8181        // create an plugin instance 
     
    8585 
    8686//---------------------------------------------------------------------------------- 
    87 IResource* LuaScriptLoader::createEmpty(const ::std::string& resourceType) 
     87IResource* LuaScriptLoader::createEmptyResource(const ::std::string& resourceType) 
    8888{ 
    8989        // create an instance of empty plugin 
  • Plugins/luaScripting/ScriptLoader.h

    r1 r15  
    4848        * Initialize supported resource and file types for the resource script 
    4949        **/ 
    50         Result initialize(); 
     50        Result initializeResourceLoader(); 
    5151 
    5252        /** 
    5353        * Load the script resource. 
    5454        **/ 
    55         Result loadImpl(IResource* res, const std::string& fileName, PropertyList* param = NULL); 
     55        Result loadResourceImpl(IResource* res, const std::string& fileName, PropertyList* param = NULL); 
    5656 
    5757        /** 
     
    5959        * which does have no effect. 
    6060        **/ 
    61         IResource* createEmpty(const ::std::string& resourceType); 
     61        IResource* createEmptyResource(const ::std::string& resourceType); 
    6262 
    6363 
     
    6565        * Create an instance of script object. 
    6666        **/ 
    67         IResource* createImpl(const std::string& resourceType, PropertyList* params = NULL); 
     67        IResource* createResourceImpl(const std::string& resourceType, PropertyList* params = NULL); 
    6868 
    6969}; 
Note: See TracChangeset for help on using the changeset viewer.