mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-11-10 21:19:43 +01:00
9789848b36
These float attributes are assigned to, and then never read again. The coordinate systems of blocks are a bit of a mess - some use xp/yp, some use xp/yp and rect.x/rect.y - but I can confidently say that these are never used, because it compiles fine if I remove the attributes from the class, plus remove all assignments to it.
26 lines
436 B
C++
26 lines
436 B
C++
#ifndef BLOCKV_H
|
|
#define BLOCKV_H
|
|
|
|
#include <SDL.h>
|
|
#include <string>
|
|
|
|
class blockclass
|
|
{
|
|
public:
|
|
blockclass(void);
|
|
void clear(void);
|
|
|
|
void rectset(const int xi, const int yi, const int wi, const int hi);
|
|
|
|
void setblockcolour(std::string col);
|
|
public:
|
|
//Fundamentals
|
|
SDL_Rect rect;
|
|
int type;
|
|
int trigger;
|
|
int xp, yp, wp, hp;
|
|
std::string script, prompt;
|
|
int r, g, b;
|
|
};
|
|
|
|
#endif /* BLOCKV_H */
|