From 3472ce483ec0fb16c1792c902d557c7191c65f00 Mon Sep 17 00:00:00 2001
From: slevy <slevy>
Date: Wed, 17 Apr 2002 20:47:58 +0000
Subject: [PATCH] Add a not-quite-proprietary notice to all source files. Once
 we pick a license this might change, but in the mean time, at least the NCSA
 UIUC origin is noted.

---
 src/Fl_Log_Slider.H  |  4 ++++
 src/Gview.H          |  5 ++++-
 src/Gview.cc         |  6 ++++++
 src/Hist.H           |  6 ++++++
 src/Hist.cc          |  6 ++++++
 src/Plot.H           |  6 ++++--
 src/Plot.cc          |  6 ++++++
 src/async.c          |  7 +++++++
 src/cat_model.cc     |  9 +++++++++
 src/cat_model.h      |  8 ++++++++
 src/cat_modelutil.cc |  7 +++++++
 src/cat_modelutil.h  |  7 +++++++
 src/elumens.cc       |  8 ++++++++
 src/findfile.c       |  8 ++++++++
 src/findfile.h       |  9 ++++++---
 src/futil.c          |  8 ++++++++
 src/futil.h          |  6 ++++++
 src/geometry.c       |  8 ++++++++
 src/geometry.h       |  7 +++++++
 src/kira_parti.cc    | 13 +++++++++++++
 src/kira_parti.h     |  7 +++++++
 src/mgtexture.c      |  7 +++++++
 src/nethack.cc       |  9 +++++++++
 src/nethack.h        |  8 ++++++++
 src/notify.c         |  9 +++++++++
 src/notify.h         |  8 ++++++++
 src/parti_ieee.cc    |  8 ++++++++
 src/parti_model.cc   | 10 ++++++++--
 src/partibrains.c    | 13 +++++++++++++
 src/partiview.H      |  7 +++++++
 src/partiview.cc     |  7 +++++++
 src/partiviewc.cc    |  6 ++++++
 src/partiviewc.h     |  7 ++++++-
 src/plugins.c        |  6 ++++++
 src/sclock.c         |  7 +++++++
 src/sclock.h         |  6 ++++++
 src/sfont.c          |  6 ++++++
 src/sfont.h          |  6 ++++++
 src/shmem.c          |  6 ++++++
 src/shmem.h          |  6 ++++++
 src/specks.h         |  6 ++++++
 src/stardef.h        |  7 +++++++
 src/textures.c       |  6 ++++++
 src/textures.h       |  6 ++++++
 src/warp.c           |  7 +++++++
 src/winjunk.c        |  6 ++++++
 src/winjunk.h        |  6 ++++++
 47 files changed, 328 insertions(+), 9 deletions(-)

diff --git a/src/Fl_Log_Slider.H b/src/Fl_Log_Slider.H
index 0b3b427..25a74a9 100644
--- a/src/Fl_Log_Slider.H
+++ b/src/Fl_Log_Slider.H
@@ -23,6 +23,10 @@
 // Please report all bugs and problems to "fltk-bugs@fltk.org".
 //
 
+// Adapted to make a logarithmic slider
+// by Stuart Levy, slevy@ncsa.uiuc.edu,
+// University of Illinois 2001
+
 #ifndef Fl_Log_Slider_H
 #define Fl_Log_Slider_H
 
diff --git a/src/Gview.H b/src/Gview.H
index 5b67514..b5b421d 100644
--- a/src/Gview.H
+++ b/src/Gview.H
@@ -2,7 +2,10 @@
 #define _GVIEW_H
 /*
  * Somewhat geomview-style OpenGL viewer for FLTK
- * This is analogous to vtk's RenderWindowInteractor
+ * Analogous to vtk's RenderWindowInteractor.
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
  */
 
 #include <GL/gl.h>	/* for GLuint */
diff --git a/src/Gview.cc b/src/Gview.cc
index f025463..6c8b53a 100644
--- a/src/Gview.cc
+++ b/src/Gview.cc
@@ -1,3 +1,9 @@
+/*
+ * Geomview-style 3-D view widget for FLTK.
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
 #include <stdio.h>
 #include <stdlib.h>
 #include <math.h>
diff --git a/src/Hist.H b/src/Hist.H
index 6516bc0..10757e7 100644
--- a/src/Hist.H
+++ b/src/Hist.H
@@ -1,5 +1,11 @@
 #ifndef HIST_H
 #define HIST_H
+/*
+ * FLTK History widget: list browser plus command input box.
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
 
 #include <FL/Fl_Input.H>
 #include <FL/Fl_Browser.H>
diff --git a/src/Hist.cc b/src/Hist.cc
index 71e2f74..1c1aca4 100644
--- a/src/Hist.cc
+++ b/src/Hist.cc
@@ -1,6 +1,12 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+/*
+ * FLTK History widget: list browser plus command input box.
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
 
 #if unix /* but not WIN32 */
 # include <alloca.h>
diff --git a/src/Plot.H b/src/Plot.H
index 86cef4f..8018e76 100644
--- a/src/Plot.H
+++ b/src/Plot.H
@@ -1,8 +1,10 @@
 #ifndef _PLOT_H
 #define _PLOT_H
 /*
- * Somewhat geomview-style OpenGL viewer for FLTK
- * This is analogous to vtk's RenderWindowInteractor
+ * FLTK OpenGL 2-D plot widget.
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
  */
 
 #include <GL/gl.h>	/* for GLuint */
diff --git a/src/Plot.cc b/src/Plot.cc
index bc18a89..d54e47e 100644
--- a/src/Plot.cc
+++ b/src/Plot.cc
@@ -1,6 +1,12 @@
 #ifdef WIN32
 # include "winjunk.h"
 #endif
+/*
+ * FLTK OpenGL 2-D plot widget.
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
 
 #if unix
 # include "FL/x.H"
diff --git a/src/async.c b/src/async.c
index db2b4b5..c9b17e2 100644
--- a/src/async.c
+++ b/src/async.c
@@ -1,5 +1,12 @@
 #include <stdio.h>
 #include <stdlib.h>
+/*
+ * Async communication with external modules (subprocesses) for partiview.
+ *
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
 
 #ifdef WIN32
 # include "winjunk.h"
diff --git a/src/cat_model.cc b/src/cat_model.cc
index 2092e16..71d4c2e 100644
--- a/src/cat_model.cc
+++ b/src/cat_model.cc
@@ -1,5 +1,14 @@
 #ifdef USE_MODEL
 
+/*
+ * Read and display 3-D models from .obj/.ma files
+ * (wavefront .obj geometry, Maya 2.x/3.x .ma Maya ASCII material properties).
+ *
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
diff --git a/src/cat_model.h b/src/cat_model.h
index ed61649..c36be19 100644
--- a/src/cat_model.h
+++ b/src/cat_model.h
@@ -1,5 +1,13 @@
 #ifndef CAT_MODEL_H
 #define CAT_MODEL_H
+/*
+ * Read and display 3-D models from .obj/.ma files
+ * (wavefront .obj geometry, Maya 2.x/3.x .ma Maya ASCII material properties).
+ *
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
 
 	/*
 	 * Library of renderable 3-D models,
diff --git a/src/cat_modelutil.cc b/src/cat_modelutil.cc
index 7bf9979..07d6838 100644
--- a/src/cat_modelutil.cc
+++ b/src/cat_modelutil.cc
@@ -1,4 +1,11 @@
 #ifdef USE_MODEL
+/*
+ * Utility functions for cat_model.
+ *
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
 
 #include <stdlib.h>
 #include "cat_modelutil.h"
diff --git a/src/cat_modelutil.h b/src/cat_modelutil.h
index c07c36c..b1973fa 100644
--- a/src/cat_modelutil.h
+++ b/src/cat_modelutil.h
@@ -1,5 +1,12 @@
 #ifndef CAT_MODELUTIL_H
 #define CAT_MODELUTIL_H
+/*
+ * Utility functions for cat_model.
+ *
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
 
 #include "shmem.h"
 
diff --git a/src/elumens.cc b/src/elumens.cc
index e3f728a..80fa5c2 100644
--- a/src/elumens.cc
+++ b/src/elumens.cc
@@ -1,5 +1,13 @@
 #ifdef USE_ELUMENS
 
+/*
+ * Elumens spiClops immersive display support for partiview.
+ *
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
+
 #ifdef WIN32
 # include "winjunk.h"
 #endif
diff --git a/src/findfile.c b/src/findfile.c
index 971afad..27dabc1 100644
--- a/src/findfile.c
+++ b/src/findfile.c
@@ -12,6 +12,14 @@ static char *copyright = "Copyright (C) 1992 The Geometry Center";
 
 /* $Header$ */
 
+/*
+ * Utility functions: file search path; command tokenizing.
+ * Adapted for partiview by...
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
+
 #include <stdio.h>
 #include <string.h>
 
diff --git a/src/findfile.h b/src/findfile.h
index e5275da..1698b5d 100644
--- a/src/findfile.h
+++ b/src/findfile.h
@@ -1,5 +1,11 @@
 #ifndef _FINDFILE_H
 #define _FINDFILE_H
+/*
+ * Some file and command utilities for partiview, adapted from geomview.
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
 
 #ifdef __cplusplus
 extern "C" {
@@ -9,9 +15,6 @@ extern char **getfiledirs(void);
 extern char *findfile( char *superfile, char *fname );
 extern void filedirs( char **dirs );
 
-extern int fgetns(FILE *, int nshort, short *sp, int binary);
-extern int fgetni(FILE *, int nint, int *ip, int binary);
-
 extern char *envexpand(char *str);
 
 extern int tokenize(char *str, char *tbuf, int maxargs, char **argv, char **commentp);
diff --git a/src/futil.c b/src/futil.c
index 05d5300..7054884 100644
--- a/src/futil.c
+++ b/src/futil.c
@@ -12,6 +12,14 @@ static char *copyright = "Copyright (C) 1992 The Geometry Center";
 
 /* $Header$ */
 
+/*
+ * File I/O functions.
+ * Adapted for partiview by ...
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
+
 /*
  * Geometry object routines
  *
diff --git a/src/futil.h b/src/futil.h
index ebbbfe8..b1f495a 100644
--- a/src/futil.h
+++ b/src/futil.h
@@ -1,5 +1,11 @@
 #ifndef _FUTIL_H
 #define _FUTIL_H
+/*
+ * File I/O utilities for partiview, adapted from geomview.
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
 
 #ifdef __cplusplus
 extern "C" {
diff --git a/src/geometry.c b/src/geometry.c
index db895b4..896f353 100644
--- a/src/geometry.c
+++ b/src/geometry.c
@@ -1,3 +1,11 @@
+/*
+ * 3-D geometry (matrix, vector, quaternion) functions for partiview.
+ *
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
+
 #include <stdlib.h>
 #include <math.h>
 #include <stdio.h>
diff --git a/src/geometry.h b/src/geometry.h
index ae787a1..2c025b3 100644
--- a/src/geometry.h
+++ b/src/geometry.h
@@ -1,5 +1,12 @@
 #ifndef GEOMETRY_H
 #define GEOMETRY_H
+/*
+ * 3-D geometry (matrix, vector, quaternion) functions for partiview.
+ *
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
 
 #ifdef __cplusplus
 extern "C" {
diff --git a/src/kira_parti.cc b/src/kira_parti.cc
index 00cb3a1..0a1167b 100644
--- a/src/kira_parti.cc
+++ b/src/kira_parti.cc
@@ -1,5 +1,18 @@
+/*
+ * Interface to Kira Starlab (www.manybody.org) library for partiview.
+ *
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
+
 /* 
  * $Log$
+ * Revision 1.44  2002/04/17 20:47:58  slevy
+ * Add a not-quite-proprietary notice to all source files.
+ * Once we pick a license this might change, but
+ * in the mean time, at least the NCSA UIUC origin is noted.
+ *
  * Revision 1.43  2002/03/11 22:28:21  slevy
  * Allow -DUSE_PLOT=0 to disable FLTK H-R plot widget.
  *
diff --git a/src/kira_parti.h b/src/kira_parti.h
index 428d5cd..cd0e872 100644
--- a/src/kira_parti.h
+++ b/src/kira_parti.h
@@ -1,4 +1,11 @@
 #ifdef USE_KIRA
+/*
+ * Interface to Kira Starlab (www.manybody.org) library for partiview.
+ *
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
 
 #if __cplusplus
 extern "C" {
diff --git a/src/mgtexture.c b/src/mgtexture.c
index f1bea33..e762d49 100644
--- a/src/mgtexture.c
+++ b/src/mgtexture.c
@@ -10,6 +10,13 @@ static char copyright[] = "Copyright (C) 1992 The Geometry Center";
 
 /* Authors: Charlie Gunn, Stuart Levy, Tamara Munzner, Mark Phillips */
 
+/*
+ * Texture library, adapted for partiview by...
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
+
 #include <ctype.h>
 #undef isalnum		/* Hacks for Irix 6.5.x */
 #undef isspace
diff --git a/src/nethack.cc b/src/nethack.cc
index b221943..9d9810b 100644
--- a/src/nethack.cc
+++ b/src/nethack.cc
@@ -2,6 +2,15 @@
 void nethack_init() { }
 #else /* do USE_NETHACK */
 
+/*
+ * Tacky code for over-the-network control of partiview.
+ * Use multi- or unicast UDP.
+ *
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
diff --git a/src/nethack.h b/src/nethack.h
index 979a1a9..f169f60 100644
--- a/src/nethack.h
+++ b/src/nethack.h
@@ -1,6 +1,14 @@
 #ifndef NETHACK_H
 #define NETHACK_H
 
+/*
+ * Over-the-network control of partiview.
+ *
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
+
 extern void nethack_init();
 extern int net_parse_args( struct stuff **, int argc, char *argv[], void * );
 
diff --git a/src/notify.c b/src/notify.c
index 39d5d76..87d9a95 100644
--- a/src/notify.c
+++ b/src/notify.c
@@ -1,3 +1,12 @@
+/*
+ * Keep notification lists so dependents can register to be
+ * told when something changes.
+ *
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
+
 #include <stdio.h>
 #include <stdlib.h>
 #include "shmem.h"
diff --git a/src/notify.h b/src/notify.h
index da1e1d4..5a3e141 100644
--- a/src/notify.h
+++ b/src/notify.h
@@ -1,5 +1,13 @@
 #ifndef NOTIFY_H
 #define NOTIFY_H
+/*
+ * Keep notification lists so dependents can register to be
+ * told when something changes.
+ *
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
 
 #ifdef __cplusplus
 extern "C" {
diff --git a/src/parti_ieee.cc b/src/parti_ieee.cc
index fad89bd..4dbe2b9 100755
--- a/src/parti_ieee.cc
+++ b/src/parti_ieee.cc
@@ -1,5 +1,13 @@
 #ifdef USE_IEEEIO
 
+/*
+ * Reader for John Shalf's FlexIO data for partiview.
+ *
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <IEEEIO.hh>
diff --git a/src/parti_model.cc b/src/parti_model.cc
index 306b8db..d67fc63 100644
--- a/src/parti_model.cc
+++ b/src/parti_model.cc
@@ -1,7 +1,13 @@
 #ifdef USE_MODEL
 
-/*#include "Gview.H"*/
-/*#include "partiview.H"*/
+/*
+ * Interface to cat_model code for partiview.
+ *
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
+
 #include <string.h>
 #include <stdlib.h>
 
diff --git a/src/partibrains.c b/src/partibrains.c
index e950c35..b727e25 100644
--- a/src/partibrains.c
+++ b/src/partibrains.c
@@ -1,6 +1,19 @@
 static char local_id[] = "$Id$";
+
+/*
+ * Brains of partiview: carrying and displaying data, parsing commands.
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
+
 /*
  * $Log$
+ * Revision 1.83  2002/04/17 20:47:58  slevy
+ * Add a not-quite-proprietary notice to all source files.
+ * Once we pick a license this might change, but
+ * in the mean time, at least the NCSA UIUC origin is noted.
+ *
  * Revision 1.82  2002/04/16 18:40:26  slevy
  * Move tokenize() and rejoinargs() into findfile.c,
  * and out of this overstuffed piece of junk.
diff --git a/src/partiview.H b/src/partiview.H
index 3b963be..3971002 100644
--- a/src/partiview.H
+++ b/src/partiview.H
@@ -1,6 +1,13 @@
 #ifndef _PARTIVIEW_H
 #define _PARTIVIEW_H
 
+/*
+ * User-interface-related data for partiview, using FLTK.
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
+
 #ifdef WIN32
 # include <windows.h>
 #endif
diff --git a/src/partiview.cc b/src/partiview.cc
index 5f6c307..a94f1ba 100644
--- a/src/partiview.cc
+++ b/src/partiview.cc
@@ -1,3 +1,10 @@
+/*
+ * Main program for FLTK-based partiview.
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
+
 #include <stdio.h>
 #include <stdlib.h>
 
diff --git a/src/partiviewc.cc b/src/partiviewc.cc
index 16cd973..c56b315 100644
--- a/src/partiviewc.cc
+++ b/src/partiviewc.cc
@@ -1,3 +1,9 @@
+/*
+ * UI-related glue functions for partiview.
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
 #include <stdio.h>
 #include <stdlib.h>
 
diff --git a/src/partiviewc.h b/src/partiviewc.h
index 2e7c902..cfb6718 100644
--- a/src/partiviewc.h
+++ b/src/partiviewc.h
@@ -1,6 +1,11 @@
 #ifndef _PARTIVIEW_C_H
 #define _PARTIVIEW_C_H
-
+/*
+ * UI-related glue functions for partiview.
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
 
 #ifdef __cplusplus
 extern "C" {
diff --git a/src/plugins.c b/src/plugins.c
index 0181d3a..104bdd4 100644
--- a/src/plugins.c
+++ b/src/plugins.c
@@ -1,3 +1,9 @@
+/*
+ * Statically-compiled "plugin" initialization for partiview.
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
 extern void kira_parti_init(void);
 extern void warp_init(void);
 extern void parti_ieee_init(void);
diff --git a/src/sclock.c b/src/sclock.c
index f7ea946..cff1a3b 100644
--- a/src/sclock.c
+++ b/src/sclock.c
@@ -1,3 +1,10 @@
+/*
+ * Clocks, real-time and otherwise.
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
+
 #if WIN32
 # include <sys/timeb.h>
 # include <memory.h>
diff --git a/src/sclock.h b/src/sclock.h
index 9a362d7..7cb87ab 100644
--- a/src/sclock.h
+++ b/src/sclock.h
@@ -1,5 +1,11 @@
 #ifndef SCLOCK_H
 #define SCLOCK_H
+/*
+ * Clocks, real-time and otherwise.
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
 
 #include "notify.h"
 
diff --git a/src/sfont.c b/src/sfont.c
index 0fd9099..b2184cb 100644
--- a/src/sfont.c
+++ b/src/sfont.c
@@ -1,3 +1,9 @@
+/*
+ * Hershey vector fonts.
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
 #include <stdio.h>
 #include <math.h>
 
diff --git a/src/sfont.h b/src/sfont.h
index e84037e..3f989dc 100644
--- a/src/sfont.h
+++ b/src/sfont.h
@@ -1,5 +1,11 @@
 #ifndef SFONT_H
 #define SFONT_H
+/*
+ * Hershey vector fonts.
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
 
 #include "geometry.h"	/* for Point, CONST, COUNT() */
 
diff --git a/src/shmem.c b/src/shmem.c
index 29c5b06..928d92c 100644
--- a/src/shmem.c
+++ b/src/shmem.c
@@ -1,3 +1,9 @@
+/*
+ * Memory allocation.
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
diff --git a/src/shmem.h b/src/shmem.h
index cf4e0a9..a639e69 100644
--- a/src/shmem.h
+++ b/src/shmem.h
@@ -1,5 +1,11 @@
 #ifndef _SHMEM_H
 #define _SHMEM_H
+/*
+ * Memory allocation.
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
 
 #ifdef __cplusplus
 extern "C" {
diff --git a/src/specks.h b/src/specks.h
index 0331b98..7d9787f 100644
--- a/src/specks.h
+++ b/src/specks.h
@@ -1,5 +1,11 @@
 #ifndef SPECKS_H
 #define	SPECKS_H
+/*
+ * Brains of partiview: core functions and data.
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
 
 #ifdef __cplusplus
 extern "C" {
diff --git a/src/stardef.h b/src/stardef.h
index 5f754a7..59fe715 100644
--- a/src/stardef.h
+++ b/src/stardef.h
@@ -1,3 +1,10 @@
+/*
+ * Particle format for "sdb" data: Loren Carpenter's Star Renderer.
+ * Used in partiview.
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
 typedef enum {ST_POINT, ST_BRIGHT_CLOUD ,ST_DARK_CLOUD, ST_BOTH_CLOUD, ST_SPIKE, ST_OFF} stype;
 
 #define IS_POINT(t)  ((1<<(t)) & ((1<<ST_POINT) | (1<<ST_SPIKE)))
diff --git a/src/textures.c b/src/textures.c
index 44430fc..13096c6 100644
--- a/src/textures.c
+++ b/src/textures.c
@@ -1,3 +1,9 @@
+/*
+ * OpenGL texture (etc.) handling.
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
 #include <stdlib.h>
 #include <stdio.h>
 #ifdef WIN32
diff --git a/src/textures.h b/src/textures.h
index 77aca50..68543b1 100644
--- a/src/textures.h
+++ b/src/textures.h
@@ -1,5 +1,11 @@
 #ifndef _TEXTURES_H
 #define _TEXTURES_H
+/*
+ * OpenGL texture (etc.) handling.
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
 
 #include "geometry.h"
 
diff --git a/src/warp.c b/src/warp.c
index 53bb107..5c13d55 100644
--- a/src/warp.c
+++ b/src/warp.c
@@ -1,4 +1,11 @@
 #ifdef USE_WARP
+/*
+ * Time-dependent warp of a particle field,
+ * for fake differentially-rotating galaxies.
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
 
 #ifdef WIN32
 # include "winjunk.h"
diff --git a/src/winjunk.c b/src/winjunk.c
index 75c0b8d..eb86366 100644
--- a/src/winjunk.c
+++ b/src/winjunk.c
@@ -1,4 +1,10 @@
 #ifdef WIN32
+/*
+ * Assorted functions needed for Windows port.
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
 
 #include <stdio.h>
 #include <stdlib.h>
diff --git a/src/winjunk.h b/src/winjunk.h
index 8ceba9c..bb7cf49 100644
--- a/src/winjunk.h
+++ b/src/winjunk.h
@@ -1,4 +1,10 @@
 #ifdef WIN32
+/*
+ * Assorted functions needed for Windows port.
+ * Stuart Levy, slevy@ncsa.uiuc.edu
+ * National Center for Supercomputing Applications,
+ * University of Illinois 2001.
+ */
 
 #define  htonl  htonl_hosed_by_win32
 #define  ntohl  ntohl_hosed_by_win32
-- 
GitLab