Galactic Bloodshed
Functions
tele.h File Reference
#include "gb/vars.h"
Include dependency graph for tele.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void check_for_telegrams (GameObj &)
 Check for telegrams and notify the player if there is any. More...
 
void purge ()
 
void post (const char *, int)
 
void push_telegram_race (const player_t, const std::string &)
 
void push_telegram (const player_t, const governor_t, const std::string &)
 
void teleg_read (GameObj &)
 
void news_read (int, int, int)
 

Function Documentation

◆ check_for_telegrams()

void check_for_telegrams ( GameObj g)

Check for telegrams and notify the player if there is any.

  • g Game object

Definition at line 272 of file tele.cc.

◆ news_read()

void news_read ( int  ,
int  ,
int   
)

Definition at line 219 of file tele.cc.

References putrace(), teleg_read_fd, and telegram_file.

Referenced by read_messages().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ post()

void post ( const char *  ,
int   
)

Definition at line 63 of file tele.cc.

References current_tm, and tm.

Referenced by bombard(), capture(), check_overload(), declare(), defend(), dissolve(), doabm(), domine(), domissile(), fire(), give(), insurgency(), invite(), land(), output_ground_attacks(), pay(), pledge(), sell(), send_message(), and walk().

Here is the caller graph for this function:

◆ purge()

void purge ( )

Definition at line 41 of file tele.cc.

◆ push_telegram()

void push_telegram ( const player_t  ,
const governor_t  ,
const std::string &   
)

Definition at line 138 of file tele.cc.

References current_tm, and tm.

◆ push_telegram_race()

void push_telegram_race ( const player_t  ,
const std::string &   
)

Definition at line 119 of file tele.cc.

◆ teleg_read()

void teleg_read ( GameObj )

Definition at line 176 of file tele.cc.

References teleg_read_fd, telegram_file, and telestat.

Referenced by read_messages().

Here is the caller graph for this function: