$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

CSound Class Reference

#include <sound.h>

List of all members.


Public Member Functions

 CSound ()
sound.cpp - The sound.
 ~CSound ()

Public Attributes

unsigned int Mapref
unsigned char Range
unsigned char Number
 Range is a multiplier for DistanceSilent.
union {
   CSample *   OneSound
   CSample **   OneGroup
 if it's only a simple sound
   struct {
      CSound *   First
      CSound *   Second
 first group: selected sound
   }   TwoGroups
 when it's a simple group
Sound
 single, group, or table of sounds.

Detailed Description

Sound definition.

Constructor & Destructor Documentation

CSound::CSound (  )  [inline]

CSound::~CSound (  ) 


Member Data Documentation

unsigned int CSound::Mapref

unsigned char CSound::Range

Range is a multiplier for DistanceSilent. 255 means infinite range of the sound.

unsigned char CSound::Number

Range is a multiplier for DistanceSilent.

if it's only a simple sound

first group: selected sound

struct { ... } CSound::TwoGroups

when it's a simple group

union { ... } CSound::Sound

single, group, or table of sounds.


The documentation for this class was generated from the following files:
(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.