mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-09-29 17:57:23 +02:00
d910800423
This removes global args from Finalclass.cpp, Labclass.cpp, Otherlevel.cpp, Spacestation2.cpp, and WarpClass.cpp.
42 lines
610 B
C++
42 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 */
|