Logo Search packages:      
Sourcecode: scummvm version File versions

virtual void OSystem::initSize ( uint  width,
uint  height 
) [pure virtual]

Set the size of the virtual screen. Typical sizes include:

  • 320x200 (e.g. for most SCUMM games, and Simon)
  • 320x240 (e.g. for FM-TOWN SCUMM games)
  • 640x480 (e.g. for Curse of Monkey Island)

This is the resolution for which the client code generates data; this is not necessarily equal to the actual display size. For example, a backend may magnify the graphics to fit on screen (see also the GraphicsMode); stretch the data to perform aspect ratio correction; or shrink it to fit on small screens (in cell phones).

width the new virtual screen width
height the new virtual screen height

Generated by  Doxygen 1.6.0   Back to index