1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-01 18:43:33 +02:00
VVVVVV/desktop_version/src/BlockV.h
Misa acca4747f7 Remove x-position from setactivityposition
After discussing with Ally and Dav, we came to the agreement that this
is basically useless since the prompt will always be centered and take
up most of the horizontal space of the screen.

And the x-position was only added as an offset because at some point,
there was a missing space from the side of the "- Press ENTER to
Teleport -" prompt, and the offset was there so people could mimic the
prompt accordingly. But that was fixed at some point, so it's useless
now.
2023-02-17 20:47:32 -08:00

30 lines
502 B
C++

#ifndef BLOCKV_H
#define BLOCKV_H
#include <SDL.h>
#include <stdint.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(const char* col);
public:
//Fundamentals
SDL_Rect rect;
int type;
int trigger;
int xp, yp, wp, hp;
std::string script, prompt;
int r, g, b;
int activity_y;
uint32_t print_flags;
};
#endif /* BLOCKV_H */