* improved physics

* Added Vorticon Elite of CK 8.4
* Reduced a bit the source code


git-svn-id: https://clonekeenplus.svn.sourceforge.net/svnroot/clonekeenplus/cgenius/trunk@163 4df4b0f3-56ce-47cb-b001-ed939b7d65a6
This commit is contained in:
gerstrong
2009-07-25 15:08:20 +00:00
parent 0958209911
commit 3044211de1
22 changed files with 357 additions and 371 deletions

View File

@@ -1102,6 +1102,15 @@ int dlgX,dlgY,dlgW,dlgH;
} while(1);
}
// a random number generator
ulong random_seed;
void srnd(ulong newseed) { random_seed = newseed; }
uint rnd(void)
{
random_seed = random_seed * 1103515245 + 12345;
return (uint)(random_seed / 65536) % 32768;
}
int endsequence(stCloneKeenPlus *pCKP)
{