2023-08-31 18:02:28 -05:00
|
|
|
#pragma once
|
|
|
|
#include "olcPixelGameEngine.h"
|
|
|
|
#include "Unit.h"
|
|
|
|
#include "CollectionPoint.h"
|
|
|
|
|
|
|
|
enum LevelName{
|
|
|
|
STAGE1,
|
|
|
|
STAGE2,
|
|
|
|
STAGE3,
|
|
|
|
STAGE4,
|
|
|
|
};
|
|
|
|
|
|
|
|
struct UnitData{
|
|
|
|
UnitType type;
|
|
|
|
vf2d pos;
|
|
|
|
bool friendly;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct CPData{
|
|
|
|
vf2d pos;
|
|
|
|
float rot;
|
|
|
|
MemoryType type;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct Level{
|
|
|
|
vi2d size={1,1};
|
|
|
|
Resources player_starting_resources;
|
|
|
|
Resources enemy_starting_resources;
|
|
|
|
std::vector<UnitData>unitPlacement;
|
|
|
|
std::vector<CPData>cpPlacement;
|
|
|
|
Sound bgm=Sound::COSMOS;
|
2023-09-01 17:59:44 -05:00
|
|
|
vf2d cameraStart={96,96};
|
|
|
|
vf2d worldZoom={1,1};
|
2023-08-31 18:02:28 -05:00
|
|
|
};
|