# HG changeset patch # User Medo # Date 1347810168 -7200 # Node ID 855eeee4166fec85059d426273c7fbd04fa19f5f # Parent c73fd8cfa7c0543b4ce6fe57b836b89856056ca6 frontlib: Add/change comments to correspond to recent changes in QtFrontend and server diff -r c73fd8cfa7c0 -r 855eeee4166f project_files/frontlib/hwconsts.h --- a/project_files/frontlib/hwconsts.h Sun Sep 16 16:54:51 2012 +0200 +++ b/project_files/frontlib/hwconsts.h Sun Sep 16 17:42:48 2012 +0200 @@ -46,6 +46,7 @@ #define WEAPONS_COUNT 55 +// TODO allow frontend to override these? /* A merge of mikade/bugq colours w/ a bit of channel feedback */ #define HW_TEAMCOLOR_ARRAY { UINT32_C(0xffff0204), /* red */ \ UINT32_C(0xff4980c1), /* blue */ \ diff -r c73fd8cfa7c0 -r 855eeee4166f project_files/frontlib/net/netconn.h --- a/project_files/frontlib/net/netconn.h Sun Sep 16 16:54:51 2012 +0200 +++ b/project_files/frontlib/net/netconn.h Sun Sep 16 17:42:48 2012 +0200 @@ -205,7 +205,9 @@ int flib_netconn_send_createRoom(flib_netconn *conn, const char *room); /** - * Ban a player. You need to be in the lobby and a server admin for this to work. + * Ban a player. The scope of this ban depends on whether you are in a room or in the lobby. + * In a room, you need to be the room chief, and the ban will apply to the room only. In the + * lobby, you need to be server admin to ban someone, and the ban applies to the entire server. */ int flib_netconn_send_ban(flib_netconn *conn, const char *playerName);