src/players.cpp
branchgamebalance
changeset 9909 dce9a6923bb7
parent 9908 0fa543611bbe
child 9911 0b8b245a2391
equal deleted inserted replaced
9908:0fa543611bbe 9909:dce9a6923bb7
   620 	p->president_name_1 = 0;
   620 	p->president_name_1 = 0;
   621 }
   621 }
   622 
   622 
   623 /** Change engine renewal parameters
   623 /** Change engine renewal parameters
   624  * @param tile unused
   624  * @param tile unused
       
   625  * @param flags operation to perform
   625  * @param p1 bits 0-3 command
   626  * @param p1 bits 0-3 command
   626  * - p1 = 0 - change auto renew bool
   627  * - p1 = 0 - change auto renew bool
   627  * - p1 = 1 - change auto renew months
   628  * - p1 = 1 - change auto renew months
   628  * - p1 = 2 - change auto renew money
   629  * - p1 = 2 - change auto renew money
   629  * - p1 = 3 - change auto renew array
   630  * - p1 = 3 - change auto renew array
   753 	return 0;
   754 	return 0;
   754 }
   755 }
   755 
   756 
   756 /** Control the players: add, delete, etc.
   757 /** Control the players: add, delete, etc.
   757  * @param tile unused
   758  * @param tile unused
       
   759  * @param flags operation to perform
   758  * @param p1 various functionality
   760  * @param p1 various functionality
   759  * - p1 = 0 - create a new player, Which player (network) it will be is in p2
   761  * - p1 = 0 - create a new player, Which player (network) it will be is in p2
   760  * - p1 = 1 - create a new AI player
   762  * - p1 = 1 - create a new AI player
   761  * - p1 = 2 - delete a player. Player is identified by p2
   763  * - p1 = 2 - delete a player. Player is identified by p2
   762  * - p1 = 3 - merge two companies together. Player to merge #1 with player #2. Identified by p2
   764  * - p1 = 3 - merge two companies together. Player to merge #1 with player #2. Identified by p2