include cleanup
This commit is contained in:
@@ -8,25 +8,25 @@
|
||||
#include "bx/string.h"
|
||||
#include "imgui.h"
|
||||
#include <cassert>
|
||||
#include <cstdio>
|
||||
|
||||
namespace
|
||||
{
|
||||
static constexpr Generated::PuzPos Dirs[4]{
|
||||
using namespace Gen;
|
||||
static constexpr PuzPos Dirs[4]{
|
||||
{-1, 0},
|
||||
{0, -1},
|
||||
{0, 1},
|
||||
{1, 0},
|
||||
};
|
||||
|
||||
Generated::StaticPuzzleData StaticData;
|
||||
Generated::StaticPuzzleCard InvalidCard;
|
||||
StaticPuzzleData StaticData;
|
||||
StaticPuzzleCard InvalidCard;
|
||||
} // namespace
|
||||
|
||||
namespace Puzzle
|
||||
{
|
||||
constexpr float UIPuzBoxSize = 26;
|
||||
using namespace Generated;
|
||||
using namespace Gen;
|
||||
|
||||
void Setup()
|
||||
{
|
||||
@@ -339,7 +339,7 @@ namespace Puzzle
|
||||
{
|
||||
char filepath[128]{0};
|
||||
WritePuzzleFilePath(filepath, sizeof(filepath), obj.ID);
|
||||
remove(filepath);
|
||||
bx::remove(filepath);
|
||||
obj.ID = UINT16_MAX;
|
||||
ImGui::End();
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user