mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-08-08 07:09:52 +00:00
Remove commented-out code
This commit is contained in:
parent
0f39b825e1
commit
eb128e65a4
162 changed files with 2092 additions and 6594 deletions
25
BBGE/Quad.h
25
BBGE/Quad.h
|
@ -32,7 +32,7 @@ public:
|
|||
|
||||
bool renderCenter;
|
||||
protected:
|
||||
|
||||
|
||||
int w, h, w2, h2;
|
||||
int lineSize;
|
||||
|
||||
|
@ -43,7 +43,7 @@ class Quad : public RenderObject
|
|||
{
|
||||
public:
|
||||
Quad(const std::string &tex, const Vector &pos);
|
||||
Quad();
|
||||
Quad();
|
||||
void createGrid(int x, int y);
|
||||
void destroy();
|
||||
bool isCoordinateInside(Vector coord, int minSize=0);
|
||||
|
@ -57,8 +57,8 @@ public:
|
|||
void setHeight(float h);
|
||||
int getWidth() const {return int(width);}
|
||||
int getHeight() const {return int(height);}
|
||||
|
||||
void setSegs(int x, int y, float dgox, float dgoy, float dgmx, float dgmy, float dgtm, bool dgo);
|
||||
|
||||
void setSegs(int x, int y, float dgox, float dgoy, float dgmx, float dgmy, float dgtm, bool dgo);
|
||||
void setDrawGridAlpha(int x, int y, float alpha);
|
||||
void repeatTextureToFill(bool on);
|
||||
void refreshRepeatTextureToFill();
|
||||
|
@ -69,16 +69,15 @@ public:
|
|||
float getStripSegmentSize();
|
||||
void resetStrip();
|
||||
Vector ** getDrawGrid() { return drawGrid; }
|
||||
|
||||
|
||||
void reloadDevice();
|
||||
|
||||
void deleteGrid();
|
||||
|
||||
|
||||
InterpolatedVector upperLeftTextureCoordinates, lowerRightTextureCoordinates;
|
||||
//InterpolatedVector upperLeftColor, upperRightColor, lowerLeftColor, lowerRightColor;
|
||||
//InterpolatedVector llalpha, lralpha, ulalpha, uralpha;
|
||||
//bool oriented;
|
||||
|
||||
|
||||
|
||||
enum GridType
|
||||
{
|
||||
|
@ -88,7 +87,7 @@ public:
|
|||
unsigned char gridType; // unsigned char to save space
|
||||
|
||||
char autoWidth, autoHeight; // char to save space
|
||||
|
||||
|
||||
bool renderQuad, renderBorder, renderCenter;
|
||||
bool stripVert;
|
||||
std::vector<Vector>strip;
|
||||
|
@ -106,7 +105,7 @@ protected:
|
|||
void resetGrid();
|
||||
void updateGrid(float dt);
|
||||
void renderGrid();
|
||||
|
||||
|
||||
|
||||
float drawGridOffsetX;
|
||||
float drawGridOffsetY;
|
||||
|
@ -114,9 +113,9 @@ protected:
|
|||
float drawGridModY;
|
||||
float drawGridTimeMultiplier;
|
||||
bool drawGridOut;
|
||||
|
||||
|
||||
static Vector renderBorderColor;
|
||||
|
||||
|
||||
void onSetTexture();
|
||||
void onRender();
|
||||
void onUpdate(float dt);
|
||||
|
@ -131,7 +130,7 @@ public:
|
|||
PauseQuad();
|
||||
int pauseLevel;
|
||||
protected:
|
||||
|
||||
|
||||
void onUpdate(float dt);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue