From b025e7ba9ade5c522bc01c4b46247263ba27935f Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 26 Dec 2012 13:05:24 +0900 Subject: [PATCH] Make sure all source files in qflight have (C) headers. --- tools/qflight/include/noise.h | 29 +++++++++++++++++++++++++++++ tools/qflight/include/properties.h | 29 +++++++++++++++++++++++++++++ tools/qflight/source/noise.c | 29 +++++++++++++++++++++++++++++ tools/qflight/source/properties.c | 10 +++++----- tools/qflight/source/qflight.c | 2 +- 5 files changed, 93 insertions(+), 6 deletions(-) diff --git a/tools/qflight/include/noise.h b/tools/qflight/include/noise.h index 1a925b0f1..b615a8c0a 100644 --- a/tools/qflight/include/noise.h +++ b/tools/qflight/include/noise.h @@ -1,3 +1,32 @@ +/* + noise.h + + 3d noise functions. + + Copyright (C) 2000 Seth Galbraith + + Author: Seth Galbraith + Date: 2000/11/23 + + 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: + + Free Software Foundation, Inc. + 59 Temple Place - Suite 330 + Boston, MA 02111-1307, USA + +*/ float noise3d (vec3_t v, int num); float noiseXYZ (float x, float y, float z, int num); float noise_scaled (vec3_t v, float s, int num); diff --git a/tools/qflight/include/properties.h b/tools/qflight/include/properties.h index 398b398a4..9b144265f 100644 --- a/tools/qflight/include/properties.h +++ b/tools/qflight/include/properties.h @@ -1,3 +1,32 @@ +/* + properties.c + + Light properties handling. + + Copyright (C) 2004 Bill Currie + + Author: Bill Currie + Date: 2004/01/27 + + 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: + + Free Software Foundation, Inc. + 59 Temple Place - Suite 330 + Boston, MA 02111-1307, USA + +*/ float parse_float (const char *str); void parse_color (const char *str, vec3_t color); float parse_light (const char *str, vec3_t color); diff --git a/tools/qflight/source/noise.c b/tools/qflight/source/noise.c index df234e6eb..8d8a87758 100644 --- a/tools/qflight/source/noise.c +++ b/tools/qflight/source/noise.c @@ -1,3 +1,32 @@ +/* + noise.c + + 3d noise functions. + + Copyright (C) 2000 Seth Galbraith + + Author: Seth Galbraith + Date: 2000/11/23 + + 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: + + Free Software Foundation, Inc. + 59 Temple Place - Suite 330 + Boston, MA 02111-1307, USA + +*/ #ifdef HAVE_CONFIG_H # include "config.h" #endif diff --git a/tools/qflight/source/properties.c b/tools/qflight/source/properties.c index 90eb8c338..cdb8402ac 100644 --- a/tools/qflight/source/properties.c +++ b/tools/qflight/source/properties.c @@ -1,12 +1,12 @@ /* - #FILENAME# + properties.c - #DESCRIPTION# + Light properties handling. - Copyright (C) 2004 #AUTHOR# + Copyright (C) 2004 Bill Currie - Author: #AUTHOR# - Date: #DATE# + Author: Bill Currie + Date: 2004/01/27 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/tools/qflight/source/qflight.c b/tools/qflight/source/qflight.c index a32f03772..9e206e515 100644 --- a/tools/qflight/source/qflight.c +++ b/tools/qflight/source/qflight.c @@ -1,5 +1,5 @@ /* - trace.c + qflight.c (description)