Moved .extern C(BOPS_Error) from quakeasm.h to math.S;

Moved a bunch of .extern C's from quakeasm.h to snd_mixa.S
Removed references to quakeasm.h from math.S, snd_mixa.S, sys_x86.S, and worlda.S
This commit is contained in:
Anton E. Gavrilov 2000-05-14 22:21:59 +00:00
parent e459dbd407
commit 1e384f48eb
5 changed files with 13 additions and 11 deletions

View file

@ -247,13 +247,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
.extern pz .extern pz
.extern spr8entryvec_table .extern spr8entryvec_table
.extern C(snd_scaletable)
.extern C(paintbuffer)
.extern C(snd_linear_count)
.extern C(snd_p)
.extern C(snd_vol)
.extern C(snd_out)
.extern C(vright) .extern C(vright)
.extern C(vup) .extern C(vup)
.extern C(vpn) .extern C(vpn)
.extern C(BOPS_Error)

View file

@ -29,7 +29,7 @@
// x86 assembly-language math routines. // x86 assembly-language math routines.
#include "asm_i386.h" #include "asm_i386.h"
#include "quakeasm.h" // #include "quakeasm.h"
#if id386 #if id386
@ -42,6 +42,8 @@ Ljmptab: .long Lcase0, Lcase1, Lcase2, Lcase3
.text .text
.extern C(BOPS_Error)
#define EMINS 4+4 #define EMINS 4+4
#define EMAXS 4+8 #define EMAXS 4+8

View file

@ -29,12 +29,19 @@
// x86 assembly-language sound code // x86 assembly-language sound code
#include "asm_i386.h" #include "asm_i386.h"
#include "quakeasm.h" // #include "quakeasm.h"
#if id386 #if id386
.text .text
.extern C(snd_scaletable)
.extern C(paintbuffer)
.extern C(snd_linear_count)
.extern C(snd_p)
.extern C(snd_vol)
.extern C(snd_out)
//---------------------------------------------------------------------- //----------------------------------------------------------------------
// 8-bit sound-mixing code // 8-bit sound-mixing code
//---------------------------------------------------------------------- //----------------------------------------------------------------------

View file

@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
// x86 assembly-language Win-dependent routines. // x86 assembly-language Win-dependent routines.
#include "asm_i386.h" #include "asm_i386.h"
#include "quakeasm.h" // #include "quakeasm.h"
//@@@ should be id386-dependent, and have an equivalent C path //@@@ should be id386-dependent, and have an equivalent C path

View file

@ -29,7 +29,7 @@
// x86 assembly-language server testing stuff // x86 assembly-language server testing stuff
#include "asm_i386.h" #include "asm_i386.h"
#include "quakeasm.h" //#include "quakeasm.h"
//include "d_ifacea.h" //include "d_ifacea.h"
#if id386 #if id386