Skip to content

Commit

Permalink
avatar screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
goblinhack committed Jul 1, 2023
1 parent 295f0b8 commit b837060
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
Binary file modified pics/pixelart/screenshot.3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion src/wid_choose_avatar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,10 @@ static uint8_t wid_choose_avatar_key_down(Widp w, const struct SDL_Keysym *key)
return false;
}

return true;
//
// So screenshots can work
//
return false;
}

static uint8_t wid_choose_avatar_bodypart_next(Widp w, int x, int y, uint32_t button)
Expand Down
5 changes: 4 additions & 1 deletion src/wid_credits.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ static uint8_t wid_credits_key_down(Widp w, const struct SDL_Keysym *key)
return false;
}

return true;
//
// So screenshots can work
//
return false;
}

static uint8_t wid_credits_mouse_up(Widp w, int x, int y, uint32_t button)
Expand Down
5 changes: 4 additions & 1 deletion src/wid_hiscore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ static uint8_t wid_hiscore_key_up(Widp w, const struct SDL_Keysym *key)
}
}

return true;
//
// So screenshots can work
//
return false;
}

static uint8_t wid_hiscore_key_down(Widp w, const struct SDL_Keysym *key)
Expand Down

0 comments on commit b837060

Please sign in to comment.