little clean up

This commit is contained in:
Roman Fomin 2023-05-11 07:57:24 +07:00
parent f5276845cf
commit 56ee1fbaa2
4 changed files with 3 additions and 6 deletions

View File

@ -22,8 +22,6 @@
#ifndef __I_SOUND__ #ifndef __I_SOUND__
#define __I_SOUND__ #define __I_SOUND__
#include <stdio.h>
#include "sounds.h" #include "sounds.h"
// Adjustable by menu. // Adjustable by menu.

View File

@ -298,7 +298,7 @@ void I_ToggleVsync(void)
// killough 3/22/98: rewritten to use interrupt-driven keyboard queue // killough 3/22/98: rewritten to use interrupt-driven keyboard queue
void I_GetEvent(void) static void I_GetEvent(void)
{ {
SDL_Event sdlevent; SDL_Event sdlevent;

View File

@ -15,6 +15,7 @@
// //
#include <xmp.h> #include <xmp.h>
#include <stdio.h>
#include "doomtype.h" #include "doomtype.h"
#include "i_oalstream.h" #include "i_oalstream.h"

View File

@ -21,8 +21,6 @@
#ifndef __SOUNDS__ #ifndef __SOUNDS__
#define __SOUNDS__ #define __SOUNDS__
#include "config.h"
// //
// SoundFX struct. // SoundFX struct.
// //
@ -57,7 +55,7 @@ typedef struct sfxinfo_struct {
int volume; int volume;
// OpenAL buffer id // OpenAL buffer id
uint32_t buffer; unsigned int buffer;
// lump number of sfx // lump number of sfx
int lumpnum; int lumpnum;