convert line ends
[canaan.git] / prj / cam / src / sim / plyrtype.h
blobb5315ba27485431ce444ef2b3021262134bb1d97
1 /*
2 @Copyright Looking Glass Studios, Inc.
3 1996,1997,1998,1999,2000 Unpublished Work.
4 */
6 // $Header: r:/t2repos/thief2/src/sim/plyrtype.h,v 1.12 2000/01/31 10:00:27 adurant Exp $
7 #pragma once
9 #ifndef __PLYRTYPE_H
10 #define __PLYRTYPE_H
12 typedef int tPlayerActionType;
14 #define kPlayerModeInvalid 0xff
16 #define kPlayerActionTypeInvalid 0xff
18 typedef BOOL (*fPlayerFrameCallback)(ulong dt, void *data);
20 typedef void (*fPlayerIdleCallback)(int mode);
22 typedef void (*fPlayerModeCallback)(int mode, void *data);
24 typedef void (*fPlayerModeChangeCallback)(int mode);
26 #ifdef __cplusplus
27 typedef class cPlayerAbility cPlayerAbility;
28 typedef class IPlayerLimbHandler IPlayerLimbHandler;
30 // callback should set ability pointer appropriately
31 typedef void (*fPlayerAbilityCallback)(int mode, cPlayerAbility **pAbility, void *data);
33 #endif // cplusplus
35 #endif