puzzle ui
This commit is contained in:
@@ -271,6 +271,11 @@ namespace Puzzle
|
||||
ImGui::InvisibleButton("cardbn",
|
||||
{Puzzle::Config::CardSize * UIPuzBoxSize, Puzzle::Config::CardSize * UIPuzBoxSize});
|
||||
}
|
||||
void RotateCard(PlacedPuzzleCard& card)
|
||||
{
|
||||
card.Rotation += 1;
|
||||
if (card.Rotation >= 4) card.Rotation = 0;
|
||||
}
|
||||
|
||||
void WritePuzzleFilePath(char* buf, int32_t bufSize, uint16_t puzID)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user