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

src/video/mng.cpp File Reference

#include "stratagus.h"
#include "video.h"
#include "iolib.h"
#include "iocompat.h"
#include <libmng.h>

Functions

mng.cpp - The mng graphic file loader.
static mng_ptr MNG_DECL my_alloc (mng_size_t len)
static void MNG_DECL my_free (mng_ptr ptr, mng_size_t)
static mng_bool MNG_DECL my_openstream (mng_handle handle)
static mng_bool MNG_DECL my_closestream (mng_handle handle)
static mng_bool MNG_DECL my_readdata (mng_handle handle, mng_ptr buf, mng_uint32 buflen, mng_uint32p read)
static mng_bool MNG_DECL my_processheader (mng_handle handle, mng_uint32 width, mng_uint32 height)
static mng_ptr MNG_DECL my_getcanvasline (mng_handle handle, mng_uint32 linenr)
static mng_bool MNG_DECL my_refresh (mng_handle handle, mng_uint32, mng_uint32, mng_uint32, mng_uint32)
static mng_uint32 MNG_DECL my_gettickcount (mng_handle)
static mng_bool MNG_DECL my_settimer (mng_handle handle, mng_uint32 msecs)
static mng_bool MNG_DECL my_processmend (mng_handle handle, mng_uint32 iterationsdone, mng_uint32)
static mng_bool MNG_DECL my_errorproc (mng_handle handle, mng_int32, mng_int8, mng_chunkid, mng_uint32, mng_int32, mng_int32, mng_pchar errortext)

Function Documentation

static mng_ptr MNG_DECL my_alloc ( mng_size_t  len  )  [static]

static mng_bool MNG_DECL my_closestream ( mng_handle  handle  )  [static]

static mng_bool MNG_DECL my_errorproc ( mng_handle  handle,
mng_int32  ,
mng_int8  ,
mng_chunkid  ,
mng_uint32  ,
mng_int32  ,
mng_int32  ,
mng_pchar  errortext 
) [static]

static void MNG_DECL my_free ( mng_ptr  ptr,
mng_size_t   
) [static]

static mng_ptr MNG_DECL my_getcanvasline ( mng_handle  handle,
mng_uint32  linenr 
) [static]

static mng_uint32 MNG_DECL my_gettickcount ( mng_handle   )  [static]

static mng_bool MNG_DECL my_openstream ( mng_handle  handle  )  [static]

static mng_bool MNG_DECL my_processheader ( mng_handle  handle,
mng_uint32  width,
mng_uint32  height 
) [static]

static mng_bool MNG_DECL my_processmend ( mng_handle  handle,
mng_uint32  iterationsdone,
mng_uint32   
) [static]

static mng_bool MNG_DECL my_readdata ( mng_handle  handle,
mng_ptr  buf,
mng_uint32  buflen,
mng_uint32p  read 
) [static]

static mng_bool MNG_DECL my_refresh ( mng_handle  handle,
mng_uint32  ,
mng_uint32  ,
mng_uint32  ,
mng_uint32   
) [static]

static mng_bool MNG_DECL my_settimer ( mng_handle  handle,
mng_uint32  msecs 
) [static]

(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.