mirror of
https://git.planet-casio.com/Slyvtt/Collab_RPG.git
synced 2025-04-20 09:57:16 +02:00
More improvements but something is still buggy :/
This commit is contained in:
parent
dc2a0b1473
commit
6fa6f03c1a
1 changed files with 5 additions and 5 deletions
|
@ -55,23 +55,23 @@ void showtext(Game *game, bopti_image_t *face, char *text) {
|
||||||
*/
|
*/
|
||||||
/* Make a little animation :). */
|
/* Make a little animation :). */
|
||||||
dupdate();
|
dupdate();
|
||||||
while(game->frame_duration < 20) sleep();
|
while(game->frame_duration < 100) sleep();
|
||||||
game->frame_duration = 0;
|
game->frame_duration = 0;
|
||||||
/* Ask the user to press EXE to continue. */
|
/* Ask the user to press EXE to continue. */
|
||||||
dtext(BOX_HEIGHT, y, C_BLACK, "[EXE] to continue ...");
|
dtext(BOX_HEIGHT, y, C_BLACK, "[EXE] to continue ...");
|
||||||
/* Clear the screen. */
|
|
||||||
drect(0, 0, DWIDTH, BOX_HEIGHT*PXSIZE, C_WHITE);
|
|
||||||
}
|
}
|
||||||
/* Make a little animation :). */
|
/* Make a little animation :). */
|
||||||
dupdate();
|
dupdate();
|
||||||
if(l>=max_lines_amount-1){
|
if(l>=max_lines_amount-1){
|
||||||
while(getkey().key != KEY_EXE) sleep();
|
while(getkey().key != KEY_EXE) sleep();
|
||||||
|
/* Clear the screen. */
|
||||||
|
drect(BOX_HEIGHT*PXSIZE, 0, DWIDTH, (BOX_HEIGHT-1)*PXSIZE, C_WHITE);
|
||||||
/* Reset y and l. */
|
/* Reset y and l. */
|
||||||
y = 1;
|
y = 1;
|
||||||
l = 0;
|
l = 0;
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
while(game->frame_duration < 20) sleep();
|
while(game->frame_duration < 100) sleep();
|
||||||
}
|
}
|
||||||
game->frame_duration = 0;
|
game->frame_duration = 0;
|
||||||
}
|
}
|
||||||
|
@ -79,7 +79,7 @@ void showtext(Game *game, bopti_image_t *face, char *text) {
|
||||||
/* If we have not filled everthing with text at the end. */
|
/* If we have not filled everthing with text at the end. */
|
||||||
/* Make a little animation :). */
|
/* Make a little animation :). */
|
||||||
dupdate();
|
dupdate();
|
||||||
while(game->frame_duration < 20) sleep();
|
while(game->frame_duration < 100) sleep();
|
||||||
game->frame_duration = 0;
|
game->frame_duration = 0;
|
||||||
/* Ask the user to press EXE to continue. */
|
/* Ask the user to press EXE to continue. */
|
||||||
dtext(1, y, C_BLACK, "[EXE] To continue ...");
|
dtext(1, y, C_BLACK, "[EXE] To continue ...");
|
||||||
|
|
Loading…
Add table
Reference in a new issue