Simon Forman
2680d8ce1b
Okay, alright, skipping blank pixels.
2023-02-26 11:12:07 -08:00
Simon Forman
051b9a46b8
We have a character on the screen!
...
It looks like potato because no alpha blending yet, but it's certainly
there! I don't like the spelling of the C code, but who cares? It
works.
2023-02-26 11:07:29 -08:00
Simon Forman
5d01480f3d
A start on draw_char().
2023-02-26 10:52:09 -08:00
Simon Forman
c886a27ddd
Rename anim_callback to draw_background
...
because that's what it is
2023-02-26 10:18:46 -08:00
Simon Forman
843654861b
I think I got it.
2023-02-26 10:01:40 -08:00
Simon Forman
f5f6233302
This compiles and runs, include font.h but don't call init_font_data() yet.
2023-02-26 09:37:59 -08:00
Simon Forman
8c5e9aa105
So far...
2023-02-26 09:37:20 -08:00
Simon Forman
b013168679
Drawing pixel per mouse move is slow at 1280x800.
...
So let's just use a smaller screen for now, eh?
2023-02-26 08:52:53 -08:00
Simon Forman
e047af09b3
Repair damage during mouse move.
...
This is a compromise between updating the screen every frame (which
takes ~60% CPU on my old no-GPU hardware) and repairing damage from e.g.
dragging offscreen and back on, or covering and uncovering the window
with another window.
2023-02-26 08:42:37 -08:00
Simon Forman
eb67419327
Let's use uvm.
...
https://github.com/maximecb/uvm
2023-02-26 07:53:47 -08:00