mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-31 01:11:15 +00:00
- use flags instead of bools.
This commit is contained in:
parent
af3eac8456
commit
fb5e2fe0c0
7 changed files with 19 additions and 12 deletions
|
@ -317,14 +317,14 @@ public:
|
|||
|
||||
ScreenJobRunner *runner;
|
||||
|
||||
void RunScreenJob(JobDesc* jobs, int count, CompletionFunc completion, bool clearbefore, bool blockingui, bool skipall)
|
||||
void RunScreenJob(JobDesc* jobs, int count, CompletionFunc completion, int flags)
|
||||
{
|
||||
assert(completion != nullptr);
|
||||
videoclearFade();
|
||||
if (count)
|
||||
{
|
||||
runner = new ScreenJobRunner(jobs, count, completion, clearbefore, skipall);
|
||||
gameaction = blockingui? ga_intro : ga_intermission;
|
||||
runner = new ScreenJobRunner(jobs, count, completion, !(flags & SJ_DONTCLEAR), !!(flags & SJ_SKIPALL));
|
||||
gameaction = (flags & SJ_BLOCKUI)? ga_intro : ga_intermission;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue