// FileName lchance.h // Author Rob Elliott // Created 09/27/03 // Modified 10/13/03 // Program Lovely Chance // Description Header file for LChance Class // Compiled on WinXP Pro SP2, Visual Studio 6.0 SP5 #ifndef LChance_h #include #include #include #include #include #include #include using namespace std; //She says she likes/dislikes a man who is slightly/somewhat/very/completely... #define FNCOUNT 21 #define MNCOUNT 21 #define LNCOUNT 21 #define AVCOUNT 14 const string STATNAME[9] = {"beauty","strength","sex appeal","humor","intelligence","confidence","goals","money","power"}; const string TRAITNAME[20] = {"safe","scheduled","nonreligious","sedentary","conservative","self-centered","logical","uninterested in animals","good at listening","pessimistic","wild","spontaneous","religious","active","giving","a dreamer","animal lover","good at talking","optimistic"}; const string FEMNAMES[FNCOUNT] = {"Anna","Kiera","Cymone","Sonja","Elizaveta","Muadhnait","Mariana","Sallie","Lyndi","Vikki","Parvati","Jessie","Lulu","Lateefah","Tilda","Cass","Eavan","Hailee","Luvenia","Ora","April",}; const string MALENAMES[MNCOUNT] = {"Rob","Brad","Paul","John","Mike","August","Nimbus","Vijay","Humphrey","Minoru","Martin","Oran","Jakob","Hagan","Tilda","Nicodemus","Geoff","Savio","Achim","Leopoldo","Rick"}; const string LASTNAMES[LNCOUNT] = {"Elliott","Garcia","Pitt","Meyers","Smith","Hunter","Hart","Ducan","Humphrey","Ayami","Little","Bryant","Miller","Ralsto","Hilte","Aurellius","Brasseaux","Picard","Legato","Morimoto","O'Neal"}; //const string GENAPPEARANCE[10] = {"blonde","brunette","redheaded","","","","","","",""} const string ADJECTS[AVCOUNT] = {"nonexistent","terrible","pitiful","low","subpar","average","remarkable","high","impressive","stunning","incredible","awe-inspiring","impossible","perfect"}; const string SHE[2] = {"she","he"}; const string HER[2] = {"her","him"}; const string RESPONSE[21] = {"You are the most horriffic person I have ever met!","I can't stand people like you!","I can't believe you!","We really have nothing in common.","You're so ignorant.","I see it completely different from you.","I totally disagree.","Not at all.","I think you're wrong.","Not so.","Hm.","Yeah.","I think so too.","Definitely.","You're totally right.","That's just what I was thinking.","You're so smart!","That's awesome!","We are like two peas in a pod!","We must be soulmates!","You are the most incredible person I have ever met!"}; //I _______ 'TRAIT' people. const string LIKE[21] = {"loathe","despise","hate","detest","can't stand","am really bothered by","am offended by","dislike","am annoyed by","slightly dislike","am neutral towards","am slightly inclined towards","appreciate","like","enjoy","groove with","take comfort in","really admire","adore","love","am obsessed with"}; const string LEVELUP[5] = {"Sure, call me sometime.","I wouldn't mind a friendly date...","You're the one, lets get exclusive.","Oh sweetie, I love you!"}; //You find yourself talking about your const string LIFE[6] = {"personal future","goals","financial situation","assets","authority at work","job influence"}; const string TOPICS[40] = {"Motorcycles","Recreational Drugs","Seatbelts","Insurance","Surprises","New things","Schedules","Planning","Church Worship","Religious Beliefs","a Higher Power","Life after death","Playing Sports","Being Outdoors","Sleeping","Watching TV","Gay Rights","Saving the Environment","Abortion","Capital Punishment","Volunteerism","Helping the poor","Career over Family","Personal Independance","the Paranormal","Love at first sight","Law and Politics","Advancing Technology","Having Pets","Vegetarianism","Animal Testing","Fur Clothing","Public Speaking","Socialites","Analyzing Others","Listening to others problems","the Glass is Half Full","a Bright Future","Society is Rotten","Life is Pointless"}; struct Chara { Chara(); string Print()const; string FName; string LName; bool Gender; //0 for female, 1 for male bool Seeking; //0 for female, 1 for male int Stat[9]; /* Beauty Strength Sex Appeal Humor Intelligence confidence Goals Money Power */ }; struct Poten { Poten(); Poten(bool Gender, bool Seeking, int MaxPts, int MinPts, int Focus = -1); string Print()const; string FName; string LName; string ShortDesc; bool Gender; //0 for female, 1 for male bool Seeking; //0 for female, 1 for male int DesiredStat[9]; int DesiredTrait[10]; int PerceivedTrait[10]; int Interest; int RelationshipLevel; }; class LChance { public: LChance(); private: string CurDate()const; int VInput(int Max = 5, int Min = 1)const; void Setup(); // covers choosing gametype, chara creation. void SetupStats(); void MainMenu(); void Train(); // Train void TheHunt(); void Talk(Poten *Partner,bool FirstTime = true); void Satisfaction(); void Conclusion(); void AdvanceTime(int HoursPassed, int MinutesPassed = 0); void PrintDate(); void Dialog(string Said); void TResponse(Poten *TalkPartner, int InterestPoints); int ChrsmMod(int Value,float Charisma); // int ConvA(); //int ConvB(): Chara m_Player; //Poten m_Potens[100]; Poten m_CurPoten; Poten m_Keeper[10]; int m_KeeperCnt; //Poten* m_LocPotens[9]; int m_StatPointsLeft; int m_CurHour; // 0 hour = Monday int m_CurMinute; int m_DeadlineHour; int m_curLocation; int m_PlayMode; bool m_Playing; }; #define LChance_h #endif LChance_h