messagedlg.h File Reference

#include "messages.h"

Include dependency graph for messagedlg.h:

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

Go to the source code of this file.

Functions

void editmessage (Message &msg)
void newmessage ()
void newreminder ()
void viewmessages (const char *title, const MessagePntrContainer &msgc, bool editable)
bool viewmessage (const Message &message)
 Views the message.
void editjournal ()
void viewjournal (bool showEmptyDialog)
void viewunreadmessages (Player &player)
void checkJournal (Player &player)


Function Documentation

void checkJournal ( Player player  ) 

Definition at line 587 of file messagedlg.cpp.

References GameTime::abstime, actmap, GameMap::actplayer, Player::getParentMap(), GameMap::lastjournalchange, GameTime::move(), GameMap::time, GameTime::turn(), and viewjournal().

Referenced by hookGuiToMap().

void editjournal (  ) 

Definition at line 610 of file messagedlg.cpp.

References actmap, GameMap::actplayer, MultilineEdit::changed(), tdialogbox::done(), MultilineEdit::init(), GameMap::lastjournalchange, GameMap::newJournal, MultilineEdit::run(), GameTime::set(), GameMap::time, and GameTime::turn().

Referenced by executeUserAction().

void editmessage ( Message msg  ) 

void newmessage (  ) 

Definition at line 335 of file messagedlg.cpp.

References actmap, Player::getHumanPlayerNum(), infoMessage(), ASC_PG_Dialog::RunModal(), and NewMessage::Show().

Referenced by executeUserAction().

void newreminder (  ) 

Definition at line 349 of file messagedlg.cpp.

References actmap, ASC_PG_Dialog::RunModal(), and NewMessage::Show().

Referenced by executeUserAction().

void viewjournal ( bool  showEmptyDialog  ) 

Definition at line 597 of file messagedlg.cpp.

References actmap, tdialogbox::done(), GameMap::gameJournal, infoMessage(), and tviewanytext::run().

Referenced by checkJournal(), and executeUserAction().

bool viewmessage ( const Message message  ) 

Views the message.

returns true if the user requested to keep the message in his inbox

maybe we are running in text mode

Definition at line 572 of file messagedlg.cpp.

References IngameMessageViewer::getKeepMessage(), legacyEventSystemActive(), and ASC_PG_Dialog::RunModal().

Referenced by viewunreadmessages().

void viewmessages ( const char *  title,
const MessagePntrContainer msgc,
bool  editable 
)

Definition at line 561 of file messagedlg.cpp.

References actmap, max(), min(), and ASC_PG_Dialog::RunModal().

Referenced by executeUserAction().

void viewunreadmessages ( Player player  ) 

Definition at line 621 of file messagedlg.cpp.

References Player::getParentMap(), GameMap::getPlayerView(), Player::getPosition(), Player::human, Player::oldmessage, Player::stat, Player::supervisor, Player::unreadmessage, and viewmessage().

Referenced by MapChangeCompleted::execute(), DisplayImmediateMessage::execute(), and hookGuiToMap().


Generated on Mon May 21 01:38:27 2012 for Advanced Strategic Command by  doxygen 1.5.1