diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/api.c | 5 | ||||
-rw-r--r-- | src/main.c | 4 |
2 files changed, 4 insertions, 5 deletions
@@ -136,7 +136,7 @@ api_robot_get_score (void) return (scm_long2num (score)); } -void +void api_init (void) { /* define some new builtins (hooks) so that they are available in @@ -149,7 +149,7 @@ api_init (void) scm_c_define_gsubr ("robot-look", 1, 0, 0, api_robot_look); scm_c_define_gsubr ("robot-grab", 0, 0, 0, api_robot_grab); scm_c_define_gsubr ("robot-zap", 0, 0, 0, api_robot_zap); - + scm_c_define_gsubr ("robot-get-shields", 0, 0, 0, api_robot_get_shields); scm_c_define_gsubr ("robot-get-energy", 0, 0, 0, api_robot_get_energy); scm_c_define_gsubr ("robot-get-score", 0, 0, 0, api_robot_get_score); @@ -157,4 +157,3 @@ api_init (void) scm_c_define_gsubr ("stop", 0, 0, 0, api_robot_stop); scm_c_define_gsubr ("quit", 0, 0, 0, api_robot_stop); } - @@ -1,7 +1,7 @@ /* $Id: main.c,v 1.28 2005/09/06 19:55:40 zeenix Exp $ */ /* - * GNU Robots game engine. This is the main() program, using GNU - * Guile as my backend to handle the language. + * GNU Robots game engine. This is the main() program, using GNU + * Guile as the backend to handle the language. * * Copyright (C) 1998 Jim Hall <jhall1@isd.net> * Copyright (C) 2008 Bradley Smith <brad@brad-smith.co.uk> |