| 30 | 
  | 
 | 
| 31 | 
  | 
static MESH     *mlist = NULL;          /* list of loaded meshes */ | 
| 32 | 
  | 
 | 
| 33 | 
– | 
static lut_keycmpf_t cvcmp; | 
| 34 | 
– | 
static lut_hashf_t cvhash; | 
| 33 | 
  | 
 | 
| 36 | 
– | 
 | 
| 34 | 
  | 
static unsigned long | 
| 35 | 
< | 
cvhash(p)                               /* hash an encoded vertex */ | 
| 39 | 
< | 
/* MCVERT       *cvp; */ | 
| 40 | 
< | 
const void      *p; | 
| 35 | 
> | 
cvhash(const char *p)                   /* hash an encoded vertex */ | 
| 36 | 
  | 
{ | 
| 37 | 
  | 
        const MCVERT    *cvp = (const MCVERT *)p; | 
| 38 | 
  | 
        unsigned long   hval; | 
| 49 | 
  | 
 | 
| 50 | 
  | 
 | 
| 51 | 
  | 
static int | 
| 52 | 
< | 
cvcmp(vv1, vv2)                         /* compare encoded vertices */ | 
| 58 | 
< | 
/* register MCVERT      *v1, *v2; */ | 
| 59 | 
< | 
const void      *vv1, *vv2; | 
| 52 | 
> | 
cvcmp(const char *vv1, const char *vv2)         /* compare encoded vertices */ | 
| 53 | 
  | 
{ | 
| 54 | 
< | 
        const MCVERT    *v1 = vv1, *v2 = vv2; | 
| 54 | 
> | 
        const MCVERT    *v1 = (const MCVERT *)vv1, *v2 = (const MCVERT *)vv2; | 
| 55 | 
  | 
        if (v1->fl != v2->fl) | 
| 56 | 
  | 
                return(1); | 
| 57 | 
  | 
        if (v1->xyz[0] != v2->xyz[0]) |