why ICE can not work in Irrlicht0.7?

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
Guest

why ICE can not work in Irrlicht0.7?

Post by Guest »

I compile it in Irrlicht0.7,but it can not run ok ,when you click
new games or options or quit ,but no any result ! why ?

but it run ok in 0.6

http://irrlicht.sourceforge.net/phpBB2/ ... php?t=1053
cmoibenlepro
Posts: 237
Joined: Thu May 27, 2004 3:18 pm
Location: Canada

Post by cmoibenlepro »

you can try this (but I'm not sure if it will fix the problem)

change the following line in the particle editor:

Code: Select all

device = createDevice(video::EDT_DIRECTX9, core::dimension2d<s32>(800, 600), 32, false, false, this); 
to:

Code: Select all

device = createDevice(video::EDT_DIRECTX9, core::dimension2d<s32>(800, 600), 32, false, false, false, this); 
the explanation? there is a new parameter in createDevice called vsync.
if you don't add this additional false, it pass the gui events to the vsync instead of the gui reciever.
So the buttons don't seem to work.

it's the same bug I got with the old techdemo and gui examples. Now they are working both now with this change in the code.
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

change "this" for a "0"

:D
Image
Post Reply