| # | Line 252 | Line 252 | int n; | |
|---|---|---|
| 252 | ||
| 253 | #define initrad 32 | |
| 254 | #define radiusdec 30 | |
| 255 | < | #define alphadec; 30 |
| 255 | > | #define alphadec 30 |
| 256 | ||
| 257 | /* defs for freq and bias */ | |
| 258 | #define gammashift 10 | |
| # | Line 312 | Line 312 | initnet() | |
| 312 | ||
| 313 | for (i=0; i<clrtabsiz; i++) { | |
| 314 | p = network[i]; | |
| 315 | < | p[0] = i << netbiasshift; |
| 316 | < | p[1] = i << netbiasshift; |
| 317 | < | p[2] = i << netbiasshift; |
| 318 | < | freq[i] = intbias >> 8; /* 1/256 */ |
| 315 | > | p[0] = |
| 316 | > | p[1] = |
| 317 | > | p[2] = (i<<8) / clrtabsiz; |
| 318 | > | freq[i] = intbias/clrtabsiz; /* 1/256 */ |
| 319 | bias[i] = 0; | |
| 320 | } | |
| 321 | } | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |