We use the Ogre mechanism of Resource Groups to define CEGUI assets paths, and it's working well
Code: Select all
[CEGUI]
FileSystem=../../ui/fonts
FileSystem=../../ui/imagesets
FileSystem=../../ui/schemes
and the lua to set the default ResourceGroup for each kind of assets :
Code: Select all
CEGUI.Imageset:setDefaultResourceGroup("CEGUI")
CEGUI.Font:setDefaultResourceGroup("CEGUI")
CEGUI.Scheme:setDefaultResourceGroup("CEGUI")
We would like to load some extra assets that stand in another folders, and we would need to store their paths in another Ogre resource group;
Is there a way to add some more resource group for the assets manager? Something like CEGUI.Imageset:setResourceGroup("CEGUI") .... (without "default") ....?
I couldn't manage to find this in the documentation...
Thanx in advance for the help