hmm.. it should work yes.. but i've no time to test it right now...
here is the code that "should" do it :wink:
#include <fstream>
class MyEventReceiver : public IEventReceiver
{
public:
virtual bool OnEvent(SEvent event)
{
if (event.EventType == irr::EET_LOG_TEXT_EVENT)
{
//Log to File ...
Search found 45 matches
- Tue Jan 31, 2006 8:59 am
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: Using IrrLicht Logger also for LogFiles
- Replies: 9
- Views: 3799
- Wed Jan 18, 2006 9:45 pm
- Forum: Advanced Help
- Topic: how to minimize gui element?
- Replies: 10
- Views: 1037
- Wed Jan 18, 2006 8:59 am
- Forum: Advanced Help
- Topic: invisble and disabled iwindow flickers
- Replies: 1
- Views: 291
- Wed Jan 18, 2006 8:51 am
- Forum: Beginners Help
- Topic: How to change the absolute position of a GUI element
- Replies: 3
- Views: 336
- Wed Jan 18, 2006 8:35 am
- Forum: Advanced Help
- Topic: how to minimize gui element?
- Replies: 10
- Views: 1037
i'm not sure, but i thought that there is a minimize-function for the Windows...
yes, you have to create a button, but you don't have to code it... look at this:
Take a look at the API..
yes, you have to create a button, but you don't have to code it... look at this:
Code: Select all
IGUIWindow* window;
IGUIButton* closeButton;
closeButton=window->getMinimizeButton();
- Tue Jan 17, 2006 9:44 am
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: Boring But Important: logfiles
- Replies: 2
- Views: 1447
I wrote a little Tutorial which shows, how you can use the IrrLicht Logger also for LogFiles. Look at this:
http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=9955
I use this solution for the LogFile-Problem, because the IrrLicht output is also logged such as the createDevice for Device-Init ...
http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=9955
I use this solution for the LogFile-Problem, because the IrrLicht output is also logged such as the createDevice for Device-Init ...
- Wed Dec 21, 2005 5:01 pm
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: Check an Array of Objects for Collision
- Replies: 7
- Views: 2743
the CollisionObject thing sounds very cool... now i got it...
it makes much sense in some way... i'll do it in my next project in a similar way i think..
but my current project doesn't "need" it, because it is much simpler, if i make the collision detection myself(x,y coords - width,height etc.) and ...
it makes much sense in some way... i'll do it in my next project in a similar way i think..
but my current project doesn't "need" it, because it is much simpler, if i make the collision detection myself(x,y coords - width,height etc.) and ...
- Tue Dec 20, 2005 8:41 pm
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: Check an Array of Objects for Collision
- Replies: 7
- Views: 2743
- Tue Dec 20, 2005 4:59 pm
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: Check an Array of Objects for Collision
- Replies: 7
- Views: 2743
Check an Array of Objects for Collision
hey guys...
if you have an array of objects for example some balls in a Pool-Game. Then you may have a Problem to make collision detection between all these objects without loosing a lot of performance...
i will not describe here, how to do the collision-detection itself.. it is just a "system" to ...
if you have an array of objects for example some balls in a Pool-Game. Then you may have a Problem to make collision detection between all these objects without loosing a lot of performance...
i will not describe here, how to do the collision-detection itself.. it is just a "system" to ...
- Tue Dec 13, 2005 8:15 am
- Forum: Beginners Help
- Topic: Event Receiver in class
- Replies: 2
- Views: 376
- Mon Dec 12, 2005 2:02 pm
- Forum: Beginners Help
- Topic: Particle Effects in 2D-Games
- Replies: 15
- Views: 1318
- Mon Dec 12, 2005 8:48 am
- Forum: Beginners Help
- Topic: Particle Effects in 2D-Games
- Replies: 15
- Views: 1318
The Orthogonal thing was a very good idea... it works now...
the only thing i was wondering is, if i want the particle-scene node exactly follow a 2dObject do i really have to initialise the matrix4 with for example 640 units width 480 units height ?
i've seen some examples with 16 units width and ...
the only thing i was wondering is, if i want the particle-scene node exactly follow a 2dObject do i really have to initialise the matrix4 with for example 640 units width 480 units height ?
i've seen some examples with 16 units width and ...
- Mon Dec 05, 2005 8:30 am
- Forum: Beginners Help
- Topic: CAnimSprite Class with Alpha-Blending(Transparency)
- Replies: 20
- Views: 1254
the hole game is based on simply draw2dimage.
so the backgrounds aren't animated.
And yes, i'm quite content with our project. yeah, it's the work of two ^^
whatever, maybe we shouldn't discuss that in this Forum.
We can continue that in the Project Announcements Forum.. here ^^
so the backgrounds aren't animated.
And yes, i'm quite content with our project. yeah, it's the work of two ^^
whatever, maybe we shouldn't discuss that in this Forum.
We can continue that in the Project Announcements Forum.. here ^^
- Sun Dec 04, 2005 9:05 pm
- Forum: Beginners Help
- Topic: CAnimSprite Class with Alpha-Blending(Transparency)
- Replies: 20
- Views: 1254
- Sun Dec 04, 2005 5:55 pm
- Forum: Beginners Help
- Topic: CAnimSprite Class with Alpha-Blending(Transparency)
- Replies: 20
- Views: 1254