src/players.cpp
branchcpp_gui
changeset 6308 646711c5feaa
parent 6307 f40e88cff863
equal deleted inserted replaced
6307:f40e88cff863 6308:646711c5feaa
   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