#ifndef dpl_host_h #define dpl_host_h #include "dpltypes.h" /* ************************************************** Copyright DIVISION Limited (c) 1994 All rights reserved File : dpl_host.h Project : dpl interface host / dependent section Author : PJA Date : 22/06/94 Function: Introduces the host-specific functions this is in effect the definition of the porting layer for DPL History : Rev 1.0, 23 / 06 / 1994 The renderer must supply entrypoints to manipulate dpl-style lists and trees, and support must be provided for the hide, unhide and flush methods of the dpl classes. **************************** */ extern int32 dpl_WarningLevel; extern char *__lastop; extern void ghost_dpl_init( char *dpl_arg ); extern void ghost_dpl_bind_functions ( dpl_node * ); extern void ghost_dpl_add_list_item ( dpl_superlist *head, dpl_node *node ); extern void ghost_dpl_remove_list_item ( dpl_superlist *head, dpl_node *node ); extern void ghost_dpl_nest_dcs ( dpl_DCS *parent, dpl_DCS *node ); extern void ghost_dpl_prune_dcs ( dpl_DCS *parent, dpl_DCS *child ); extern void ghost_dpl_link_dcs ( dpl_DCS *bro, dpl_DCS *sis ); void ghost_dpl_morph_object ( dpl_OBJECT *morphed, dpl_OBJECT *a, dpl_OBJECT *b, float32 alpha ); extern void ghost_dpl_draw_scene ( int32 dubblebuffrd ); extern int32 ghost_dpl_draw_scene_complete ( void ); extern void ghost_dpl_wait_draw_scene_complete ( void ); extern void ghost_dpl_version ( dpl_VERSION *v ); extern void ghost_dpl_statistics ( dpl_STATISTICS *s ); extern int32 ghost_dpl_set_texmap_texels ( dpl_TEXMAP *tm, int32 *texels, int32 u_size, int32 v_size, int32 mode ); extern int32 ghost_dpl_set_geometry_vertices ( dpl_GEOMETRY *gg, dpl_VERTEX_LIST *vl, dpl_CONNECTION_LIST *cl, int32 vertices, int32 connections ); extern void ghost_dpl_readpixels ( int32 *pixels, int32 x, int32 y, int32 n_pixels ); extern dpl_INSTANCE * ghost_dpl_sectvector ( dpl_POINT sect, float32 x0, float32 y0, float32 z0, float32 x1, float32 y1, float32 z1 ); extern dpl_INSTANCE * ghost_dpl_sectpixel ( dpl_POINT sect, float32 x, float32 y ); #endif