?

Log in

No account? Create an account

Previous Entry | Next Entry

#include "Person.h"
#include "Plan.h"
#include "Cat.h"

#define PHILOSOPHY_OF_LIFE 23
#define KILL_THEM_ALL 0
#define GIVE_THEM_A_GOOD_SPANKING 1
#define RULE_BENEVOLENTLY 2
#define GUIDE_FROM_BEHIND_SCENES 3
#define HAVE_SEX_WITH_ALL_THE_CUTE_ONES 4
#ifndef MASTERPLAN_H
#define MASTERPLAN_H
class MasterPlan {
public:
  MasterPlan (Person* me);
  ~MasterPlan (void);
  Plan* generateRandomPlan(void);
  void addNewPlan(Plan* newPlan);
  void achieveSubPlan(Plan* plan);
  void collectMinions(Person*);
  float actSweetAndInnocent(void);
  int conquerWorld (void);

private:
  int ultimate_goal;
  Plan* subplans;
  Person* minions;
  float power_percentage;

  void increaseMotivation(int mode = READ_NEWS);
};
#endif //MASTERPLAN_H

// masterPlan constructor
MasterPlan::MasterPlan(Person* me) {

  subplans = new Plan("Be happy");
  Plan* plan_ptr = subplans;

  plan_ptr->next = new Plan("Have lots of good sex");
  plan_ptr = plan_ptr->next;

  plan_ptr->next = new Plan("Two kids, two husbands, a girlfriend, and a house in Seattle");
  plan_ptr = plan_ptr->next;

  plan_ptr->next = new Plan("Create intelligent computer to take over the world");
  plan_ptr = plan_ptr->next;

  plan_ptr->next = new Plan("(Good thing the computer knows who's boss)");

  switch(me->mood) {
    case FURIOUS: ultimate_goal = KILL_THEM_ALL;
                 break;
    case ANNOYED: ultimate_goal = GIVE_THEM_A_GOOD_SPANKING;
                 break;
    case GENEROUS: ultimate_goal = RULE_BENEVOLENTLY;
                 break;
    case SNEAKY: ultimate_goal = GUIDE_FROM_BEHIND_SCENES;
                 break;
    case HORNY: ultimate_goal = HAVE_SEX_WITH_ALL_THE_CUTE_ONES;
                 break;
  }

  power_percentage = Person->power * me->charisma;
  minions = new Minion(Cat* dingbat);

}

Comments

( 3 comments — Leave a comment )
shoebox_bird
Feb. 22nd, 2002 09:33 pm (UTC)
You have a pointer error.

*duck*
jnanacandra
Feb. 23rd, 2002 08:22 am (UTC)
Re:
yea, I'm sure I do. I actually went back and fixed a couple others after I posted this. But hey, the rest are the compiler's problem :)
(Deleted comment)
jnanacandra
Feb. 23rd, 2002 08:19 am (UTC)
Re:
no - she's not scheming enough to be a minion. She's a mascot or the house slut or something :)

Cat mithril = new Cat(char* name="Mithril", int role = UNDEFINED);
( 3 comments — Leave a comment )

Profile

firesea: self-portrait
jnanacandra
Heather Keith Freeman
Fire Sea Studios

Latest Month

October 2012
S M T W T F S
 123456
78910111213
14151617181920
21222324252627
28293031   

Tags

Page Summary

Powered by LiveJournal.com
Designed by Naoto Kishi