Imports the current Win32 source for the pod-racing game 'Red Planet', built on the MUNGA engine and its L4 (Win32/DirectX) platform layer: - MUNGA / MUNGA_L4: cross-platform engine core and Win32 backend - RP / RP_L4: Red Planet game logic and Win32 application - DivLoader, Setup1: asset loader and installer project - lib, MUNGA_L4/openal, MUNGA_L4/sos: third-party audio dependencies Removed stale Subversion metadata and added .gitignore/.gitattributes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
96 lines
2.1 KiB
C++
96 lines
2.1 KiB
C++
#ifndef vr_prot_h
|
|
#define vr_prot_h
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef enum vr_action {
|
|
vr_init_action,
|
|
|
|
vr_create_action,
|
|
vr_delete_action,
|
|
vr_flush_action,
|
|
|
|
vr_sect_pixel_action,
|
|
vr_sect_vector_action,
|
|
|
|
vr_dcs_nest_action,
|
|
vr_dcs_link_action,
|
|
vr_dcs_prune_action,
|
|
|
|
vr_draw_scene_action,
|
|
vr_draw_scene_complete_action,
|
|
|
|
vr_list_add_action,
|
|
vr_list_remove_action,
|
|
|
|
vr_morph_action,
|
|
|
|
vr_version_action,
|
|
vr_statistics_action,
|
|
vr_readpixels_action,
|
|
|
|
vr_hspcode_action,
|
|
vr_860code_action,
|
|
vr_860data_action,
|
|
vr_860bss_action,
|
|
vr_860args_action,
|
|
|
|
vr_set_geom_text_action,
|
|
vr_update_geom_verts_action,
|
|
vr_get_geom_verts_action,
|
|
vr_add_geom_connections_action,
|
|
vr_set_texmap_texels_action,
|
|
vr_sfx_action,
|
|
vr_install_sfx_action,
|
|
vr_psfx_action,
|
|
vr_install_psfx_action,
|
|
vr_flush_dcs_artic_action,
|
|
vr_damage_action,
|
|
vr_random_table_action,
|
|
vr_gamma_table_action,
|
|
vr_kill_sfx_action,
|
|
vr_geometrize_action,
|
|
vr_clone_object_action,
|
|
vr_set_sect_pixel_action,
|
|
vr_set_warning_action,
|
|
vr_set_render_prop_action,
|
|
vr_create_2d_display_action,
|
|
vr_delete_2d_display_action,
|
|
vr_flush_2d_display_action,
|
|
vr_freemem_action,
|
|
vr_sync_action,
|
|
vr_get_bounds_action,
|
|
vr_get_geom_connections_action,
|
|
vr_get_geom_numconnections_action,
|
|
vr_cleanup_gg_action,
|
|
vr_clear_dcs_action,
|
|
vr_remove_dcs_action,
|
|
vr_add_dcs_action
|
|
} vr_action;
|
|
|
|
/* some i860 states for transputer-side monitoring */
|
|
|
|
#define state_vr_rcv_wait_lock 0
|
|
#define state_vr_rcv_wait_ack 1
|
|
#define state_vr_send_wait_lock 2
|
|
#define state_vr_send_wait_ack 3
|
|
#define state_vr_dma_wait_lock 4
|
|
#define state_vr_dma_wait_ack 5
|
|
#define state_vr_dma_spin_lock 6
|
|
#define state_vr_texels_wait_lock 7
|
|
#define state_vr_texels_wait_ack 8
|
|
#define state_vr_texels_spin_lock 9
|
|
#define state_vr_cull 10
|
|
#define state_vr_draw 11
|
|
|
|
#define state_monitor 0
|
|
|
|
#define set_state(a,b,c) if (state_monitor) set_i860_state(a,b,c)
|
|
#define aux_state(a,b,c) if (state_monitor) set_i860_auxstate(a,b,c)
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|