MiniDoom

ticcmd_t

ticcmd_t

struct ticcmd_t

Stores movement, view, consistency, chat, and button state for exactly one simulation tic. Invariant: All six fields are serialized as signed 32-bit values by i_net and must remain in this wire order.

View source

Members

angleturn

angleturn

Signed view-angle delta.

View source

buttons

buttons

Bit field of attack/use/weapon actions.

View source

chatchar

chatchar

One queued chat character, or zero.

View source

consistancy

consistancy

Determinism check value for the originating tic.

View source

forwardmove

forwardmove

Signed forward/back movement impulse.

View source

sidemove

sidemove

Signed strafe movement impulse.

View source