Typedefs | |
| typedef signed char | Z8 |
| typedef unsigned char | Byte |
| typedef short | Z16 |
| typedef unsigned short | Z16u |
| typedef int | Z32 |
| typedef unsigned int | Z32u |
| typedef long long | Z64 |
| typedef unsigned long long | Z64u |
| typedef Z64u | ActionMask |
| An action mask can hold 64 types of actions. | |
| typedef short | DiceRep |
| Internal dice representation. Two bytes. | |
Functions | |
| void | dice1_desc (char *buf, DiceRep dice) |
| Get Type 1 dice spec from internal dice representation. | |
| void | dice2_desc (char *buf, DiceRep dice) |
| Get Type 2 dice spec from internal dice representation. | |
| Z32 | dice1_roll_min (DiceRep dice) |
| Minimum value from Type 1 dice. | |
| Z32 | dice2_roll_min (DiceRep dice) |
| Minimum value from Type 2 dice. | |
| Z32 | dice1_roll_mean (DiceRep dice) |
| Mean value from Type 1 dice. | |
| Z32 | dice2_roll_mean (DiceRep dice) |
| Mean value from Type 2 dice. | |
| Z32 | dice1_roll_max (DiceRep dice) |
| Maximum value from Type 1 dice. | |
| Z32 | dice2_roll_max (DiceRep dice) |
| Maximum value from Type 2 dice. | |
| Z32 | roll_dice1 (DiceRep dice) |
| Roll Type 1 dice. | |
| Z32 | roll_dice2 (DiceRep dice) |
| Roll Type 2 dice. | |
| DiceRep | multiply_dice1 (DiceRep dice, int mult) |
| Scale Type 1 dice by a percentage. | |
| DiceRep | multiply_dice2 (DiceRep dice, int mult) |
| Scale Type 2 dice by a percentage. | |
Variables | |
| int * | cv__acp_max_wo_effects = NULL |
| Cache for maximum ACP of utypes without enhancing effects. | |
| int * | cv__acp_per_turn_max_wo_effects = NULL |
| Cache for maximum ACP per turn of utypes without enhancing effects. | |
| int * | cv__speed_max_wo_effects = NULL |
| Cache for maximum speed of utypes without enhancing effects. | |
| int * | cv__mp_per_turn_max = NULL |
| Cache for maximum MP per turn of utypes. | |
| int ** | cv__moves_per_turn_max_on_t = NULL |
| Cache of maximum moves utypes can make per turn on t. | |
| int *** | cv__move_range_max_on_t_with_m = NULL |
| Cache of max movement range of u if producing m on t. | |
| int ** | cv__move_range_max_on_t = NULL |
| Cache of max movement range of u on t. | |
| int | suppress_reactions = FALSE |
| short | any_hp_recovery = FALSE |
| Any hp-recovery in game? | |
| short | any_auto_repair = FALSE |
| Any auto-repair in game? | |
| short * | cv__could_be_auto_repaired = NULL |
| Could utype be auto-repaired by at least one utype? | |
| short * | cv__auto_repaired_range_max = NULL |
| Out to what range could utype be auto-repaired? | |
| Unit * | auto_repair_unit = NULL |
| Temp pointer to unit to be auto-repaired. | |
| int | people_always_see |
| int | any_people_see_chances = -1 |
| int | any_see_chances = -1 |
| int | max_see_chance_range |
| int | any_see_mistake_chances = -1 |
| int | max_see_mistake_range |
| int | any_overwatch_cache = -1 |
| PackedBoolTable * | any_overwatch_chances = NULL |
| int * | overwatch_against_range_max = NULL |
| int * | overwatch_against_range_min = NULL |
| int | host_is_localhost = FALSE |
|
|
An action mask can hold 64 types of actions.
|
|
|
|
|
|
Internal dice representation. Two bytes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
Get Type 1 dice spec from internal dice representation.
|
|
|
Maximum value from Type 1 dice.
|
|
|
Mean value from Type 1 dice.
|
|
|
Minimum value from Type 1 dice.
|
|
||||||||||||
|
Get Type 2 dice spec from internal dice representation.
|
|
|
Maximum value from Type 2 dice.
|
|
|
Mean value from Type 2 dice.
|
|
|
Minimum value from Type 2 dice.
|
|
||||||||||||
|
Scale Type 1 dice by a percentage.
|
|
||||||||||||
|
Scale Type 2 dice by a percentage.
|
|
|
Roll Type 1 dice.
|
|
|
Roll Type 2 dice.
|
|
|
Any auto-repair in game?
|
|
|
Any hp-recovery in game?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Temp pointer to unit to be auto-repaired.
|
|
|
Cache for maximum ACP of utypes without enhancing effects.
|
|
|
Cache for maximum ACP per turn of utypes without enhancing effects.
|
|
|
Out to what range could utype be auto-repaired?
|
|
|
Could utype be auto-repaired by at least one utype?
|
|
|
Cache of max movement range of u on t.
|
|
|
Cache of max movement range of u if producing m on t.
|
|
|
Cache of maximum moves utypes can make per turn on t.
|
|
|
Cache for maximum MP per turn of utypes.
|
|
|
Cache for maximum speed of utypes without enhancing effects.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.6