convert line ends
[canaan.git] / prj / cam / src / engfeat / pick.h
blob7a90fe42076b362c49113c30fb5695f79917d86e
1 /*
2 @Copyright Looking Glass Studios, Inc.
3 1996,1997,1998,1999,2000 Unpublished Work.
4 */
6 // $Header: r:/t2repos/thief2/src/engfeat/pick.h,v 1.2 2000/01/29 13:19:51 adurant Exp $
7 #pragma once
9 /* --<<= --/-/-/-/-/-/-/ <<< ((( ((( /\ ))) ))) >>> \-\-\-\-\-\-\-- =>>-- *\
10 pick.h
12 This is a fairly generic system for choosing which object the player
13 can frob. The only info it exports is g_PickCurrentObj, which is
14 updated every frame, and equals OBJ_NULL if there's nothing in front
15 of the player camera to be picked.
17 \* --<<= --\-\-\-\-\-\-\ <<< ((( ((( \/ ))) ))) >>> /-/-/-/-/-/-/-- =>>-- */
19 #ifndef __PICK_H
20 #define __PICK_H
22 #include <lg.h>
23 #include <fix.h>
25 // This describes a bounding box in camera space. The first two
26 // parameters are in screen space, and the third in world space,
27 // cause hey, it's convenient.
28 EXTERN void PickInit();
29 EXTERN void PickTerm();
30 EXTERN void PickSetFocus(fix FocusX, fix FocusY, float fMaxDistSquared);
31 EXTERN void PickFrameUpdate(void);
32 EXTERN void PickSetCanvas(void);
33 EXTERN ObjID PickWeighObject(ObjID obj);
35 EXTERN ObjID g_PickCurrentObj;
37 #endif // __PICK_H