mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-19 21:10:12 +02:00
set scale to off by default
This commit is contained in:
parent
0efb6e2890
commit
18f34e14f8
@ -779,10 +779,12 @@ void processCommand(const std::string &message)
|
|||||||
//plays intro, ends when intro is over or button has been pressed (handles events)
|
//plays intro, ends when intro is over or button has been pressed (handles events)
|
||||||
void playIntro()
|
void playIntro()
|
||||||
{
|
{
|
||||||
|
CCS->videoh->setScaling(true);
|
||||||
if(CCS->videoh->openAndPlayVideo("3DOLOGO.SMK", 60, 40, screen, true))
|
if(CCS->videoh->openAndPlayVideo("3DOLOGO.SMK", 60, 40, screen, true))
|
||||||
{
|
{
|
||||||
CCS->videoh->openAndPlayVideo("AZVS.SMK", 60, 80, screen, true);
|
CCS->videoh->openAndPlayVideo("AZVS.SMK", 60, 80, screen, true);
|
||||||
}
|
}
|
||||||
|
CCS->videoh->setScaling(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void dispose()
|
void dispose()
|
||||||
|
@ -72,7 +72,7 @@ CVideoPlayer::CVideoPlayer()
|
|||||||
// av_register_output_format() / av_register_protocol() instead.
|
// av_register_output_format() / av_register_protocol() instead.
|
||||||
av_register_all();
|
av_register_all();
|
||||||
|
|
||||||
doScale = true;
|
doScale = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CVideoPlayer::open(std::string fname)
|
bool CVideoPlayer::open(std::string fname)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user