Search found 9 matches
- Tue Jun 27, 2017 4:53 pm
- Forum: Beginners Help
- Topic: Forward-Declaration of IGUIImage impossible?
- Replies: 3
- Views: 757
Re: Forward-Declaration of IGUIImage impossible?
Thanks, works just fine now 
- Tue Jun 27, 2017 4:25 pm
- Forum: Beginners Help
- Topic: Why do Buttons not work?
- Replies: 2
- Views: 670
Re: Why do Buttons not work?
Oh, thanks a lot, that actually was the case, works fine now!
- Tue Jun 27, 2017 4:24 pm
- Forum: Beginners Help
- Topic: Forward-Declaration of IGUIImage impossible?
- Replies: 3
- Views: 757
Forward-Declaration of IGUIImage impossible?
Is there any reason why I cant forward declare UGUIImage and ITexture? Compiler wont compile this, telling me "IGUIImage: ambiguous symbol".
#pragma once
#include <string>
class IGUIImage;
class ITexture;
class CustomButton
{
public:
CustomButton(IGUIImage*);
~CustomButton();
//zum ...
#pragma once
#include <string>
class IGUIImage;
class ITexture;
class CustomButton
{
public:
CustomButton(IGUIImage*);
~CustomButton();
//zum ...
- Tue Jun 27, 2017 2:50 pm
- Forum: Beginners Help
- Topic: Why do Buttons not work?
- Replies: 2
- Views: 670
Why do Buttons not work?
I added polling for button events to the MastEventController, basically like that:
if (event.EventType == EET_GUI_EVENT)
{
s32 id = event.GUIEvent.Caller->getID();
switch (event.GUIEvent.EventType)
{
case EGET_BUTTON_CLICKED:
if (id == 1)
{
}
break;
}
}
It wont enter the if ...
if (event.EventType == EET_GUI_EVENT)
{
s32 id = event.GUIEvent.Caller->getID();
switch (event.GUIEvent.EventType)
{
case EGET_BUTTON_CLICKED:
if (id == 1)
{
}
break;
}
}
It wont enter the if ...
- Mon Apr 17, 2017 11:21 am
- Forum: Beginners Help
- Topic: GUI-Layer dimensions behave totally weird
- Replies: 3
- Views: 721
Re: GUI-Layer dimensions behave totally weird
Thanks so very much! Works pretty well, once you know how its supposed to work 
- Sun Apr 16, 2017 11:14 pm
- Forum: Beginners Help
- Topic: GUI-Layer dimensions behave totally weird
- Replies: 3
- Views: 721
GUI-Layer dimensions behave totally weird
Hey everyone,
sorry for the kinda "ranty" title, but i spend 5 hours now just trying to figure out how the GUI-Layer dimensioning works and came to the conclusion that its either totally screwed up, or totally not documented.
Basically my problem is: things dont show up, as long as I dont give ...
sorry for the kinda "ranty" title, but i spend 5 hours now just trying to figure out how the GUI-Layer dimensioning works and came to the conclusion that its either totally screwed up, or totally not documented.
Basically my problem is: things dont show up, as long as I dont give ...
- Tue Mar 21, 2017 1:25 am
- Forum: Beginners Help
- Topic: [Camera & Nodes] Trouble with Diablo-like-Cam
- Replies: 5
- Views: 1011
Re: [Camera & Nodes] Trouble with Diablo-like-Cam
Fixed the namespaces and includes, should work now. 
- Tue Mar 21, 2017 12:29 am
- Forum: Beginners Help
- Topic: [Camera & Nodes] Trouble with Diablo-like-Cam
- Replies: 5
- Views: 1011
Re: [Camera & Nodes] Trouble with Diablo-like-Cam
Thanks alot for your fast response! I fixed the code to make it compileable, you probably just need to adjust the path/name of the model file. (Code below). I tried the solution you suggested as well, and it basically does what I want, but when I start moving the character, it changes the offset to ...
- Mon Mar 20, 2017 11:18 pm
- Forum: Beginners Help
- Topic: [Camera & Nodes] Trouble with Diablo-like-Cam
- Replies: 5
- Views: 1011
[Camera & Nodes] Trouble with Diablo-like-Cam
Hey everyone!
I recently started with Irrlicht and enjoy it alot so far. But right now Im pretty much stuck, trying to set up a Camera that basically works like in most Hack n Slay Games (Diablo II for example): While the Camera follows the Position of the PlayerCharacter, it does NOT rotate with ...
I recently started with Irrlicht and enjoy it alot so far. But right now Im pretty much stuck, trying to set up a Camera that basically works like in most Hack n Slay Games (Diablo II for example): While the Camera follows the Position of the PlayerCharacter, it does NOT rotate with ...