Search found 22 matches

by interceptor
Mon Feb 09, 2009 5:03 pm
Forum: Beginners Help
Topic: strings!!
Replies: 7
Views: 703

Well, i kinda gave up on using c8's. stringw suited my needs better.. :)
by interceptor
Fri Feb 06, 2009 8:22 pm
Forum: Beginners Help
Topic: strings!!
Replies: 7
Views: 703

both stringc and stringw have a c_str() method, just like regular c++ strings... read the documentation next time. Yea, thanks for that, but .c_str() gives me the problem of cannot convert parameter 1 from 'const wchar_t *' to 'irr::c8 *' I did actually read the manual first but i didn't understand...
by interceptor
Fri Feb 06, 2009 8:06 pm
Forum: Beginners Help
Topic: strings!!
Replies: 7
Views: 703

strings!!

This is bloody annoying. My biggest annoyance with this engine is the strings!

Current dilema: How can i convert a stringc or stringw to a c8?
by interceptor
Tue Feb 03, 2009 3:32 pm
Forum: Beginners Help
Topic: Text on billboard
Replies: 5
Views: 565

JP wrote:c8 cstr = "hello";
core::stringw wstr(cstr);

core::stringw::c_str() returns a wchar_t* for you
You're a bloody legend! Thank you!
by interceptor
Tue Feb 03, 2009 3:20 pm
Forum: Beginners Help
Topic: Text on billboard
Replies: 5
Views: 565

Quick related question,

THe textbillboard needs a const wchar_t. I have an irr::c8, how can i convert an irr::c8 to a const wchar_t? i tryed a cast like

Code: Select all

(const wchar_t *)myirrstring
but it doesnt seem to work? :S Sometimes it returns "0" depending on what the string is.
by interceptor
Tue Feb 03, 2009 10:37 am
Forum: Beginners Help
Topic: Text on billboard
Replies: 5
Views: 565

Ah, i'm so stoopid, it didnt even occour to me that there would be a text based billboard. Durrr.

Thanks!
by interceptor
Tue Feb 03, 2009 10:04 am
Forum: Beginners Help
Topic: Text on billboard
Replies: 5
Views: 565

Text on billboard

I'm trying to add some custom text to a billboard, so the user can change what it says. I really can't work out how to do this, or even how to explain it, so i have a picture to explain what i'm trying to do. This is from Garry's Mod, the text in the bill is changable. http://img8.imageshack.us/img8...
by interceptor
Sat Jan 31, 2009 6:08 pm
Forum: Beginners Help
Topic: Ogre .mesh?
Replies: 4
Views: 470

Ok great. Turns out it was an exporter error i think. All mesh files are loading fine now, Thanks!!
by interceptor
Sat Jan 31, 2009 2:08 pm
Forum: Beginners Help
Topic: Ogre .mesh?
Replies: 4
Views: 470

Well, it was just a flat plane. :shock:

Update: It now gives an error at least! "Could not open blah blah..."

Edit: Fixed. used a cube instead of a plane. But i hope it loads other meshes ok..
by interceptor
Wed Jan 28, 2009 5:01 pm
Forum: Beginners Help
Topic: Ogre .mesh?
Replies: 4
Views: 470

Ogre .mesh?

I have a small problem. Trying to load an ogre .mesh file.. The console says "Loaded media/flat.mesh", but nothing appears? I tryed with an identical 3ds file and that works fine.. IAnimatedMesh* mesh = irrsmgr->getMesh("media/flat.mesh"); if(!mesh) printf("Mesh Error..\n&qu...
by interceptor
Sun Jan 27, 2008 6:55 pm
Forum: Project Announcements
Topic: IrrNewt irrlicht\newton framework >> SVN access
Replies: 432
Views: 132219

Well, i tryed v0.2 ages ago, and i have a question about 0.4: is it possible to edit an individual tyre's position/size? if so, how? I want to set all the positions and sizes of the tyres manually, instead of using the creatchasis() like in the example. That was my biggest problem with 0.2/0.3, was ...
by interceptor
Wed Sep 12, 2007 8:22 pm
Forum: Beginners Help
Topic: Gui Questions
Replies: 3
Views: 275

Ok i fixed the first problem, the gui was drawn too early. i put guienv->draw after smgr-> draw and it was fine. FadeIn is part of the gui. i dunno why it freezes the gui, but the even reciver works fine before i call fadeIn. Also, when i do: smgr->getActiveCamera()->setInputReceiverEnabled(false); ...
by interceptor
Tue Sep 11, 2007 10:17 pm
Forum: Beginners Help
Topic: Gui Questions
Replies: 3
Views: 275

Gui Questions

Two quick questions Firstly, no matter what i do, i cannot seem to have any gui elements after i've loaded an irr scene. i would like to have some buttons overlaying the irr scene, but they just dont show when i run the scene. Secondly, After i used Fadein();, my GUI elements (buttons etc) appear fr...
by interceptor
Sat Sep 08, 2007 3:24 pm
Forum: Project Announcements
Topic: IrrNet - Irrlicht Network Framework 0.36 (Now Windows/Linux)
Replies: 231
Views: 68640

Blindside!!

I debugged, as soon as a user joins, it crashes here

Code: Select all

	tmpnode = dynamic_cast<IAnimatedMeshSceneNode*>(getSceneNodeFromNetId(nodeid));
line 1399 of Netmanager.cpp... any ideas what's causing this?
by interceptor
Fri Sep 07, 2007 10:47 pm
Forum: Project Announcements
Topic: irrCommunity
Replies: 21
Views: 4139

its a tie! 13/13

but to be honest i wouldn't use it, the forum is more than enough for me to interact with everyone..