frontlib: Add/change comments to correspond to recent changes in QtFrontend and server
authorMedo <smaxein@googlemail.com>
Sun, 16 Sep 2012 17:42:48 +0200
changeset 7689 855eeee4166f
parent 7687 c73fd8cfa7c0
child 7691 55c0a856ecd0
frontlib: Add/change comments to correspond to recent changes in QtFrontend and server
project_files/frontlib/hwconsts.h
project_files/frontlib/net/netconn.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   */ \
--- 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);