The Battle for Wesnoth  1.19.0-dev
Macros | Functions | Variables
display_chat_manager.cpp File Reference
#include "display_chat_manager.hpp"
#include "display.hpp"
#include "floating_label.hpp"
#include "game_board.hpp"
#include "preferences/game.hpp"
#include "log.hpp"
#include "font/sdl_ttf_compat.hpp"
#include "mp_ui_alerts.hpp"
#include "serialization/string_utils.hpp"
#include "color.hpp"
#include "preferences/credentials.hpp"
#include "serialization/utf8_exception.hpp"
#include "video.hpp"
#include <SDL2/SDL_timer.h>
Include dependency graph for display_chat_manager.cpp:

Go to the source code of this file.

Macros

#define ERR_NG   LOG_STREAM(err, log_engine)
 

Functions

static unsigned int safe_subtract (unsigned int a, unsigned int b)
 

Variables

static lg::log_domain log_engine ("engine")
 

Macro Definition Documentation

◆ ERR_NG

#define ERR_NG   LOG_STREAM(err, log_engine)

Definition at line 34 of file display_chat_manager.cpp.

Function Documentation

◆ safe_subtract()

static unsigned int safe_subtract ( unsigned int  a,
unsigned int  b 
)
static

Definition at line 186 of file display_chat_manager.cpp.

References a, and b.

Referenced by display_chat_manager::prune_chat_messages().

Variable Documentation

◆ log_engine

lg::log_domain log_engine("engine") ( "engine"  )
static