Text now comes from the bottom of the screen.
This commit is contained in:
parent
b30c9d5f62
commit
0d16275af3
3 changed files with 257 additions and 255 deletions
2
joeyio.c
2
joeyio.c
|
@ -16,8 +16,8 @@ void clear_line(void) {
|
|||
|
||||
void clear_screen(void) {
|
||||
termClearScreen();
|
||||
termMoveCursor(1, screen_rows);
|
||||
jlDisplayPresent();
|
||||
termMoveCursor(1, 1);
|
||||
}
|
||||
|
||||
|
||||
|
|
2
main.c
2
main.c
|
@ -101,6 +101,8 @@ int main(void) {
|
|||
|
||||
termStart(font, 0, 0, 40, 25);
|
||||
termDestruciveBackspace(false);
|
||||
termMoveCursor(1, 25);
|
||||
termSaveCursor();
|
||||
|
||||
process_arguments("gamedata.z5");
|
||||
configure(V1, V8);
|
||||
|
|
6
screen.c
6
screen.c
|
@ -183,9 +183,9 @@ void z_erase_window( zword_t w )
|
|||
return;
|
||||
}
|
||||
|
||||
if ( h_type > V4 )
|
||||
move_cursor( 1, 1 );
|
||||
else
|
||||
//if ( h_type > V4 )
|
||||
// move_cursor( 1, 1 );
|
||||
//else
|
||||
move_cursor( screen_rows, 1 );
|
||||
|
||||
} /* z_erase_window */
|
||||
|
|
Loading…
Add table
Reference in a new issue