-noinst_HEADERS=ascii.h cio.h ct.h ezplot.h keyboard.h kmath.h kstddef.h pol.h sgp.h array2d.h imagefile.h backprojectors.h mpiworld.h byteorder.h phantom.h timer.h sstream scanner.h projections.h
+noinst_HEADERS=ct.h ezplot.h pol.h sgp.h array2d.h imagefile.h backprojectors.h mpiworld.h byteorder.h phantom.h timer.h sstream scanner.h projections.h ctsupport.h
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: array2d.h,v 1.4 2000/06/09 11:03:08 kevin Exp $
+** $Id: array2d.h,v 1.5 2000/06/19 19:04:05 kevin Exp $
** $Log: array2d.h,v $
+** Revision 1.5 2000/06/19 19:04:05 kevin
+** reorganized header files
+**
** Revision 1.4 2000/06/09 11:03:08 kevin
** Made ImageFile inherit from Array2dFile
**
#ifndef ARRAY2D_H
#define ARRAY2D_H
-#include <kstddef.h>
+#include "ctsupport.h"
+
template<class T>
class Array2d {
+++ /dev/null
-/*****************************************************************************
-** This is part of the CTSim program
-** Copyright (C) 1983-2000 Kevin Rosenberg
-**
-** $Id: ascii.h,v 1.2 2000/04/28 14:14:16 kevin Exp $
-** $Log: ascii.h,v $
-** Revision 1.2 2000/04/28 14:14:16 kevin
-** *** empty log message ***
-**
-**
-** This program is free software; you can redistribute it and/or modify
-** it under the terms of the GNU General Public License (version 2) as
-** published by the Free Software Foundation.
-**
-** 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-******************************************************************************/
-/******************************************************************************
- *
- * FILE IDENTIFICATION
- *
- * File Name: ASCII.H
- * Author: Kevin Rosenberg
- * Purpose: Header file with definitions for ASCII characrers
- * Date Started: Jan 84
- *
- * DESCRIPTION
- * Header file contains values for ASCII characters
- *
- * MODIFICATION LOG
- *
- *****************************************************************************/
-
-#ifndef ASCII_H
-#define ASCII_H
-
-#define BACKSPACE 8
-#define LF 0x0A
-#define CR 0x0D
-#define BELL 0x07
-
-#define SQUOTE '\''
-#define DQUOTE '\"'
-#define BSLASH '\\'
-#define BACKSLASH '\\'
-#define SHARP '#'
-#define SLASH '/'
-#define ASTERICK '*'
-#define COLON ':'
-#define LBRACE '{'
-#define RBRACE '}'
-#define LPAREN '('
-#define RPAREN ')'
-#define LBRACK '['
-#define RBRACK ']'
-#define LANBRACK '<'
-#define RANBRACK '>'
-#define SEMICOL ';'
-#define UNDERLIN '_'
-#define COMMA ','
-#define CARET '^'
-#define TILDE '~'
-#define ATSIGN '@'
-#define AMPERSAND '&'
-#define EXCLAM '!'
-#define DOLLAR '$'
-#define PERCENT '%'
-#define PLUS '+'
-#define HYPHEN '-'
-#define EQUALS '='
-#define QUESTION '?'
-#define PERIOD '.'
-#define VERTBAR '|'
-
-#endif /* #ifndef ASCII_H */
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: ct.h,v 1.18 2000/06/19 17:58:20 kevin Exp $
+** $Id: ct.h,v 1.19 2000/06/19 19:04:05 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
#include "mpiworld.h"
#endif
-#include "kstddef.h"
-#include "kmath.h"
-#include "keyboard.h"
-#include "cio.h"
+#include "ctsupport.h"
#include "byteorder.h"
#ifdef HAVE_SGP
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: ctsupport.h,v 1.1 2000/06/19 18:49:00 kevin Exp $
+** $Id: ctsupport.h,v 1.2 2000/06/19 19:04:05 kevin Exp $
**
**
** This program is free software; you can redistribute it and/or modify
#define KEY_RETURN 13
#define KEY_ESCAPE 27
-#endif
+// ASCII Section
+
+#define BACKSPACE 8
+#define LF 0x0A
+#define CR 0x0D
+#define BELL 0x07
+
+#define SQUOTE '\''
+#define DQUOTE '\"'
+#define BSLASH '\\'
+#define BACKSLASH '\\'
+#define SHARP '#'
+#define SLASH '/'
+#define ASTERICK '*'
+#define COLON ':'
+#define LBRACE '{'
+#define RBRACE '}'
+#define LPAREN '('
+#define RPAREN ')'
+#define LBRACK '['
+#define RBRACK ']'
+#define LANBRACK '<'
+#define RANBRACK '>'
+#define SEMICOL ';'
+#define UNDERLIN '_'
+#define COMMA ','
+#define CARET '^'
+#define TILDE '~'
+#define ATSIGN '@'
+#define AMPERSAND '&'
+#define EXCLAM '!'
+#define DOLLAR '$'
+#define PERCENT '%'
+#define PLUS '+'
+#define HYPHEN '-'
+#define EQUALS '='
+#define QUESTION '?'
+#define PERIOD '.'
+#define VERTBAR '|'
+
+#endif /* #ifndef ASCII_H */
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: ezplot.h,v 1.6 2000/06/18 10:27:11 kevin Exp $
+** $Id: ezplot.h,v 1.7 2000/06/19 19:04:05 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
#include <stdio.h>
#include <stddef.h>
-#include "kstddef.h"
#include <ctype.h>
-#include "sgp.h"
#include <math.h>
-#include "kmath.h"
-#include "cio.h"
+#include "ctsupport.h"
+#include "sgp.h"
#define MAXLABEL 40 /* maximum length of axis label */
#define MAXTITLE 40 /* maximum length of a title */
#define IDF_H
#include <string>
-#include "kstddef.h"
#include <sys/types.h>
#include <unistd.h>
-#include <array2d.h>
+#include "ctsupport.h"
+#include "array2d.h"
using namespace std;
+
class Array2dFileLabel
{
private:
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: sgp.h,v 1.9 2000/06/15 19:07:10 kevin Exp $
+** $Id: sgp.h,v 1.10 2000/06/19 19:04:05 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
#ifndef __H_SGP
#define __H_SGP
-#include "kstddef.h"
-#include "kmath.h"
-
#if HAVE_CONFIG_H
#include "config.h"
#endif
+#include "ctsupport.h"
+
#if HAVE_G2_H
extern "C" {
#include "g2.h"
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: circle.cpp,v 1.1 2000/06/19 18:05:03 kevin Exp $
+** $Id: circle.cpp,v 1.2 2000/06/19 19:04:05 kevin Exp $
** $Log: circle.cpp,v $
+** Revision 1.2 2000/06/19 19:04:05 kevin
+** reorganized header files
+**
** Revision 1.1 2000/06/19 18:05:03 kevin
** initial cvs import
**
*/
#include "math.h"
-#include "kmath.h"
+#include "ctsupport.h"
#include "sgp.h"
void
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: ctm.cpp,v 1.1 2000/06/19 18:05:03 kevin Exp $
-** $Log: ctm.cpp,v $
-** Revision 1.1 2000/06/19 18:05:03 kevin
-** initial cvs import
-**
-** Revision 1.1 2000/06/13 16:20:31 kevin
-** finished c++ conversions
-**
-** Revision 1.2 2000/05/11 14:07:23 kevin
-** Fixed compilation warnings
-**
-** Revision 1.1.1.1 2000/04/28 13:02:44 kevin
-** Initial CVS import for first public release
-**
-**
+** $Id: ctm.cpp,v 1.2 2000/06/19 19:04:05 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
* column
*---------------------------------------------------------------------------*/
-#include "kstddef.h"
+#include "ctsupport.h"
#include <math.h>
-#include "kmath.h"
#include "sgp.h"
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: drawbox.cpp,v 1.1 2000/06/19 18:05:03 kevin Exp $
-** $Log: drawbox.cpp,v $
-** Revision 1.1 2000/06/19 18:05:03 kevin
-** initial cvs import
-**
-** Revision 1.1 2000/06/13 16:20:31 kevin
-** finished c++ conversions
-**
-** Revision 1.3 2000/05/24 22:49:01 kevin
-** Updated SGP: first function X-windows version
-**
-** Revision 1.2 2000/05/11 14:07:23 kevin
-** Fixed compilation warnings
-**
-** Revision 1.1.1.1 2000/04/28 13:02:44 kevin
-** Initial CVS import for first public release
-**
-**
+** $Id: drawbox.cpp,v 1.2 2000/06/19 19:04:05 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: driver_x11.cpp,v 1.1 2000/06/19 18:05:03 kevin Exp $
+** $Id: driver_x11.cpp,v 1.2 2000/06/19 19:04:05 kevin Exp $
** $Log: driver_x11.cpp,v $
+** Revision 1.2 2000/06/19 19:04:05 kevin
+** reorganized header files
+**
** Revision 1.1 2000/06/19 18:05:03 kevin
** initial cvs import
**
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
-#include "kstddef.h"
+#include "ctsupport.h"
#include "sgp.h"
-#include "kmath.h"
-#include "cio.h"
#include <X11/Xlib.h>
#include <X11/Xutil.h>
/*****************************************************************************
+** FILE IDENTIFICATION
+**
+** EZPLOT
+**
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: ezplot.cpp,v 1.1 2000/06/19 18:05:03 kevin Exp $
+** $Id: ezplot.cpp,v 1.2 2000/06/19 19:04:05 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
** along with this program; if not, write to the Free Software
** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
******************************************************************************/
-/*----------------------------------------------------------------------*/
-/* EZPLOT */
-/*----------------------------------------------------------------------*/
#include "ezplot.h"
#include "algo.h"
+
static int plot (SGP_ID *gid);
static void drawaxis(void);
static void symbol (int sym, double symwidth, double symheight);
-
/*-------------------------------------*/
/* GLOBAL variables for EZPLOT & EZSET */
/*-------------------------------------*/
/*****************************************************************************
+** FILE IDENTIFICATION
+**
+** POL - Problem Oriented Language
+**
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: ezpol.cpp,v 1.1 2000/06/19 18:05:03 kevin Exp $
+** $Id: ezpol.cpp,v 1.2 2000/06/19 19:04:05 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
** along with this program; if not, write to the Free Software
** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
******************************************************************************/
-/*----------------------------------------------------------------------*/
-/* POL - Problem Oriented Language */
/* */
/*----------------------------------------------------------------------*/
#include <math.h>
-#include "ascii.h"
-#include "stdio.h"
-#include "kstddef.h"
-#include "ctype.h"
+#include <stdio.h>
+#include <ctype.h>
+#include "ctsupport.h"
#include "pol.h"
-#define HASHSIZE 20
-/* Tables words stored with install() & found with lookup() */
+static const int HASHSIZE=20;
+
+/* Tables words stored with install() & found with lookup() */
static SYMBOL *skiptable[HASHSIZE]; /* words to ignore and skip */
static SYMBOL *cmdtable[HASHSIZE]; /* pol parameter commands */
static SYMBOL *usertable[HASHSIZE]; /* user defined symbols */
/*****************************************************************************
+** FILE IDENTIFICATION
+**
+** EZSET - Parameter control for EZPLOT
+**
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: ezset.cpp,v 1.1 2000/06/19 18:05:03 kevin Exp $
+** $Id: ezset.cpp,v 1.2 2000/06/19 19:04:05 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
******************************************************************************/
/*----------------------------------------------------------------------*/
-/* EZSET - Parameter control for EZPLOT */
/* */
/*----------------------------------------------------------------------*/
+#include "ctsupport.h"
#include "ezplot.h"
#include "pol.h"
-#include "cio.h"
static int ezcmd (char *comm);
static int do_cmd(int lx);
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: ezsupport.cpp,v 1.1 2000/06/19 18:05:03 kevin Exp $
+** $Id: ezsupport.cpp,v 1.2 2000/06/19 19:04:05 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
#include <math.h>
#include <algorithm>
-#include "kstddef.h"
+#include "ctsupport.h"
#include "ezplot.h"
/*****************************************************************************
-** This is part of the CTSim program
-** Copyright (C) 1983-2000 Kevin Rosenberg
-**
-** $Id: sgp.cpp,v 1.1 2000/06/19 18:05:03 kevin Exp $
-** $Log: sgp.cpp,v $
-** Revision 1.1 2000/06/19 18:05:03 kevin
-** initial cvs import
-**
-** Revision 1.1 2000/06/13 16:20:31 kevin
-** finished c++ conversions
-**
-** Revision 1.4 2000/05/24 22:49:01 kevin
-** Updated SGP: first function X-windows version
-**
-** Revision 1.3 2000/05/11 14:07:23 kevin
-** Fixed compilation warnings
-**
-** Revision 1.2 2000/05/08 20:08:15 kevin
-** *** empty log message ***
+** FILE IDENTIFICATION
**
-** Revision 1.1.1.1 2000/04/28 13:02:44 kevin
-** Initial CVS import for first public release
+** Name: sgp.c Simple Graphics Package
+** Programmer: Kevin Rosenberg
**
+** This is part of the CTSim program
+** Copyright (C) 1983-2000 Kevin Rosenberg
**
+** $Id: sgp.cpp,v 1.2 2000/06/19 19:04:05 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
******************************************************************************/
-/*-----------------------------------------------------------------------------
- * FILE IDENTIFICATION
- *
- * Name: sgp.c Simple Graphics Package
- * Programmer: Kevin Rosenberg
- *
- *---------------------------------------------------------------------------*/
-
-#include "stdio.h"
-#include "kstddef.h"
-#include "math.h"
-#include "kmath.h"
+#include <stdio.h>
+#include <math.h>
+#include "ctsupport.h"
#include "sgp.h"
+
+
static SGP_ID _sgp2_cwin = NULL;
extern CHARSPEC cspec;
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: sgpdrive.cpp,v 1.2 2000/06/19 18:44:51 kevin Exp $
-** $Log: sgpdrive.cpp,v $
-** Revision 1.2 2000/06/19 18:44:51 kevin
-** *** empty log message ***
-**
-** Revision 1.1 2000/06/19 18:05:03 kevin
-** initial cvs import
-**
-** Revision 1.2 2000/06/15 19:07:10 kevin
-** *** empty log message ***
-**
-** Revision 1.1 2000/06/13 16:20:31 kevin
-** finished c++ conversions
-**
-** Revision 1.7 2000/06/03 06:29:22 kevin
-** Finished g2 conditional compilation
-**
-** Revision 1.6 2000/05/24 22:49:01 kevin
-** Updated SGP: first function X-windows version
-**
-** Revision 1.5 2000/05/11 14:07:23 kevin
-** Fixed compilation warnings
-**
-** Revision 1.4 2000/05/08 20:08:15 kevin
-** *** empty log message ***
-**
-** Revision 1.3 2000/04/28 18:35:23 kevin
-** removed unused files
-**
-** Revision 1.2 2000/04/28 13:50:45 kevin
-** Removed Makefile Makefile.in that are automatically generated by autoconf
-**
-** Revision 1.1.1.1 2000/04/28 13:02:44 kevin
-** Initial CVS import for first public release
-**
-**
+** $Id: sgpdrive.cpp,v 1.3 2000/06/19 19:04:05 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
** along with this program; if not, write to the Free Software
** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
******************************************************************************/
+
/* Device Driver for IBM PC Kevin Rosenberg March 84 */
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
-#include "kstddef.h"
+#include "ctsupport.h"
#include "sgp.h"
-#include "kmath.h"
-#include "cio.h"
+
static int init_prt(void);
static void term_prt(void);
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: sgptext.cpp,v 1.1 2000/06/19 18:05:03 kevin Exp $
-** $Log: sgptext.cpp,v $
-** Revision 1.1 2000/06/19 18:05:03 kevin
-** initial cvs import
-**
-** Revision 1.1 2000/06/13 16:20:31 kevin
-** finished c++ conversions
-**
-** Revision 1.2 2000/04/28 18:35:23 kevin
-** removed unused files
-**
-** Revision 1.1.1.1 2000/04/28 13:02:44 kevin
-** Initial CVS import for first public release
-**
-**
+** $Id: sgptext.cpp,v 1.2 2000/06/19 19:04:05 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
** along with this program; if not, write to the Free Software
** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
******************************************************************************/
+
/* FILE
* sgptext.c Text routines for graphics package
*/
-#include "kstddef.h"
-#include "sgp.h"
#include <stdio.h>
-#include "cio.h"
+#include "ctsupport.h"
+#include "sgp.h"
/* Pixel patterns of marker symbols (1x1 to 5x5 matrix) */
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: audio.cpp,v 1.1 2000/06/19 02:58:08 kevin Exp $
+** $Id: audio.cpp,v 1.2 2000/06/19 19:04:05 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
* beep()
*/
-#include "cio.h"
+#include "ctsupport.h"
void cio_beep (void)
{
* double length duration to play note in seconds
*/
-#include <stdio.h>
-#include "cio.h"
-
void
cio_tone (double freq, double length)
{
#include <unistd.h>
#endif
-#include "kstddef.h"
+#include "ctsupport.h"
#include "byteorder.h"
+
inline void
SwapBytes2 (void* buffer)
{
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: clip.cpp,v 1.1 2000/06/19 02:58:08 kevin Exp $
+** $Id: clip.cpp,v 1.2 2000/06/19 19:04:05 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
******************************************************************************/
-#include "kstddef.h"
-#include "kmath.h"
+#include "ctsupport.h"
/* NAME
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: consoleio.cpp,v 1.1 2000/06/19 02:58:08 kevin Exp $
+** $Id: consoleio.cpp,v 1.2 2000/06/19 19:04:05 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
#include <stdio.h>
#include <string.h>
-#include "cio.h"
-#include "kstddef.h"
-#include "cio.h"
-
+#include "ctsupport.h"
/* NAME
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: filefuncs.cpp,v 1.1 2000/06/19 02:58:08 kevin Exp $
+** $Id: filefuncs.cpp,v 1.2 2000/06/19 19:04:05 kevin Exp $
**
** Revision 1.1.1.1 2000/04/28 13:02:44 kevin
** Initial CVS import for first public release
#include <stdio.h>
#include <ctype.h>
#include <iostream>
-#include "kstddef.h"
-#include "cio.h"
-
+#include "ctsupport.h"
const char*
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: normangle.cpp,v 1.1 2000/06/19 02:58:08 kevin Exp $
+** $Id: normangle.cpp,v 1.2 2000/06/19 19:04:05 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
******************************************************************************/
-#include "kmath.h"
+#include "ctsupport.h"
/* NAME
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: simpson.cpp,v 1.1 2000/06/19 02:58:08 kevin Exp $
+** $Id: simpson.cpp,v 1.2 2000/06/19 19:04:05 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
******************************************************************************/
-#include "kmath.h"
+#include "ctsupport.h"
/* NAME
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: strfuncs.cpp,v 1.2 2000/06/19 18:16:44 kevin Exp $
+** $Id: strfuncs.cpp,v 1.3 2000/06/19 19:04:05 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
******************************************************************************/
#include <ctype.h>
-#include "kstddef.h"
+#include "ctsupport.h"
/* NAME
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: syserror.cpp,v 1.2 2000/06/19 17:58:20 kevin Exp $
+** $Id: syserror.cpp,v 1.3 2000/06/19 19:04:05 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
#include <stdexcept>
#include <stdarg.h>
#include <ctype.h>
-#include "kstddef.h"
-#include "cio.h"
+#include "ctsupport.h"
/* NAME
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: timedate.cpp,v 1.1 2000/06/19 02:58:08 kevin Exp $
-** $Log: timedate.cpp,v $
-** Revision 1.1 2000/06/19 02:58:08 kevin
-** *** empty log message ***
-**
-** Revision 1.1 2000/06/13 16:20:31 kevin
-** finished c++ conversions
-**
-** Revision 1.5 2000/06/05 01:33:11 kevin
-** *** empty log message ***
-**
-** Revision 1.4 2000/05/11 01:05:51 kevin
-** Changed sprintf to snprintf, changed index to strchr
-**
-** Revision 1.3 2000/04/28 18:00:55 kevin
-** remove unused files
-**
-** Revision 1.2 2000/04/28 17:38:26 kevin
-** Removed unused files
-**
-** Revision 1.1.1.1 2000/04/28 13:02:44 kevin
-** Initial CVS import for first public release
-**
-**
+** $Id: timedate.cpp,v 1.2 2000/06/19 19:04:05 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
/*----------------------------------------------------------------------*/
#include <stdio.h>
-#include "kstddef.h"
#include <time.h>
+#include "ctsupport.h"
+
/* NAME
* td_get_time Return time of day
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: xform.cpp,v 1.1 2000/06/19 02:58:08 kevin Exp $
+** $Id: xform.cpp,v 1.2 2000/06/19 19:04:05 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
******************************************************************************/
-#include "kmath.h"
+#include "ctsupport.h"
+
/* NAME
* rotate2d Rotates an array of 2 dimensional vectors