mirror of
https://github.com/luksamuk/engine-psx.git
synced 2025-04-28 13:28:02 +03:00
Add a "created by" screen
This commit is contained in:
parent
9adffe3da5
commit
23498b7f53
6 changed files with 17 additions and 7 deletions
BIN
assets/misc/CREATED.TIM
Normal file
BIN
assets/misc/CREATED.TIM
Normal file
Binary file not shown.
BIN
assets/misc/createdby.png
Normal file
BIN
assets/misc/createdby.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.7 KiB |
|
@ -5,8 +5,9 @@ typedef enum {
|
|||
SLIDE_COMINGSOON = 0,
|
||||
SLIDE_PS30YRS = 1,
|
||||
SLIDE_SEGALOGO = 2,
|
||||
SLIDE_CREATEDBY = 3,
|
||||
|
||||
SLIDE_NUM_SLIDES = (SLIDE_SEGALOGO + 1),
|
||||
SLIDE_NUM_SLIDES = (SLIDE_CREATEDBY + 1),
|
||||
} SlideOption;
|
||||
|
||||
void screen_slide_load();
|
||||
|
|
3
iso.xml
3
iso.xml
|
@ -262,6 +262,9 @@
|
|||
<file name="SEGALOGO.TIM"
|
||||
type="data"
|
||||
source="${PROJECT_SOURCE_DIR}/assets/misc/SEGALOGO.TIM" />
|
||||
<file name="CREATED.TIM"
|
||||
type="data"
|
||||
source="${PROJECT_SOURCE_DIR}/assets/misc/CREATED.TIM" />
|
||||
<file name="LVLSEL.TIM"
|
||||
type="data"
|
||||
source="${PROJECT_SOURCE_DIR}/assets/misc/LVLSEL.TIM" />
|
||||
|
|
|
@ -69,6 +69,9 @@ static const char *menutext[] = {
|
|||
"SLIDE TEST *??*",
|
||||
"\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"MODELTEST",
|
||||
"TITLESCREEN",
|
||||
"CREDITS",
|
||||
|
@ -291,10 +294,6 @@ screen_levelselect_draw(void *d)
|
|||
x = CENTERX - (strlen(title) * 4);
|
||||
font_draw_big(title, x, 12);
|
||||
|
||||
const char *subtitle = "*luksamuk.codes*";
|
||||
x = SCREEN_XRES - (strlen(subtitle) * 8) - 8;
|
||||
font_draw_sm(subtitle, x, SCREEN_YRES - 24);
|
||||
|
||||
// Draw text
|
||||
uint8_t txtidx = 0;
|
||||
uint8_t cursel = 0;
|
||||
|
|
|
@ -32,8 +32,8 @@ static volatile const struct {
|
|||
{
|
||||
.image = "\\MISC\\PS30YRS.TIM;1",
|
||||
.bgm = 0xff,
|
||||
.next = SCREEN_TITLE,
|
||||
.next_slide = 0xff,
|
||||
.next = SCREEN_SLIDE,
|
||||
.next_slide = SLIDE_CREATEDBY,
|
||||
.duration = 180
|
||||
},
|
||||
{
|
||||
|
@ -43,6 +43,13 @@ static volatile const struct {
|
|||
.next_slide = SLIDE_PS30YRS,
|
||||
.duration = 180
|
||||
},
|
||||
{
|
||||
.image = "\\MISC\\CREATED.TIM;1",
|
||||
.bgm = 0xff,
|
||||
.next = SCREEN_TITLE,
|
||||
.next_slide = 0xff,
|
||||
.duration = 180
|
||||
},
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue