// This file defines the internal game function list.  It binds
// game function ID's to actual Action ID's.  The action ID's are defined
// in action.h

print "Binding internal game funcs..."

// bind AI functions:

bindaction UP				AIACTION_UP
bindaction RIGHT			AIACTION_RIGHT
bindaction DOWN				AIACTION_DOWN
bindaction LEFT				AIACTION_LEFT

bindaction +UP				AIACTION_UP		 
bindaction +RIGHT			AIACTION_RIGHT	 
bindaction +DOWN			AIACTION_DOWN	 
bindaction +LEFT			AIACTION_LEFT	 

bindaction -UP				AIACTION_UP_RELEASE
bindaction -RIGHT			AIACTION_RIGHT_RELEASE
bindaction -DOWN			AIACTION_DOWN_RELEASE
bindaction -LEFT			AIACTION_LEFT_RELEASE

bindaction POV_UP			AIACTION_XCENTER AIACTION_YCENTER AIACTION_UP		 
bindaction POV_UPRIGHT		AIACTION_XCENTER AIACTION_YCENTER AIACTION_UP	AIACTION_RIGHT
bindaction POV_RIGHT		AIACTION_XCENTER AIACTION_YCENTER AIACTION_RIGHT	 
bindaction POV_DOWNRIGHT	AIACTION_XCENTER AIACTION_YCENTER AIACTION_DOWN	AIACTION_RIGHT
bindaction POV_DOWN			AIACTION_XCENTER AIACTION_YCENTER AIACTION_DOWN	 
bindaction POV_DOWNLEFT		AIACTION_XCENTER AIACTION_YCENTER AIACTION_DOWN AIACTION_LEFT
bindaction POV_LEFT			AIACTION_XCENTER AIACTION_YCENTER AIACTION_LEFT	 
bindaction POV_UPLEFT		AIACTION_XCENTER AIACTION_YCENTER AIACTION_UP	AIACTION_LEFT
bindaction POV_CENTER		AIACTION_XCENTER AIACTION_YCENTER

bindaction XAXISCHANGE		AIACTION_XVALUE  
bindaction YAXISCHANGE		AIACTION_YVALUE  
bindaction RXAXISCHANGE		AIACTION_RXVALUE  
bindaction RYAXISCHANGE		AIACTION_RYVALUE  
bindaction XCENTER			AIACTION_XCENTER 
bindaction YCENTER			AIACTION_YCENTER
bindaction ALLCENTER		AIACTION_XCENTER AIACTION_YCENTER

bindaction +PLAYCALL1		AIACTION_PLAYCALL1
bindaction +PLAYCALL2		AIACTION_PLAYCALL2
bindaction +PLAYCALL3		AIACTION_PLAYCALL3
bindaction +PLAYCALL4		AIACTION_PLAYCALL4

bindaction -PLAYCALL1		AIACTION_PLAYCALL1_RELEASE
bindaction -PLAYCALL2		AIACTION_PLAYCALL2_RELEASE
bindaction -PLAYCALL3		AIACTION_PLAYCALL3_RELEASE
bindaction -PLAYCALL4		AIACTION_PLAYCALL4_RELEASE

bindaction PLAYCALL1		AIACTION_PLAYCALL_RELEASEALL AIACTION_PLAYCALL1
bindaction PLAYCALL2		AIACTION_PLAYCALL_RELEASEALL AIACTION_PLAYCALL2
bindaction PLAYCALL3		AIACTION_PLAYCALL_RELEASEALL AIACTION_PLAYCALL3
bindaction PLAYCALL4		AIACTION_PLAYCALL_RELEASEALL AIACTION_PLAYCALL4

bindaction PLAYCALL_POV_UP			AIACTION_PLAYCALL_RELEASEALL AIACTION_PLAYCALL1
bindaction PLAYCALL_POV_DOWN		AIACTION_PLAYCALL_RELEASEALL AIACTION_PLAYCALL2
bindaction PLAYCALL_POV_LEFT		AIACTION_PLAYCALL_RELEASEALL AIACTION_PLAYCALL3
bindaction PLAYCALL_POV_RIGHT		AIACTION_PLAYCALL_RELEASEALL AIACTION_PLAYCALL4
bindaction PLAYCALL_POV_CENTER		AIACTION_PLAYCALL_RELEASEALL

bindaction GPAUSE			AIACTION_GLOBAL_PAUSE
bindaction GCONTINUE		AIACTION_GLOBAL_CONTINUE

bindaction +CALLPLAY		AIACTION_CALLPLAY_PRESS
bindaction -CALLPLAY		AIACTION_CALLPLAY_RELEASE
bindaction +PAUSE			AIACTION_PAUSE_PRESS
bindaction -PAUSE			AIACTION_PAUSE_RELEASE
bindaction +DIRECTPASS		AIACTION_DIRECTPASS_PRESS
bindaction -DIRECTPASS		AIACTION_DIRECTPASS_RELEASE
bindaction +DIRECTSHOOT		AIACTION_DIRECTSHOOT_PRESS
bindaction -DIRECTSHOOT		AIACTION_DIRECTSHOOT_RELEASE
bindaction +FAKE			AIACTION_FAKE_PRESS
bindaction -FAKE			AIACTION_FAKE_RELEASE
bindaction +TURBO			AIACTION_TURBO_PRESS
bindaction -TURBO			AIACTION_TURBO_RELEASE
bindaction +SHOOT			AIACTION_SHOOT_PRESS
bindaction -SHOOT			AIACTION_SHOOT_RELEASE
bindaction +PASS			AIACTION_PASS_PRESS
bindaction -PASS			AIACTION_PASS_RELEASE
bindaction +CROSSOVER		AIACTION_CROSSOVER_PRESS
bindaction -CROSSOVER		AIACTION_CROSSOVER_RELEASE
bindaction +BACKDOWN		AIACTION_BACKDOWN_PRESS
bindaction -BACKDOWN		AIACTION_BACKDOWN_RELEASE

bindaction +DEFCALLPLAY		AIACTION_DEF_CALLPLAY_PRESS
bindaction -DEFCALLPLAY		AIACTION_DEF_CALLPLAY_RELEASE
bindaction +DEFPAUSE		AIACTION_DEF_PAUSE_PRESS
bindaction -DEFPAUSE		AIACTION_DEF_PAUSE_RELEASE
bindaction +DEFDIRECTSWITCH	AIACTION_DEF_DIRECTSWITCH_PRESS
bindaction -DEFDIRECTSWITCH	AIACTION_DEF_DIRECTSWITCH_RELEASE
bindaction +DEFLASTMANBACK	AIACTION_DEF_LASTMANBACK_PRESS
bindaction -DEFLASTMANBACK	AIACTION_DEF_LASTMANBACK_RELEASE
bindaction +DEFFACEUP		AIACTION_DEF_FACEUP_PRESS
bindaction -DEFFACEUP		AIACTION_DEF_FACEUP_RELEASE
bindaction +DEFTURBO		AIACTION_DEF_TURBO_PRESS
bindaction -DEFTURBO		AIACTION_DEF_TURBO_RELEASE
bindaction +DEFPUSH			AIACTION_DEF_PUSH_PRESS
bindaction -DEFPUSH			AIACTION_DEF_PUSH_RELEASE
bindaction +DEFSWITCH		AIACTION_DEF_SWITCH_PRESS
bindaction -DEFSWITCH		AIACTION_DEF_SWITCH_RELEASE
bindaction +DEFSTEAL		AIACTION_DEF_STEAL_PRESS
bindaction -DEFSTEAL		AIACTION_DEF_STEAL_RELEASE
bindaction +DEFJUMP			AIACTION_DEF_JUMP_PRESS
bindaction -DEFJUMP			AIACTION_DEF_JUMP_RELEASE

// bind FE functions:

bindaction +SELECT			FEACTION_SELECT_PRESS
bindaction -SELECT			FEACTION_SELECT_RELEASE

bindaction +NEXTSCREEN		FEACTION_NEXTSCREEN_PRESS
bindaction -NEXTSCREEN		FEACTION_NEXTSCREEN_RELEASE

bindaction +PREVSCREEN		FEACTION_PREVSCREEN_PRESS
bindaction -PREVSCREEN		FEACTION_PREVSCREEN_RELEASE

bindaction +SWITCHLAYER		FEACTION_SWITCHLAYER_PRESS
bindaction -SWITCHLAYER		FEACTION_SWITCHLAYER_RELEASE

bindaction +HELP			FEACTION_HELP_PRESS
bindaction -HELP			FEACTION_HELP_RELEASE

bindaction +MENU			FEACTION_MENU_PRESS
bindaction -MENU			FEACTION_MENU_RELEASE

bindaction +NEXTGROUP		FEACTION_NEXTGROUP_PRESS
bindaction -NEXTGROUP		FEACTION_NEXTGROUP_RELEASE

bindaction +PREVGROUP		FEACTION_PREVGROUP_PRESS
bindaction -PREVGROUP		FEACTION_PREVGROUP_RELEASE

bindaction +SPECIAL1		FEACTION_SPECIAL1_PRESS
bindaction -SPECIAL1		FEACTION_SPECIAL1_RELEASE

bindaction +SPECIAL2		FEACTION_SPECIAL2_PRESS
bindaction -SPECIAL2		FEACTION_SPECIAL2_RELEASE

bindaction FE_UP			FEACTION_UP
bindaction FE_DOWN			FEACTION_DOWN
bindaction FE_LEFT			FEACTION_LEFT
bindaction FE_RIGHT			FEACTION_RIGHT
bindaction FE_XAXISCHANGE	FEACTION_XVALUE
bindaction FE_YAXISCHANGE	FEACTION_YVALUE
bindaction FE_XCENTER		FEACTION_XCENTER
bindaction FE_YCENTER		FEACTION_YCENTER

bindaction FE_UP			FEACTION_UP		 
bindaction FE_UPRIGHT		FEACTION_UP	FEACTION_RIGHT
bindaction FE_RIGHT			FEACTION_RIGHT	 
bindaction FE_DOWNRIGHT		FEACTION_DOWN	FEACTION_RIGHT
bindaction FE_DOWN			FEACTION_DOWN	 
bindaction FE_DOWNLEFT		FEACTION_DOWN FEACTION_LEFT
bindaction FE_LEFT			FEACTION_LEFT	 
bindaction FE_UPLEFT		FEACTION_UP FEACTION_LEFT
bindaction FE_ALLCENTER		FEACTION_XCENTER FEACTION_YCENTER

bindaction CONSOLE			FEACTION_TOGGLECONSOLE
bindaction EXITAPP			ACTION_EXITAPPLICATION
