projects
/
super-star-trek.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
23dbe9a
)
Comment fix.
author
Eric S. Raymond
<esr@thyrsus.com>
Tue, 14 Sep 2010 07:20:48 +0000
(07:20 +0000)
committer
Eric S. Raymond
<esr@thyrsus.com>
Tue, 14 Sep 2010 07:20:48 +0000
(07:20 +0000)
src/sst.h
patch
|
blob
|
history
src/sst.py
patch
|
blob
|
history
diff --git
a/src/sst.h
b/src/sst.h
index 6a694b5a529bcad720ecf7d43b23688a4bbada6b..8c0203a495ad0b023171d7bc174c37097953051e 100644
(file)
--- a/
src/sst.h
+++ b/
src/sst.h
@@
-270,7
+270,7
@@
struct game {
inplan, // initial planets
nenhere, // number of enemies in quadrant
irhere, // Romulans in quadrant
inplan, // initial planets
nenhere, // number of enemies in quadrant
irhere, // Romulans in quadrant
- isatb, // =
1
if super commander is attacking base
+ isatb, // =
2
if super commander is attacking base
tourn, // tournament number
proben, // number of moves for probe
nprobes; // number of probes available
tourn, // tournament number
proben, // number of moves for probe
nprobes; // number of probes available
diff --git
a/src/sst.py
b/src/sst.py
index d3e4b73984ca290c742e45f4d5eda05999955399..5e0aa69269ee0503fcf9d07ccb6217ea545fa8aa 100644
(file)
--- a/
src/sst.py
+++ b/
src/sst.py
@@
-319,7
+319,7
@@
class gamestate:
self.iplnet = None # planet # in quadrant
self.inplan = 0 # initial planets
self.irhere = 0 # Romulans in quadrant
self.iplnet = None # planet # in quadrant
self.inplan = 0 # initial planets
self.irhere = 0 # Romulans in quadrant
- self.isatb = 0 # =
1
if super commander is attacking base
+ self.isatb = 0 # =
2
if super commander is attacking base
self.tourn = None # tournament number
self.nprobes = 0 # number of probes available
self.inresor = 0.0 # initial resources
self.tourn = None # tournament number
self.nprobes = 0 # number of probes available
self.inresor = 0.0 # initial resources