summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBradley Smith2008-03-09 15:00:08 +0000
committerBradley Smith2008-03-09 15:00:08 +0000
commit76565841ac4c40ce7051f59080e3d7e1207998de (patch)
treed8d08607f6b31eb23b64f8b71ed1f880512d7648 /include
parentGot rid of unnecessary getopt. (diff)
downloadgnurobots-76565841ac4c40ce7051f59080e3d7e1207998de.tar.gz
Corrected all copyright headers, and misc cleanups.
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/Makefile.am2
-rw-r--r--include/api.h38
-rw-r--r--include/configs.h19
-rw-r--r--include/grobot.h19
-rw-r--r--include/main.h19
-rw-r--r--include/map.h2
-rw-r--r--include/sign.h2
-rw-r--r--include/userinterface.h38
8 files changed, 97 insertions, 42 deletions
diff --git a/include/Makefile.am b/include/Makefile.am
index bdd9f2d..5f57db1 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -1,3 +1,4 @@
+## Copyright (C) 2008 Bradley Smith <brad@brad-smith.co.uk>
##
## include/Makefile.am
##
@@ -14,7 +15,6 @@
## You should have received a copy of the GNU General Public License
## along with GNU Robots; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-##
EXTRA_DIST =\
api.h\
diff --git a/include/api.h b/include/api.h
index e04f27b..7ca15ad 100644
--- a/include/api.h
+++ b/include/api.h
@@ -1,22 +1,22 @@
-/* Robot API for the GNU Robots game */
-
-/* Copyright (C) 1998 Jim Hall, jhall1@isd.net */
-
-/*
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-*/
+/* Copyright (C) 1998 Jim Hall <jhall1@isd.net>
+ * Copyright (C) 2008 Bradley Smith <brad@brad-smith.co.uk>
+ *
+ * Robot API for the GNU Robots game
+ *
+ * GNU Robots is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * GNU Robots is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Robots; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
#ifndef _API_H
#define _API_H
diff --git a/include/configs.h b/include/configs.h
index 622548b..58330cd 100644
--- a/include/configs.h
+++ b/include/configs.h
@@ -1,3 +1,22 @@
+/* Copyright (C) 2008 Bradley Smith <brad@brad-smith.co.uk>
+ *
+ * GNU Robots Game.
+ *
+ * GNU Robots is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * GNU Robots is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Robots; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
#ifndef CONFIGS_H
#define CONFIGS_H
diff --git a/include/grobot.h b/include/grobot.h
index 1ef0031..5495e0c 100644
--- a/include/grobot.h
+++ b/include/grobot.h
@@ -1,3 +1,22 @@
+/* Copyright (C) 2008 Bradley Smith <brad@brad-smith.co.uk>
+ *
+ * Robot object for GNU Robots Game.
+ *
+ * GNU Robots is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * GNU Robots is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Robots; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
#ifndef _G_ROBOT_H
#define _G_ROBOT_H
/* MACROS */
diff --git a/include/main.h b/include/main.h
index d09ac65..4cbca0f 100644
--- a/include/main.h
+++ b/include/main.h
@@ -1,4 +1,21 @@
-/* Functions */
+/* Copyright (C) 2008 Bradley Smith <brad@brad-smith.co.uk>
+ *
+ * GNU Robots Game.
+ *
+ * GNU Robots is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * GNU Robots is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Robots; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
#include <glib.h>
#include <grobot.h>
diff --git a/include/map.h b/include/map.h
index 1526dd7..f8f8263 100644
--- a/include/map.h
+++ b/include/map.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007 Bradley Smith <brad@brad-smith.co.uk>
+/* Copyright (C) 2008 Bradley Smith <brad@brad-smith.co.uk>
*
* This file is part of GNU Robots.
*
diff --git a/include/sign.h b/include/sign.h
index f98c6c1..05fe87d 100644
--- a/include/sign.h
+++ b/include/sign.h
@@ -1,3 +1,5 @@
+/* This needs to go. */
+
#include <glib.h>
gint sign (gint n);
diff --git a/include/userinterface.h b/include/userinterface.h
index ba5ade9..691e847 100644
--- a/include/userinterface.h
+++ b/include/userinterface.h
@@ -1,23 +1,21 @@
-/* $Id: userinterface.h,v 1.7 2005/09/06 19:55:40 zeenix Exp $ */
-
-/* GNU Robots game engine. This is the header file for user_interface module */
-
-/* Copyright (C) 1998 Jim Hall, jhall1@isd.net */
-
-/*
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+/* Copyright (C) 1998 Jim Hall <jhall1@isd.net>
+ * Copyright (C) 2008 Bradley Smith <brad@brad-smith.co.uk>
+ *
+ * GNU Robots game engine. This is the header file for user_interface module
+ *
+ * GNU Robots is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * GNU Robots is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Robots; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef __USER_INTERFACE_H__