2 @Copyright Looking Glass Studios, Inc.
3 1996,1997,1998,1999,2000 Unpublished Work.
6 // $Header: r:/t2repos/thief2/src/engfeat/pick.h,v 1.2 2000/01/29 13:19:51 adurant Exp $
9 /* --<<= --/-/-/-/-/-/-/ <<< ((( ((( /\ ))) ))) >>> \-\-\-\-\-\-\-- =>>-- *\
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 \* --<<= --\-\-\-\-\-\-\ <<< ((( ((( \/ ))) ))) >>> /-/-/-/-/-/-/-- =>>-- */
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
;