Aktualizacja: 2025-10-05 22:05:53

This commit is contained in:
wesmar
2025-10-05 22:05:53 +02:00
parent 88d3bd204f
commit 94b1657a93
3 changed files with 218 additions and 25 deletions

View File

@@ -3,6 +3,8 @@
#include <iostream>
#include <iomanip>
extern "C" void ScreenShake(int intensity, int shakes);
void HelpSystem::PrintUsage(std::wstring_view programName) noexcept
{
PrintHeader();
@@ -600,4 +602,7 @@ void HelpSystem::PrintUnknownCommandMessage(std::wstring_view command) noexcept
// Restore original color
SetConsoleTextAttribute(hConsole, originalColor);
// Visual feedback: shake desktop on invalid command
ScreenShake(3, 10); //ScreenShake.asm
}