mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-09-20 21:37:26 +02:00
9dcda17978
map.contents always has 1200 tiles in it, there's no reason it should be a vector. This is a big commit because it requires changing all the level classes to return a pointer to an array instead of returning a vector. Which took a while for me to figure out, but eventually I did it. I tested to make sure and there's no problems.
16 lines
237 B
C++
16 lines
237 B
C++
#ifndef SPACESTATION2_H
|
|
#define SPACESTATION2_H
|
|
|
|
#include "Game.h"
|
|
#include "Entity.h"
|
|
|
|
#include <string>
|
|
|
|
class spacestation2class
|
|
{
|
|
public:
|
|
const int* loadlevel(int rx, int ry);
|
|
std::string roomname;
|
|
};
|
|
|
|
#endif /* SPACESTATION2_H */
|