Feature #1062 ยป 0056-Fix-aicore-comment-typos.patch
common/aicore/caravan.h | ||
---|---|---|
*/
|
||
/**
|
||
* The result of one trade route, accoring to the parameter below.
|
||
* The result of one trade route, according to the parameter below.
|
||
* A null destination implies that this is not a real result.
|
||
*/
|
||
struct caravan_result {
|
common/aicore/path_finding.c | ||
---|---|---|
/* ======================== Internal structures ========================== */
|
||
#ifdef PF_DEBUG
|
||
/* The mode we use the pf_map. Used for cast converion checks. */
|
||
/* The mode we use the pf_map. Used for cast conversion checks. */
|
||
enum pf_mode {
|
||
PF_NORMAL = 1, /* Usual goto */
|
||
PF_DANGER, /* Goto with dangerous positions */
|
||
... | ... | |
unsigned short extra_tile; /* EC */
|
||
/* Segment leading across the danger area back to the nearest safe node:
|
||
* need to remeber costs and stuff. */
|
||
* need to remember costs and stuff. */
|
||
struct pf_danger_pos {
|
||
signed short cost; /* See comment above. */
|
||
unsigned extra_cost; /* See comment above. */
|
common/aicore/path_finding.h | ||
---|---|---|
/* The map itself. Opaque type. */
|
||
struct pf_map;
|
||
/* The reverse map strucure. Opaque type. */
|
||
/* The reverse map structure. Opaque type. */
|
||
struct pf_reverse_map;
|
||
/* ========================= Public Interface ============================ */
|
||
/* Create and free. */
|
common/aicore/pf_tools.c | ||
---|---|---|
return -1;
|
||
}
|
||
/* ==================== Postion Dangerous Callbacks =================== */
|
||
/* ==================== Position Dangerous Callbacks =================== */
|
||
/************************************************************************//**
|
||
Position-dangerous callback for air units.
|
server/gamehand.c | ||
---|---|---|
/* Convert the startposition hash table in a linked lists, as we mostly
|
||
* need now to iterate it now. And then, we will be able to remove the
|
||
* assigned start postions one by one. */
|
||
* assigned start positions one by one. */
|
||
impossible_list = startpos_list_new();
|
||
targeted_list = startpos_list_new();
|
||
flexible_list = startpos_list_new();
|