1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-11-27 20:51:17 +00:00

Add docblock comments

This commit is contained in:
Peter Evans 2018-01-25 14:12:49 -06:00
parent 217b27b040
commit e901bcf54d

View File

@ -14,6 +14,9 @@
#include "apple2.text.h"
/*
* Draw a text character at the given address.
*/
void
apple2_text_draw(apple2 *mach, size_t addr)
{
@ -84,6 +87,10 @@ apple2_text_draw(apple2 *mach, size_t addr)
vm_bitfont_render(font, mach->screen, &dest, ch);
}
/*
* This function will fill in the width, height, and x and y offsets for
* a character at the given address using the given font.
*/
int
apple2_text_area(vm_area *area, vm_bitfont *font, size_t addr)
{