projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More boolean-chasing and coord applications.
[super-star-trek.git]
/
src
/
sst.h
diff --git
a/src/sst.h
b/src/sst.h
index 89cb16f69c58261d0f9bdede84062b9f1af2dce4..211f63c2b1a8740600f69643fc0e18e5a54b6766 100644
(file)
--- a/
src/sst.h
+++ b/
src/sst.h
@@
-212,6
+212,7
@@
struct game {
alive, // we are alive (not killed)
justin, // just entered quadrant
shldup, // shields are up
alive, // we are alive (not killed)
justin, // just entered quadrant
shldup, // shields are up
+ comhere, // commander here
ishere, // super-commander in quadrant
ientesc, // attempted escape from supercommander
ithere, // Tholian is here
ishere, // super-commander in quadrant
ientesc, // attempted escape from supercommander
ithere, // Tholian is here
@@
-223,6
+224,7
@@
struct game {
inorbit, // orbiting a planet
imine, // mining
icrystl, // dilithium crystals aboard
inorbit, // orbiting a planet
imine, // mining
icrystl, // dilithium crystals aboard
+ iseenit, // seen base attack report
thawed; // thawed game
int inkling, // initial number of klingons
inbase, // initial number of bases
thawed; // thawed game
int inkling, // initial number of klingons
inbase, // initial number of bases
@@
-238,7
+240,6
@@
struct game {
length, // length of game
skill, // skill level
klhere, // klingons here
length, // length of game
skill, // skill level
klhere, // klingons here
- comhere, // commanders here
casual, // causalties
nhelp, // calls for help
nkinks, // count of energy-barrier crossings
casual, // causalties
nhelp, // calls for help
nkinks, // count of energy-barrier crossings
@@
-253,7
+254,6
@@
struct game {
iscate, // super commander is here
iattak, // attack recursion elimination (was cracks[4])
tourn, // tournament number
iscate, // super commander is here
iattak, // attack recursion elimination (was cracks[4])
tourn, // tournament number
- iseenit, // seen base attack report
proben, // number of moves for probe
nprobes; // number of probes available
double inresor, // initial resources
proben, // number of moves for probe
nprobes; // number of probes available
double inresor, // initial resources
@@
-383,10
+383,10
@@
void sortkl(void);
void imove(void);
void ram(bool, int, coord);
void crmena(bool, int, enum loctype, coord w);
void imove(void);
void ram(bool, int, coord);
void crmena(bool, int, enum loctype, coord w);
-void deadkl(coord, int,
int, int
);
+void deadkl(coord, int,
coord
);
void timwrp(void);
void movcom(void);
void timwrp(void);
void movcom(void);
-void torpedo(double, double,
int, int
, double *, int, int);
+void torpedo(double, double,
coord
, double *, int, int);
void huh(void);
void pause_game(int);
void nova(coord);
void huh(void);
void pause_game(int);
void nova(coord);