Search found 13 matches

by Lo_Ord
Tue Sep 05, 2006 9:00 pm
Forum: Beginners Help
Topic: EventReceiver: Strange Mouse-Problem
Replies: 2
Views: 165

EventReceiver: Strange Mouse-Problem

Hi! I'm trying to program a small Level-Editor for a game, and I'm stuck right now with a small problem. I've implimented an "own" camera ("Own" because it's pretty much the Maya-Cam from Irrlicht) The important section for me is the following: bool CameraEditorSceneNode::OnEvent...
by Lo_Ord
Tue Jun 27, 2006 9:54 pm
Forum: Beginners Help
Topic: [solved]Audiere SoundEffect-Class Problem
Replies: 3
Views: 202

I think you should search for an Audiere forum... But the second parameter should not be a string, it's a referenz to a SampleSource... So check the documentation or header file !!! I actually solved the problem, I was trying to safe the soundeffect in an OutputStream pointer, which of course canno...
by Lo_Ord
Mon Jun 26, 2006 7:57 pm
Forum: Beginners Help
Topic: [solved]Audiere SoundEffect-Class Problem
Replies: 3
Views: 202

[solved]Audiere SoundEffect-Class Problem

Hi! When I was trying to implement a sound-function for a machinegun today, I encountered a little problem: Audiere uses the Soundeffect-Class, to let you play one sound multiple times, so it's perfect for a machine-gun. However, when I try to compile my program, I get an error message :( Here's the...
by Lo_Ord
Wed May 31, 2006 3:36 pm
Forum: Beginners Help
Topic: copy const c8 * to const c8*
Replies: 7
Views: 279

You don't have to use a const c8* because every c8* can become const c8*. This conversion is done autmatically, e.g. when passing this pointer to a const param method. Intresting, it was the first thing I tried, and the compiler gave me the error "cannot convert from const c8 * to c8 *".....
by Lo_Ord
Tue May 30, 2006 3:00 pm
Forum: Beginners Help
Topic: copy const c8 * to const c8*
Replies: 7
Views: 279

Thx hybrid, the strdup-function did the trick!

I have to keep the const c8*, because I'm reading a texture-filepath from the X-File and load that file directly by using getTexture (see my code-example)

Big thx!
by Lo_Ord
Tue May 30, 2006 1:15 pm
Forum: Project Announcements
Topic: Grass Node v0.3.x
Replies: 109
Views: 85601

Hi! First off all: Great work with that Scene-Node! I tried to implement it into a project I'm working on, but I get some error messages: If I'm trying to create pointers to IWindGenerator and CGrassPatchSceneNode", I'm getting errors, saying that "IWindGenerator" or "CGrassPatch...
by Lo_Ord
Tue May 30, 2006 12:10 pm
Forum: Beginners Help
Topic: copy const c8 * to const c8*
Replies: 7
Views: 279

copy const c8 * to const c8*

Hi! I know, this is a stupid question, but I've been sitting now on this (ridiculously small) problem and don't know the answer... Here is what i got: struct FireData { //stuff const c8* filename; } //in the main function: { FireData fire = new FireData(); //reading a xml-file { if (stringw("fi...
by Lo_Ord
Tue May 30, 2006 12:09 pm
Forum: Beginners Help
Topic: copy const c8 * to const c8*
Replies: 0
Views: 52

copy const c8 * to const c8*

Hi! I know, this is a stupid question, but I've been sitting now on this (ridiculously small) problem and don't know the answer... Here is what i got: struct FireData { //stuff const c8* filename; } //in the main function: { FireData fire = new FireData(); //reading a xml-file { if (stringw("fi...
by Lo_Ord
Mon May 29, 2006 1:15 pm
Forum: Beginners Help
Topic: Chat User-event?
Replies: 0
Views: 160

Chat User-event?

Hi! I have a bigger question: I want to implement an own chat - user - event for our game, so if someone sends a chat message, the eventreceiver calls the needed functions (send it to others, print it on screen, etc...) So, how do I define an own user-event? Do I have to create a new class with a ce...
by Lo_Ord
Mon May 29, 2006 1:05 pm
Forum: Beginners Help
Topic: [Solved]Listbox: get text from certain element
Replies: 3
Views: 552

Sorry, I totally forgot about this thread...

Elise, your solution works perfectly, thanks!
by Lo_Ord
Wed May 10, 2006 2:54 pm
Forum: Beginners Help
Topic: [Solved]Listbox: get text from certain element
Replies: 3
Views: 552

[Solved]Listbox: get text from certain element

Hi! I got a little problem concerning listboxes: We are working on a game project and I'm responsible for the Menus and Gui. I'm currently working on the graphics-menu: I made a listbox and added 4 standard-resolutions to it ( with addItem()). It perfectly works. Now I want to give the user the poss...
by Lo_Ord
Thu Apr 27, 2006 3:08 pm
Forum: Beginners Help
Topic: Draw2DImage- AlphaProblem
Replies: 2
Views: 339

Thanks, thats exactly what I needed!
by Lo_Ord
Thu Apr 27, 2006 2:33 pm
Forum: Beginners Help
Topic: Draw2DImage- AlphaProblem
Replies: 2
Views: 339

Draw2DImage- AlphaProblem

Hi! I wanted to make a simple crosshair. Therefor I drew a small .png and let it display in the middle of the screen - as simple as it can get. Now i wanted to add transpirancy and am facing now a little problem: I set the Backgroundcolor of the file to Transparent by using: makeColorKeyTexture(this...