Search
lxdream.org :: lxdream/src/pvr2/pvr2.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/pvr2.h
changeset 850:28782ebbd01d
prev827:d333f4248727
next856:02ac5f37bfc9
author nkeynes
date Mon Sep 08 07:56:33 2008 +0000 (11 years ago)
permissions -rw-r--r--
last change Add lightgun support
file annotate diff log raw
1.1 --- a/src/pvr2/pvr2.h Sun Aug 24 02:57:15 2008 +0000
1.2 +++ b/src/pvr2/pvr2.h Mon Sep 08 07:56:33 2008 +0000
1.3 @@ -334,6 +334,13 @@
1.4
1.5 int pvr2_render_save_scene( const gchar *filename );
1.6
1.7 +/**
1.8 + * Queue a gun position event to occur at the specified position. Unless
1.9 + * cancelled, when the display reaches the position:
1.10 + * GUNPOS is updated with the position, and
1.11 + * EVENT_MAPLE_DMA is fired.
1.12 + */
1.13 +void pvr2_queue_gun_event( int xpos, int ypos );
1.14
1.15 /************************* Rendering support macros **************************/
1.16 #define POLY1_DEPTH_MODE(poly1) ( pvr2_poly_depthmode[(poly1)>>29] )
.