Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Gw2RsU.cpp : définit le point d'entrée pour l'application console.
- //
- #include "stdafx.h"
- #include "Gw2RsU.h"
- int _tmain(int argc, _TCHAR* argv[])
- {
- SetConsoleTitle(L"Gw2 ReShade Enhancer");
- int nTry = 0, maxTry = 5;
- ClearLog("Starting Gw2 ReShade Enhancer");
- SetWindowSize(20, 2);
- std::cout << "Gw2 ReShade Enhancer" << std::endl;
- SetWindowSize(20, 1);
- int MapID = 0;
- WriteMapID(MapID, getTOD());
- unlockReShade();
- HANDLE hMapObject = InitMumbleLink();
- log("Starting MapID & Time writing.");
- reTry:
- while (CheckGw2(L"Guild Wars 2")) {
- nTry = 0;
- MapID = checkMapID(hMapObject, MapID);
- Sleep(1000);
- }
- if (nTry < maxTry) {
- nTry++;
- Sleep(1000);
- goto reTry;
- }
- log("Closing...");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement