Or instead of converting to Irrlicht strings, you can use strncmp from the C standard library. It's designed to do string comparisons between C-style strings.CuteAlien wrote: So this should work probably:Code: Select all
if (stringw(listBox->getListItem(listBox->getSelected())) == stringw(L"ABC"))
Search found 753 matches
- Thu Feb 03, 2011 7:42 pm
- Forum: Beginners Help
- Topic: How to make this kind of window?
- Replies: 6
- Views: 476
- Thu Feb 03, 2011 7:39 pm
- Forum: Beginners Help
- Topic: Bullet Physics 'installation' help
- Replies: 6
- Views: 2564
That guide to Bullet weirded me out as well. Basically it's setting up a Visual Studio solution so that you can compile Bullet directly into your executable. If you want to simplify things a little bit, Bullet has various Visual Studio solutions in the msvc folder which build it into a .lib binary l...
- Tue Dec 28, 2010 1:04 pm
- Forum: Beginners Help
- Topic: Per pixel lighting
- Replies: 4
- Views: 1355
Hmm thanks, I found this: http://wiki.truevision3d.com/hlsl_phong_sample Don't know if its useful for Irrlicht, but hey. It's a start. This looks like a pretty cool tutorial to at least show you the basics. Just know that with Irrlicht, you don't need to mess with techniques or passes. You specify ...
- Sat Dec 25, 2010 5:08 pm
- Forum: Beginners Help
- Topic: C++ Irrlicht in windows forms
- Replies: 3
- Views: 452
Exactly the same as example 14, expect make sure the windows forms application is compiled with /CLR, not the pure, safe or oldSyntax due to managed and none managed code. (Project Options btw). Also cast the handle like this : gseEngine = new OpenGSE( (HWND)gseRendererPanel->Handle.ToInt32() ); Do...
- Thu Dec 23, 2010 4:14 am
- Forum: Beginners Help
- Topic: Per pixel lighting
- Replies: 4
- Views: 1355
- Wed Dec 22, 2010 6:09 am
- Forum: Beginners Help
- Topic: Deleting or Removing a Scene Node???
- Replies: 2
- Views: 2587
- Wed Dec 22, 2010 1:05 am
- Forum: Off-topic
- Topic: Funny programming pictures, jokes & quotes
- Replies: 436
- Views: 173060
Its his code and his comments, and he was kind enough to share them. Beggars cant be choosers :lol: @ devsh Words of advice: you can write, say and do whatever the hell you want to, but most people take things a tad too personally. Sometimes, its best to not say anything at all :wink: I'm not takin...
- Mon Dec 20, 2010 7:20 pm
- Forum: Off-topic
- Topic: Funny programming pictures, jokes & quotes
- Replies: 436
- Views: 173060
- Fri Dec 17, 2010 8:55 pm
- Forum: Project Announcements
- Topic: ComineGL: Game Library for Learning Programming in C/C++
- Replies: 94
- Views: 17778
- Thu Dec 16, 2010 5:28 am
- Forum: Beginners Help
- Topic: Will Direct3D and DirectX 11 be in a future Irrlicht?
- Replies: 2
- Views: 783
You could of course always implement it yourself, but seeing as the irrlicht interfaces are built around a fixed function pipeline it will be hard to implement a programmable pipeline (since D3D10 and D3D11 do not support a fixed function pipeline) This is the main problem. Irrlicht is mainly desig...
- Wed Dec 15, 2010 12:53 pm
- Forum: Beginners Help
- Topic: RagDoll in IRRLICHT
- Replies: 4
- Views: 705
- Wed Dec 15, 2010 2:50 am
- Forum: Off-topic
- Topic: Funny programming pictures, jokes & quotes
- Replies: 436
- Views: 173060
- Tue Dec 14, 2010 11:49 pm
- Forum: Beginners Help
- Topic: Why irrlicht dont have funcs exported to dll?
- Replies: 7
- Views: 668
- Tue Dec 14, 2010 11:16 pm
- Forum: Competition Time!
- Topic: Screenshot of the Month December 2010 [Winner announced!]
- Replies: 64
- Views: 25169
- Tue Dec 14, 2010 11:14 pm
- Forum: Beginners Help
- Topic: Why irrlicht dont have funcs exported to dll?
- Replies: 7
- Views: 668