Search found 82 matches

by Mr.Gluck
Fri Sep 21, 2007 8:46 pm
Forum: Beginners Help
Topic: What is the best way to separate scenes?
Replies: 2
Views: 493

no ideas ?
by Mr.Gluck
Wed Sep 19, 2007 6:53 pm
Forum: Beginners Help
Topic: What is the best way to separate scenes?
Replies: 2
Views: 493

What is the best way to separate scenes?

Hi all.
I want to use one IrrlichtDevice and IrrlichtDriver. And many ISceneManager, IGUIEnvironment.

So, in main cycle I want to change sceneManager and guiEnv from another class with another scene. I do it so:

static public void changeActiveScene(ISceneManager newScene, IGUIEnvironment ...
by Mr.Gluck
Wed Dec 01, 2004 12:34 pm
Forum: Beginners Help
Topic: Again "Access Violation reading location 0x0000000"
Replies: 4
Views: 1511

topic is closed...

i understood the problem... simply all main pointers were NULL. such as guienv, driver...
by Mr.Gluck
Wed Dec 01, 2004 12:22 pm
Forum: Beginners Help
Topic: Again "Access Violation reading location 0x0000000"
Replies: 4
Views: 1511

I THINK that I know the line, where the x000000 appears. And this line I have marked at this post... its the xml->read() .

I said to compiler the path, but nothing,,, and i must say, that it works when it was in one file... than I made CMainMenu class and began to use readCFG function from it ...
by Mr.Gluck
Wed Dec 01, 2004 7:04 am
Forum: Beginners Help
Topic: Again "Access Violation reading location 0x0000000"
Replies: 4
Views: 1511

Again "Access Violation reading location 0x0000000"

I have:



main.cpp

#include "CMainMenu.h"
#include "include/irrlicht.h"
using namespace irr;

CMainMenu m_menu;

IrrlichtDevice *device =0;
IVideoDriver *driver = 0;
gui::IGUIEnvironment* guienv = 0;
IGUIElement* root = 0;

...

int main()
{
IrrlichtDevice *device =createDevice(EDT_NULL ...
by Mr.Gluck
Mon Nov 22, 2004 9:35 am
Forum: Beginners Help
Topic: my code doesnt work
Replies: 6
Views: 1042

yes, it works.... now i trying to understand it...

snx
by Mr.Gluck
Sat Nov 20, 2004 2:03 pm
Forum: Beginners Help
Topic: my code doesnt work
Replies: 6
Views: 1042

Does it work if you add a "break;" after "device->closeDevice;" :?:

Just a question:
Is there any advantage to put all this bool, drivers etc. in a main.h ? I usually make them private class members (any disadvantage here?).
And must these are static?

Thanks in advance


Ok, I try to explain it ...
by Mr.Gluck
Sat Nov 20, 2004 7:58 am
Forum: Beginners Help
Topic: my code doesnt work
Replies: 6
Views: 1042

bal wrote:Does a "return true;" after your device->closeDevice() line fixes the problem?
\

of course, no... if you compile it, you'll see that cursor icon is sand watch. The problem somewhere else.
by Mr.Gluck
Fri Nov 19, 2004 8:55 pm
Forum: Beginners Help
Topic: my code doesnt work
Replies: 6
Views: 1042

my code doesnt work

When I press ESC the device must be dropped, aber it only halts... whats wrong, what mistake i have don?


+++main.cpp+++

#include "main.h"
#include "CMainMenu.h"

int main()
{
CMainMenu m_menu;
m_menu.run();
return 0;
}



+++main.h+++
#ifndef __MAIN_H_INCLUDED__
#define __MAIN_H_INCLUDED ...
by Mr.Gluck
Sun Oct 10, 2004 7:26 am
Forum: Beginners Help
Topic: how to get events from combo box. I didnt find eget_comobox_
Replies: 12
Views: 1465

i saw

IMHO, according to the source i saw, EGET_BUTTON_CLICKED is only for intrnal use, e.g. to draw combo. Then the main role is ListBox and in the proram i must catch the changing of ListBox. Ok, i tried to use:

case EGET_LISTBOX_CHANGED:
case EGET_BUTTON_CLICKED:

but nothing at all.

Does anybody ...
by Mr.Gluck
Sat Oct 09, 2004 6:03 am
Forum: Beginners Help
Topic: how to get events from combo box. I didnt find eget_comobox_
Replies: 12
Views: 1465

.

I think that engine has a problem with it.
by Mr.Gluck
Wed Oct 06, 2004 5:33 pm
Forum: Beginners Help
Topic: how to get events from combo box. I didnt find eget_comobox_
Replies: 12
Views: 1465

...

does anybody know what to do?
by Mr.Gluck
Tue Oct 05, 2004 5:25 pm
Forum: Beginners Help
Topic: how to get events from combo box. I didnt find eget_comobox_
Replies: 12
Views: 1465

.

and so i asked this on ather forum where people said that LISTBOX_CHANGED works with COMBOBOX events, but i tried and nothing again... it doesnt work!
so the question is where something like COMBOBOX_CHANGED or how to work with combo?
by Mr.Gluck
Sat Oct 02, 2004 5:29 pm
Forum: Beginners Help
Topic: get editbox text
Replies: 6
Views: 866

...

s = root->getElementFromId(901, true)->getText();

look examples