Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
soundContainer Struct Reference

#include <cockpit.h>

Public Member Functions

 soundContainer ()
 
void loadsound (string sooundfile, bool looping=false)
 
void playsound ()
 
 ~soundContainer ()
 

Public Attributes

int sound
 

Detailed Description

The Cockpit Contains all displayable information about a particular Unit * Gauges are used to indicate analog controls, and some diagital ones The ones starting from KPS are digital with text readout

Definition at line 29 of file cockpit.h.

Constructor & Destructor Documentation

soundContainer::soundContainer ( )
inline

Definition at line 33 of file cockpit.h.

34  {
35  sound = -2;
36  }
soundContainer::~soundContainer ( )

Definition at line 106 of file cockpit.cpp.

References AUDDeleteSound(), AUDStopPlaying(), and sound.

107 {
108  if (sound >= 0) {
109 #if 0
111  AUDDeleteSound( sound, false );
112 #endif
113  sound = -2;
114  }
115 }

Member Function Documentation

Member Data Documentation


The documentation for this struct was generated from the following files: