This file contains 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
// Game start | |
var __beginTime = new Date().getTime(); | |
var __dump = new Array(15).fill(0); | |
var __stopper = function (id) { | |
var elapsed = new Date().getTime() - __beginTime; | |
__dump[id] ++; | |
return elapsed < 0; | |
}; |
This file contains 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
LONG GetCurrentTopology(DISPLAYCONFIG_TOPOLOGY_ID& currentTopology) | |
{ | |
LONG lRet = ERROR_SUCCESS; | |
UINT32 numPathInfoArrayElements = 0; | |
UINT32 numModeInfoArrayElements = 0; | |
DISPLAYCONFIG_PATH_INFO emptyPathInfo = { 0 }; | |
DISPLAYCONFIG_MODE_INFO emptyModeInfo = { 0 }; | |
std::vector<DISPLAYCONFIG_PATH_INFO> vecDisplayConfigPathInfo; | |
std::vector<DISPLAYCONFIG_MODE_INFO> vecDisplayConfigModeInfo; | |
currentTopology = DISPLAYCONFIG_TOPOLOGY_FORCE_UINT32; |