the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 31 lines 747 B view raw
1#pragma once 2using namespace std; 3 4#include "Icon.h" 5 6class FlippedIcon : public Icon 7{ 8private: 9 Icon *base; 10 const bool horizontal; 11 const bool vertical; 12 13public: 14 FlippedIcon(Icon *base, bool horizontal, bool vertical); 15 16 int getX() const; 17 int getY() const; 18 int getWidth() const; 19 int getHeight() const; 20 float getU0(bool adjust = false) const; 21 float getU1(bool adjust = false) const; 22 float getU(double offset, bool adjust = false) const; 23 float getV0(bool adjust = false) const; 24 float getV1(bool adjust = false) const; 25 float getV(double offset, bool adjust = false) const; 26 wstring getName() const; 27 int getSourceWidth() const; 28 int getSourceHeight() const; 29 int getFlags() const; // 4J added 30 void setFlags(int flags); // 4J added 31};