____                _       __
    / __ )____  _____   | |     / /___ ___________
   / __  / __ \/ ___/   | | /| / / __ `/ ___/ ___/
  / /_/ / /_/ (__  )    | |/ |/ / /_/ / /  (__  )
 /_____/\____/____/     |__/|__/\__,_/_/  /____/

       A futuristic real-time strategy game.
          This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project. Distributed under the "GNU General Public License"

Module - Video

There are lots of video functions available, therefore this page tries to summarize these separately.

Note:
care must be taken what to use, how to use it and where put new source-code. So please read the following sections first.

Video main initialization

The general setup of platform dependent video and basic video functionalities is done with function
See also:
InitVideo
We support (depending on the platform) resolutions: 640x480, 800x600, 1024x768, 1600x1200 with colors 8,15,16,24,32 bit

See also:
video.h

video.cpp

High Level - video dependent functions

These are the video platforms that are supported, any platform dependent settings/functionailty are located within each separate files:

SDL : Simple Direct Media for Linux, Win32 (Windows 95/98/2000), BeOs, MacOS (visit http://www.libsdl.org)

See also:
sdl.cpp

Low Level - draw functions

All direct drawing functions

Note:
you might need to use Decorations (see above), to prevent drawing directly to screen in conflict with the video update.
See also:
linedraw.cpp

sprite.cpp


Generated on Sat Feb 21 00:28:22 2009 for Bos Wars by  doxygen 1.5.6