mpr.h File Reference

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

Go to the source code of this file.

Enumerations

enum  msg_channel_type {
  MSGCH_PLAIN, MSGCH_FRIEND_ACTION, MSGCH_PROMPT, MSGCH_GOD,
  MSGCH_PRAY, MSGCH_DURATION, MSGCH_DANGER, MSGCH_WARN,
  MSGCH_FOOD, MSGCH_RECOVERY, MSGCH_SOUND, MSGCH_TALK,
  MSGCH_TALK_VISUAL, MSGCH_INTRINSIC_GAIN, MSGCH_MUTATION, MSGCH_MONSTER_SPELL,
  MSGCH_MONSTER_ENCHANT, MSGCH_FRIEND_SPELL, MSGCH_FRIEND_ENCHANT, MSGCH_MONSTER_DAMAGE,
  MSGCH_MONSTER_TARGET, MSGCH_BANISHMENT, MSGCH_ROTTEN_MEAT, MSGCH_EQUIPMENT,
  MSGCH_FLOOR_ITEMS, MSGCH_MULTITURN_ACTION, MSGCH_EXAMINE, MSGCH_EXAMINE_FILTER,
  MSGCH_DIAGNOSTICS, MSGCH_ERROR, MSGCH_TUTORIAL, NUM_MESSAGE_CHANNELS
}
enum  msg_colour_type {
  MSGCOL_BLACK = 0, MSGCOL_BLUE, MSGCOL_GREEN, MSGCOL_CYAN,
  MSGCOL_RED, MSGCOL_MAGENTA, MSGCOL_BROWN, MSGCOL_LIGHTGREY,
  MSGCOL_DARKGREY, MSGCOL_LIGHTBLUE, MSGCOL_LIGHTGREEN, MSGCOL_LIGHTCYAN,
  MSGCOL_LIGHTRED, MSGCOL_LIGHTMAGENTA, MSGCOL_YELLOW, MSGCOL_WHITE,
  MSGCOL_DEFAULT, MSGCOL_ALTERNATE, MSGCOL_MUTED, MSGCOL_PLAIN,
  MSGCOL_NONE
}

Functions

msg_colour_type msg_colour (int colour)
void mpr (std::string text, msg_channel_type channel=MSGCH_PLAIN, int param=0, bool nojoin=false)
void mprnojoin (std::string text, msg_channel_type channel=MSGCH_PLAIN, int param=0)
void mprf (msg_channel_type channel, int param, const char *format,...)
void mprf (msg_channel_type channel, const char *format,...)
void mprf (const char *format,...)


Enumeration Type Documentation

Enumerator:
MSGCH_PLAIN 
MSGCH_FRIEND_ACTION 
MSGCH_PROMPT 
MSGCH_GOD 
MSGCH_PRAY 
MSGCH_DURATION 
MSGCH_DANGER 
MSGCH_WARN 
MSGCH_FOOD 
MSGCH_RECOVERY 
MSGCH_SOUND 
MSGCH_TALK 
MSGCH_TALK_VISUAL 
MSGCH_INTRINSIC_GAIN 
MSGCH_MUTATION 
MSGCH_MONSTER_SPELL 
MSGCH_MONSTER_ENCHANT 
MSGCH_FRIEND_SPELL 
MSGCH_FRIEND_ENCHANT 
MSGCH_MONSTER_DAMAGE 
MSGCH_MONSTER_TARGET 
MSGCH_BANISHMENT 
MSGCH_ROTTEN_MEAT 
MSGCH_EQUIPMENT 
MSGCH_FLOOR_ITEMS 
MSGCH_MULTITURN_ACTION 
MSGCH_EXAMINE 
MSGCH_EXAMINE_FILTER 
MSGCH_DIAGNOSTICS 
MSGCH_ERROR 
MSGCH_TUTORIAL 
NUM_MESSAGE_CHANNELS 

Enumerator:
MSGCOL_BLACK 
MSGCOL_BLUE 
MSGCOL_GREEN 
MSGCOL_CYAN 
MSGCOL_RED 
MSGCOL_MAGENTA 
MSGCOL_BROWN 
MSGCOL_LIGHTGREY 
MSGCOL_DARKGREY 
MSGCOL_LIGHTBLUE 
MSGCOL_LIGHTGREEN 
MSGCOL_LIGHTCYAN 
MSGCOL_LIGHTRED 
MSGCOL_LIGHTMAGENTA 
MSGCOL_YELLOW 
MSGCOL_WHITE 
MSGCOL_DEFAULT 
MSGCOL_ALTERNATE 
MSGCOL_MUTED 
MSGCOL_PLAIN 
MSGCOL_NONE 


Function Documentation

void mpr ( std::string  text,
msg_channel_type  channel = MSGCH_PLAIN,
int  param = 0,
bool  nojoin = false 
)

Here is the call graph for this function:

void mprf ( const char *  format,
  ... 
)

void mprf ( msg_channel_type  channel,
const char *  format,
  ... 
)

void mprf ( msg_channel_type  channel,
int  param,
const char *  format,
  ... 
)

void mprnojoin ( std::string  text,
msg_channel_type  channel = MSGCH_PLAIN,
int  param = 0 
) [inline]

Here is the call graph for this function:

msg_colour_type msg_colour ( int  colour  ) 


Generated on Thu Jan 13 13:16:46 2011 by  doxygen 1.5.6