$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

src/sound/unitsound.cpp File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "stratagus.h"
#include "unitsound.h"
#include "video.h"
#include "sound.h"
#include "unittype.h"
#include "animation.h"
#include "player.h"
#include "unit.h"
#include "sound_server.h"
#include "tileset.h"
#include "map.h"

Functions

unitsound.cpp - The unit sounds.
void LoadUnitSounds ()
static void MapAnimSounds2 (CAnimation *anim)
static void MapAnimSounds (CUnitType *type)
void MapUnitSounds ()

Function Documentation

void LoadUnitSounds (  ) 

Load all sounds for units.

static void MapAnimSounds ( CUnitType type  )  [static]

Map animation sounds for a unit type

static void MapAnimSounds2 ( CAnimation anim  )  [static]

Map animation sounds

void MapUnitSounds (  ) 

Map the sounds of all unit-types to the correct sound id. And overwrite the sound ranges.

Todo:
the sound ranges should be configurable by user with CCL.

(C) Copyright 1998-2011 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.