All right Im having a rather strange issue here. I hope someone is able to help.
For a game I'm creating I have a main.cpp, that calls several header's now I'm not having any issue with the headers per se., as in the program works to an extent, and recognizes the header files.
However here in lies the issue. When I hover over one of the global variables from my Pong.h header - it recognises the varaibale as a bool . Yet when i hover over a variable from my AJGame Header i receive an strange filetype: errno_t.
I have included some screenshots and the code to better explain the issue.
Main.cpp
#include "DarkGDK.h"
#include "math.h"
#include "time.h"
#include "windows.h"
#include "Menu.h"
#include "Clear.h"
#include "Controls.h"
#include "AJGame.h"
#include "Pong.h"
void DarkGDK()
{
MenuLoop();
if (M_QuestHub == 1)
{
AJ_Difficulty = 1;
//P_Difficulty = 21;
//RDD_Difficulty = 1;
}
if (M_QuestHub == 2)
{
AJ_Difficulty = 2;
//P_Difficulty = 2;
//RDD_Difficulty = 2;
}
if (M_QuestHub == 3)
{
AJ_Difficulty = 3;
//P_Difficulty = 3;
//RDD_Difficulty = 3;
}
if (AJ_GameBegin == true && AJ_LevelComplete == false)
{
ClearScreen();
AppleJackCatch();
}
if (P_GameBegin == true && P_LevelComplete == false)
{
ClearScreen();
CloudBounce();
}
if (AJ_LevelComplete == true)
{
InGame = false;
ClearScreen();
MenuLoop();
}
if (P_LevelComplete == true)
{
InGame = false;
ClearScreen();
MenuLoop();
}
}