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
void function ActuallyPutDefaultSettings() | |
{ | |
entity player = GetLocalClientPlayer() | |
//Hack, reusing convars for this sp gamemode. Default settings for the menu declared here. | |
SetConVarInt( "hud_setting_minimapRotate", 0 ) | |
SetConVarInt( "hud_setting_accessibleChat", 3 ) | |
SetConVarInt( "hud_setting_streamerMode", 1) | |
SetConVarInt( "hud_setting_showTips", 1 ) | |
SetConVarInt( "hud_setting_compactOverHeadNames", 1 ) | |
SetConVarInt( "hud_setting_showMeter", 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
# Modified from https://gist.github.com/maxtruxa/4b3929e118914ccef057f8a05c614b0f | |
# output binary | |
BIN := p4 | |
# source files | |
SRCS := \ | |
main.cpp | |
JOJ_URL := https://joj.sjtu.edu.cn/d/ve281_summer_2021_hongyi/homework/60ed8820597d590006d91e44/60ed869b597d590006d91dad |