diff options
author | Simon Howard | 2008-09-20 23:18:12 +0000 |
---|---|---|
committer | Simon Howard | 2008-09-20 23:18:12 +0000 |
commit | b3fdd717d3d0a9255a035f99af0cb2e6c1515008 (patch) | |
tree | a7ff419f2dcdde33c3bfd29cebca94f52aeb831b /src/i_video.h | |
parent | 9bef9730fb26727a9b505a89615b6ef0425fe64a (diff) | |
download | chocolate-doom-b3fdd717d3d0a9255a035f99af0cb2e6c1515008.tar.gz chocolate-doom-b3fdd717d3d0a9255a035f99af0cb2e6c1515008.tar.bz2 chocolate-doom-b3fdd717d3d0a9255a035f99af0cb2e6c1515008.zip |
Remove definitions from heretic/doomdef.h and use common headers. Merge
heretic ticcmd_t to common type.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1261
Diffstat (limited to 'src/i_video.h')
-rw-r--r-- | src/i_video.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/i_video.h b/src/i_video.h index 7e9698fe..07c2842b 100644 --- a/src/i_video.h +++ b/src/i_video.h @@ -102,6 +102,16 @@ void I_SetGrabMouseCallback(grabmouse_callback_t func); void I_DisplayFPSDots(boolean dots_on); void I_BindVideoVariables(void); +// Called before processing any tics in a frame (just after displaying a frame). +// Time consuming syncronous operations are performed here (joystick reading). + +void I_StartFrame (void); + +// Called before processing each tic in a frame. +// Quick syncronous operations are performed here. + +void I_StartTic (void); + extern char *video_driver; extern boolean screenvisible; extern float mouse_acceleration; |