mirror of
https://github.com/luksamuk/engine-psx.git
synced 2025-04-28 13:28:02 +03:00
Hide title card and HUD on AutoDemo
This commit is contained in:
parent
fe6d050124
commit
a7d8c2308d
2 changed files with 11 additions and 5 deletions
|
@ -55,7 +55,7 @@ static DemoPlaybackSample _dummydemo[] = {
|
|||
};
|
||||
|
||||
static DemoPlaybackSample _pz1demo[] = {
|
||||
{.state = 0x0000, .num_frames = 155},
|
||||
{.state = 0x0000, .num_frames = 45},
|
||||
{.state = 0x0020, .num_frames = 294},
|
||||
{.state = 0x0060, .num_frames = 3},
|
||||
{.state = 0x0040, .num_frames = 11},
|
||||
|
@ -115,7 +115,7 @@ static DemoPlaybackSample _pz1demo[] = {
|
|||
};
|
||||
|
||||
static DemoPlaybackSample _ghz1demo[] = {
|
||||
{.state = 0x0000, .num_frames = 165},
|
||||
{.state = 0x0000, .num_frames = 45},
|
||||
{.state = 0x0020, .num_frames = 70},
|
||||
{.state = 0x4020, .num_frames = 3},
|
||||
{.state = 0x4000, .num_frames = 4},
|
||||
|
@ -199,7 +199,7 @@ static DemoPlaybackSample _ghz1demo[] = {
|
|||
};
|
||||
|
||||
static DemoPlaybackSample _swz1demo[] = {
|
||||
{.state = 0x0000, .num_frames = 207},
|
||||
{.state = 0x0000, .num_frames = 45},
|
||||
{.state = 0x0020, .num_frames = 342},
|
||||
{.state = 0x0000, .num_frames = 14},
|
||||
{.state = 0x0020, .num_frames = 47},
|
||||
|
@ -290,7 +290,7 @@ static DemoPlaybackSample _swz1demo[] = {
|
|||
};
|
||||
|
||||
static DemoPlaybackSample _ez1demo[] = {
|
||||
{.state = 0x0000, .num_frames = 172},
|
||||
{.state = 0x0000, .num_frames = 45},
|
||||
{.state = 0x0020, .num_frames = 220},
|
||||
{.state = 0x4020, .num_frames = 11},
|
||||
{.state = 0x0020, .num_frames = 74},
|
||||
|
|
|
@ -95,6 +95,12 @@ screen_level_load()
|
|||
level_finished = 0;
|
||||
|
||||
demo_init();
|
||||
|
||||
// If it is a demo or we're recording, skip title card
|
||||
if(level_mode == LEVEL_MODE_DEMO
|
||||
|| level_mode == LEVEL_MODE_RECORD) {
|
||||
data->level_transition = 1;
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -386,7 +392,7 @@ screen_level_draw(void *d)
|
|||
}
|
||||
|
||||
// Heads-up display
|
||||
if(!debug_mode) {
|
||||
if(!debug_mode && (level_mode != LEVEL_MODE_DEMO)) {
|
||||
font_set_color(
|
||||
LERPC(level_fade, 0xc8),
|
||||
LERPC(level_fade, 0xc8),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue