Skip to content

Instantly share code, notes, and snippets.

Tey

Block or report user

Report or block Tey

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Tey
Tey / Win10DetectDisplay.cpp
Created Apr 13, 2019
Windows 10 display detection API
View Win10DetectDisplay.cpp
// cl /EHsc Win10DetectDisplay.cpp
/* This program forces detection of added (or removed) display screens
* It does the same thing as when clicking on the "Detect" button in Windows display settings
* This can be used to create a shortcut to refresh displays list
*/
#define UNICODE
#define _UNICODE
View mod_wn8_chance.py
import BigWorld
from Vehicle import Vehicle
from gui.Scaleform.daapi.view.battle.classic.stats_exchange import FragsCollectableStats
from items.vehicles import getVehicleTypeCompactDescr
from Avatar import PlayerAvatar
from debug_utils import _doLog
import xfw
from xvm_main.python.stats import _stat, _Stat
import xvm_main.python.config as xvm_config
@Tey
Tey / chat.xc
Last active Mar 30, 2019
[WoT] Colorize in battle chat with XVM colors
View chat.xc
{
// Add the following line to @xvm.rc to register that file:
// , "chat": ${"chat.xc":"chat"}
// Color values for substitutions.
// Значения цветов для подстановок.
"def": {
// Dynamic color by various statistical parameters.
// Динамический цвет по различным статистическим показателям.
"colorRating": {
You can’t perform that action at this time.