Difference between revisions of "Com Frame"
From ioquake3 wiki
m (1 revision(s))
Latest revision as of 17:41, 15 December 2007
Com_Frame() generates a single frame of gameplay. After stripping away the miscellaneous accounting code, the basic flow of
Com_Frame() boils down to:
- Call Com_EventLoop() to collect any input events since the last frame.
Cbuf_Execute()to process any commands that may have come in during Com_EventLoop().
- Call SV_Frame() to allow server part to do its processing for this frame.
CL_Frame()to allow client part to send commands to the server and update the display based on snapshots received from the server.