Pachi: some more fixes
This commit is contained in:
@@ -104,6 +104,7 @@ void stage_up()
|
|||||||
{
|
{
|
||||||
for(int a=int(gametimer);a>0;a--)
|
for(int a=int(gametimer);a>0;a--)
|
||||||
{
|
{
|
||||||
|
SDL_FillRect(screen, NULL, SDL_MapRGB(screen->format,0,0,0));
|
||||||
score=score+(dificulty*45)+(int(dificulty/3)*45);
|
score=score+(dificulty*45)+(int(dificulty/3)*45);
|
||||||
gametimer--;
|
gametimer--;
|
||||||
minutes = int(gametimer/60);
|
minutes = int(gametimer/60);
|
||||||
@@ -146,6 +147,7 @@ void stage_up()
|
|||||||
|
|
||||||
void start_game()
|
void start_game()
|
||||||
{
|
{
|
||||||
|
SDL_FillRect(screen, NULL, SDL_MapRGB(screen->format,0,0,0));
|
||||||
LoadT(&font,DATADIR"/fonts/font16d.T");
|
LoadT(&font,DATADIR"/fonts/font16d.T");
|
||||||
SDL_SetColorKey(font, SDL_SRCCOLORKEY, SDL_MapRGB(font->format,0,0,0));
|
SDL_SetColorKey(font, SDL_SRCCOLORKEY, SDL_MapRGB(font->format,0,0,0));
|
||||||
print_text(font,screen,16,16,140,90,"LOADING GAME DATA... PLEASE WAIT");
|
print_text(font,screen,16,16,140,90,"LOADING GAME DATA... PLEASE WAIT");
|
||||||
|
|||||||
@@ -110,6 +110,7 @@ void do_help()
|
|||||||
{
|
{
|
||||||
load_helpgfx();
|
load_helpgfx();
|
||||||
fadesurface(background, 0, 0, 150);
|
fadesurface(background, 0, 0, 150);
|
||||||
|
SDL_BlitSurface(background, NULL, screen, NULL);
|
||||||
print_text(scorefont, screen, 16, 16, 72, 68, " HOW TO PLAY PACHI EL MARCIANO ");
|
print_text(scorefont, screen, 16, 16, 72, 68, " HOW TO PLAY PACHI EL MARCIANO ");
|
||||||
print_text(scorefont1, screen, 16, 16, 72, 120, "KEYS:");
|
print_text(scorefont1, screen, 16, 16, 72, 120, "KEYS:");
|
||||||
print_text(scorefont1, screen, 16, 16,100, 140, "RIGHT : P");
|
print_text(scorefont1, screen, 16, 16,100, 140, "RIGHT : P");
|
||||||
|
|||||||
Reference in New Issue
Block a user