layout editor in vc7.1
Posted: Wed Mar 30, 2005 02:47
Hi, I've just compiled the editor under vc7.1. I was pleased to see it pretty much compiled and ran first time. Also the new version doesn't save all the redudant abs/rel size info, which I'm happy with.
I've included the vc7.1 project files in a patch (in the main cegui patch area).
Also, a fair lot of warnings show up. I've cleaned them all up, except for the int/uint ones. For those ones I always use int and cast any uint to int immediately, but I don't know what your preference is for it, so I left it as is.
I also noticed one annoying bug that I fixed. When I load a data file (in my game directory), changing the resolution no longer works. This is because it calls init() but the working directory is no longer correct. In my build I query the current directory at startup and then reset the working directory to that whenever init() is called. Seems to work.
Those two code changes are bundled up into a cvs patch file, also in the main cegui patch area.
Is that the right place to submit this stuff?
PS: One more change that is useful, in ManagerDlg.cpp, the supportedProperty function should add this bool property:
I've included the vc7.1 project files in a patch (in the main cegui patch area).
Also, a fair lot of warnings show up. I've cleaned them all up, except for the int/uint ones. For those ones I always use int and cast any uint to int immediately, but I don't know what your preference is for it, so I left it as is.
I also noticed one annoying bug that I fixed. When I load a data file (in my game directory), changing the resolution no longer works. This is because it calls init() but the working directory is no longer correct. In my build I query the current directory at startup and then reset the working directory to that whenever init() is called. Seems to work.
Those two code changes are bundled up into a cvs patch file, also in the main cegui patch area.
Is that the right place to submit this stuff?
PS: One more change that is useful, in ManagerDlg.cpp, the supportedProperty function should add this bool property:
Code: Select all
strProperty == (utf8*)"BackgroundEnabled" ||