Subversion Repositories eduke32

Compare Revisions

Ignore whitespace Rev 4743 → Rev 4744

/polymer/eduke32/build/include/build.h
1200,7 → 1200,18
int32_t checksectorpointer(int16_t i, int16_t sectnum);
 
void getmousevalues(int32_t *mousx, int32_t *mousy, int32_t *bstatus) ATTRIBUTE((nonnull(1,2,3)));
 
#if !KRANDDEBUG
FORCE_INLINE int32_t krand(void)
{
// randomseed = (randomseed*27584621)+1;
randomseed = (randomseed * 1664525ul) + 221297ul;
return ((uint32_t) randomseed)>>16;
}
#else
int32_t krand(void);
#endif
 
int32_t ksqrt(uint32_t num);
int32_t __fastcall getangle(int32_t xvect, int32_t yvect);
 
/polymer/eduke32/build/src/engine.c
14358,9 → 14358,7
fclose(fp);
return 0;
}
#endif // KRANDDEBUG
 
 
//
// krand
//
14369,7 → 14367,6
// randomseed = (randomseed*27584621)+1;
randomseed = (randomseed * 1664525ul) + 221297ul;
 
#if KRANDDEBUG
if (krd_enabled)
if (krd_numcalls < KRD_MAXCALLS)
{
14376,10 → 14373,10
backtrace(krd_fromwhere[krd_numcalls], KRD_DEPTH);
krd_numcalls++;
}
#endif
 
return ((uint32_t)randomseed)>>16;
}
#endif // KRANDDEBUG
 
 
//