| 547 | |
| 548 | |
| 549 | void |
| 550 | initGraphs(void) |
| 551 | { |
| 552 | int i; |
| 553 | SimGraph *graph; |
| 554 | |
| 555 | for (graph = sim->graph; graph != NULL; graph = graph->next) { |
| 556 | graph->range = 10; |
| 557 | graph->mask = ALL_HISTORIES; |
| 558 | } |
| 559 | |
| 560 | if (!HistoryInitialized) { |
| 561 | HistoryInitialized = 1; |
| 562 | for (i = 0; i < HISTORIES; i++) { |
| 563 | History10[i] = (unsigned char *)ckalloc(120); |
| 564 | History120[i] = (unsigned char *)ckalloc(120); |
| 565 | } |
| 566 | } |
| 567 | } |
| 568 | |
| 569 | |
| 570 | /* comefrom: InitWillStuff */ |