|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T o
Length: 1014 (0x3f6) Types: TextFile Names: »obj.h«
└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987 └─⟦this⟧ »EUUGD18/General/Spacewar/obj.h«
/* * Spacewar - include file that defines a universe object * (requires prior inclusion of universe.h) * * Copyright 1984 obo Systems, Inc. * Copyright 1984 Dan Rosenblatt */ struct obj { long oj_mass; /* object mass (for gravity) */ short oj_rad; /* object radius */ char oj_rep; /* object representation (screen character) */ idxptr oj_octr; /* object orbital center (a previous obj) */ short oj_oprd; /* object orbital period */ long oj_orad; /* object orbital center radius */ double oj_ocrpt; /* object orbital center relative plane theta */ double oj_optx; /* object orbital plane tilt x (in degrees) */ double oj_opty; /* object orbital plane tilt y (in degrees) */ double oj_optz; /* object orbital plane tilt z (in degrees) */ /* in-core only */ idxptr oj_univ; /* object universe pointer */ double oj_pstn[3]; /* object position */ double oj_vel[3]; /* object velocity */ double oj_rmat[3][3]; /* object rotation matrix */ }; #define MAXOBJ 42 extern struct obj objlst[];