Search found 134 matches

by Thomaskkc
Tue Apr 03, 2007 4:51 pm
Forum: Beginners Help
Topic: Urgent Question!!!!!
Replies: 1
Views: 505

Urgent Question!!!!!

Do anyone kown how to convert from 'wchar_t' to 'const irr::c8 *'
??

i have a problem like this
\virtualmuseum\modeleventreceiver.cpp(189): error C2440: '=' : cannot convert from 'wchar_t' to 'const irr::c8 *'

THANKS~~
PLS HELP~~!
by Thomaskkc
Fri Mar 16, 2007 6:23 pm
Forum: Game Programming
Topic: Load music
Replies: 11
Views: 2635

the tutorial work
why my program have link error?
by Thomaskkc
Fri Mar 16, 2007 4:20 pm
Forum: Game Programming
Topic: Load music
Replies: 11
Views: 2635

i hv link irrklang library file
and it has been included, still not work
by Thomaskkc
Fri Mar 16, 2007 3:59 pm
Forum: Game Programming
Topic: Load music
Replies: 11
Views: 2635

i have try IrrKlang, but when i createIrrKlangDevice it link error: unresolved external symbol "__declspec(dllimport) class irr::audio::ISoundEngine * __cdecl irr::audio::createIrrKlangDevice(enum irr::audio::E_SOUND_OUTPUT_DRIVER,int,char const *)" (__imp_?createIrrKlangDevice@audio@irr@@...
by Thomaskkc
Fri Mar 16, 2007 1:36 pm
Forum: Game Programming
Topic: Load music
Replies: 11
Views: 2635

what sound-libraries should use?
in the demo of Irr, it said that can play sound, but it still can't play
so is that need to include something?

or is there any tutor / ref to teach me how to add sound to the Irr program?

it's urgent, coz i need to add this function within these 2 weeks

thx
by Thomaskkc
Fri Mar 16, 2007 12:58 pm
Forum: Game Programming
Topic: Load music
Replies: 11
Views: 2635

anyone knows?
by Thomaskkc
Fri Mar 16, 2007 9:28 am
Forum: Game Programming
Topic: Load music
Replies: 11
Views: 2635

Load music

is there any load music example?

thx~
by Thomaskkc
Sun Mar 11, 2007 10:45 am
Forum: Beginners Help
Topic: URGENT!! About smgr->clear()
Replies: 13
Views: 860

JP i have try to set node->remove() but i can't run this at the beginning of the function if at the end, then nth is drawn i think at the beginning it throw exception is that node is NULL but i check if this is not NULL, then node->remove() however, it still run not NULL so what's suppose to do?
by Thomaskkc
Sun Mar 11, 2007 10:04 am
Forum: Beginners Help
Topic: URGENT!! About smgr->clear()
Replies: 13
Views: 860

yup, i havn't call the drop() in the scene 2 but still can't clear the mesh/drawing when call the scene in second time the problem that is not drop, i understand that drop means delete the device, but how can i clear the mesh when load in second time? my confuse is that the mesh can't be clear when ...
by Thomaskkc
Sun Mar 11, 2007 9:49 am
Forum: Beginners Help
Topic: URGENT!! About smgr->clear()
Replies: 13
Views: 860

void Museum::runMuseum(int win_width, int win_height, s32 id, float x, float y, float z, bool backward, IrrlichtDevice* input_d) { if (false == backward) { Params.AntiAlias = false; Params.Bits = 32; Params.DriverType = video::EDT_DIRECT3D9; Params.EventReceiver = 0; Params.Fullscreen = false; Para...
by Thomaskkc
Sun Mar 11, 2007 9:36 am
Forum: Beginners Help
Topic: URGENT!! About smgr->clear()
Replies: 13
Views: 860

anyone knows??
by Thomaskkc
Sun Mar 11, 2007 6:08 am
Forum: Beginners Help
Topic: URGENT!! About smgr->clear()
Replies: 13
Views: 860

smgr->getMeshCache()->removeMesh(mesh) is just remove the mesh from the memory
but how can i remove the mesh and drawing?
by Thomaskkc
Sun Mar 11, 2007 4:45 am
Forum: Beginners Help
Topic: URGENT!! About smgr->clear()
Replies: 13
Views: 860

how about
smgr->getMeshCache()->removeMesh(mesh)??

i have call this after the drawing process
but still no effect
by Thomaskkc
Sat Mar 10, 2007 5:59 pm
Forum: Beginners Help
Topic: URGENT!! About smgr->clear()
Replies: 13
Views: 860

then how about when i call it at first, that is calling smgr->clear() before drop()
it still crash, why??

it not like that if i have string a = "abc"

then i run a = ""
a = "def"

then a is def and assign a new value?

is that possible in device or smgr?
by Thomaskkc
Sat Mar 10, 2007 4:24 pm
Forum: Beginners Help
Topic: URGENT!! About smgr->clear()
Replies: 13
Views: 860

the flow is device -> create event receiver -> call sec operation(pass device) run operation 2 while loop { draw things } device->drop in sec operation use device passed from the first device->beginscene draw thing device->endscene event receiver -> still using the first one (call back to first scen...