blob: e5aef1e1f95ac749b9a742816465952c8dedc41d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include "7w.h"
int data_getgold(int p);
int get_trade(int player, int type, int direction);
int data_canafford(int p, int era, int card);
void trade_clear(int player);
int ai_trade(int player, int *cost)
{
while(data_getgold(player) > 1) {
//finish trade_set and this
}
}
|