NetHack Proxy Reference Manual |
---|
IntroductionIntroduction — Separating NetHack game servers from window interfaces |
#include <nhproxy/nhproxy.h> #define NHPROXY_MAJOR_VERSION #define NHPROXY_MINOR_VERSION #define NHPROXY_MICRO_VERSION #define NHPROXY_CHECK_VERSION (major, minor, micro) enum nhproxy_bool_t; void (*nhproxy_errhandler) (const char *error); nhproxy_errhandler nhproxy_set_errhandler (nhproxy_errhandler new); void nhproxy_error (const char *fmt, ...);
NetHack and its variants communicate with the user via windowing interfaces. These are designed to be modular so that different windowing interfaces can be included when building the game. This flexibility is required both because windowing interfaces are typically much less portable than the game (and thus will not normally support every platform that the games does) and because users have varying preferences as to the style of interface they prefer.
NetHack Proxy takes this abstraction one stage further by allowing the game and the windowing interface to run in seperate processes and even on seperate computers. This has a number of advantages:
nhproxy_errhandler nhproxy_set_errhandler (nhproxy_errhandler new);
new : | |
Returns : |
<< NetHack Proxy Reference Manual | Game Server Support >> |