Search found 73 matches
- Sun Jul 01, 2012 3:53 pm
- Forum: Bug reports
- Topic: [solved]ContextMenu bug?
- Replies: 2
- Views: 862
Re: ContextMenu bug?
Thank you for quick answer.
- Sun Jul 01, 2012 11:53 am
- Forum: Bug reports
- Topic: [solved]ContextMenu bug?
- Replies: 2
- Views: 862
[solved]ContextMenu bug?
First of all I am aware that proper use of ContextMenu is to create it every time on event ( ie on right mouse click ). I wanted to create ContextMenu just once and then show it/ hide it on events. But ContextMenu won't work if there any window created, it trows exception when I want to contextMenu-...
- Tue Jun 12, 2012 10:06 am
- Forum: Code Snippets
- Topic: string to s32
- Replies: 5
- Views: 1964
Re: string to s32
Yes... I was not aware of that.
This is much simpler:
I am kinda embarrassment but hey every day you learn something new.
This is much simpler:
Code: Select all
s32 toS32(void)
{
core::stringc c(this->c_str());
return core::strtol10(c.c_str());
}
- Tue Jun 12, 2012 12:57 am
- Forum: Code Snippets
- Topic: string to s32
- Replies: 5
- Views: 1964
string to s32
It's not much but I am kinda surprised that this function does not exists. I needed it so I wrote one. Just add this code in irrString.h s32 toS32(void) { s32 result = 0; stringw buff = this->subString(0, this->findFirstChar(L".")); ...
- Sun Nov 21, 2010 1:47 am
- Forum: Code Snippets
- Topic: Simulation of videosignal lost.
- Replies: 10
- Views: 2883
@Starterz: You forgot to call srand function. I don't know what to say to you... Do you really think it should be called here? IMHO yes. Because if you don't you will always get same random numbers. Of course user can call srand outside your code but this way looks more elegant to me. But that is j...
- Sat Nov 20, 2010 4:54 pm
- Forum: Code Snippets
- Topic: Simulation of videosignal lost.
- Replies: 10
- Views: 2883
- Thu Oct 21, 2010 1:10 am
- Forum: Project Announcements
- Topic: Character System Demo (feat. Miku Hatsune) MKII
- Replies: 41
- Views: 19616
- Tue Oct 19, 2010 1:16 am
- Forum: Project Announcements
- Topic: Character System Demo (feat. Miku Hatsune) MKII
- Replies: 41
- Views: 19616
- Fri Jul 30, 2010 4:44 pm
- Forum: Project Announcements
- Topic: IrrODE - an Irrlicht - ODE wrapper (now with SVN)
- Replies: 561
- Views: 144822
I think that the destructor will be called automatically at the end of the program, if you don't call him before ;) If you delete an object, is destructor called than too? :oops: lol, first learn the basics of the basics of C++ basic and THEN eventually post HERE! This forum is not an interactive C...
- Fri Jul 23, 2010 7:18 pm
- Forum: Project Announcements
- Topic: IrrODE - an Irrlicht - ODE wrapper (now with SVN)
- Replies: 561
- Views: 144822
If you found another way to debug the memory leaks, please say it to me...this method doesn't give much information about ... I am using Visual Leak detector for 2 - 3 years now. You need just need to include vld.h and when application stop executing you will see memory leaks in output console of M...
- Fri Jul 09, 2010 2:15 am
- Forum: Everything 2d/3d Graphics
- Topic: Post Your Irrlicht Screenshots / Render Here.
- Replies: 1548
- Views: 376912
I am sorry for confusion but this game was never meant to be commercial. In fact you can get current code on sourceforge since is open source.DeM0nFiRe wrote:Anytime I've seen it, the company would bark at the door with a lawsuit and then settle for an assurance the fan game would not be commercial at all.
- Mon Jul 05, 2010 9:41 am
- Forum: Everything 2d/3d Graphics
- Topic: Post Your Irrlicht Screenshots / Render Here.
- Replies: 1548
- Views: 376912
And yes I have EA permission to use their graphic as long game stays free. Did you really get like express, written consent from EA? I only have their word on that. Even if something goes wrong about legal stuff ( I doubt that since they said that is ok ) I could always do units, powers, etc little...
- Tue Jun 29, 2010 8:04 am
- Forum: Off-topic
- Topic: Funny programming pictures, jokes & quotes
- Replies: 436
- Views: 172854
- Sun Jun 27, 2010 3:11 pm
- Forum: Project Announcements
- Topic: EditIrr
- Replies: 99
- Views: 30454
- Sat Jun 26, 2010 3:55 pm
- Forum: Beginners Help
- Topic: rendering cube lighter than original texture color
- Replies: 6
- Views: 542
Will emissive color do the trick?
where is i index of material that you want to change.
Code: Select all
node->getMaterial(i).EmissiveColor.set(0, 255, 255, 255);