Com Frame

From ioquake3 wiki

Jump to: navigation, search

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.
  • Call = 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.
  • Call = to allow client part to send commands to the server and update the display based on snapshots received from the server.
Personal tools