rect<s32>() has more than one constructor, including one that uses:
core::position2d<s32>()
core::dimensio<s32>()
wich is much more intuitive when creating GUI elements
now.. the prblem here as darbolovan pointed out u have is that u the y2 parameter is lower than the y1 parameter... u might be ...
Search found 113 matches
- Wed Jun 18, 2008 6:05 pm
- Forum: Beginners Help
- Topic: IGUIWindow adding additional element problem
- Replies: 2
- Views: 357
- Tue Jun 17, 2008 5:29 pm
- Forum: Beginners Help
- Topic: multiple CollisionResponseAnimators for one Scenenode?
- Replies: 2
- Views: 393
- Wed May 28, 2008 8:34 pm
- Forum: Beginners Help
- Topic: My Interpretation of the collision detection example!
- Replies: 9
- Views: 895
- Wed May 28, 2008 7:38 pm
- Forum: Beginners Help
- Topic: My Interpretation of the collision detection example!
- Replies: 9
- Views: 895
- Wed May 28, 2008 4:52 pm
- Forum: Beginners Help
- Topic: using .irr and .pk3
- Replies: 5
- Views: 735
change this:
to this:
best regards
Code: Select all
smgr->loadScene("MyLevel.irr");
Code: Select all
smgr->loadScene("map.irr");
- Wed May 28, 2008 4:45 pm
- Forum: Beginners Help
- Topic: Unable to use some renderers
- Replies: 5
- Views: 462
before u do that what version of irrlicht are u using?
the svn version or the 1.4 release version ?
by the way... i think u said u are using eclipse with... i dun know what compiler... i dont know if there's a .dll file for that IDE/compiler, or if the other dll's works with it, maybe someone with ...
the svn version or the 1.4 release version ?
by the way... i think u said u are using eclipse with... i dun know what compiler... i dont know if there's a .dll file for that IDE/compiler, or if the other dll's works with it, maybe someone with ...
- Tue May 27, 2008 9:21 pm
- Forum: Beginners Help
- Topic: Multiple event listeners
- Replies: 5
- Views: 412
- Tue May 27, 2008 6:13 pm
- Forum: Beginners Help
- Topic: Strange problem with strings/paths
- Replies: 0
- Views: 263
Strange problem with strings/paths
Hi, im having a bit of a tough time finding an error... what happends is this:
my app reads a scene file, load's it in a new scene manager and saves the path to the scene file, the path to a screenshot of that scene and the name of the scene(just for showing on the gui), and stores this values in ...
my app reads a scene file, load's it in a new scene manager and saves the path to the scene file, the path to a screenshot of that scene and the name of the scene(just for showing on the gui), and stores this values in ...
- Tue May 27, 2008 4:05 pm
- Forum: Beginners Help
- Topic: Creating my heightmap!
- Replies: 16
- Views: 1955
- Mon May 26, 2008 8:13 pm
- Forum: Beginners Help
- Topic: Creating my heightmap!
- Replies: 16
- Views: 1955
ok.. one thing to note is that the heightmap u are providing(im talking about the one above) will look like a big prism with 2 holes/valeys inside... so u wont see anything... a heightmap should have... black in the lower parts and white on the higher parts... passing by gray inbetween...
about the ...
about the ...
- Mon May 26, 2008 7:37 pm
- Forum: Beginners Help
- Topic: Creating my heightmap!
- Replies: 16
- Views: 1955
yes you have to ad a IAnimatedMeshSceneNode to go with that IAnimatedMesh...
that should dysplay your mesh
best regards
Code: Select all
smgr->addAnimatedMeshSceneNode(terrain);
best regards
- Fri May 23, 2008 10:09 pm
- Forum: Beginners Help
- Topic: converting string and vector [solved]
- Replies: 2
- Views: 364
- Wed May 21, 2008 6:30 pm
- Forum: Beginners Help
- Topic: a event on a image (gui->image)
- Replies: 6
- Views: 453
- Wed May 21, 2008 4:46 pm
- Forum: Beginners Help
- Topic: Error setting event receiver
- Replies: 5
- Views: 552
hehehe i was about to delete that post, i gues im still sleepy =P.
could u post the rest of the code, and one more thing, debug your app a little, put breakpoints in the onevent method and see what happends, check where do u get the null pointer(that error is usually due to a null pointer somewhere ...
could u post the rest of the code, and one more thing, debug your app a little, put breakpoints in the onevent method and see what happends, check where do u get the null pointer(that error is usually due to a null pointer somewhere ...
- Wed May 21, 2008 4:35 pm
- Forum: Beginners Help
- Topic: Error setting event receiver
- Replies: 5
- Views: 552
You are not actually creating your event receiver, change this:
to this:
That should sifice to make it work
Best regards
Code: Select all
EventReceiver receiver;
device->setEventReceiver(&receiver);
Code: Select all
EventReceiver receiver = EventReceiver();
device->setEventReceiver(&receiver);
Best regards