[Jrisk-cvs] SF.net SVN: domination-code:[2524] Domination
Brought to you by:
yuranet
|
From: <yu...@us...> - 2024-05-06 12:01:19
|
Revision: 2524
http://sourceforge.net/p/domination/code/2524
Author: yuranet
Date: 2024-05-06 12:01:16 +0000 (Mon, 06 May 2024)
Log Message:
-----------
docs update
Modified Paths:
--------------
Domination/ChangeLog.txt
Domination/src/net/yura/domination/engine/ai/AISubmissive.java
Domination/src/net/yura/domination/engine/core/Player.java
Modified: Domination/ChangeLog.txt
===================================================================
--- Domination/ChangeLog.txt 2024-05-06 01:17:16 UTC (rev 2523)
+++ Domination/ChangeLog.txt 2024-05-06 12:01:16 UTC (rev 2524)
@@ -17,11 +17,14 @@
1.3.0
Sounds effects and music!
+ Can change game speed in Option dialog
+ Can view continents values for maps that do not display this information
MapChooser: can right click and select Map info
- fixed: unable to start game when all options are present
- no repaint macos JDK-19 bug workaround: MapChooser loading animation added
+ MapChooser: no repaint macos JDK-19 bug workaround: MapChooser loading animation added
SwingGUI: can change who owns a country
+ SwingGUI: fixed: unable to start game when all options are present
MapEditor: smart fill Mnemonic 'F'
+ MapEditor: force user to save map if changed before publish
1.2.9 (04.08.2023) (svn rev 2470)
Modified: Domination/src/net/yura/domination/engine/ai/AISubmissive.java
===================================================================
--- Domination/src/net/yura/domination/engine/ai/AISubmissive.java 2024-05-06 01:17:16 UTC (rev 2523)
+++ Domination/src/net/yura/domination/engine/ai/AISubmissive.java 2024-05-06 12:01:16 UTC (rev 2524)
@@ -10,8 +10,7 @@
import net.yura.domination.engine.core.RiskGame;
/**
- * THIS IS NOT A REAL AI, THIS IS WHAT A HUMAN PLAYER THAT HAS RESIGNED FROM A GAME BECOMES
- * SO THAT OTHER PLAYERS CAN CARRY ON PLAYING, THIS AI NEVER ATTACKS ANYONE, JUST FOLLOWS RULES
+ * THIS IS NOT A REAL AI, THIS AI NEVER ATTACKS ANYONE, JUST FOLLOWS RULES
* @author Yura Mamyrin
*/
public class AISubmissive implements AI {
Modified: Domination/src/net/yura/domination/engine/core/Player.java
===================================================================
--- Domination/src/net/yura/domination/engine/core/Player.java 2024-05-06 01:17:16 UTC (rev 2523)
+++ Domination/src/net/yura/domination/engine/core/Player.java 2024-05-06 12:01:16 UTC (rev 2524)
@@ -14,9 +14,18 @@
private static final long serialVersionUID = 1L;
+ /**
+ * does not received reinforcements
+ */
public final static int PLAYER_NEUTRAL = -1;
public final static int PLAYER_HUMAN = 0;
+
+ /**
+ * does receive reinforcements, but never attacks
+ * @see net.yura.domination.engine.ai.AISubmissive
+ */
public final static int PLAYER_AI_CRAP = 3;
+
public final static int PLAYER_AI_EASY = 1;
public final static int PLAYER_AI_AVERAGE = 4;
public final static int PLAYER_AI_HARD = 2;
@@ -24,15 +33,20 @@
private String name;
/**
- playerType:
- -1 - neutral (does not received reinforcements)
+ playerType (come with the game):
+ -1 - neutral
0 - human
1 - AI (Easy)
2 - AI (Hard)
- 3 - AI (Crap) // never attacks
+ 3 - AI (Crap)
4 - AI (Average)
5 - AI (Test) {@link net.yura.domination.engine.ai.AITest}
- 6 - AI (Old) {@link net.yura.domination.engine.ai.old.AIHardOld}
+
+ need to be downloaded separately
+ 6 - AI (Old Hard AI) {@link net.yura.domination.engine.ai.old.AIHardOld}
+ 7 - AI framework custom
+ 8 - AI framework best
+ 9 - AI framework scripted
*/
private int type;
|