Files
msx-rpg/startscreen.c
SaffronCR 6d0a419af8 Doing some tests with the start screen.
Fixed tabs in files.
2020-02-01 14:13:31 +01:00

75 lines
2.4 KiB
C

//------------------------------------------------------------------
// Star Rangers - A Dungeon Crawler for MSX2 using Fusion-C
//------------------------------------------------------------------
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "fusion-c/header/msx_fusion.h"
#include "fusion-c/header/vdp_sprites.h"
#include "fusion-c/header/vdp_graph2.h"
#include "main.h"
#include "font.h"
#include "startscreen.h"
void sf_draw_startscreen_intro_text(void)
{
// Intro text.
db_state = Updating;
// Cls();
SetColors(0, 0, 14);
sf_draw_text("Deep in space far away", 8*4, 8*19, 15, 14);
sf_draw_text("from the inhabited regions", 8*3, 8*19+9, 15, 14);
sf_draw_text("of the galaxy lies a long", 8*3, 8*19+9+9, 15, 14);
sf_draw_text("forgotten alien station", 8*3, 8*19+9+9+9, 15, 14);
// sf_draw_text("PRESS SPACE KEY", 8*8, 8*18, 15, 14);
// sf_draw_text("@2020 SAFFRON SOFT", 8*7, 8*24, 15, 14);
//sf_draw_text("@SAFFRON SOFT 2020", 8*6, 100, 2, 0);
// PutText(0, 90, "********************************", LOGICAL_IMP);
/*
sf_draw_text("<______________>", 8*6, 70, 8, 0);
sf_draw_text("| |", 8*6, 70+8, 8, 0);
sf_draw_text("[______________]", 8*6, 70+8+8, 8, 0);
sf_draw_text("SAFFRON SOFT", 8*6+8+8, 70+8, 15, 0);
*/
/*
sf_draw_text("<_____COMMAND_____>", 8*6, 8+8, 13, 14);
sf_draw_text("| |", 8*6, 8+8+8, 13, 14);
sf_draw_text("| |", 8*6, 8+8+8+8, 13, 14);
sf_draw_text("| |", 8*6, 8+8+8+8+8, 13, 14);
sf_draw_text("| |", 8*6, 8+8+8+8+8+8, 13, 14);
sf_draw_text("| |", 8*6, 8+8+8+8+8+8+8, 13, 14);
sf_draw_text("| |", 8*6, 8+8+8+8+8+8+8+8, 13, 14);
sf_draw_text("| |", 8*6, 8+8+8+8+8+8+8+8+8, 13, 14);
sf_draw_text("| |", 8*6, 8+8+8+8+8+8+8+8+8+8, 13, 14);
sf_draw_text("[_________________]", 8*6, 8+8+8+8+8+8+8+8+8+8+8, 13, 14);
sf_draw_text("^TALK SPELL", 8*6+8, 8+8+8+8, 15, 14);
sf_draw_text("STATUS ITEM", 8*6+8+8, 8+8+8+8+8+8, 15, 14);
sf_draw_text("EQUIP TACTICS", 8*6+8+8, 8+8+8+8+8+8+8+8, 15, 14);
sf_draw_text("DOOR SEARCH", 8*6+8+8, 8+8+8+8+8+8+8+8+8+8, 15, 14);
*/
db_state = ReadyToSwitch;
sf_wait(1000);
// Go to dungeon state.
sf_set_game_state(Dungeon);
}
void sf_set_startscreen_state(void)
{
sf_draw_startscreen_intro_text();
}
void sf_update_startscreen_state(void)
{
}