aboutsummaryrefslogtreecommitdiff
path: root/scaf/include
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-12-15 07:26:47 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-12-15 07:26:47 +0000
commit37b6643df2df7d784a31ca73f7bb90dc109c2401 (patch)
treea8664e5adcfcb60cae136063d627549ecb76619b /scaf/include
parentc50ce0e0217ea07e2d450add2ab29cecea66fa96 (diff)
removing PDP source (except debian files) before import of PDP 0.12.4
svn path=/trunk/externals/pdp/; revision=4217
Diffstat (limited to 'scaf/include')
-rw-r--r--scaf/include/Makefile6
-rw-r--r--scaf/include/pdp_ca.h72
2 files changed, 0 insertions, 78 deletions
diff --git a/scaf/include/Makefile b/scaf/include/Makefile
deleted file mode 100644
index 1aba02c..0000000
--- a/scaf/include/Makefile
+++ /dev/null
@@ -1,6 +0,0 @@
-current:
-
-
-clean:
- rm -f *~
-
diff --git a/scaf/include/pdp_ca.h b/scaf/include/pdp_ca.h
deleted file mode 100644
index 5bcdf65..0000000
--- a/scaf/include/pdp_ca.h
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
- * Cellular Automata Extension Module for pdp - Main header file
- * Copyright (c) by Tom Schouten <pdp@zzz.kotnet.org>
- *
- * 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.
- *
- */
-
-#ifndef PDP_CA_H
-#define PDP_CA_H
-
-#include "pdp.h"
-
-
-
-/* 2D CA DATA PACKET */
-typedef struct
-{
- unsigned int encoding; /* CA data format */
- unsigned int width; /* CA width (in 1 bit cells) */
- unsigned int height; /* CA height (in 1 bit cells) */
- unsigned int offset; /* bit offset of upper left corner */
- unsigned int currow; /* current row to compute for 1D CA */
-
-} t_ca;
-
-/* CA encodings */
-#define PDP_CA_STANDARD 1 /* rectangular CA */
-
-/* pdp data packet types */
-#define PDP_CA 2 /* 1bit toroidial shifted scanline encoded cellular automaton */
-
-
-/* all symbols are C-style */
-#ifdef __cplusplus
-extern "C"
-{
-#endif
-
-
-/* some utility methods for CA */
-int pdp_type_isvalid_ca(int packet);
-int pdp_type_ca2grey(int packet);
-int pdp_type_grey2ca(int packet, short int threshold);
-
-/* returns a pointer to the ca subheader given the pdp header */
-t_ca *pdp_type_ca_info(t_pdp *x);
-
-/* mmx feeder routine */
-unsigned long long scaf_feeder(void *tos, void *reg, void (*ca_rule)(void), void *env);
-
-
-
-
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif //PDP_CA_H