OpenBF1942-Plus
Refractor 1, rebuilt from scratch
Loading...
Searching...
No Matches
obf::Game::SoundEvent Struct Reference

#include <game.h>

Public Member Functions

 SoundEvent (std::string t, std::array< float, 3 > p, int src=-1, bool rel=false, bool fx=false, std::string sc="", int pa=0)

Public Attributes

std::string tmpl
float pos [3]
int source = -1
bool reload = false
bool effect = false
std::string script
int patch = 0

Constructor & Destructor Documentation

◆ SoundEvent()

obf::Game::SoundEvent::SoundEvent ( std::string t,
std::array< float, 3 > p,
int src = -1,
bool rel = false,
bool fx = false,
std::string sc = "",
int pa = 0 )
inline

Member Data Documentation

◆ effect

bool obf::Game::SoundEvent::effect = false

◆ patch

int obf::Game::SoundEvent::patch = 0

◆ pos

float obf::Game::SoundEvent::pos[3]

◆ reload

bool obf::Game::SoundEvent::reload = false

◆ script

std::string obf::Game::SoundEvent::script

◆ source

int obf::Game::SoundEvent::source = -1

◆ tmpl

std::string obf::Game::SoundEvent::tmpl

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