X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fserver.h;h=e9477ba53395a8ca9728d3a55a5015849375282f;hb=ffb1128951638fb462fe1e24aa2963aab6246b07;hp=f1c7b6e01cdc1b333b23713ef85dece373caab6f;hpb=4a92df6ff021f1bfa645f97fd551c648d1ef8e3b;p=dragonfireclient.git diff --git a/src/server.h b/src/server.h index f1c7b6e01..e9477ba53 100644 --- a/src/server.h +++ b/src/server.h @@ -33,6 +33,15 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "map.h" #include "inventory.h" +/* + Some random functions +*/ +v3f findSpawnPos(ServerMap &map); + +/* + A structure containing the data needed for queueing the fetching + of blocks. +*/ struct QueuedBlockEmerge { v3s16 pos; @@ -241,6 +250,8 @@ class RemoteClient pending_serialization_version = SER_FMT_VER_INVALID; m_nearest_unsent_d = 0; m_nearest_unsent_reset_timer = 0.0; + m_nothing_to_send_counter = 0; + m_nothing_to_send_pause_timer = 0; } ~RemoteClient() { @@ -285,7 +296,7 @@ class RemoteClient void PrintInfo(std::ostream &o) { o<<"RemoteClient "<