AUTOTYPE performs scripted keyboard entry into the running DOS program. It can be used to reliably skip intros, answer Q&A style questions that some games ask on startup, or conduct a simple demo. It allows for delaying input by any number of fractional seconds, as well defining the pacing between keystrokes. It uses the comma character "," to insert additional delays similar to modern phone numbers. It uses key_* names as defined by the mapper to avoid using SDL scancodes[1], which are unstable across platforms. This approach also allows the triggering of custom key bindings the use has defined. [1] https://wiki.libsdl.org/SDL_GetScancodeName "Warning: The returned name is by design not stable across platforms, e.g. the name for SDL_SCANCODE_LGUI is "Left GUI" under Linux but "Left Windows" under Microsoft Windows, and some scancodes like SDL_SCANCODE_NONUSBACKSLASH don't have any name at all. There are even scancodes that share names, e.g. SDL_SCANCODE_RETURN and SDL_SCANCODE_RETURN2 (both called "Return"). This function is therefore unsuitable for creating a stable cross-platform two-way mapping between strings and scancodes."
166 lines
5.4 KiB
Text
166 lines
5.4 KiB
Text
{
|
|
"version": 1,
|
|
"warnings": [
|
|
{
|
|
"CodeCurrent": 432032057,
|
|
"CodeNext": 36027430,
|
|
"CodePrev": 0,
|
|
"ErrorCode": "V801",
|
|
"FileName": "sdl_mapper.cpp",
|
|
"Message": "Decreased performance. It is better to redefine the first function argument as a reference. Consider replacing 'const .. sequence' with 'const .. &sequence'."
|
|
},
|
|
{
|
|
"CodeCurrent": 4109900279,
|
|
"CodeNext": 355817,
|
|
"CodePrev": 1212132082,
|
|
"ErrorCode": "V512",
|
|
"FileName": "xxhash.h",
|
|
"Message": "A call of the 'memcpy' function will lead to underflow of the buffer 'statePtr'."
|
|
},
|
|
{
|
|
"CodeCurrent": 4109900279,
|
|
"CodeNext": 355817,
|
|
"CodePrev": 1212132082,
|
|
"ErrorCode": "V512",
|
|
"FileName": "xxhash.h",
|
|
"Message": "A call of the 'memcpy' function will lead to underflow of the buffer '& state'."
|
|
},
|
|
{
|
|
"CodeCurrent": 3924832320,
|
|
"CodeNext": 355817,
|
|
"CodePrev": 1162686117,
|
|
"ErrorCode": "V512",
|
|
"FileName": "xxhash.h",
|
|
"Message": "A call of the 'memcpy' function will lead to underflow of the buffer 'statePtr'."
|
|
},
|
|
{
|
|
"CodeCurrent": 3924832320,
|
|
"CodeNext": 355817,
|
|
"CodePrev": 1162686117,
|
|
"ErrorCode": "V512",
|
|
"FileName": "xxhash.h",
|
|
"Message": "A call of the 'memcpy' function will lead to underflow of the buffer '& state'."
|
|
},
|
|
{
|
|
"CodeCurrent": 3039254062,
|
|
"CodeNext": 3404253786,
|
|
"CodePrev": 3282303307,
|
|
"ErrorCode": "V560",
|
|
"FileName": "dr_flac.h",
|
|
"Message": "A part of conditional expression is always true: blockSize >= _."
|
|
},
|
|
{
|
|
"CodeCurrent": 2009695132,
|
|
"CodeNext": 17733,
|
|
"CodePrev": 3053,
|
|
"ErrorCode": "V547",
|
|
"FileName": "dr_flac.h",
|
|
"Message": "Expression 'result == - _' is always false."
|
|
},
|
|
{
|
|
"CodeCurrent": 297803,
|
|
"CodeNext": 123,
|
|
"CodePrev": 100,
|
|
"ErrorCode": "V1008",
|
|
"FileName": "dr_mp3.h",
|
|
"Message": "Consider inspecting the 'for' operator. No more than one iteration of the loop will be performed."
|
|
},
|
|
{
|
|
"CodeCurrent": 2405264725,
|
|
"CodeNext": 2337,
|
|
"CodePrev": 3887730028,
|
|
"ErrorCode": "V547",
|
|
"FileName": "dr_mp3.h",
|
|
"Message": "Expression is always false."
|
|
},
|
|
{
|
|
"CodeCurrent": 2405264725,
|
|
"CodeNext": 2337,
|
|
"CodePrev": 4148287113,
|
|
"ErrorCode": "V547",
|
|
"FileName": "dr_mp3.h",
|
|
"Message": "Expression is always false."
|
|
},
|
|
{
|
|
"CodeCurrent": 3210175261,
|
|
"CodeNext": 11069,
|
|
"CodePrev": 2952291276,
|
|
"ErrorCode": "V547",
|
|
"FileName": "dr_wav.h",
|
|
"Message": "Expression 'bytesToWrite > (_UL)' is always false."
|
|
},
|
|
{
|
|
"CodeCurrent": 3210175261,
|
|
"CodeNext": 11069,
|
|
"CodePrev": 2952291276,
|
|
"ErrorCode": "V547",
|
|
"FileName": "dr_wav.h",
|
|
"Message": "Expression 'bytesToWrite > (_UL)' is always false."
|
|
},
|
|
{
|
|
"CodeCurrent": 4053293179,
|
|
"CodeNext": 1281436681,
|
|
"CodePrev": 1315862117,
|
|
"ErrorCode": "V547",
|
|
"FileName": "dr_wav.h",
|
|
"Message": "Expression is always false."
|
|
},
|
|
{
|
|
"CodeCurrent": 4130149219,
|
|
"CodeNext": 2064091136,
|
|
"CodePrev": 1315862117,
|
|
"ErrorCode": "V547",
|
|
"FileName": "dr_wav.h",
|
|
"Message": "Expression is always false."
|
|
},
|
|
{
|
|
"CodeCurrent": 2514112691,
|
|
"CodeNext": 720070676,
|
|
"CodePrev": 1315862117,
|
|
"ErrorCode": "V547",
|
|
"FileName": "dr_wav.h",
|
|
"Message": "Expression is always false."
|
|
},
|
|
{
|
|
"CodeCurrent": 4130149219,
|
|
"CodeNext": 2064091136,
|
|
"CodePrev": 1315862117,
|
|
"ErrorCode": "V547",
|
|
"FileName": "dr_wav.h",
|
|
"Message": "Expression is always false."
|
|
},
|
|
{
|
|
"CodeCurrent": 2835309445,
|
|
"CodeNext": 18933961,
|
|
"CodePrev": 1964014948,
|
|
"ErrorCode": "V547",
|
|
"FileName": "dr_wav.h",
|
|
"Message": "Expression is always false."
|
|
},
|
|
{
|
|
"CodeCurrent": 2835309445,
|
|
"CodeNext": 18933961,
|
|
"CodePrev": 2343076287,
|
|
"ErrorCode": "V547",
|
|
"FileName": "dr_wav.h",
|
|
"Message": "Expression is always false."
|
|
},
|
|
{
|
|
"CodeCurrent": 2835309445,
|
|
"CodeNext": 18933961,
|
|
"CodePrev": 1964014948,
|
|
"ErrorCode": "V547",
|
|
"FileName": "dr_wav.h",
|
|
"Message": "Expression is always false."
|
|
},
|
|
{
|
|
"CodeCurrent": 2405264725,
|
|
"CodeNext": 2337,
|
|
"CodePrev": 3887730028,
|
|
"ErrorCode": "V547",
|
|
"FileName": "dr_mp3.h",
|
|
"Message": "Expression is always false."
|
|
}
|
|
]
|
|
}
|
|
|