--- deliantra/server/include/client.h 2007/03/14 15:44:47 1.38 +++ deliantra/server/include/client.h 2007/03/15 03:30:37 1.39 @@ -226,6 +226,8 @@ int ACC (RW, rtt), ACC (RW, rttvar); /* round-trip time and -variance, if known */ int ACC (RW, max_rate); // max. # of bytes to send per tick + faceidx ACC (RW, scrub_idx); // which face to send next + int ACC (RW, bg_scrub); // how many ticks till the next background face send std::vector askface; // which faces have been requested by the client void do_destroy (); @@ -281,6 +283,8 @@ // called when the player has been moved MTH void floorbox_reset () { look_position = 0; floorbox_update (); } + MTH void tick (); // called every server tick to do housekeeping etc. + MTH static client *create (int fd, const char *peername); protected: