Thu Aug 24 20:58:22 PDT 2006 williamb at its.caltech.edu * Move newbie slot control to sysdef This patch moves control of the number of robots and players allowed in the newbie server, from the newbiedefs file, to sysdef. It also adds an improved tracking method of the number of in game robots. * sample_sysdef.in, data.h, data.c, sysdefaults.h: Adds MAX_NEWBIE_PLAYERS and MAX_NEWBIE_ROBOTS. * newbiedefs.h: Removes slot control defines. * newbie.c (totalRobots()): New function. Replaces nb_robots counter. checkmess(): Adds check against player and robot counts before starting/stopping bots. M ./Vanilla/docs/sample_sysdef.in +6 M ./Vanilla/include/data.h +2 M ./Vanilla/include/sysdefaults.h +5 M ./Vanilla/ntserv/data.c +2 M ./Vanilla/robots/newbie.c -8 +27 M ./Vanilla/robots/newbiedefs.h -5 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/x-darcs-patch Size: 25854 bytes Desc: A darcs patch for your repository! Url : http://mailman.us.netrek.org/pipermail/netrek-dev/attachments/20060824/98018d4d/attachment-0001.bin