X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/2f593094f0c4f828fd81a3b052ee426135135694..5395af2c00ffe8b4a251932ea65bec2b4b185d8c:/robots/robots.h diff --git a/robots/robots.h b/robots/robots.h index eb93806a..edd37a92 100644 --- a/robots/robots.h +++ b/robots/robots.h @@ -1,4 +1,4 @@ -/* $NetBSD: robots.h,v 1.12 1999/09/12 09:02:22 jsm Exp $ */ +/* $NetBSD: robots.h,v 1.15 2002/01/31 17:35:52 christos Exp $ */ /* * Copyright (c) 1980, 1993 @@ -60,6 +60,7 @@ # define MAXLEVELS 4 # define MAXROBOTS (MAXLEVELS * 10) # define ROB_SCORE 10 +# undef S_BONUS # define S_BONUS (60 * ROB_SCORE) # define Y_SCORE 21 # define X_SCORE (X_FIELDSIZE + 9) @@ -109,9 +110,11 @@ extern bool Pattern_roll, Stand_still; extern char Cnt_move, Field[Y_FIELDSIZE][X_FIELDSIZE], Run_ch; extern const char *Next_move, *Move_list; -extern int Count, Level, Num_robots, Num_scrap, Num_scores, Score, +extern int Count, Level, Num_robots, Num_scrap, Num_scores, Start_level, Wait_bonus, Num_games; +extern u_int32_t Score; + extern COORD Max, Min, My_pos, Robots[], Scrap[]; extern jmp_buf End_move; @@ -122,6 +125,7 @@ extern jmp_buf End_move; void add_score __P((int)); bool another __P((void)); +char automove __P((void)); int cmp_sc __P((const void *, const void *)); bool do_move __P((int, int)); bool eaten __P((const COORD *)); @@ -142,4 +146,4 @@ void score __P((int)); void set_name __P((SCORE *)); void show_score __P((void)); int sign __P((int)); -char automove __P((void)); +void telmsg __P((int));