[Fix] Typo errors.....
This commit is contained in:
parent
7f74fbfff4
commit
b2eb68d38c
@ -1,12 +1,11 @@
|
||||
#pragma once
|
||||
#include "lephisto.h"
|
||||
#include "physics.h"
|
||||
#include "ship.h"
|
||||
#include "ai.h"
|
||||
#include "outfit.h"
|
||||
#include "faction.h"
|
||||
#include "sound.h"
|
||||
#include "economy.h"
|
||||
#include "ship.h"
|
||||
|
||||
#define PLAYER_ID 1
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
#include "lephisto.h"
|
||||
#include "outfit.h"
|
||||
#include "opengl.h"
|
||||
#include "outfit.h"
|
||||
#include "sound.h"
|
||||
|
||||
// Target gfx dimensions.
|
||||
#define SHIP_TARGET_W 128
|
||||
|
@ -450,7 +450,7 @@ static int voice_getSource(alVoice* voc) {
|
||||
static void voice_init(alVoice* voice) {
|
||||
// Distance model.
|
||||
alSourcef(voice->source, AL_ROLLOFF_FACTOR, SOUND_ROLLOFF_FACTOR);
|
||||
alSourcef(voice->source, AL_MAX_DISTANCE, SOUN_MAX_DIST);
|
||||
alSourcef(voice->source, AL_MAX_DISTANCE, SOUND_MAX_DIST);
|
||||
alSourcef(voice->source, AL_REFERENCE_DISTANCE, SOUND_REFERENCE_DIST);
|
||||
|
||||
alSourcei(voice->source, AL_SOURCE_RELATIVE, AL_FALSE);
|
||||
|
@ -20,7 +20,7 @@ void sound_volume(const double vol);
|
||||
alVoice* sound_addVoice(int priority, double px, double py,
|
||||
double vx, double vy, const ALuint buffer, const int flags);
|
||||
|
||||
void sound_delVoice(alVoice(alVoice* voice); // Delete voice.
|
||||
void sound_delVoice(alVoice* voice); // Delete voice.
|
||||
|
||||
void voice_update(alVoice* voice, double px, double py, double vx, double vy);
|
||||
void voice_buffer(alVoice* voice, const ALuint buffer, const int flags);
|
||||
|
Loading…
Reference in New Issue
Block a user