mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Add -leveldebugger flag
This commit adds the `-leveldebugger` flag so you can use it while playtesting from a different editor program, such as Ved.
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
c62da1c9a0
commit
aff4d2012c
@@ -19,6 +19,7 @@
|
||||
#include "Input.h"
|
||||
#include "InterimVersion.h"
|
||||
#include "KeyPoll.h"
|
||||
#include "LevelDebugger.h"
|
||||
#include "Localization.h"
|
||||
#include "LocalizationStorage.h"
|
||||
#include "Logic.h"
|
||||
@@ -489,6 +490,10 @@ int main(int argc, char *argv[])
|
||||
playassets = "levels/" + std::string(argv[i]) + ".vvvvvv";
|
||||
})
|
||||
}
|
||||
else if (ARG("-leveldebugger"))
|
||||
{
|
||||
level_debugger::set_forced();
|
||||
}
|
||||
else if (ARG("-nooutput"))
|
||||
{
|
||||
vlog_toggle_output(0);
|
||||
|
||||
Reference in New Issue
Block a user