Project

General

Profile

« Previous | Next » 

Revision 90dddc30

Added by danij almost 13 years ago

libcommon|Added: Globally visible viewScale and aspectScale variables

These global vars hold scale factors which can be used to translate
points and dimensions between the current viewport coordinate space
and the fixed 320x200 coordinate space used by the original games.

Whenever a viewport changes dimensions, the engine will execute the
hooks of HOOK_VIEWPORT_RESHAPE which the games attach to in order
to resize the view window. These global scale factors are updated at
this time.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences