oln {l Wrote}:Haven't tested, probably works fine. Though, the media used ingame should have it's own folder on svn so you don't have to check out the source and other stuff
set(OPENDUNGEONS_OGRE_PLUGIN_DIR ${OGRE_LIBRARY_DIR_REL}/OGRE)
StefanP.MUC {l Wrote}:Yes, you are right. Having an extra SVN folder sounds reasonable. Sorry for the mess.
Ah, didn't knew about the resource.cfg. I'll change it accordingly to the new folders.
StefanP.MUC {l Wrote}:Oh, another question: In the gui files I have to set the paths relative to the OD root, not relative to the gui files. For example:
OpenDungeons.scheme loads OpenDungeons.imageset. Both are in teh same folder, but in the scheme file I need to have "gui/OpenDungeons.imageset" instead of the same without "gui/".
This doesn't feel right, IMHO.
StefanP.MUC {l Wrote}:Oh, another question: In the gui files I have to set the paths relative to the OD root, not relative to the gui files. For example:
OpenDungeons.scheme loads OpenDungeons.imageset. Both are in teh same folder, but in the scheme file I need to have "gui/OpenDungeons.imageset" instead of the same without "gui/".
This doesn't feel right, IMHO.
svenskmand {l Wrote}:To me the paths relative to the OD-root is the most logical, and what should cause the least troubles and misconceptions. If this was not the case how would you know which folder you are currently in? Also if other people are going to look through the gui-configuration files and other stuff it is clear to them which files a referenced with a absolute path from the OD-root compared to a ../Folder1/Folder2/File like relative path, which is not clear what path it is relative to :S
StefanP.MUC {l Wrote}:Paths should always be relative to the place from where they are called. If a file A "OpenDungeons/gui/A" needs a file B "OpenDungeons/gui/B" then the path reference in A to B should simply be "file=B". But currently it has to be "file=gui/B". I find this highly unintuitive. While testing the GUI this often caused a crash of the game, which I only found because of the great CEGUI log files.
StefanP.MUC {l Wrote}:Also, with absolute paths from the OD root folder it isn't easy to move files later on (you need to change every occurrence of paths strings by hand).
svenskmand {l Wrote}:You can remove the last point of merging git and svn. There is no reason for doing that. Svn is for the media content and git is for the code.
Users browsing this forum: No registered users and 1 guest