_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

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
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.