This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <chrono> | |
#include <thread> | |
#include <iostream> | |
#include <string> | |
#include <vector> | |
#include <sstream> | |
#include <Windows.h> | |
/** | |
* perf_timer_delay - High resolution CPU timer sleep |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <chrono> | |
#include <thread> | |
#include <iostream> | |
#include <string> | |
#include <vector> | |
#include <sstream> | |
#include <Windows.h> | |
/** | |
* perf_timer_delay - High resolution CPU timer sleep |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <chrono> | |
#include <thread> | |
#include <iostream> | |
#include <string> | |
#include <vector> | |
#include <sstream> | |
#include <Windows.h> | |
/** | |
* perf_timer_delay - High resolution CPU timer sleep |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <chrono> | |
#include <thread> | |
#include <iostream> | |
#include <string> | |
#include <vector> | |
#include <sstream> | |
#include <Windows.h> | |
/** | |
* perf_timer_delay - High resolution CPU timer sleep |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <chrono> | |
#include <thread> | |
#include <iostream> | |
#include <string> | |
#include <vector> | |
#include <sstream> | |
#include <Windows.h> | |
/** | |
* perf_sleep - High resolution CPU timer sleep |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* This plugin alters view punch to better reflect the recoil that's actually | |
* applied. The problem is that viewpunch is linearly proportionate to the | |
* increase in recoil velocity, but a higher velocity also means the recoil will | |
* increase for a longer time and take longer to decay. This plugin modifies | |
* viewpunch to increase exponentially with recoil velocity increase. | |
*/ | |
#include "util.h" | |
#include "plugin.h" | |
#include <stdexcept> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <string.h> | |
#include <stdlib.h> | |
#define BEEPER_PIN 2 | |
#define UNIT_MS 100 | |
#define UNIT_US (1000L * UNIT_MS) | |
#define DOT 0 | |
#define DASH 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <string.h> | |
#include <stdlib.h> | |
#define BEEPER_PIN 2 | |
#define UNIT_MS 50 | |
#define UNIT_US (1000L * UNIT_MS) | |
#define DOT 0 | |
#define DASH 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <string.h> | |
#include <stdlib.h> | |
#define BEEPER_PIN 2 | |
#define UNIT_MS 50 | |
#define UNIT_US (1000L * UNIT_MS) | |
#define DOT 0 | |
#define DASH 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <string.h> | |
#include <stdlib.h> | |
#define BEEPER_PIN 2 | |
#define UNIT_MS 50 | |
#define UNIT_US (1000L * UNIT_MS) | |
#define DOT 0 | |
#define DASH 1 |