-
Notifications
You must be signed in to change notification settings - Fork 5
/
Randomizer.h
41 lines (31 loc) · 1.31 KB
/
Randomizer.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#ifndef __RANDOMIZER_H__
#define __RANDOMIZER_H__
#include "Item.h"
#include "Lair.h"
#include "Map.h"
#include "Sprite.h"
#include <fstream>
#include <vector>
using namespace std;
namespace Randomizer {
void RandomizeLairEnemies(Lair &Lair);
void RandomizeLairType(Lair &Lair);
void RandomizeLairNbEnemies(Lair &Lair);
void RandomizeLairSpawnRate(Lair &Lair);
void RandomizeLairContents(vector<Lair> &LairList);
void RandomizeMapSprites(vector<Sprite> &RandomizedSpriteList, fstream &ROMFile);
void ExploreRegion(vector<Region> &RegionList,
vector<Goal> &GoalList,
vector<int> &AvailableRevivingLairs,
vector<int> &AvailableItems,
vector<int> &AvailableGoals,
bool RevivedNPCs[],
bool CollectedKeyItems[],
int RegionIndex);
bool RandomizeProgression(vector<Lair> &RandomizedLairList,
vector<Item> &RandomizedItemList,
fstream &ROMFile);
int WeightedGoalChoice(vector<Goal> &GoalList,
vector<int> &AvailableGoals);
}
#endif // __RANDOMIZER_H__