Lots of TODO comments, some noting things related to the Windows version

This commit is contained in:
2014-12-14 21:45:52 -05:00
parent e511f5280d
commit 02478da9d7
14 changed files with 62 additions and 3 deletions

View File

@@ -81,6 +81,7 @@ bool operator == (location p1,location p2);
bool operator != (location p1,location p2);
bool operator == (rectangle r1, rectangle r2);
bool operator != (rectangle r1, rectangle r2);
// TODO: This isn't a union, because it returns a rectangle.
rectangle operator|(rectangle one, rectangle two);
rectangle rectunion(rectangle one, rectangle two);
short dist(location p1,location p2);

View File

@@ -691,9 +691,11 @@ std::string cParty::start_split(short a,short b,snd_num_t noise,short who) {
stuff_done[304][8] = univ.town.num;
univ.town.p_loc.x = a;
univ.town.p_loc.y = b;
// TODO: This looks like it won't work.
for (i = 0; i < 6; i++)
if (!stuff_done[304][who])
adven[i].main_status += eMainStatus::SPLIT;
// TODO: Uh, why play sound 10 instead of the one passed in?
if (noise > 0)
play_sound(10);
return "";

View File

@@ -64,6 +64,7 @@ public:
short node_to_call;
};
// formerly party_record_type
// TODO: Should we make age a long long?
unsigned long age;
unsigned short gold;
unsigned short food;