Search found 4 matches

by Flexxx
Sat Nov 01, 2008 9:11 pm
Forum: Beginners Help
Topic: [solved] list<T> stores instances, deleting them impos
Replies: 8
Views: 1022

lol, an uninitialised variable in an other class seemed to cause the problem. Sorry for that time stealing.
by Flexxx
Wed Oct 29, 2008 10:38 pm
Forum: Beginners Help
Topic: [solved] list<T> stores instances, deleting them impos
Replies: 8
Views: 1022

Now I know that mWeapons.push_back( weapon ); gets a valid pointer, but the size of mWeapons at the beginning in ~Player is 0. So the for-loop doesn't execute.


printf("%u\n",mWeapons.getSize());
mWeapons.push_back( weapon );
printf("%u\n",mWeapons.getSize());

This prints:
3998176
3998177 ...
by Flexxx
Tue Oct 28, 2008 8:39 pm
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: What is a good level editor for irrlicht?
Replies: 60
Views: 128106

The Quake map format organizes the triangles in convex groups...
but Irrlicht does not use this method for optimize the data for rendering or collision detection. So why should I use an editor, which compiles a map to an BSP tree? I know, I don't have to do this, but ist the only reason of this ...
by Flexxx
Tue Oct 28, 2008 7:42 pm
Forum: Beginners Help
Topic: [solved] list<T> stores instances, deleting them impos
Replies: 8
Views: 1022

[solved] list<T> stores instances, deleting them impos

Hello!

I've startet with an Irrlicht based game some days ago and I'm new to Irrlicht usage and I'm not a very good C++ developer.

So I use irr::core::list<T> to store the player's weapons (following method is a quick temporary one to achieve early results):

void Player::addWeapon(f32 damage ...