From 40d0623479628c1f9bee3b4f93e8c4f44a13bd6c Mon Sep 17 00:00:00 2001 From: Felix Rueegg Date: Fri, 1 Nov 2013 08:27:00 +0100 Subject: [PATCH] Removed some more undefined types in Linux --- doomclassic/doom/doomlib.cpp | 4 ++-- doomclassic/doom/m_misc.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doomclassic/doom/doomlib.cpp b/doomclassic/doom/doomlib.cpp index 9cbd8baf..c4609cdb 100644 --- a/doomclassic/doom/doomlib.cpp +++ b/doomclassic/doom/doomlib.cpp @@ -239,7 +239,7 @@ extern void D_RunFrame( bool ); extern void I_ShutdownSound(); extern void I_ShutdownMusic(); extern void I_ShutdownGraphics(); -extern void I_ProcessSoundEvents( void ); +//extern void I_ProcessSoundEvents( void ); void DoomLib::InitGlobals( void *ptr /* = NULL */ ) @@ -551,6 +551,6 @@ void DoomLib::SendNetwork() { void DoomLib::RunSound() { - I_ProcessSoundEvents(); + //I_ProcessSoundEvents(); } diff --git a/doomclassic/doom/m_misc.cpp b/doomclassic/doom/m_misc.cpp index e45e4c5e..b9eac3b8 100644 --- a/doomclassic/doom/m_misc.cpp +++ b/doomclassic/doom/m_misc.cpp @@ -105,7 +105,7 @@ M_DrawText // // M_WriteFile // -boolean M_WriteFile ( char const* name, void* source, int length ) { +bool M_WriteFile ( char const* name, void* source, int length ) { idFile * handle = NULL; int count; @@ -157,7 +157,7 @@ int M_ReadFile ( char const* name, byte** buffer ) { // // Write a save game to the specified device using the specified game name. // -static qboolean SaveGame( void* source, DWORD length ) +static qboolean SaveGame( void* source, int length ) { return false; }