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
| // colors = while (true) { | |
| // i = (i mod 13) + 1; | |
| // cl_hud_color i; | |
| // cl_crosshaircolor i" | |
| // } | |
| alias changeColor "incrementvar cl_hud_color 0 13 1; incrementvar cl_crosshaircolor 0 13 1"; | |
| alias colorsToggle "colorsOn"; | |
| alias +cW "+forward; changeColor;"; |
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
| // Default binds | |
| bind mouse1 +attack; | |
| bind mouse2 +attack2; | |
| bind space "+jump"; | |
| bind alt +lookatweapon; | |
| bind f +voicerecord; | |
| bind z "slot6"; | |
| bind x "slot7"; | |
| bind c "slot8"; | |
| bind v "slot10"; |
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
| # Copying directory recursive with tracking changes on build | |
| # Source: https://discourse.cmake.org/t/copying-files-with-destination-folder-depending-on-build-config/10686 | |
| cmake_minimum_required(VERSION 3.26 FATAL_ERROR) | |
| add_custom_target(SyncFileDir | |
| COMMAND ${CMAKE_COMMAND} -E copy_directory_if_different | |
| "${SOURCE_DIR}" | |
| "${DESTINATION_DIR}" | |
| COMMENT "Synchronize file directories" | |
| ) |