2
* include/robot_newbie.h
4
* This is the header file for robot/robot_newbie.c
10
#define ROBOT_NEWBIE_H
12
#include "robot_functions.h"
16
/* This is RobotServ's heartbeat - used by checkmess() */
19
/* Here are some names */
20
char* mastername = "RobotServ";
21
static char* team_s[4] = { "Federation", "Romulan", "Klingon", "Orion" };
24
static char* adj_s[NUMADJ] = {
25
"VICIOUS", "RUTHLESS", "IRONFISTED", "RELENTLESS",
26
"MERCILESS", "UNFLINCHING", "FEARLESS", "BLOODTHIRSTY",
27
"FURIOUS", "DESPERATE", "FRENZIED", "RABID"
31
static char* names[NUMNAMES] = {
32
"Annihilator", "Banisher", "Blaster",
33
"Demolisher", "Destroyer", "Eliminator",
34
"Eradicator", "Exiler", "Obliterator",
35
"Razer", "Demoralizer", "Smasher",
36
"Shredder", "Vanquisher", "Wrecker",
37
"Ravager", "Despoiler", "Abolisher",
38
"Emasculator", "Decimator"
42
/* System dependend setups */
43
#define MIN_NUM_PLAYERS (MAXPLAYER - 1) /* How many players to maintain. */
44
#define OROBOT ROBODIR("/robot")
47
#define REMOTEHOST "localhost"
48
#define TREKSERVER "localhost"
52
#define HOWOFTEN 1 /*Robot moves every HOWOFTEN cycles*/
53
#define PERSEC (1000000/UPDATE/HOWOFTEN) /* # of robo calls per second*/
54
#define ROBOCHECK (10*PERSEC) /* start or stop a robot */
55
#define SENDINFO (120*PERSEC) /* send info to all */
58
* Strange #defines from Vanilla needed to make RobotServ work -- they should
59
* be replaced with the Paradise equivalent when there is time
61
#define MZERO(b1,l) bzero(b1,l)
62
#define WAIT3(x,y,z) waitpid(-1, x, y )
64
#endif /* #ifndef ROBOT_NEWBIE_H */
67
/* end include/robot_newbie.h */