Subversion Repositories eduke32

Compare Revisions

Ignore whitespace Rev 4758 → Rev 4759

/polymer/eduke32/build/include/build.h
1201,10 → 1201,9
 
void getmousevalues(int32_t *mousx, int32_t *mousy, int32_t *bstatus) ATTRIBUTE((nonnull(1,2,3)));
 
#if !KRANDDEBUG
#if !KRANDDEBUG && !defined LUNATIC
FORCE_INLINE int32_t krand(void)
{
// randomseed = (randomseed*27584621)+1;
randomseed = (randomseed * 1664525ul) + 221297ul;
return ((uint32_t) randomseed)>>16;
}
/polymer/eduke32/build/src/engine.c
14356,7 → 14356,9
fclose(fp);
return 0;
}
#endif // KRANDDEBUG
 
#if KRANDDEBUG || defined LUNATIC
//
// krand
//
14364,7 → 14366,7
{
// randomseed = (randomseed*27584621)+1;
randomseed = (randomseed * 1664525ul) + 221297ul;
 
#ifdef KRANDDEBUG
if (krd_enabled)
if (krd_numcalls < KRD_MAXCALLS)
{
14371,12 → 14373,11
backtrace(krd_fromwhere[krd_numcalls], KRD_DEPTH);
krd_numcalls++;
}
 
#endif
return ((uint32_t)randomseed)>>16;
}
#endif // KRANDDEBUG
#endif
 
 
//
// getzrange
//