document shapes array
[netris.git] / netris.h
index 8cf4d595deb3d3e50bc27e3cf99477ee5cf0df02..e51486f87f225d40cb4c9ff2204cd29e369a4251 100644 (file)
--- a/netris.h
+++ b/netris.h
@@ -15,8 +15,6 @@
  * 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.
- *
- * $Id: netris.h,v 1.28 1999/05/16 06:56:29 mhw Exp $
  */
 
 #ifndef __NETRIS_H
@@ -83,11 +81,9 @@ typedef long netint4;
 typedef enum _GameType { GT_onePlayer, GT_classicTwo, GT_len } GameType;
 typedef enum _BlockTypeA {
        BT_shadow, BT_none,
-       BT_green, BT_cyan, BT_blue, BT_magenta, BT_red, BT_yellow, BT_white,
+       BT_S, BT_L, BT_I, BT_O, BT_Z, BT_J, BT_T,
        BT_wall, BT_len
 } BlockTypeA;
-typedef enum _Dir { D_down, D_right, D_up, D_left } Dir;
-typedef enum _Cmd { C_end, C_forw, C_back, C_left, C_right, C_plot } Cmd;
 typedef enum _FDType { FT_read, FT_write, FT_except, FT_len } FDType;
 typedef enum _MyEventType {
        E_none, E_alarm, E_key, E_connect, E_net, E_lostConn
@@ -157,10 +153,6 @@ typedef struct _EventGenRec {
 
 MyEventType NetGenFunc(EventGenRec *gen, MyEvent *event);
 
-typedef struct _Shape {
-       char shape, rotate;
-} Shape;
-
 /* NP_startConn flags */
 #define SCF_paused  1