25 |
|
|
26 |
TO-DO & EXPANSION LIST |
TO-DO & EXPANSION LIST |
27 |
---------------------- |
---------------------- |
28 |
->COPY CONSTRUCTOR! |
- COPY CONSTRUCTOR! |
29 |
|
- mission queue, not single |
30 |
|
- shapes |
31 |
|
- pod vector w/ interface |
32 |
|
- possessions and specials |
33 |
|
- modify stats to be +/- bonuses |
34 |
|
- ERROR - map not defined for all pods yet |
35 |
|
|
36 |
|
|
37 |
|
|
42 |
#define POD_H |
#define POD_H |
43 |
|
|
44 |
|
|
45 |
#include "../blotchmaker/stlastar.h" |
#include "../map/pathfinding/stlastar.h" |
46 |
#include <string> |
#include <string> |
47 |
#include <vector> |
#include <vector> |
48 |
#include "missions.h" |
#include "missions.h" |
75 |
int GetEngage(); |
int GetEngage(); |
76 |
int GetXp(); |
int GetXp(); |
77 |
|
|
78 |
// set functions |
// set functionsto |
|
void SetMovementGoal(int x, int y); // sets the goal we want to move to |
|
79 |
void SetMission(mission_type m); |
void SetMission(mission_type m); |
80 |
void SetEngage(int x); |
void SetEngage(int x); |
81 |
void SetAvoid(int x); |
void SetAvoid(int x); |
125 |
int num_shapes; // number of shapes in pod |
int num_shapes; // number of shapes in pod |
126 |
|
|
127 |
Mission* misn; // current mission. TODO: needs a queue eventually |
Mission* misn; // current mission. TODO: needs a queue eventually |
128 |
|
// TODO: we *always* have a mission active. if there is no mission set, it reverts to IDLE mission |
129 |
|
|
130 |
//FUNCTIONS |
//FUNCTIONS |
131 |
void PromptEngagement(); |
void PromptEngagement(); |
138 |
static vector<Pod*> pod_index; // a vector of pointers to pods. now we can look them up by ID number |
static vector<Pod*> pod_index; // a vector of pointers to pods. now we can look them up by ID number |
139 |
|
|
140 |
// GENERAL POD FUNCTIONS |
// GENERAL POD FUNCTIONS |
|
static void IncPodCount(); // increments the total number of pods |
|
|
static void DecPodCount(); // decrements the total number of pods |
|
141 |
// TODO static void AddPod(Pod* pod); // adds the pod to the pod index |
// TODO static void AddPod(Pod* pod); // adds the pod to the pod index |
142 |
|
|
143 |
}; |
}; |