mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-09-20 21:37:26 +02:00
ec72031cfd
Instead, they're all held in a constant int array instead.
42 lines
602 B
C++
42 lines
602 B
C++
#ifndef OTHERLEVEL_H
|
|
#define OTHERLEVEL_H
|
|
|
|
#include "Game.h"
|
|
#include "Entity.h"
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
struct Roomtext
|
|
{
|
|
int x, y;
|
|
std::string text;
|
|
};
|
|
|
|
class otherlevelclass
|
|
{
|
|
public:
|
|
enum
|
|
{
|
|
BLOCK = 0,
|
|
TRIGGER,
|
|
DAMAGE,
|
|
DIRECTIONAL,
|
|
SAFE,
|
|
ACTIVITY
|
|
};
|
|
|
|
void addline(std::string t);
|
|
std::vector<int> loadlevel(int rx, int ry);
|
|
|
|
std::string roomname;
|
|
|
|
int roomtileset;
|
|
int i;
|
|
|
|
// roomtext thing in other level
|
|
bool roomtexton;
|
|
std::vector<Roomtext> roomtext;
|
|
};
|
|
|
|
#endif /* OTHERLEVEL_H */
|