From 92007999e5cb1dcb001028d3e74db83267975c8b Mon Sep 17 00:00:00 2001 From: Bradley Smith Date: Mon, 21 Jan 2008 17:30:17 +0000 Subject: Reformatted src/api.c. Signed-off-by: Bradley Smith --- src/api.c | 5 ++--- src/main.c | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/api.c b/src/api.c index 2fec42d..bb57b7e 100644 --- a/src/api.c +++ b/src/api.c @@ -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); } - diff --git a/src/main.c b/src/main.c index d88a927..8c2d683 100644 --- a/src/main.c +++ b/src/main.c @@ -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 * Copyright (C) 2008 Bradley Smith -- cgit v1.1