24 lines
442 B
C
24 lines
442 B
C
#include "dialog.h"
|
|
|
|
void dialog(dialog_t *dialog)
|
|
{
|
|
img_t chars_img[1][2] = {
|
|
{ img_copy(*(dialog->character)), img_darken_create(*(dialog->character))}
|
|
};
|
|
|
|
dclear(C_BLACK);
|
|
|
|
img_render_vram(chars_img[0][0], 15, 20);
|
|
|
|
dupdate();
|
|
getkey();
|
|
|
|
/* Destroy temporary images */
|
|
for(int i = 0; i < 1; i++)
|
|
{
|
|
for(int j = 0; j < 2; j++) {
|
|
img_destroy(chars_img[i][j]);
|
|
}
|
|
}
|
|
}
|