a7cafe75aa
"Reveal all player" id back to -1, add some "ensure" to catch invalid player ids and be safer.
...
This was SVN commit r14465.
2013-12-31 21:30:48 +00:00
fe2a97b0c9
Change some useless std::map into std::vector for LOS. Player "0" now reveals the LOS for all.
...
This was SVN commit r14463.
2013-12-31 16:38:11 +00:00
10e8fb9105
remove debug message
...
This was SVN commit r14427.
2013-12-29 10:09:58 +00:00
cd125a94e2
fix tests + code style cleanup
...
This was SVN commit r14426.
2013-12-29 10:01:39 +00:00
bf58f04511
add wonder victory condition. Refs #1649
...
This was SVN commit r14418.
2013-12-28 13:40:39 +00:00
2d2853dd6f
Fix problems with EndGameManager in Atlas by waiting for the first turn
...
This was SVN commit r14118.
2013-11-09 10:09:28 +00:00
9ffe235b2f
Clean up EndGameManager. Fixes #2130
...
This was SVN commit r14087.
2013-11-05 19:40:50 +00:00
d57926fa5b
Adjust diplomacy according to irc discussion. Refs #7 .
...
This was SVN commit r12828.
2012-11-05 20:16:35 +00:00
9930500661
Diplomacy is now mutual. Refs #7 .
...
This was SVN commit r12810.
2012-11-02 13:44:35 +00:00
ca4dedbc3e
Improve neutral and ally combat handling. Refs #7 .
...
This was SVN commit r12780.
2012-10-23 23:13:39 +00:00
3f3b5ee3e5
Adds player ID to PlayerDefeated message for AI usage.
...
This was SVN commit r10358.
2011-10-01 17:38:43 +00:00
4d188452f8
Adds ownership checks to UI selections.
...
Adds ownership and diplomacy checks to Commands.js (fixes #880 ).
Adds control all units setting to Player component (network synced).
Adds helpers for diplomacy checks - use these instead of directly
accessing diplomacy array.
Fixes tests according to these changes.
This was SVN commit r9726.
2011-07-02 00:06:39 +00:00
996a32125c
Add per-player LOS-reveal flag.
...
Reveal LOS for Gaia and AI players (fixes #879 ).
Use player_id_t slightly more consistently in interfaces.
This was SVN commit r9720.
2011-06-28 23:24:42 +00:00
4261983c9d
Fix reveal map checkbox after winning
...
This was SVN commit r9040.
2011-03-06 02:29:07 +00:00
e7b859b8a5
Add allied victory condition to EndGameManager, defaults to true for now because we can't change teams, but later it can be changed during setup
...
This was SVN commit r8674.
2010-11-21 00:35:08 +00:00
fcedcae052
# Add victory/defeat conditions, based on patch from fcxSanya.
...
Fixes #565 .
This was SVN commit r8234.
2010-10-01 20:51:21 +00:00