notes.h File Reference

#include <string>
#include <vector>
#include <stdio.h>

Include dependency graph for notes.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Note

Defines

#define MAX_NOTE_PLACE_LEN   7

Enumerations

enum  NOTE_TYPES {
  NOTE_HP_CHANGE = 0, NOTE_MAXHP_CHANGE, NOTE_MP_CHANGE, NOTE_MAXMP_CHANGE,
  NOTE_XP_LEVEL_CHANGE, NOTE_DUNGEON_LEVEL_CHANGE, NOTE_LEARN_SPELL, NOTE_GET_GOD,
  NOTE_GOD_GIFT, NOTE_GOD_POWER, NOTE_GET_MUTATION, NOTE_LOSE_MUTATION,
  NOTE_ID_ITEM, NOTE_GET_ITEM, NOTE_GAIN_SKILL, NOTE_LOSE_SKILL,
  NOTE_SEEN_MONSTER, NOTE_KILL_MONSTER, NOTE_POLY_MONSTER, NOTE_USER_NOTE,
  NOTE_MESSAGE, NOTE_LOSE_GOD, NOTE_PENANCE, NOTE_MOLLIFY_GOD,
  NOTE_DEATH, NOTE_BUY_ITEM, NOTE_DONATE_MONEY, NOTE_SEEN_FEAT,
  NOTE_XOM_EFFECT, NOTE_XOM_REVIVAL, NOTE_NUM_TYPES
}

Functions

void activate_notes (bool active)
bool notes_are_active ()
void take_note (const Note &note, bool force=false)
void save_notes (writer &)
void load_notes (reader &)
void make_user_note ()

Variables

std::vector< Notenote_list


Define Documentation

#define MAX_NOTE_PLACE_LEN   7


Enumeration Type Documentation

enum NOTE_TYPES

Enumerator:
NOTE_HP_CHANGE 
NOTE_MAXHP_CHANGE 
NOTE_MP_CHANGE 
NOTE_MAXMP_CHANGE 
NOTE_XP_LEVEL_CHANGE 
NOTE_DUNGEON_LEVEL_CHANGE 
NOTE_LEARN_SPELL 
NOTE_GET_GOD 
NOTE_GOD_GIFT 
NOTE_GOD_POWER 
NOTE_GET_MUTATION 
NOTE_LOSE_MUTATION 
NOTE_ID_ITEM 
NOTE_GET_ITEM 
NOTE_GAIN_SKILL 
NOTE_LOSE_SKILL 
NOTE_SEEN_MONSTER 
NOTE_KILL_MONSTER 
NOTE_POLY_MONSTER 
NOTE_USER_NOTE 
NOTE_MESSAGE 
NOTE_LOSE_GOD 
NOTE_PENANCE 
NOTE_MOLLIFY_GOD 
NOTE_DEATH 
NOTE_BUY_ITEM 
NOTE_DONATE_MONEY 
NOTE_SEEN_FEAT 
NOTE_XOM_EFFECT 
NOTE_XOM_REVIVAL 
NOTE_NUM_TYPES 


Function Documentation

void activate_notes ( bool  active  ) 

void load_notes ( reader  ) 

Here is the call graph for this function:

void make_user_note (  ) 

Here is the call graph for this function:

bool notes_are_active (  ) 

void save_notes ( writer  ) 

Here is the call graph for this function:

void take_note ( const Note note,
bool  force = false 
)

Here is the call graph for this function:


Variable Documentation

std::vector<Note> note_list


Generated on Thu Jan 13 13:17:34 2011 by  doxygen 1.5.6