54 |
}; |
}; |
55 |
|
|
56 |
// Start a new game for N players. Every player begins with two |
// Start a new game for N players. Every player begins with two |
57 |
// extra lifes. |
// extra lifes. if 'add_yinyang' is true every player additionally |
58 |
void NewGame(int nplayers); |
// gets one it-yinyang. |
59 |
|
void NewGame(int nplayers, bool add_yinyang); |
60 |
|
|
61 |
/* This is called whenever a new level is reached in a running |
/* This is called whenever a new level is reached in a running |
62 |
game. The inventories of all players are cleaned up, i.e., all |
game. The inventories of all players are cleaned up, i.e., all |
71 |
two players. */ |
two players. */ |
72 |
void SwapPlayers(); |
void SwapPlayers(); |
73 |
|
|
74 |
int CurrentPlayer(); |
// set/remove respawn positions for all black or all white actors |
75 |
void SetCurrentPlayer(unsigned iplayer); |
// (used when it-flagwhite/black is dropped) |
76 |
|
void SetRespawnPositions(enigma::GridPos pos, bool black); |
77 |
|
void RemoveRespawnPositions(bool black); |
78 |
|
|
79 |
|
int CurrentPlayer(); |
80 |
|
void SetCurrentPlayer(unsigned iplayer); |
81 |
unsigned NumberOfRealPlayers(); |
unsigned NumberOfRealPlayers(); |
82 |
|
|
83 |
Inventory *GetInventory(int iplayer); |
Inventory *GetInventory(int iplayer); |