Commit Graph

112 Enmetoj

Author SHA1 Message Date
Jaidyn Ann b6c8805027 Allow partial-selection/highlighting of menu item
This will lay the base for selection-change
animation later on!
2023-06-06 00:07:47 -05:00
Jaidyn Ann 99ba134be5 Basic horizontal menu-rendering for UI 2023-06-05 23:28:03 -05:00
Jaidyn Ann 7142cf4667 Start UI: Line-wrapping string printing 2023-06-04 12:52:18 -05:00
Jaidyn Ann 50bdc5fe5c Split into packages; no functional change 2023-06-04 04:04:34 -05:00
Jaidyn Ann 1f6ebbcfac Basic support for key layouts
Adds a small layer for translating input characters from non-QWERTY
keyboard layouts into their QWERTY counterparts. After all, it's
not the WASD that counts, but the position: ,AOE is just as valid!
2023-06-04 03:35:03 -05:00
Jaidyn Ann 2203f80454 Semantic parsing of input; ncurses for raw input
Yes, ncurses. Look, I caved, okay?!
But in my defense, I couldn't find a simple way to
get raw input in both a framebuffer and an xorg
terminal, so… ncurses can handle the details.
I'm just a dummy, you can't expect me to do
everything!

Well, input is parsed into a somewhat-semantic
format, so at least I did *something* alright.
2023-06-04 02:33:53 -05:00
Jaidyn Ann 25881ca350 Remove source-file copyright header 2023-06-03 22:13:45 -05:00
Jaidyn Ann 6fd48fd2dc Split matrix-loops into separate do-for-cell macro 2023-06-03 22:09:23 -05:00
Jaidyn Ann ce3dcebbb4 On screen refresh, only draw changed characters
The previous method — clearing the screen and
completely redrawing every frame — caused severe
screen-flickering. This is better, calculating the
changed characters per-frame and printing only
those.
2023-06-01 23:18:15 -05:00
Jaidyn Ann 20bc695cdf Simply rename the program! 2023-06-01 00:23:45 -05:00
Jaidyn Ann 9661bfefe0 Proper support for Tiled-based tiling
Before, all tiles were 'a'; now, the right
character gets selected for each!
2023-06-01 00:11:25 -05:00
Jaidyn Ann 7de2dbe941 Init: Basic one-tile map-drawing 2023-05-31 23:04:36 -05:00