Minetest  5.4.0
server.cpp File Reference
#include "server.h"
#include <iostream>
#include <queue>
#include <algorithm>
#include "network/connection.h"
#include "network/networkprotocol.h"
#include "network/serveropcodes.h"
#include "ban.h"
#include "environment.h"
#include "map.h"
#include "threading/mutex_auto_lock.h"
#include "constants.h"
#include "voxel.h"
#include "config.h"
#include "version.h"
#include "filesys.h"
#include "mapblock.h"
#include "server/serveractiveobject.h"
#include "settings.h"
#include "profiler.h"
#include "log.h"
#include "scripting_server.h"
#include "nodedef.h"
#include "itemdef.h"
#include "craftdef.h"
#include "emerge.h"
#include "mapgen/mapgen.h"
#include "mapgen/mg_biome.h"
#include "content_mapnode.h"
#include "content_nodemeta.h"
#include "content/mods.h"
#include "modchannels.h"
#include "serverlist.h"
#include "util/string.h"
#include "rollback.h"
#include "util/serialize.h"
#include "util/thread.h"
#include "defaultsettings.h"
#include "server/mods.h"
#include "util/base64.h"
#include "util/sha1.h"
#include "util/hex.h"
#include "database/database.h"
#include "chatmessage.h"
#include "chat_interface.h"
#include "remoteplayer.h"
#include "server/player_sao.h"
#include "server/serverinventorymgr.h"
#include "translation.h"
+ Include dependency graph for server.cpp:

Classes

class  ClientNotFoundException
 
class  ServerThread
 
struct  SendableMedia
 

Functions

void dedicated_server_loop (Server &server, bool &kill)
 

Function Documentation

◆ dedicated_server_loop()

void dedicated_server_loop ( Server server,
bool &  kill 
)

References ServerList::AA_DELETE, Profiler::clear(), g_profiler, g_settings, Settings::getBool(), Settings::getFloat(), infostream, Profiler::print(), ServerList::sendAnnounce(), sleep_ms, IntervalLimiter::step(), and verbosestream.

Referenced by run_dedicated_server().

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