Diff for /np2/common/parts.c between versions 1.1.1.1 and 1.2

version 1.1.1.1, 2003/10/16 17:57:16 version 1.2, 2003/10/26 08:59:53
Line 2 Line 2
 #include        "parts.h"  #include        "parts.h"
   
   
   static  SINT32  randseed = 1;
   
   
   void PARTSCALL rand_setseed(SINT32 seed) {
   
           randseed = seed;
   }
   
   SINT32 PARTSCALL rand_get(void) {
   
           randseed = (randseed * 0x343fd) + 0x269ec3;
           return(randseed >> 16);
   }
   
 BYTE PARTSCALL AdjustAfterMultiply(BYTE value) {  BYTE PARTSCALL AdjustAfterMultiply(BYTE value) {
   
         return((BYTE)(((value / 10) << 4) + (value % 10)));          return((BYTE)(((value / 10) << 4) + (value % 10)));

Removed from v.1.1.1.1  
changed lines
  Added in v.1.2


RetroPC.NET-CVS <cvs@retropc.net>