mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
Untabify engine.cpp
git-svn-id: https://svn.eduke32.com/eduke32@6547 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
4edc1c6523
commit
d3417b763a
1 changed files with 5 additions and 5 deletions
|
@ -3185,10 +3185,10 @@ static void transmaskwallscan(int32_t x1, int32_t x2, int32_t saturatevplc)
|
|||
#if defined(__GNUC__) && defined(__i386__) && !defined(NOASM)
|
||||
// from pragmas.h
|
||||
# define ourdivscale32(d,b) \
|
||||
({ int32_t __d=(d), __b=(b), __r; \
|
||||
__asm__ __volatile__ ("xorl %%eax, %%eax; divl %%ebx" \
|
||||
: "=a" (__r), "=d" (__d) : "d" (__d), "b" (__b) : "cc"); \
|
||||
__r; })
|
||||
({ int32_t __d=(d), __b=(b), __r; \
|
||||
__asm__ __volatile__ ("xorl %%eax, %%eax; divl %%ebx" \
|
||||
: "=a" (__r), "=d" (__d) : "d" (__d), "b" (__b) : "cc"); \
|
||||
__r; })
|
||||
#else
|
||||
# define ourdivscale32(d,b) divscale32(d,b)
|
||||
#endif
|
||||
|
@ -7164,7 +7164,7 @@ static int32_t loadtables(void)
|
|||
reciptable[i] = divscale30(2048, i+2048);
|
||||
|
||||
for (i=0; i<16384; i++)
|
||||
sloptable[i] = krecipasm(i-8192);
|
||||
sloptable[i] = krecipasm(i-8192);
|
||||
|
||||
for (i=0; i<=512; i++)
|
||||
sintable[i] = (int16_t)(16384.f * sinf((float)i * BANG2RAD));
|
||||
|
|
Loading…
Reference in a new issue