Too much problems

This commit is contained in:
tobid7 2022-04-10 01:09:46 +02:00
parent 8c8613aca6
commit 303e4105cb
2 changed files with 11 additions and 12 deletions

View File

@ -10,7 +10,7 @@ float animtime;
bool isndspinit = false;
bool running = true;
std::stack<std::unique_ptr<RenderD7::Scene>> RenderD7::Scene::scenes;
std::vector<RenderD7::Ovl> overlays;
//std::vector<RenderD7::Ovl> overlays;
bool usedbgmsg = false;
std::string dspststus = "Not Initialisized!";
@ -864,18 +864,18 @@ bool RenderD7::DrawNFRect(float p1x, float p1y, float w, float h, u32 color, flo
void RenderD7::FrameEnd()
{
if (metrikd)RenderD7::DrawMetrikOvl();
for (int i = 0; i < (int)overlays.size(); i++)
/*for (int i = 0; i < (int)overlays.size(); i++)
{
overlays[i].Draw();
}
}*/
C3D_FrameEnd(0);
}
void RenderD7::AddOvl(RenderD7::Ovl overlay)
/*void RenderD7::AddOvl(RenderD7::Ovl overlay)
{
overlays.push_back(overlay);
}
/*RenderD7::Console::Console()
}*/
RenderD7::Console::Console()
{
this->x = 0;
this->y = 0;
@ -919,10 +919,9 @@ void RenderD7::Console::On(C3D_RenderTarget *t_cscreen)
{
this->cscreen = t_cscreen;
}
bool RenderD7:: Console::Update()
bool RenderD7::Console::Update()
{
bool dr_sc = true;
return dr_sc;
}
*/

View File

@ -134,12 +134,12 @@ namespace RenderD7
//static void HandleOvl();
};
class Ovl {
/*class Ovl {
public:
virtual ~Ovl(){}
virtual void Draw() const = 0;
};
void AddOvl(RenderD7::Ovl overlay);
void AddOvl(RenderD7::Ovl overlay);*/
namespace Color
{
struct rgba
@ -282,7 +282,7 @@ namespace RenderD7
u32 outcol, incol, chcol;
};
void DrawCheckbox(Checkbox box);
/*class Console
class Console
{
public:
Console();
@ -302,7 +302,7 @@ namespace RenderD7
RenderD7::rgba color = {255, 255, 255, 255};
RenderD7::rgba outlinecol = {222, 222, 222, 255};
RenderD7::rgba barcolor = {0, 0, 0, 255};
};*/
};
bool NameIsEndingWith(const std::string &name, const std::vector<std::string> &extensions);
void GetDirContentsExt(std::vector<RenderD7::DirContent> &dircontent, const std::vector<std::string> &extensions);