Search found 12 matches

by Boca
Sat May 24, 2008 3:33 pm
Forum: Beginners Help
Topic: smgr->clear() prevents smgr->loadScene() ??
Replies: 16
Views: 1225

Solved!!

Yeah! Solved!! Thanks very much, Vitek.
by Boca
Thu May 22, 2008 3:46 pm
Forum: Beginners Help
Topic: smgr->clear() prevents smgr->loadScene() ??
Replies: 16
Views: 1225

The error is caused because of "smgr->clear()".
I quitted "smgr->clear()" and it ran.
But, if I quit "loadScene()" (already loaded a scene) and I put "smgr->clear()", it´s blocked. :?
by Boca
Thu May 22, 2008 1:31 pm
Forum: Beginners Help
Topic: smgr->clear() prevents smgr->loadScene() ??
Replies: 16
Views: 1225

I have the same problem but with 1.4 version. :roll: I'm going to add a smgr for diferents scenes. :?
by Boca
Thu May 22, 2008 12:36 pm
Forum: Beginners Help
Topic: Error setting event receiver
Replies: 5
Views: 565

:D I could solve the error!! I done a little change: I moved receiver declaration to namespace area (I done it global).

Thank you very much for your help!

The problem was that receiver was declared in a function, so, it was deleted when the function finish.
by Boca
Wed May 21, 2008 3:52 pm
Forum: Beginners Help
Topic: Error setting event receiver
Replies: 5
Views: 565

Error setting event receiver

My program is compiled but when I run it, it blocks. When I close this, Windows gives me the typical error window (send error or not send). Debuging, vc++ says: "Infraction of access on having read the location 0xccccccd0."

This is my init code:
EventReceiver receiver;
device->setEventReceiver ...
by Boca
Tue Mar 25, 2008 3:59 pm
Forum: Beginners Help
Topic: cannot compile an unmanaged function with /clr:pure or /clr:
Replies: 1
Views: 793

I have that problem. Irrlicht is done to native compiler. No?
by Boca
Wed Mar 05, 2008 4:33 pm
Forum: Code Snippets
Topic: Small code for select driver mode
Replies: 15
Views: 5209

Hahaha :lol: Ok. I will to use While. :D
by Boca
Wed Mar 05, 2008 3:21 pm
Forum: Code Snippets
Topic: Small code for select driver mode
Replies: 15
Views: 5209

It's equal. :roll:
by Boca
Wed Mar 05, 2008 1:53 pm
Forum: Code Snippets
Topic: Small code for select driver mode
Replies: 15
Views: 5209

Small code for select driver mode

This function select a driver type. Without that the user must select a driver.

void init ()
{
irr::video::E_DRIVER_TYPE driver_type = irrr::video::EDT_DIRECT3D9;


inic:
device = createDevice(driver_type, core::dimension2d<s32>(1280, 1024),16,true,false,true,0);

if (device == 0 ...
by Boca
Tue Mar 04, 2008 5:16 pm
Forum: Beginners Help
Topic: Timer
Replies: 2
Views: 317

Oh, sorry. I am solved the problem. Dont worry! :D Thanks, I am finding a c++ manual. I am sorry to have made yourself lose the time. :(
by Boca
Tue Mar 04, 2008 5:00 pm
Forum: Project Announcements
Topic: irrAI 0.50 - AI module for Irrlicht [Updated 28/11/09]
Replies: 319
Views: 131565

Thanks and congratulations, JP. This is a great program and a incredible work (job). Now, we can add others personages (actors, enemys, allies...)
by Boca
Tue Mar 04, 2008 4:50 pm
Forum: Beginners Help
Topic: Timer
Replies: 2
Views: 317

Timer

Hi! I'm Boca and I'm beginer in c++ and Irrlicht. I want to solve this problems with your help.
I have a problem. I finded info in this forum but I can't solve it.
I have this code:

//---first code---
ITimer* tempo = device.getTimer;
u32 h = tempo->getRealTime;

while(device->run())
{

if ...