Wel I've changed it to std::string but it still doesn't.
#include "GlobalHeader.h"
class tMainMenu
{
public:
tMainMenu(std::string MenuName);
~tMainMenu();
int mainLoop();
void updateMM();
private:
bool inMenu; // springt uit while als false
int selected;
int textSize;
std::string Name; // stil WTF?????
CText Font;
CText CaptionFont;
};
tMainMenu::tMainMenu(std::string MenuName)
{
inMenu = true;
selected = 0;
textSize = 20;
Name = MenuName;
Font.SetFont("Perfect Dark BRK", textSize, 1, 1);
CaptionFont.SetFont("Perfect Dark BRK", 40, 1, 1);
CaptionFont.SetTextColor(255,255,255,255);
}
BTW, my program locks up if I click the cross to close the window, any idea's?
DarkGameSDK
trying to understand DX...