| | 1 | #ifndef _bh_spcl_h |
| | 2 | #define _bh_spcl_h 1 |
| | 3 | |
| | 4 | #include "stratdef.h" |
| | 5 | #include "bh_types.h" |
| | 6 | |
| | 7 | typedef struct xeno_morph_room_tools_template |
| | 8 | { |
| | 9 | int MainShape; |
| | 10 | |
| | 11 | int ShutShape; |
| | 12 | int WallsOutShape; |
| | 13 | int ProbesInShape; |
| | 14 | |
| | 15 | MREF my_module; |
| | 16 | char nameID[SB_NAME_LENGTH]; |
| | 17 | |
| | 18 | char doorID[SB_NAME_LENGTH]; |
| | 19 | |
| | 20 | } XENO_MORPH_ROOM_TOOLS_TEMPLATE; |
| | 21 | |
| | 22 | typedef enum xeno_morph_room_state |
| | 23 | { |
| | 24 | XMRS_Idle, |
| | 25 | XMRS_SafetyChecks, |
| | 26 | XMRS_EnclosingPlayer, |
| | 27 | XMRS_WallsOut, |
| | 28 | XMRS_ProbesIn, |
| | 29 | XMRS_FadeToBlack, |
| | 30 | XMRS_Process, |
| | 31 | XMRS_Return, |
| | 32 | XMRS_ReleasePlayer, |
| | 33 | XMRS_Finished, |
| | 34 | |
| | 35 | } XENO_MORPH_ROOM_STATE; |
| | 36 | |
| | 37 | typedef struct xeno_morph_room_data |
| | 38 | { |
| | 39 | AVP_BEHAVIOUR_TYPE bhvr_type; |
| | 40 | TXACTRLBLK *tacb; |
| | 41 | |
| | 42 | MORPHCTRL *XMR_Mctrl; |
| | 43 | |
| | 44 | XENO_MORPH_ROOM_STATE XMR_State; |
| | 45 | |
| | 46 | int MainShape; |
| | 47 | int ShutShape; |
| | 48 | int WallsOutShape; |
| | 49 | int ProbesInShape; |
| | 50 | |
| | 51 | int timer; |
| | 52 | |
| | 53 | int ** pis_items_str; |
| | 54 | int ** pis_sht_str; |
| | 55 | |
| | 56 | char doorID[SB_NAME_LENGTH]; |
| | 57 | STRATEGYBLOCK* DoorToRoom; |
| | 58 | |
| | 59 | } XENO_MORPH_ROOM_DATA; |
| | 60 | |
| | 61 | #endif |