mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-02-01 18:52:02 +03:00
Turn tower vectors into plain arrays
Also, the arrays are statically allocated. I forgot to do this when we were statically allocating things earlier, but better late than never.
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
#ifndef TOWER_H
|
||||
#define TOWER_H
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class towerclass
|
||||
{
|
||||
public:
|
||||
@@ -23,15 +20,10 @@ public:
|
||||
|
||||
void loadmap();
|
||||
|
||||
//public var back:Array = new Array();
|
||||
//public var contents:Array = new Array();
|
||||
//public var minitower:Array = new Array();
|
||||
//public var vmult:Array = new Array();
|
||||
|
||||
std::vector<int> back;
|
||||
std::vector<int> contents;
|
||||
std::vector<int> minitower;
|
||||
std::vector<int> vmult;
|
||||
int back[40 * 120];
|
||||
int contents[40 * 700];
|
||||
int minitower[40 * 100];
|
||||
int vmult[40 * 700];
|
||||
|
||||
bool minitowermode;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user