-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement menu control by mouse (#164)
* Initial implementation of menu control by mouse Co-Authored-By: Polina "Aura" N. <185700473+pvictress@users.noreply.github.com> * Disallow cursor if menu is not active * Proper coords for horizontal bounds * Scroll any scrollable pages by mouse wheel * Supress mouse button press for next tic after closing game menu * Rewrote LMB supressing on game loading * Remember cursor position on closing game menu (YES!) * Reinitialize mouse cursor position on resolution changing * If not playing, invoke main menu, open Main Menu by LR mouse buttons * Hide/show menu cursor depending on event type * Support for Heretic and Hexen * Proofreading --------- Co-authored-by: Polina "Aura" N. <185700473+pvictress@users.noreply.github.com>
- Loading branch information
1 parent
3c82bb9
commit 9677216
Showing
8 changed files
with
345 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.