Search found 9 matches
- Sun Jun 20, 2004 8:09 am
- Forum: Open Discussion and Dev Announcements
- Topic: Memory handlers
- Replies: 0
- Views: 381
Memory handlers
Here's some stuff I've added to my own 0.6 version thay may be useful in general. The main idea is to be able to specify my own malloc/free functions (I've got some with memory tracking to ensure there aren't any memory leaks). I added two arguments to the CreateDevice function, the function pointer...
- Sun Jun 06, 2004 7:11 am
- Forum: Beginners Help
- Topic: Getting an animated model from 3dsMax 5 to Irrlicht
- Replies: 5
- Views: 643
- Mon May 24, 2004 12:29 pm
- Forum: Bug reports
- Topic: Gui non-pow2 texture artifacts
- Replies: 0
- Views: 1335
Gui non-pow2 texture artifacts
I've just run into the infamous non-power of 2 texture artifacts. I've only dealt with 2d textures, so I'm not sure how these 'fixes' may effect the 3d case. Anyway, here's the problems I found. 1.) Texture size: Firstly, CDirectX8Texture::getTextureSizeFromImageSize() rounds down, thus returning a ...
- Mon May 24, 2004 9:48 am
- Forum: Advanced Help
- Topic: Should device->drop() handle all deallocation?
- Replies: 3
- Views: 607
That is the correct procedure, so the most likely problem is the pointer is invalid somehow. Two of the most likely causes: 1.) The createDevice() may fail in which case the pointer will be null. If drop() is then called it will crash. 2.) If drop() is being called twice you'll get a double delete, ...
- Mon May 24, 2004 9:41 am
- Forum: Bug reports
- Topic: '\r' bug with xml reading & render
- Replies: 5
- Views: 926
- Sun May 16, 2004 7:25 am
- Forum: Bug reports
- Topic: '\r' bug with xml reading & render
- Replies: 5
- Views: 926
- Sat May 15, 2004 6:55 am
- Forum: Bug reports
- Topic: '\r' bug with xml reading & render
- Replies: 5
- Views: 926
'\r' bug with xml reading & render
If text is read in using the xml reader and then rendered (via the gui), newline '\r' symbols show up as boxes at the end of each line. The xml file could strip these out, or alternatively the rendering could ignore '\r's. I'm using SciTE to edit my xml files (in widestring format), so it could be c...
- Mon May 10, 2004 10:03 am
- Forum: Open Discussion and Dev Announcements
- Topic: More gui feature requests
- Replies: 1
- Views: 557
More gui feature requests
I've been having some fun with the gui, but here's a few ideas that would make it easier to extend it. 1.) virtual bool IGUIElement::isBuiltinType() Would return true by default, but could be overriden by app side classes. This would allow app side handlers to safely downcast the IGUIElement* to the...
- Mon May 10, 2004 9:50 am
- Forum: Open Discussion and Dev Announcements
- Topic: Feature request!!
- Replies: 7
- Views: 906
You can record what the mouse is over by listening to hover/left events, and storing the IGUIElement pointer in the app code. Then when you get the event, you will know what has been clicked. However, having IGUIEnvironment do this would be a preferable arrangement, particularly since it could then ...