$treeview $search $mathjax
Stratagus
2.2.6
$projectbrief
|
$projectbrief
|
$searchbox |
_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include "stratagus.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "sound.h"
#include "sound_server.h"
#include "iolib.h"
#include <mikmod.h>
Classes | |
struct | MikModData |
class | CSampleMikMod |
class | CSampleMikModStream |
mikmod.cpp - MikMod support | |
static CFile * | CurrentFile |
static MREADER | MReader = { Seek, Tell, Read, Get, Eof } |
static BOOL | Seek (struct MREADER *, long off, int whence) |
static long | Tell (struct MREADER *) |
static BOOL | Read (struct MREADER *, void *buf, size_t len) |
static int | Get (struct MREADER *) |
static BOOL | Eof (struct MREADER *) |
CSample * | LoadMikMod (const char *name, int flags) |
Load a vorbis file. |
static BOOL Eof | ( | struct MREADER * | ) | [static] |
static int Get | ( | struct MREADER * | ) | [static] |
CSample* LoadMikMod | ( | const char * | name, | |
int | flags | |||
) |
Load a vorbis file.
Load MikMod.
name | Filename of the module. | |
flags | Unused. |
static BOOL Read | ( | struct MREADER * | , | |
void * | buf, | |||
size_t | len | |||
) | [static] |
static BOOL Seek | ( | struct MREADER * | , | |
long | off, | |||
int | whence | |||
) | [static] |
static long Tell | ( | struct MREADER * | ) | [static] |
CFile* CurrentFile [static] |
MREADER MReader = { Seek, Tell, Read, Get, Eof } [static] |