Search found 114 matches

by Mloren
Sun Jun 26, 2011 3:00 am
Forum: Game Programming
Topic: Looking for a server solution
Replies: 5
Views: 1597

Thanks for this.
its been helpful.
by Mloren
Fri Jun 24, 2011 6:13 am
Forum: Game Programming
Topic: Looking for a server solution
Replies: 5
Views: 1597

Looking for a server solution

I'm looking for some sort of dedicated server type thing to run the game I'm working on. This thing is that hiring a dedicated server seems like massive overkill. The game is fairly small and due to its turn-based nature will only need to send like 2K of data every 5 minutes or so. I know socket pro...
by Mloren
Mon Jun 13, 2011 3:25 am
Forum: Advanced Help
Topic: Disabled gui elements block mouse events?
Replies: 2
Views: 507

Disabled gui elements block mouse events?

I'm making a main menu for my game. I have a bunch of screen, each a separate object. I create them all during a loading screen at the start and then when I want a particular screen to appear I call a function on it that enables all its gui elements and they are then drawn. Screens not current displ...
by Mloren
Mon Jun 06, 2011 2:21 am
Forum: Advanced Help
Topic: Open GL Render settings?
Replies: 2
Views: 449

Oh just in case its unclear, this is an irrlicht question not an OpenGL question. I know how to set the blend modes in OpenGL but they don't seem to work with irrlicht. I think irrlicht sets these things and doesn't let you change them. What I had before I added irrlicht to the project was: glShadeM...
by Mloren
Sat Jun 04, 2011 7:16 am
Forum: Advanced Help
Topic: Open GL Render settings?
Replies: 2
Views: 449

Open GL Render settings?

Ok so I'm trying to do something a little odd. I'm trying to use OpenGL draw functions with irrlicht. The problem is that irrlicht seems to set its blend types based on what you draw and if you don't draw anything then they are wrong. So in my case I am not drawing anything with irrlicht, I only dra...
by Mloren
Sun Jan 09, 2011 7:21 am
Forum: Advanced Help
Topic: IGUIEnvironment::drawAll() is required?
Replies: 2
Views: 434

unfortunately it turns out its way more complex than this: the drawAll() code also has this resize code (I'm not sure exactly what its for but I assume its needed) if (Driver) { core::dimension2d<s32> dim(Driver->getScreenSize()); if (AbsoluteRect.LowerRightCorner.X != dim.Width || AbsoluteRect.Lowe...
by Mloren
Sun Jan 09, 2011 6:52 am
Forum: Advanced Help
Topic: IGUIEnvironment::drawAll() is required?
Replies: 2
Views: 434

IGUIEnvironment::drawAll() is required?

So I've just run into a problem where it seems that the IGUIEnvironment::drawAll() function must be called to render Gui elements. I was trying to render them individually myself by calling the draw() function for each element. The reason I need to do this is because I need to render non-gui stuff i...
by Mloren
Sun Jan 09, 2011 5:19 am
Forum: Bug reports
Topic: [fixed]IGUIContextMenu close bug
Replies: 2
Views: 501

[fixed]IGUIContextMenu close bug

In IEventReceiver under the EGUI_EVENT_TYPE definition it says: //! An element would like to close. /** Windows and context menus use this event when they would like to close, this can be cancelled by absorbing the event. */ EGET_ELEMENT_CLOSED, but when an IGUIContextMenu is closed, the EGET_ELEMEN...
by Mloren
Sun Jan 02, 2011 3:39 am
Forum: Advanced Help
Topic: IGUIImage, getTexture, remoteTexture, am I doing this right?
Replies: 9
Views: 888

Has the memory leak in CImage been fixed in the trunk yet? (fixed in branch version 3517) because that's the reason I'm working out of a branch. It causes over 100mb of leaked memory in my project so I need that fix. :)
by Mloren
Sat Jan 01, 2011 5:44 am
Forum: Bug reports
Topic: [fixed]IGUIEditBox scrolling bug
Replies: 3
Views: 1293

The fixed code is included in this patch: http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?p=240534#240534 Also I discovered a bug that made the text juggle up and down as you typed, its fixed in the patch. To fix it in the above code, it should be: if (!WordWrap) { //horizontal scrolling code i...
by Mloren
Sat Jan 01, 2011 5:41 am
Forum: Code Snippets
Topic: IGUIEditBox now with Scrollbars and other stuff
Replies: 3
Views: 2216

I have updated the patch to fix a bug. (The text in a non-multiline box was jiggling up and down when you typed in it)
by Mloren
Sat Jan 01, 2011 4:47 am
Forum: Advanced Help
Topic: IGUIEditBox and scrollbars
Replies: 2
Views: 313

FYI I have just implemented most of the stuff on your current todo list :D

The patchfile is here:

http://irrlicht.sourceforge.net/phpBB2/ ... 532#240532
by Mloren
Sat Jan 01, 2011 4:46 am
Forum: Code Snippets
Topic: IGUIEditBox now with Scrollbars and other stuff
Replies: 3
Views: 2216

IGUIEditBox now with Scrollbars and other stuff

So I have added scroll bars and a bunch of stuff to IGUIEditBox's. I have made a patch file but I am working out of the 1.7 SVN branch, not sure if its compatible with the trunk or other versions, it probably is as I don't think these files changed that much. Patchfile can be downloaded here: Downlo...
by Mloren
Sat Jan 01, 2011 12:59 am
Forum: Advanced Help
Topic: IGUIImage, getTexture, remoteTexture, am I doing this right?
Replies: 9
Views: 888

This seems like a very odd development model. I would have thought Trunk would be the latest stable build and all changes would be made to branch and then once in a while rolled across to Trunk. That way Trunk would be stable, branch would be latest and you would never want half of one and half of t...
by Mloren
Fri Dec 31, 2010 5:05 am
Forum: Bug reports
Topic: [fixed]IGUIEditBox scrolling bug
Replies: 3
Views: 1293

[fixed]IGUIEditBox scrolling bug

When a multiline edit box has enough text in it to go off the bottom of the edit box and then you use the arrow keys to scroll down, the scrolling behaves strangely. When moving the cursor down line by line, the text doesn't scroll until you move the cursor down below the last visible line, at which...