mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-12-02 09:12:54 +00:00
Merge branch 'control-selector' into tutorial-time
This commit is contained in:
commit
9fc58d0a68
2 changed files with 11 additions and 4 deletions
|
@ -50,9 +50,14 @@ INT32 gamecontroldefault[num_gamecontrolschemes][num_gamecontrols][2]; // defaul
|
||||||
// lists of GC codes for selective operation
|
// lists of GC codes for selective operation
|
||||||
const INT32 gclist_tutorial[num_gclist_tutorial] = {
|
const INT32 gclist_tutorial[num_gclist_tutorial] = {
|
||||||
gc_forward, gc_backward, gc_strafeleft, gc_straferight,
|
gc_forward, gc_backward, gc_strafeleft, gc_straferight,
|
||||||
gc_lookup, gc_lookdown, gc_turnleft, gc_turnright //, gc_centerview,
|
gc_lookup, gc_lookdown, gc_turnleft, gc_turnright, gc_centerview,
|
||||||
//gc_jump, gc_use,
|
gc_jump, gc_use,
|
||||||
//gc_fire, gc_firenormal
|
gc_fire, gc_firenormal
|
||||||
|
};
|
||||||
|
|
||||||
|
const INT32 gclist_tutorial_check[num_gclist_tutorial_check] = {
|
||||||
|
gc_forward, gc_backward, gc_strafeleft, gc_straferight,
|
||||||
|
gc_turnleft, gc_turnright
|
||||||
};
|
};
|
||||||
|
|
||||||
const INT32 gclist_movement[num_gclist_movement] = {
|
const INT32 gclist_movement[num_gclist_movement] = {
|
||||||
|
|
|
@ -128,13 +128,15 @@ extern INT32 gamecontroldefault[num_gamecontrolschemes][num_gamecontrols][2]; //
|
||||||
#define PLAYER1INPUTDOWN(gc) (gamekeydown[gamecontrol[gc][0]] || gamekeydown[gamecontrol[gc][1]])
|
#define PLAYER1INPUTDOWN(gc) (gamekeydown[gamecontrol[gc][0]] || gamekeydown[gamecontrol[gc][1]])
|
||||||
#define PLAYER2INPUTDOWN(gc) (gamekeydown[gamecontrolbis[gc][0]] || gamekeydown[gamecontrolbis[gc][1]])
|
#define PLAYER2INPUTDOWN(gc) (gamekeydown[gamecontrolbis[gc][0]] || gamekeydown[gamecontrolbis[gc][1]])
|
||||||
|
|
||||||
#define num_gclist_tutorial 8 // 13
|
#define num_gclist_tutorial 13
|
||||||
|
#define num_gclist_tutorial_check 6
|
||||||
#define num_gclist_movement 4
|
#define num_gclist_movement 4
|
||||||
#define num_gclist_camera 2
|
#define num_gclist_camera 2
|
||||||
#define num_gclist_jump 1
|
#define num_gclist_jump 1
|
||||||
#define num_gclist_use 1
|
#define num_gclist_use 1
|
||||||
|
|
||||||
extern const INT32 gclist_tutorial[num_gclist_tutorial];
|
extern const INT32 gclist_tutorial[num_gclist_tutorial];
|
||||||
|
extern const INT32 gclist_tutorial_check[num_gclist_tutorial_check];
|
||||||
extern const INT32 gclist_movement[num_gclist_movement];
|
extern const INT32 gclist_movement[num_gclist_movement];
|
||||||
extern const INT32 gclist_camera[num_gclist_camera];
|
extern const INT32 gclist_camera[num_gclist_camera];
|
||||||
extern const INT32 gclist_jump[num_gclist_jump];
|
extern const INT32 gclist_jump[num_gclist_jump];
|
||||||
|
|
Loading…
Reference in a new issue