home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / amiga / modelers / chmsthtc / chmsthtc.lzh / Chemesthetics / Source / Source.LZH / chem_defs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-10-19  |  1.5 KB  |  56 lines

  1. /* $Revision Header *** Header built automatically - do not edit! ***********
  2.  *
  3.  *    (C) Copyright 1991 by Metalworx
  4.  *
  5.  *    Name .....: chem_defs.h
  6.  *    Created ..: Sat 19-Oct-91 12:42
  7.  *    Revision .: 1
  8.  *
  9.  *    Date        Author        Comment
  10.  *    =========    ========    ====================
  11.  *         1990    Mtwx        Created this file!
  12.  *
  13.  * $Revision Header ********************************************************/
  14.  #define REVISION 1
  15.  
  16. /***************************************************************************
  17. * chem_defs.h: enthΣlt Typdefinitionen u.Σ., die in mehreren Files       *
  18. *           ben÷tigt werden                           *
  19. ***************************************************************************/
  20.  
  21. typedef struct
  22. {
  23.   double    x, y, z;
  24. }      VEKTOR;
  25.  
  26. typedef struct
  27. {
  28.   char        name[3];
  29.   int        x, y, z;
  30.   int        r;
  31. }      ATOMTYP;
  32.  
  33. struct Atom
  34. {
  35.   char Kurzz[3];
  36.   char Name[20];
  37.   int Farbe;
  38. };
  39.  
  40. struct ChemPrefs {
  41.   double bv;          /* BildverhΣltnis */
  42.   BOOL IconCreaCDM;  /* Icons fuer Datenfiles ja/nein (noch nicht benutzt) */
  43.   BOOL IconCreaIFF;   /* Icons fuer Bildfiles ja/nein */
  44.   BOOL Title;          /* Titelzeile (Screen) ja/nein */
  45.   BOOL TimeWindow;    /* Zeit-Info Fenster ja/nein */
  46. };
  47.  
  48. #define MAXATOM 500               /* Hoechstmoegliche Anzahl von Atomen */
  49. #define ATOMVERGRFAKT 1.5           /* Vergr. der Kalottenradien */
  50. #define BILDSCHIRMABSTAND 6000.0       /* 6100 pm entspricht einem Abstand
  51.                       des Beobachters vom Bildschirm von
  52.                       ca. 60 cm, wichtig fuer Berechnung
  53.                       der Perspektive   */
  54. typedef int T_MB[MAXATOM];           /* moegliche Berⁿhrungen*/
  55.  
  56.