diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2015-06-25 22:52:39 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2015-06-25 22:52:39 +0200 |
commit | 6c7152aada204bfdfa6e39cdfea5e10440e0ed36 (patch) | |
tree | 1d2c8e17b47abc796de1f0e045abf3fb043d07df /src/cgame/cg_tutorial.c | |
parent | 1b13c257a9759f0a40c79f0acd3a07bc079df120 (diff) |
Bring back some Basilisk code as a base for Wraith.
Diffstat (limited to 'src/cgame/cg_tutorial.c')
-rw-r--r-- | src/cgame/cg_tutorial.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/cgame/cg_tutorial.c b/src/cgame/cg_tutorial.c index 0819892..b44b2f1 100644 --- a/src/cgame/cg_tutorial.c +++ b/src/cgame/cg_tutorial.c @@ -258,6 +258,25 @@ static void CG_AlienLevel0Text( char *text, playerState_t *ps ) /* =============== +CG_AlienLevel1Text +=============== +*/ +static void CG_AlienLevel1Text( char *text, playerState_t *ps ) +{ + Q_strcat( text, MAX_TUTORIAL_TEXT, + "Touch humans to grab them\n" ); + + Q_strcat( text, MAX_TUTORIAL_TEXT, + va( "Press %s to swipe\n", + CG_KeyNameForCommand( "+attack" ) ) ); + + Q_strcat( text, MAX_TUTORIAL_TEXT, + va( "Press %s to walk on walls\n", + CG_KeyNameForCommand( "+movedown" ) ) ); +} + +/* +=============== CG_AlienLevel2Text =============== */ @@ -631,6 +650,10 @@ const char *CG_TutorialText( void ) CG_AlienLevel0Text( text, ps ); break; + case PCL_ALIEN_LEVEL1: + CG_AlienLevel1Text( text, ps ); + break; + case PCL_ALIEN_LEVEL2: case PCL_ALIEN_LEVEL2_UPG: CG_AlienLevel2Text( text, ps ); |