Skip to content

Commit

Permalink
remove remnants of the "key blink" feature
Browse files Browse the repository at this point in the history
  • Loading branch information
rfomin committed Nov 17, 2024
1 parent 087179a commit e832180
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
15 changes: 0 additions & 15 deletions src/d_player.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,17 +88,6 @@ typedef enum
weapswitch_raising,
} weapswitch_t;


// [crispy] blinking key or skull in the status bar
typedef enum
{
KEYBLINK_NONE,
KEYBLINK_CARD,
KEYBLINK_SKULL,
KEYBLINK_BOTH,
KEYBLINK_EITHER,
} keyblink_t;

//
// Extended player object info: player_t
//
Expand Down Expand Up @@ -198,10 +187,6 @@ typedef struct player_s
// [Woof!] show centered "A secret is revealed!" message
char* secretmessage;

// [crispy] blinking key or skull in the status bar
keyblink_t keyblinkkeys[3];
int keyblinktics;

int btuse, btuse_tics;

// [crispy] free look / mouse look
Expand Down
2 changes: 0 additions & 2 deletions src/g_game.c
Original file line number Diff line number Diff line change
Expand Up @@ -1680,8 +1680,6 @@ static void G_PlayerFinishLevel(int player)
p->bonuscount = 0;
// [crispy] reset additional player properties
p->btuse_tics = 0;
memset(p->keyblinkkeys, 0, sizeof p->keyblinkkeys);
p->keyblinktics = 0;
p->oldpitch = p->pitch = 0;
p->centering = false;
p->slope = 0;
Expand Down

0 comments on commit e832180

Please sign in to comment.