Files
TeslaRel410/sda4/DPL3/VRENDER/PAZVIZP5.C
T
CydandClaude Fable 5 db7745fcd0 sda4: commit the Glaze developer hard-drive dump
Un-ignored: the dev drive is the ground truth the restoration and
emulator work constantly reference (DPL3/LIBDPL + VRENDER i860 renderer
source, BT/RP live+dev game trees, VGL_LABS pod boot, scene/audio
content). Kept in-repo for the pod-owner community.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-04 19:41:15 -05:00

41 lines
925 B
C++

/*
File pazhsp.c
The paz HSP-demo
*/
#include <stdio.h>
#include <stdlib.h>
#include "pazpl5.h"
extern int deal_with( int * client, int me, int total );
extern int replying, view_id, total_views;
#define use_up(type, name) { \
int i; \
for (i=0; 1; i++) { \
if(malloc(sizeof(type))==NULL) \
printf ( "Failed to malloc %d'th %s, size %d\n", i, name, sizeof(type)); \
} \
}
int main ( int argc, char *argv[])
{
int client=0;
int me, total;
dN_mynode (&me);
dN_nodes ( &total);
view_id=me-2;
total_views=total-2;
replying=(me==2);
/* use_up(VERTEX, "VERTEX") ; */
while (1) {
client=0;
if (deal_with ( &client, me, total )) ack_host();
}
}