1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-25 22:18:30 +02:00
VVVVVV/desktop_version/src/Otherlevel.h
Misa d910800423 Remove global args from main game loadlevel() functions
This removes global args from Finalclass.cpp, Labclass.cpp,
Otherlevel.cpp, Spacestation2.cpp, and WarpClass.cpp.
2020-04-03 10:40:50 -04:00

43 lines
610 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<std::string> 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 */