shithub: qk1

ref: 604d47937d45ebba3ee3b6053bd796b8513e6a3f
dir: /unix/snd.c/

View raw version
#include <u.h>
#include <libc.h>
#include "dat.h"
#include "quakedef.h"
#include "fns.h"

cvar_t volume = {"volume", "0.7", 1};

void
stepsnd(vec3_t origin, vec3_t forward, vec3_t right, vec3_t up)
{
}

void
stopallsfx(void)
{
}

void
stopsfx(int n, int ch)
{
}

void
startsfx(int entn, int entch, Sfx *sfx, vec3_t zp, float vol, float att)
{
}

void
localsfx(char *s)
{
}

void
staticsfx(Sfx *sfx, vec3_t zp, float vol, float att)
{
}

void
touchsfx(char *s)
{
}

Sfx *
precachesfx(char *s)
{
	return nil;
}

void
sfxbegin(void)
{
}

void
shutsnd(void)
{
}

int
initsnd(void)
{
	Cvar_RegisterVariable(&volume);
	return -1;
}