# angleToShort
function angleToShort(angle)Return the angle to short value.
| Parameter | Type | Default | Description |
|---|---|---|---|
angle | dynamic | — | angle value consumed by this operation. |
src/miniquake2/game/player/client.mlProvides miniquake2 game player client facilities for this project.
miniquake2/game/gameplay/weapons.ml as gplayerweapons → src/miniquake2/game/gameplay/weapons.mlminiquake2/game/player/constants.ml as gplayerconstants → src/miniquake2/game/player/constants.mlminiquake2/game/player/effects.ml as gplayereffects → src/miniquake2/game/player/effects.mlminiquake2/game/player/spawn.ml as gplayerspawn → src/miniquake2/game/player/spawn.mlminiquake2/game/player/types.ml as gplayertypes → src/miniquake2/game/player/types.mlminiquake2/game/player/userinfo.ml as gplayeruserinfo → src/miniquake2/game/player/userinfo.mlminiquake2/game/types.ml as gtypes → src/miniquake2/game/types.mlminiquake2/physics/vector.ml as gplayervector → src/miniquake2/physics/vector.mlminiquake2/qcommon/byteio.ml as qbyteio → src/miniquake2/qcommon/byteio.mlminiquake2/qcommon/constants.ml as qconstants → src/miniquake2/qcommon/constants.mlminiquake2/qcommon/info.ml as qinfo → src/miniquake2/qcommon/info.mlminiquake2/qcommon/types.ml as qtypes → src/miniquake2/qcommon/types.mlstd/math.ml as gplayermath → ../MiniLangCompilerML/std/math.ml external dependencyfunction angleToShort(angle)Return the angle to short value.
| Parameter | Type | Default | Description |
|---|---|---|---|
angle | dynamic | — | angle value consumed by this operation. |
function ChaseNext(context, player)Select the next chase target in client-edict order, wrapping at maxclients.
| Parameter | Type | Default | Description |
|---|---|---|---|
context | dynamic | — | Context that carries state for the operation. |
player | dynamic | — | player value consumed by this operation. |
function ChasePrev(context, player)Select the previous chase target in client-edict order, wrapping at one.
| Parameter | Type | Default | Description |
|---|---|---|---|
context | dynamic | — | Context that carries state for the operation. |
player | dynamic | — | player value consumed by this operation. |
function chaseTargetEligible(candidate)Report whether a player is a live, non-spectator chase target.
| Parameter | Type | Default | Description |
|---|---|---|---|
candidate | dynamic | — | candidate value consumed by this operation. |
function ClientBegin(context, player)Begin client.
| Parameter | Type | Default | Description |
|---|---|---|---|
context | dynamic | — | Context that carries state for the operation. |
player | dynamic | — | player value consumed by this operation. |
function ClientBeginServerFrame(context, player)Begin client server frame.
| Parameter | Type | Default | Description |
|---|---|---|---|
context | dynamic | — | Context that carries state for the operation. |
player | dynamic | — | player value consumed by this operation. |
function ClientThink(context, player, command)Run client.
| Parameter | Type | Default | Description |
|---|---|---|---|
context | dynamic | — | Context that carries state for the operation. |
player | dynamic | — | player value consumed by this operation. |
command | dynamic | — | command value consumed by this operation. |
function copyInventoryCounts(counts)Copy inventory counts.
| Parameter | Type | Default | Description |
|---|---|---|---|
counts | dynamic | — | counts value consumed by this operation. |
function copyPmoveState(state)Copy pmove state.
| Parameter | Type | Default | Description |
|---|---|---|---|
state | dynamic | — | Mutable state inspected or updated by the operation. |
function GetChaseTarget(context, player)Acquire the first live non-spectator and initialize the camera immediately.
| Parameter | Type | Default | Description |
|---|---|---|---|
context | dynamic | — | Context that carries state for the operation. |
player | dynamic | — | player value consumed by this operation. |
function MoveClientToIntermission(context, player, spot)p_hud.c::MoveClientToIntermission. The caller owns map-change timing and point selection; this routine only applies the stock client-visible state.
| Parameter | Type | Default | Description |
|---|---|---|---|
context | dynamic | — | Context that carries state for the operation. |
player | dynamic | — | player value consumed by this operation. |
spot | dynamic | — | spot value consumed by this operation. |
function pmoveStateEqual(first, second)Report whether two pmove states are byte-contract equivalent.
| Parameter | Type | Default | Description |
|---|---|---|---|
first | dynamic | — | first value consumed by this operation. |
second | dynamic | — | second value consumed by this operation. |
function PutClientInServer(context, player)Write client in server.
| Parameter | Type | Default | Description |
|---|---|---|---|
context | dynamic | — | Context that carries state for the operation. |
player | dynamic | — | player value consumed by this operation. |
function respawn(context, player)Return the respawn value.
| Parameter | Type | Default | Description |
|---|---|---|---|
context | dynamic | — | Context that carries state for the operation. |
player | dynamic | — | player value consumed by this operation. |
function shortToAngle(value)Performs the shortToAngle operation for the miniquake2 game player client module.
| Parameter | Type | Default | Description |
|---|---|---|---|
value | dynamic | — | Value consumed or transformed by the operation. |
function spectator_respawn(context, player)Return the spectator respawn value.
| Parameter | Type | Default | Description |
|---|---|---|---|
context | dynamic | — | Context that carries state for the operation. |
player | dynamic | — | player value consumed by this operation. |
function ThinkWeapon(context, player)Run weapon.
| Parameter | Type | Default | Description |
|---|---|---|---|
context | dynamic | — | Context that carries state for the operation. |
player | dynamic | — | player value consumed by this operation. |
function UpdateChaseCam(context, player)Update one spectator camera from its current target, matching g_chase.c.
| Parameter | Type | Default | Description |
|---|---|---|---|
context | dynamic | — | Context that carries state for the operation. |
player | dynamic | — | player value consumed by this operation. |