Search found 193 matches
- Thu Jan 28, 2016 22:22
- Forum: Help
- Topic: CEGUI hangs when parsing/loading a simple .scheme
- Replies: 3
- Views: 3766
Re: CEGUI hangs when parsing/loading a simple .scheme
You seem not to set up your resource groups. I have to admit that this is not mentioned in the tutorial you linked, but in the API docu there's some very useful "HowTo Resource Loading". The resulting code should look like this (it was created for use with SDL2, but initialising CEGUI is t...
- Thu Jan 21, 2016 02:12
- Forum: Help
- Topic: How to control an entity in a cegui staticImag with RTT filled
- Replies: 1
- Views: 2812
- Tue Jan 19, 2016 01:36
- Forum: Help
- Topic: Does CEGUI work with Leadwerks Game Engine
- Replies: 2
- Views: 3357
Re: Does CEGUI work with Leadwerks Game Engine
1) I have no idea regarding this yet. 2) The NullRenderer is a renderer that just doesn't draw anything but still does all the logic background. You need to enable this renderer in CEGUI's CMake options (there's a checkbox for that). Otherwise the corresponding library does not get build and you wil...
- Sun Jan 17, 2016 22:50
- Forum: Help
- Topic: Trying to set up a sample project with cmake
- Replies: 4
- Views: 4499
Re: Trying to set up a sample project with cmake
You did not look into the build folder, as I told you. The file you posted is the one from the source folder.
- Sat Jan 16, 2016 08:47
- Forum: Help
- Topic: Trying to set up a sample project with cmake
- Replies: 4
- Views: 4499
Re: Trying to set up a sample project with cmake
The config.h file is in the cegui/include directory of your CEGUI build folder.
- Mon Jan 11, 2016 17:13
- Forum: Help
- Topic: Undefined Symbols for bootstrap system()
- Replies: 7
- Views: 5727
- Tue Jan 05, 2016 23:17
- Forum: Help
- Topic: Performance drop - many containers
- Replies: 22
- Views: 13742
Re: Performance drop - many containers
Another idea on your performance drop: 04/01/2016 22:51:01 (Std) ---- Version: 0.8.4 (Build: Jan 5 2015 Debug Microsoft Windows MSVC++ Great Scott! 32 bit) ---- Have you tried release (with debug symbols) and checked if that helps? Debug mode is implicitely slower than release mode since in debug mo...
- Mon Jan 04, 2016 21:40
- Forum: Help
- Topic: Performance drop - many containers
- Replies: 22
- Views: 13742
Re: Performance drop - many containers
Of course rendering dies when you stop injecting timepulses since CEGUI thinks no time passed. You NEED to inject timepulses to have at least something rendered. Also, please post your CEGUI.log file.
- Mon Jan 04, 2016 21:31
- Forum: Help
- Topic: Performance drop - many containers
- Replies: 22
- Views: 13742
Re: Performance drop - many containers
I always use the latest v0-8 code from bitbucket. I also tried out the samples and the exceptions got not thrown. The cause must definitely be in your layout. Can you check your CEGUI output for these exceptions (NOT the log, I want you to check the output on the command line)? But the log would als...
- Mon Jan 04, 2016 19:13
- Forum: Help
- Topic: Performance drop - many containers
- Replies: 22
- Views: 13742
Re: Performance drop - many containers
I just tried the code you posted and I get the following exception about 15 times: CEGUI::UnknownObjectException in function 'void CEGUI::PropertySet::setProperty(const CEGUI::String&, const CEGUI::String&)' (/home/lucebac/dev/cegui_v0-8/cegui/src/PropertySet.cpp:138) : There is no Property ...
- Thu Dec 31, 2015 16:38
- Forum: Help
- Topic: Performance drop - many containers
- Replies: 22
- Views: 13742
Re: Performance drop - many containers
bomkallo wrote:If you have trouble I'll use pastebin
Please, do this if you can't/don't want to use [code] tags. Smileys etc don't make the code more readable. Also, indentation gets lost otherwise.
- Wed Dec 23, 2015 00:37
- Forum: Help
- Topic: Debug Assertion Failure
- Replies: 8
- Views: 6705
Re: Debug Assertion Failure
Have you created and configured CEGUI::System and CEGUI::*Renderer properly before? If not, CEGUI::FontManager::getSingelton().createFromFile("foobar.font") will presumably write to unallocated memory - and the CRT might throw an exception.
- Tue Dec 22, 2015 20:27
- Forum: Help
- Topic: Debug Assertion Failure
- Replies: 8
- Views: 6705
Re: Debug Assertion Failure
Go to your project's properties (in Visual Studio), select "Debugging" and set the working directory to something that fits your environment (in my case "..\bin", since this is the output folder for the binaries). Make sure, you copy the datafiles folder from the cegui sources in...
- Tue Dec 22, 2015 10:28
- Forum: Help
- Topic: Debug Assertion Failure
- Replies: 8
- Views: 6705
Re: Debug Assertion Failure
You most probably did not set the working directory to the correct folder. I'm not sure if Ident fixed that already, but I always had to set it to "..\bin" since all files get referenced by relative paths. If that doesn't work, I can't help you further at the moment.
- Mon Dec 07, 2015 14:31
- Forum: Help
- Topic: Managing CEGUI objects with shared_ptr (C++11)
- Replies: 5
- Views: 5021
Re: Managing CEGUI objects with shared_ptr (C++11)
You may want to have a look into lines 323 through 325: https://bitbucket.org/lucebac/cegui/src/24f9921eacec2b2571c2b898e0d1afd693d89a46/application_templates/SDL2.cpp?at=v0-8&fileviewer=file-view-default#SDL2.cpp-322 This is the proper way to shut CEGUI down. Of course, if you have, say, OgreRe...