head 1.3; branch ; access ; symbols ; locks ; strict; comment @@; 1.3 date 2002.04.12.16.46.43; author sgl; state Exp; branches ; next 1.2; 1.2 date 2002.04.10.18.44.14; author sgl; state Exp; branches ; next 1.1; 1.1 date 2002.04.10.15.22.29; author sgl; state Exp; branches ; next ; ext @project U:/street2.pj; @ desc @@ 1.3 log @mostly working xbox interface code@ text @// 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..." // =============================================== // FUNCTION ACTION // =============================================== bindaction +UP UP_PRESS bindaction -UP UP_RELEASE bindaction +DOWN DOWN_PRESS bindaction -DOWN DOWN_RELEASE bindaction +LEFT LEFT_PRESS bindaction -LEFT LEFT_RELEASE bindaction +RIGHT RIGHT_PRESS bindaction -RIGHT RIGHT_RELEASE bindaction +XBUTTON X_BUTTON_PRESS bindaction -XBUTTON X_BUTTON_RELEASE bindaction +YBUTTON Y_BUTTON_PRESS bindaction -YBUTTON Y_BUTTON_RELEASE bindaction +ABUTTON A_BUTTON_PRESS bindaction -ABUTTON X_BUTTON_RELEASE bindaction +BBUTTON B_BUTTON_PRESS bindaction -BBUTTON B_BUTTON_RELEASE bindaction +BLACK BLACK_BUTTON_PRESS bindaction -BLACK BLACK_BUTTON_RELEASE bindaction +WHITE WHITE_BUTTON_PRESS bindaction -WHITE WHITE_BUTTON_RELEASE bindaction +START START_PRESS //bindaction -START bindaction +BACK BACK_PRESS bindaction -BACK BACK_RELEASE bindaction +LTRIGGER LTRIG_PRESS bindaction -LTRIGGER LTRIG_RELEASE bindaction +RTRIGGER RTRIG_PRESS bindaction -RTRIGGER RTRIG_RELEASE // -------------------------------------------------------------------------------- // other... bindaction XAXIS AIACTION_XVALUE bindaction YAXIS AIACTION_YVALUE bindaction RXAXIS AIACTION_RXVALUE bindaction RYAXIS AIACTION_RYVALUE @ 1.2 log @generic button mappings@ text @d35 2 a36 2 bindaction +SELECT SELECT_PRESS //bindaction -SELECT @ 1.1 log @Initial revision@ text @d10 4 a13 4 bindaction +UP FEACTION_UP_PRESS bindaction -UP FEACTION_UP_RELEASE bindaction +DOWN FEACTION_DOWN_PRESS bindaction -DOWN FEACTION_DOWN_RELEASE d15 4 a18 4 bindaction +LEFT FEACTION_LEFT_PRESS bindaction -LEFT FEACTION_LEFT_RELEASE bindaction +RIGHT FEACTION_RIGHT_PRESS bindaction -RIGHT FEACTION_RIGHT_RELEASE d20 8 a27 8 bindaction +XBUTTON FEACTION_X_BUTTON_PRESS bindaction -XBUTTON FEACTION_X_BUTTON_RELEASE bindaction +YBUTTON FEACTION_Y_BUTTON_PRESS bindaction -YBUTTON FEACTION_Y_BUTTON_RELEASE bindaction +ABUTTON FEACTION_A_BUTTON_PRESS bindaction -ABUTTON FEACTION_X_BUTTON_RELEASE bindaction +BBUTTON FEACTION_B_BUTTON_PRESS bindaction -BBUTTON FEACTION_B_BUTTON_RELEASE d29 4 a32 4 bindaction +BLACK FEACTION_BLACK_BUTTON_PRESS bindaction -BLACK FEACTION_BLACK_BUTTON_RELEASE bindaction +WHITE FEACTION_WHITE_BUTTON_PRESS bindaction -WHITE FEACTION_WHITE_BUTTON_RELEASE d35 1 a35 1 bindaction +SELECT FEACTION_SELECT_PRESS d37 2 a38 2 bindaction +BACK FEACTION_BACK_PRESS bindaction -BACK FEACTION_BACK_RELEASE d40 4 a43 4 bindaction +LTRIGGER FEACTION_LTRIG_PRESS bindaction -LTRIGGER FEACTION_LTRIG_RELEASE bindaction +RTRIGGER FEACTION_RTRIG_PRESS bindaction -RTRIGGER FEACTION_RTRIG_RELEASE @