1
0
Fork 0

(svn r2973) Move a function declaration somewhere where it belongs

release/0.4.5
tron 2005-09-23 06:38:36 +00:00
parent afcb9f0d60
commit 313fcfbd83
4 changed files with 10 additions and 1 deletions

View File

@ -6,6 +6,7 @@
#include "../command.h" #include "../command.h"
#include "../network.h" #include "../network.h"
#include "ai.h" #include "ai.h"
#include "default/default.h"
/** /**
* Dequeues commands put in the queue via AI_PutCommandInQueue. * Dequeues commands put in the queue via AI_PutCommandInQueue.

View File

@ -17,6 +17,7 @@
#include "../../airport.h" #include "../../airport.h"
#include "../../depot.h" #include "../../depot.h"
#include "../../variables.h" #include "../../variables.h"
#include "default.h"
// remove some day perhaps? // remove some day perhaps?
static Player *_cur_ai_player; static Player *_cur_ai_player;

View File

@ -0,0 +1,8 @@
/* $Id$ */
#ifndef DEFAULT_H
#define DEFAULT_H
void AiDoGameLoop(Player*);
#endif

View File

@ -197,7 +197,6 @@ void ChangeOwnershipOfPlayerItems(PlayerID old_player, PlayerID new_player);
void GetNameOfOwner(PlayerID owner, TileIndex tile); void GetNameOfOwner(PlayerID owner, TileIndex tile);
int64 CalculateCompanyValue(Player *p); int64 CalculateCompanyValue(Player *p);
void InvalidatePlayerWindows(Player *p); void InvalidatePlayerWindows(Player *p);
void AiDoGameLoop(Player *p);
void UpdatePlayerMoney32(Player *p); void UpdatePlayerMoney32(Player *p);
#define FOR_ALL_PLAYERS(p) for(p=_players; p != endof(_players); p++) #define FOR_ALL_PLAYERS(p) for(p=_players; p != endof(_players); p++)