Project

General

Profile

« Previous | Next » 

Revision 09939d6a

Added by danij over 13 years ago

Refactor: Reworked view- window/port management somewhat - the engine now tracks
the window dimensions for each viewport and exposes HOOK_VIEWPORT_RESHAPE, a new
plugin hook which is called automatically upon a viewport dimension change.
Each game hooks this and update's the view window dimensions as needed, removing
the need to track this state on game side.

Note: View window interpolation was moved post game tic processing.

Therefore a call to R_SetViewGrid will now attribute viewports to consoles, shape
the viewports and update their associated view windows as necessary.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences