| 5 |
|
* Holodeck display process. |
| 6 |
|
*/ |
| 7 |
|
|
| 8 |
+ |
#include <string.h> |
| 9 |
+ |
#include <ctype.h> |
| 10 |
+ |
|
| 11 |
|
#include "rholo.h" |
| 12 |
|
#include "rhdisp.h" |
| 13 |
|
#include "rhdriver.h" |
| 14 |
|
#include "selcall.h" |
| 12 |
– |
#include <ctype.h> |
| 15 |
|
|
| 16 |
|
#ifndef VIEWHISTLEN |
| 17 |
|
#define VIEWHISTLEN 4 /* number of remembered views */ |
| 218 |
|
hdlist[hd] = (HOLO *)malloc(sizeof(HOLO)); |
| 219 |
|
if (hdlist[hd] == NULL) |
| 220 |
|
error(SYSTEM, "out of memory in add_holo"); |
| 221 |
< |
bcopy((void *)hdg, (void *)hdlist[hd], sizeof(HDGRID)); |
| 221 |
> |
memcpy((void *)hdlist[hd], (void *)hdg, sizeof(HDGRID)); |
| 222 |
|
hdcompgrid(hdlist[hd]); |
| 223 |
|
hdgfn[hd] = savestr(gfn); |
| 224 |
|
hdpfn[hd] = pfn && *pfn ? savestr(pfn) : (char *)NULL; |
| 277 |
|
static unsigned nhist; |
| 278 |
|
VIEW *dv; |
| 279 |
|
int i, res[2]; |
| 280 |
< |
int2 *slist; |
| 280 |
> |
int16 *slist; |
| 281 |
|
char *err; |
| 282 |
|
/* restore previous view? */ |
| 283 |
|
if (v == NULL) { |