Showing preview only (2,362K chars total). Download the full file or copy to clipboard to get everything.
Repository: Velaron/cs16-client
Branch: main
Commit: ea1587d23e9c
Files: 431
Total size: 2.2 MB
Directory structure:
gitextract_a343u0da/
├── .clang-format
├── .gitattributes
├── .github/
│ └── workflows/
│ └── build.yml
├── .gitignore
├── .gitmodules
├── 3rdparty/
│ └── cs16client-extras/
│ ├── gfx/
│ │ └── shell/
│ │ └── strings.lst
│ ├── maps/
│ │ ├── tr_1.bsp
│ │ ├── tr_1a.bsp
│ │ ├── tr_2.bsp
│ │ └── tr_3.bsp
│ ├── touch/
│ │ ├── bots/
│ │ │ ├── bots.cfg
│ │ │ ├── my_menu-2-addbot.cfg
│ │ │ ├── my_menu-2-settings.cfg
│ │ │ ├── my_menu-3-quota.cfg
│ │ │ ├── my_menu-3-set1.cfg
│ │ │ ├── my_menu-3-set2.cfg
│ │ │ ├── my_menu-3-set3.cfg
│ │ │ ├── my_menu-3-set4.cfg
│ │ │ ├── my_menu-3-set5.cfg
│ │ │ ├── my_menu-3-set6.cfg
│ │ │ └── right.tga
│ │ ├── buy.cfg
│ │ ├── buy_item_ct.cfg
│ │ ├── buy_item_t.cfg
│ │ ├── buy_machinegun_ct.cfg
│ │ ├── buy_machinegun_t.cfg
│ │ ├── buy_pistol_ct.cfg
│ │ ├── buy_pistol_t.cfg
│ │ ├── buy_rifle_ct.cfg
│ │ ├── buy_rifle_t.cfg
│ │ ├── buy_shotgun_ct.cfg
│ │ ├── buy_shotgun_t.cfg
│ │ ├── buy_submachinegun_ct.cfg
│ │ ├── buy_submachinegun_t.cfg
│ │ ├── chooseteam.cfg
│ │ ├── chooseteam_ct.cfg
│ │ ├── chooseteam_tr.cfg
│ │ ├── cmd/
│ │ │ ├── cmd.cfg
│ │ │ ├── my_menu-2-connection.cfg
│ │ │ ├── my_menu-2-demo.cfg
│ │ │ ├── my_menu-2-game.cfg
│ │ │ ├── my_menu-2-graphic.cfg
│ │ │ ├── my_menu-2-server.cfg
│ │ │ ├── my_menu-3-console.cfg
│ │ │ ├── my_menu-3-crosshair.cfg
│ │ │ ├── my_menu-3-cvars.cfg
│ │ │ ├── my_menu-3-fps.cfg
│ │ │ ├── my_menu-3-hud.cfg
│ │ │ ├── my_menu-3-maps.cfg
│ │ │ ├── my_menu-3-model.cfg
│ │ │ ├── my_menu-3-numerical.cfg
│ │ │ ├── my_menu-3-radar.cfg
│ │ │ ├── my_menu-3-scoreboard.cfg
│ │ │ ├── my_menu-3-texture.cfg
│ │ │ ├── my_menu-3-voice.cfg
│ │ │ ├── my_menu-4-cross-size.cfg
│ │ │ ├── my_menu-4-cvar0.cfg
│ │ │ ├── my_menu-4-cvar1.cfg
│ │ │ ├── my_menu-4-cvar2.cfg
│ │ │ ├── my_menu-4-cvar3.cfg
│ │ │ ├── my_menu-4-cvar4.cfg
│ │ │ ├── my_menu-4-cvar5.cfg
│ │ │ ├── my_menu-4-xhair.cfg
│ │ │ ├── my_menu-5-cvar0-2.cfg
│ │ │ ├── my_menu-5-cvar2-2.cfg
│ │ │ ├── my_menu-5-cvar3-2.cfg
│ │ │ ├── my_menu-5-cvar5-2.cfg
│ │ │ ├── my_menu-5-voicequality.cfg
│ │ │ ├── my_menu-5-xhair.cfg
│ │ │ └── right.tga
│ │ ├── custom/
│ │ │ ├── dm_menu.cfg
│ │ │ ├── my_menu-5-controls.cfg
│ │ │ └── my_menu-language.cfg
│ │ ├── customcmd.cfg
│ │ ├── numerical_menu.cfg
│ │ ├── numerical_menu1.cfg
│ │ ├── numerical_menu2.cfg
│ │ ├── numerical_menu3.cfg
│ │ ├── radioa.cfg
│ │ ├── radiob.cfg
│ │ ├── radioc.cfg
│ │ ├── radioselector.cfg
│ │ ├── scoreboard.cfg
│ │ ├── scoreboard_classic.cfg
│ │ ├── scoreboard_full.cfg
│ │ └── scoreboard_short.cfg
│ ├── touch.cfg
│ ├── touch_default/
│ │ └── numbers.cfg
│ ├── touch_presets/
│ │ ├── phone_ahsim.cfg
│ │ ├── phone_poverony.cfg
│ │ ├── psvita.cfg
│ │ ├── tablet_poverony.cfg
│ │ └── touch_swank.cfg
│ └── userconfig.d/
│ ├── touch_defalias.cfg
│ └── userconfig.cfg
├── CMakeLists.txt
├── CMakePresets.json
├── LICENSE
├── README.md
├── android/
│ ├── app/
│ │ ├── build.gradle
│ │ └── src/
│ │ └── main/
│ │ ├── AndroidManifest.xml
│ │ ├── java/
│ │ │ └── su/
│ │ │ └── xash/
│ │ │ └── cs16client/
│ │ │ ├── CZeroActivity.java
│ │ │ └── MainActivity.java
│ │ └── res/
│ │ ├── drawable/
│ │ │ └── ic_launcher_cz_foreground.xml
│ │ ├── mipmap-anydpi-v26/
│ │ │ ├── ic_launcher.xml
│ │ │ ├── ic_launcher_cz.xml
│ │ │ ├── ic_launcher_cz_round.xml
│ │ │ ├── ic_launcher_foreground.xml
│ │ │ ├── ic_launcher_monochrome.xml
│ │ │ └── ic_launcher_round.xml
│ │ └── values/
│ │ ├── ic_launcher_background.xml
│ │ ├── ic_launcher_cz_background.xml
│ │ └── strings.xml
│ ├── build.gradle
│ ├── gradle/
│ │ └── wrapper/
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
│ ├── gradle.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
├── cl_dll/
│ ├── CMakeLists.txt
│ ├── GameStudioModelRenderer.cpp
│ ├── GameStudioModelRenderer.h
│ ├── ScenarioStatus.cpp
│ ├── SniperScope.cpp
│ ├── StudioModelRenderer.cpp
│ ├── VGUI/
│ │ ├── CSProgressBar.cpp
│ │ ├── CSProgressBar.h
│ │ ├── CareerBox.cpp
│ │ ├── CareerBox.h
│ │ ├── WeaponSetLabel.h
│ │ ├── backgroundpanel.cpp
│ │ ├── basecareermenu.cpp
│ │ ├── buymenu.cpp
│ │ ├── buymouseoverpanelbutton.h
│ │ ├── buypreset_editmenu.cpp
│ │ ├── buypreset_listbox.cpp
│ │ ├── buypreset_listbox.h
│ │ ├── buypreset_mainmenu.cpp
│ │ ├── buypresetimageinfo.cpp
│ │ ├── buypresetpanel.cpp
│ │ ├── buysubmenu.cpp
│ │ ├── buysubmenu.h
│ │ ├── careermatchendmenu.cpp
│ │ ├── careerroundendmenu.cpp
│ │ ├── counterstrikeviewport.cpp
│ │ ├── counterstrikeviewport_interface.cpp
│ │ ├── creditsmenu.cpp
│ │ ├── cstrikeclassmenu.cpp
│ │ ├── cstrikeclassmenu.h
│ │ ├── cstrikeclientscoreboard.cpp
│ │ ├── cstrikespectatorgui.cpp
│ │ └── cstriketeammenu.cpp
│ ├── ammo.cpp
│ ├── ammo_secondary.cpp
│ ├── ammohistory.cpp
│ ├── ammohistory.h
│ ├── battery.cpp
│ ├── buy_preset.cpp
│ ├── buy_preset_debug.cpp
│ ├── buy_preset_weapon_info.cpp
│ ├── buy_presets.cpp
│ ├── buy_presets.h
│ ├── cdll_int.cpp
│ ├── cl_dll.dsp
│ ├── cl_util.h
│ ├── com_weapons.cpp
│ ├── cs_wpn/
│ │ ├── cs_baseentity.cpp
│ │ └── cs_weapons.cpp
│ ├── death.cpp
│ ├── demo.cpp
│ ├── draw_util.cpp
│ ├── entity.cpp
│ ├── ev_common.cpp
│ ├── ev_hldm.cpp
│ ├── events/
│ │ ├── ev_cs16.cpp
│ │ ├── event_ak47.cpp
│ │ ├── event_aug.cpp
│ │ ├── event_awp.cpp
│ │ ├── event_createexplo.cpp
│ │ ├── event_createsmoke.cpp
│ │ ├── event_czerods.cpp
│ │ ├── event_deagle.cpp
│ │ ├── event_decal_reset.cpp
│ │ ├── event_elite.cpp
│ │ ├── event_famas.cpp
│ │ ├── event_fiveseven.cpp
│ │ ├── event_g3sg1.cpp
│ │ ├── event_galil.cpp
│ │ ├── event_glock18.cpp
│ │ ├── event_knife.cpp
│ │ ├── event_m249.cpp
│ │ ├── event_m3.cpp
│ │ ├── event_m4a1.cpp
│ │ ├── event_mac10.cpp
│ │ ├── event_mp5n.cpp
│ │ ├── event_p228.cpp
│ │ ├── event_p90.cpp
│ │ ├── event_scout.cpp
│ │ ├── event_sg550.cpp
│ │ ├── event_sg552.cpp
│ │ ├── event_tmp.cpp
│ │ ├── event_ump45.cpp
│ │ ├── event_usp.cpp
│ │ ├── event_vehicle.cpp
│ │ └── event_xm1014.cpp
│ ├── events.cpp
│ ├── flashlight.cpp
│ ├── geiger.cpp
│ ├── health.cpp
│ ├── health.h
│ ├── hl/
│ │ ├── hl_baseentity.cpp
│ │ ├── hl_events.cpp
│ │ ├── hl_objects.cpp
│ │ └── hl_weapons.cpp
│ ├── hud/
│ │ ├── MOTD.cpp
│ │ ├── money.cpp
│ │ ├── nvg.cpp
│ │ ├── radar.cpp
│ │ ├── radio.cpp
│ │ ├── scenario.cpp
│ │ ├── scoreboard.cpp
│ │ ├── sniperscope.cpp
│ │ ├── spectator_gui.cpp
│ │ └── timer.cpp
│ ├── hud.cpp
│ ├── hud.h
│ ├── hud_msg.cpp
│ ├── hud_redraw.cpp
│ ├── hud_spectator.cpp
│ ├── hud_spectator.h
│ ├── hud_update.cpp
│ ├── hud_vgui2print.cpp
│ ├── in_camera.cpp
│ ├── include/
│ │ ├── camera.h
│ │ ├── cl_dll.h
│ │ ├── com_weapons.h
│ │ ├── csprite.h
│ │ ├── demo.h
│ │ ├── draw_util.h
│ │ ├── ev_hldm.h
│ │ ├── events.h
│ │ ├── eventscripts.h
│ │ ├── hud/
│ │ │ ├── ammo.h
│ │ │ ├── hud_iface.h
│ │ │ └── radar.h
│ │ ├── in_defs.h
│ │ ├── input.h
│ │ ├── kbutton.h
│ │ ├── math/
│ │ │ ├── neon_mathfun.h
│ │ │ └── sse_mathfun.h
│ │ ├── overview.h
│ │ ├── parsemsg.h
│ │ ├── rain.h
│ │ ├── studio/
│ │ │ ├── StudioModelRenderer.h
│ │ │ └── studio_util.h
│ │ ├── tf_defs.h
│ │ ├── unicode_strtools.h
│ │ ├── vgui_parser.h
│ │ ├── view.h
│ │ └── wrect.h
│ ├── input/
│ │ ├── input_sdl.cpp
│ │ └── input_xash3d.cpp
│ ├── input.cpp
│ ├── inputw32.cpp
│ ├── interpolation.cpp
│ ├── menu.cpp
│ ├── message.cpp
│ ├── nightvision.cpp
│ ├── rain.cpp
│ ├── readme.txt
│ ├── saytext.cpp
│ ├── status_icons.cpp
│ ├── statusbar.cpp
│ ├── studio_util.cpp
│ ├── text_message.cpp
│ ├── train.cpp
│ ├── tri.cpp
│ ├── tri.h
│ ├── unicode_strtools.cpp
│ ├── util.cpp
│ ├── util_vector.h
│ ├── vgui_parser.cpp
│ ├── view.cpp
│ ├── z_weather.cpp
│ └── z_weather.h
├── cmake/
│ └── LibraryNaming.cmake
├── common/
│ ├── beamdef.h
│ ├── cl_entity.h
│ ├── com_model.h
│ ├── con_nprint.h
│ ├── const.h
│ ├── crc.h
│ ├── cvardef.h
│ ├── demo_api.h
│ ├── director_cmds.h
│ ├── dlight.h
│ ├── dll_state.h
│ ├── engine_launcher_api.h
│ ├── entity_state.h
│ ├── entity_types.h
│ ├── enums.h
│ ├── event_api.h
│ ├── event_args.h
│ ├── event_flags.h
│ ├── exefuncs.h
│ ├── gameinfo.h
│ ├── hltv.h
│ ├── in_buttons.h
│ ├── interface.cpp
│ ├── interface.h
│ ├── ivoicetweak.h
│ ├── kbutton.h
│ ├── lightstyle.h
│ ├── mathlib.h
│ ├── net_api.h
│ ├── netadr.h
│ ├── nowin.h
│ ├── particledef.h
│ ├── pmtrace.h
│ ├── port.h
│ ├── qfont.h
│ ├── r_efx.h
│ ├── r_studioint.h
│ ├── ref_params.h
│ ├── render_api.h
│ ├── screenfade.h
│ ├── studio_event.h
│ ├── triangleapi.h
│ ├── usercmd.h
│ ├── weaponinfo.h
│ ├── wrect.h
│ └── xash3d_types.h
├── dlls/
│ ├── activity.h
│ ├── basemonster.h
│ ├── cbase.h
│ ├── cdll_dll.h
│ ├── effects.h
│ ├── enginecallback.h
│ ├── exportdef.h
│ ├── extdll.h
│ ├── gamerules.h
│ ├── monsterevent.h
│ ├── monsters.h
│ ├── nodes.h
│ ├── player.h
│ ├── saverestore.h
│ ├── schedule.h
│ ├── skill.h
│ ├── soundent.h
│ ├── stdafx.h
│ ├── util.h
│ ├── vector.h
│ ├── weapons.h
│ ├── weapontype.h
│ ├── wpn_shared/
│ │ ├── wpn_ak47.cpp
│ │ ├── wpn_aug.cpp
│ │ ├── wpn_awp.cpp
│ │ ├── wpn_c4.cpp
│ │ ├── wpn_deagle.cpp
│ │ ├── wpn_elite.cpp
│ │ ├── wpn_famas.cpp
│ │ ├── wpn_fiveseven.cpp
│ │ ├── wpn_flashbang.cpp
│ │ ├── wpn_g3sg1.cpp
│ │ ├── wpn_galil.cpp
│ │ ├── wpn_glock18.cpp
│ │ ├── wpn_hegrenade.cpp
│ │ ├── wpn_knife.cpp
│ │ ├── wpn_m249.cpp
│ │ ├── wpn_m3.cpp
│ │ ├── wpn_m4a1.cpp
│ │ ├── wpn_mac10.cpp
│ │ ├── wpn_mp5navy.cpp
│ │ ├── wpn_p228.cpp
│ │ ├── wpn_p90.cpp
│ │ ├── wpn_scout.cpp
│ │ ├── wpn_sg550.cpp
│ │ ├── wpn_sg552.cpp
│ │ ├── wpn_smokegrenade.cpp
│ │ ├── wpn_tmp.cpp
│ │ ├── wpn_ump45.cpp
│ │ ├── wpn_usp.cpp
│ │ └── wpn_xm1014.cpp
│ └── wpn_shared.h
├── engine/
│ ├── APIProxy.h
│ ├── Sequence.h
│ ├── anorms.h
│ ├── archtypes.h
│ ├── cdll_int.h
│ ├── custom.h
│ ├── customentity.h
│ ├── edict.h
│ ├── eiface.h
│ ├── keydefs.h
│ ├── menu_int.h
│ ├── mobility_int.h
│ ├── progdefs.h
│ ├── progs.h
│ ├── shake.h
│ └── studio.h
├── game_shared/
│ ├── bitvec.h
│ ├── voice_banmgr.cpp
│ ├── voice_banmgr.h
│ ├── voice_common.h
│ ├── voice_gamemgr.cpp
│ ├── voice_gamemgr.h
│ ├── voice_status.cpp
│ ├── voice_status.h
│ ├── voice_status_hud.cpp
│ └── voice_status_hud.h
├── pm_shared/
│ ├── pm_debug.cpp
│ ├── pm_debug.h
│ ├── pm_defs.h
│ ├── pm_info.h
│ ├── pm_materials.h
│ ├── pm_math.cpp
│ ├── pm_math.h
│ ├── pm_movevars.h
│ ├── pm_shared.cpp
│ └── pm_shared.h
├── public/
│ ├── build.h
│ ├── cl_dll/
│ │ └── IGameClientExports.h
│ ├── steam/
│ │ └── steamtypes.h
│ ├── utflib.cpp
│ └── utflib.h
├── scripts/
│ ├── pack_extras.py
│ ├── psvita_generate_configs.sh
│ ├── psvita_sdk.sh
│ └── yapb_graph_dl.py
└── toolchains/
└── i386-linux-gnu.cmake
================================================
FILE CONTENTS
================================================
================================================
FILE: .clang-format
================================================
BasedOnStyle: WebKit
AccessModifierOffset: -4
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignConsecutiveMacros: true
AlignEscapedNewlines: Left
AlignOperands: true
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: false
AllowAllConstructorInitializersOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: Always
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
AlwaysBreakBeforeMultilineStrings: false
BinPackArguments: true
BinPackParameters: true
BreakBeforeBraces: Allman
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeTernaryOperators: true
BreakConstructorInitializers: AfterColon
BreakInheritanceList: AfterColon
BreakStringLiterals: false
IncludeBlocks: Regroup
IndentCaseLabels: false
IndentWidth: 4
Language: Cpp
MaxEmptyLinesToKeep: 1
PointerAlignment: Right
ReflowComments: true
SortIncludes: false
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: true
SpaceBeforeSquareBrackets: false
SpaceInEmptyBlock: true
SpaceInEmptyParentheses: false
SpacesInCStyleCastParentheses: false
SpacesInConditionalStatement: true
SpacesInParentheses: true
SpacesInSquareBrackets: false
TabWidth: 4
UseTab: ForIndentation
================================================
FILE: .gitattributes
================================================
* text=auto eol=lf
*.{cmd,[cC][mM][dD]} text eol=crlf
*.{bat,[bB][aA][tT]} text eol=crlf
================================================
FILE: .github/workflows/build.yml
================================================
name: Build and Deploy
on: [ push, pull_request ]
jobs:
android:
name: Android
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v5
with:
fetch-depth: 0
submodules: recursive
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'temurin'
cache: gradle
- name: Build and Sign APK
env:
KEYSTORE_FILE_PATH: ${{ github.workspace }}/signingkey.jks
KEYSTORE_PASSWORD: ${{ secrets.KEY_STORE_PASSWORD }}
KEY_ALIAS: ${{ secrets.ALIAS }}
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
run: |
if [[ -n "${{ secrets.SIGNING_KEY }}" ]]; then
echo "${{ secrets.SIGNING_KEY }}" | base64 --decode > ${{ env.KEYSTORE_FILE_PATH }}
./gradlew assembleGitContinuous
mv app/build/outputs/apk/git/continuous/app-git-continuous.apk CS16Client-Android.apk
else
./gradlew assembleGitDebug
mv app/build/outputs/apk/git/debug/app-git-debug.apk CS16Client-Android.apk
fi
working-directory: android
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: Android
path: android/CS16Client-Android.apk
psvita:
name: PS Vita
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v5
with:
fetch-depth: 0
submodules: recursive
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install libatomic1 libgcc-s1 \
libstdc++6 gcc-multilib g++-multilib \
ninja-build libfontconfig-dev
- name: Setup VitaSDK
run: |
scripts/psvita_sdk.sh
echo "VITASDK=/usr/local/vitasdk" >> $GITHUB_ENV
echo "$VITASDK/bin" >> $GITHUB_PATH
- name: Configure CMake
run: cmake --preset "psvita-release"
- name: Generate configuration files
working-directory: build
run: ${{ github.workspace }}/scripts/psvita_generate_configs.sh
- name: Build and Package
working-directory: build
run: |
cmake --build . --parallel $(nproc)
cpack --config CPackConfig.cmake
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: PSVita
path: build/*.zip
windows:
name: Windows
runs-on: windows-latest
strategy:
matrix:
arch: [ 'x86', 'amd64' ]
fail-fast: false
steps:
- name: Checkout sources
uses: actions/checkout@v5
with:
fetch-depth: 0
submodules: recursive
- name: Setup Visual Studio
uses: ilammy/msvc-dev-cmd@v1
with:
arch: ${{ matrix.arch }}
- name: Configure
run: cmake --preset "win32-ci-${{ matrix.arch }}"
- name: Build and Package
run: |
cmake --build .
cpack --config CPackConfig.cmake
working-directory: build
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ runner.os }}-${{ matrix.arch }}
path: build/*.zip
linux:
name: Linux
runs-on: ubuntu-latest
strategy:
matrix:
arch: [ 'i386', 'amd64' ]
fail-fast: false
steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: Install dependencies
run: |
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libatomic1:i386 libgcc-s1:i386 \
libstdc++6:i386 gcc-multilib g++-multilib \
ninja-build libfontconfig-dev:i386 libfontconfig-dev
- name: Configure
run: cmake --preset "linux-ci-${{ matrix.arch }}"
- name: Build and Package
run: |
cmake --build .
cpack --config CPackConfig.cmake
working-directory: build
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ runner.os }}-${{ matrix.arch }}
path: build/*.tar.gz
macos:
name: macOS
strategy:
matrix:
os: [ 'macos-15-intel', 'macos-latest' ]
arch: [ 'x86_64', 'arm64' ]
exclude:
- os: macos-15-intel
arch: arm64
- os: macos-latest
arch: x86_64
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Checkout sources
uses: actions/checkout@v5
with:
fetch-depth: 0
submodules: recursive
- name: Install dependencies
run: brew install cmake gcc ninja fontconfig
- name: Configure
run: cmake --preset "macos-ci-${{ matrix.arch }}"
- name: Build and Package
run: |
cmake --build .
cpack --config CPackConfig.cmake
working-directory: build
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ runner.os }}-${{ matrix.arch }}
path: build/*.zip
release:
name: Release
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' && always()
needs: [ android, windows, linux, psvita, macos ]
steps:
- name: Fetch artifacts
uses: actions/download-artifact@v4
- name: Remove old release
run: |
TAG_NAME=${{ github.ref_name == 'main' && 'continuous' || format('continuous-{0}', github.ref_name) }}
echo "TAG_NAME=$TAG_NAME" >> $GITHUB_ENV
if gh release list --repo ${{ github.repository }} | grep -q -e "$TAG_NAME"; then
gh release delete "$TAG_NAME" --yes --cleanup-tag --repo ${{ github.repository }}
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload new release
run: |
gh release create ${{ env.TAG_NAME }} --title "CS16Client development build" --prerelease */CS16Client-* \
--repo ${{ github.repository }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
================================================
FILE: .gitignore
================================================
# Compiled Object files
*.slo
*.lo
*.o
*.obj
# Precompiled Headers
*.gch
*.pch
# Compiled Dynamic libraries
*.so
*.dylib
*.dll
# Fortran module files
*.mod
# Compiled Static libraries
*.lai
*.la
*.a
*.lib
# Executables
*.exe
*.out
*.app
*.user
*.sdf
*.opendb
*.pdb
*.iobj
*.lastbuildstate
*.tlog
*.log
*.suo
*.ipch
*.ipdb
*.exp
*.idb
*.ilk
*.autosave
android/app/src/main/assets
*-build
*admob-id.xml
build/
.vscode/
.gradle/
.externalNativeBuild
.cxx/
.idea/
local.properties
.project
.classpath
.gradle
.settings
release/
*.tasks
regamebuild/
.vs/
================================================
FILE: .gitmodules
================================================
[submodule "3rdparty/yapb"]
path = 3rdparty/yapb
url = https://github.com/yapb/yapb
[submodule "3rdparty/mainui_cpp"]
path = 3rdparty/mainui_cpp
url = https://github.com/Velaron/mainui_cpp
[submodule "3rdparty/ReGameDLL_CS"]
path = 3rdparty/ReGameDLL_CS
url = https://github.com/Velaron/ReGameDLL_CS
[submodule "3rdparty/miniutl"]
path = 3rdparty/miniutl
url = https://github.com/FWGS/MiniUTL
================================================
FILE: 3rdparty/cs16client-extras/gfx/shell/strings.lst
================================================
189 " "
190 "Learn how to play Counter-Strike, be prepared for the real battles."
191 "Load to a saved place in the training mission."
192 "Save your place in the training mission, or load a past save."
193 "Change Counter-Strike's video, audio, and control settings."
194 "Read Half-Life's readme.txt."
196 "Quit Counter-Strike."
198 "Get online and play Counter-Strike with others from around the world."
323 "Disable graphic visuals. If this is turned on, Counter-Strike will not be playable."
324 "Download the latest version of Half-Life: Counter-Strike."
398 "If the server allows it, this option will help you aim at enemies."
391 "Check this box and enter password to disable visuals inappropriate for younger players and multiplayer. Anyone wishing to change this setting will need to use this password. IMPORTANT NOTE: If this is turned on, Counter-Strike will not be playable."
400 "Read the official Counter-Strike Manual, learn how to play."
402 "cstrike\manual\manual.htm"
416 "Visit Counter-Strike.net"
417 "www.counter-strike.net"
426 "Get the latest updates, official news, and see the entire CS Network!"
503 "Disabled."
530 "Play/download other mods, or go back to Half-Life."
================================================
FILE: 3rdparty/cs16client-extras/touch/bots/bots.cfg
================================================
_reset_menu
cmd_scripting 1
set menu_root_path "touch/bots"
set _menu_file_name "bots.cfg"
alias build_menu "exec touch/customcmd"
alias build_language "exec touch/custom/my_menu-language"
set _menu_id my_menu-1-bots
set _menu_level 1
set _menu_min 3
set _menu_max 9
build_language
set _menu_type_3 1
set _menu_txt_3 "Add bot"
set _menu_cmd_3 "exec touch/bots/my_menu-2-addbot"
set _menu_icn_3 "touch/bots/right.tga"
set _menu_type_4 1
set _menu_txt_4 "Settings"
set _menu_cmd_4 "exec touch/bots/my_menu-2-settings"
set _menu_icn_4 "touch/bots/right.tga"
set _menu_type_5 1
set _menu_txt_5 "Kill all bots"
if $yb_freeze_bots >= 0
:set _menu_cmd_5 "bot_kill;yb kill";else
:set _menu_cmd_5 "bot_kill"
set _menu_icn_5 ""
set _menu_type_6 1
set _menu_txt_6 "Remove all bots"
if $yb_freeze_bots >= 0
:set _menu_cmd_6 "bot_kick;yb removebots";else
:set _menh_cmd_6 "bot_kick"
set _menu_icn_6 ""
set _menu_type_7 2
set _menu_txt_7 "Stop bots"
set _menu_cmd_7 "bot_stop"
set _menu_f7 $bot_stop
set _menu_type_8 1
if $yb_freeze_bots >= 0
:set _menu_txt_8 "Open YaPB menu"
:set _menu_cmd_8 "_erase_frame; yb menu"
:set _menu_icn_8 "touch/bots/right.tga"
else
:set _menu_txt_8 "$_menu_txt_exit"
:set _menu_cmd_8 "_erase_frame"
:set _menu_icn_8 ""
if $yb_freeze_bots >= 0
:set _menu_type_9 1
:set _menu_txt_9 "$_menu_txt_exit"
:set _menu_cmd_9 "_erase_frame"
:set _menu_icn_9 ""
else
:set _menu_type_9 0
build_menu
if $enable_controls = 1;:touch_setclientonly 0;else;:touch_setclientonly 1
exec touch/custom/my_menu-5-controls.cfg
alias ybmenu "_erase_frame; yb menu"
if $bot_allow_shield >= 0
:echo
else
:ybmenu
================================================
FILE: 3rdparty/cs16client-extras/touch/bots/my_menu-2-addbot.cfg
================================================
cmd_scripting 1
set menu_root_path "touch/bots"
set _menu_id my_menu-2-addbot
set _menu_level 2
set _menu_min 3
set _menu_max 6
set _menu_type_3 1
set _menu_txt_3 "Add several by quota"
set _menu_cmd_3 "exec touch/bots/my_menu-3-quota"
set _menu_icn_3 "touch/bots/right.tga"
set _menu_type_4 1
set _menu_txt_4 "Add random"
set _menu_cmd_4 "bot_add"
set _menu_icn_4 ""
set _menu_type_5 1
set _menu_txt_5 "Add Terrorist"
set _menu_cmd_5 "bot_add_t"
set _menu_icn_5 ""
set _menu_type_6 1
set _menu_txt_6 "Add Counter-Terrorist"
set _menu_cmd_6 "bot_add_ct"
set _menu_icn_6 ""
build_menu
================================================
FILE: 3rdparty/cs16client-extras/touch/bots/my_menu-2-settings.cfg
================================================
cmd_scripting 1
set menu_root_path "touch/bots"
set _menu_id my_menu-2-settings
set _menu_level 2
set _menu_min 3
set _menu_max 9
set _menu_type_3 1
set _menu_txt_3 "Weapon settings"
set _menu_cmd_3 "exec touch/bots/my_menu-3-set1"
set _menu_icn_3 "touch/bots/right.tga"
set _menu_type_4 1
set _menu_txt_4 "Weapon modes"
set _menu_cmd_4 "exec touch/bots/my_menu-3-set2"
set _menu_icn_4 "touch/bots/right.tga"
set _menu_type_5 1
set _menu_txt_5 "Difficulty"
set _menu_cmd_5 "exec touch/bots/my_menu-3-set3"
set _menu_icn_5 "touch/bots/right.tga"
set _menu_type_6 1
set _menu_txt_6 "Chatter"
set _menu_cmd_6 "exec touch/bots/my_menu-3-set4"
set _menu_icn_6 "touch/bots/right.tga"
set _menu_type_7 1
set _menu_txt_7 "Behavior"
set _menu_cmd_7 "exec touch/bots/my_menu-3-set5"
set _menu_icn_7 "touch/bots/right.tga"
set _menu_type_8 1
set _menu_txt_8 "Quota mode"
set _menu_cmd_8 "exec touch/bots/my_menu-3-set6"
set _menu_icn_8 "touch/bots/right.tga"
set _menu_type_9 3
set _menu_txt_9 "Name prefix"
set _menu_cmd_9 "bot_prefix"
set _menu_f9 $bot_prefix
build_menu
================================================
FILE: 3rdparty/cs16client-extras/touch/bots/my_menu-3-quota.cfg
================================================
cmd_scripting 1
set menu_root_path "touch/bots"
set _menu_id my_menu-3-quota
set _menu_level 3
set _menu_min 3
set _menu_max 8
set _menu_type_3 1
set _menu_txt_3 "Add bots by quota"
set _menu_cmd_3 "bot_quota $bot_quota_value"
set _menu_icn_3 ""
set _menu_type_4 3
set _menu_txt_4 "Bot quota"
set _menu_cmd_4 "bot_quota_value"
set _menu_f4 $bot_quota_value
set _menu_type_5 1
set _menu_txt_5 "Bots join any team"
set _menu_cmd_5 "bot_join_team any"
set _menu_icn_5 ""
set _menu_type_6 1
set _menu_txt_6 "Bots join Terrorists"
set _menu_cmd_6 "bot_join_team t"
set _menu_icn_6 ""
set _menu_type_7 1
set _menu_txt_7 "Bots join Counter-Terrorists"
set _menu_cmd_7 "bot_join_team ct"
set _menu_icn_7 ""
set _menu_type_8 2
set _menu_txt_8 "Bots join; after player"
set _menu_cmd_8 "bot_join_after_player"
set _menu_f8 $bot_join_after_player
build_menu
if $bot_join_team = any;:touch_setcolor _menu_S5_my_menu-3-quota 156 77 20 180
if $bot_join_team = t;:touch_setcolor _menu_S6_my_menu-3-quota 156 77 20 180
if $bot_join_team = ct;:touch_setcolor _menu_S7_my_menu-3-quota 156 77 20 180
================================================
FILE: 3rdparty/cs16client-extras/touch/bots/my_menu-3-set1.cfg
================================================
cmd_scripting 1
set menu_root_path "touch/bots"
set _menu_id my_menu-3-set1
set _menu_level 3
set _menu_min 3
set _menu_max 10
set _menu_type_3 2
set _menu_txt_3 "Pistols"
set _menu_cmd_3 "bot_allow_pistols"
set _menu_f3 $bot_allow_pistols
set _menu_type_4 2
set _menu_txt_4 "Shotguns"
set _menu_cmd_4 "bot_allow_shotguns"
set _menu_f4 $bot_allow_shotguns
set _menu_type_5 2
set _menu_txt_5 "Submachine; guns"
set _menu_cmd_5 "bot_allow_sub_machine_guns"
set _menu_f5 $bot_allow_sub_machine_guns
set _menu_type_6 2
set _menu_txt_6 "Rifles"
set _menu_cmd_6 "bot_allow_rifles"
set _menu_f6 $bot_allow_rifles
set _menu_type_7 2
set _menu_txt_7 "Sniper; rifles"
set _menu_cmd_7 "bot_allow_snipers"
set _menu_f7 $bot_allow_snipers
set _menu_type_8 2
set _menu_txt_8 "Machine guns"
set _menu_cmd_8 "bot_allow_machine_guns"
set _menu_f8 $bot_allow_machine_guns
set _menu_type_9 2
set _menu_txt_9 "Grenades"
set _menu_cmd_9 "bot_allow_grenades"
set _menu_f9 $bot_allow_grenades
set _menu_type_10 2
set _menu_txt_10 "Shield"
set _menu_cmd_10 "bot_allow_shield"
set _menu_f10 $bot_allow_shield
build_menu
================================================
FILE: 3rdparty/cs16client-extras/touch/bots/my_menu-3-set2.cfg
================================================
cmd_scripting 1
set menu_root_path "touch/bots"
set _menu_id my_menu-3-set2
set _menu_level 3
set _menu_min 4
set _menu_max 7
set _menu_type_4 1
set _menu_txt_4 "Knives only"
set _menu_cmd_4 "bot_knives_only"
set _menu_icn_4 ""
set _menu_type_5 1
set _menu_txt_5 "Pistols only"
set _menu_cmd_5 "bot_pistols_only"
set _menu_icn_5 ""
set _menu_type_6 1
set _menu_txt_6 "Snipers only"
set _menu_cmd_6 "bot_snipers_only"
set _menu_icn_6 ""
set _menu_type_7 1
set _menu_txt_7 "All weapons"
set _menu_cmd_7 "bot_all_weapons"
set _menu_icn_7 ""
build_menu
================================================
FILE: 3rdparty/cs16client-extras/touch/bots/my_menu-3-set3.cfg
================================================
cmd_scripting 1
set menu_root_path "touch/bots"
set _menu_id my_menu-3-set3
set _menu_level 3
set _menu_min 5
set _menu_max 8
set _menu_type_5 1
set _menu_txt_5 "Easy"
set _menu_cmd_5 "bot_difficulty 0"
set _menu_icn_5 ""
set _menu_type_6 1
set _menu_txt_6 "Normal"
set _menu_cmd_6 "bot_difficulty 1"
set _menu_icn_6 ""
set _menu_type_7 1
set _menu_txt_7 "Hard"
set _menu_cmd_7 "bot_difficulty 2"
set _menu_icn_7 ""
set _menu_type_8 1
set _menu_txt_8 "Very Hard"
set _menu_cmd_8 "bot_difficulty 3"
set _menu_icn_8 ""
build_menu
if $bot_difficulty = 0;:touch_setcolor _menu_S5_my_menu-3-set3 156 77 20 180
if $bot_difficulty = 1;:touch_setcolor _menu_S6_my_menu-3-set3 156 77 20 180
if $bot_difficulty = 2;:touch_setcolor _menu_S7_my_menu-3-set3 156 77 20 180
if $bot_difficulty = 3;:touch_setcolor _menu_S8_my_menu-3-set3 156 77 20 180
================================================
FILE: 3rdparty/cs16client-extras/touch/bots/my_menu-3-set4.cfg
================================================
cmd_scripting 1
set menu_root_path "touch/bots"
set _menu_id my_menu-3-set4
set _menu_level 3
set _menu_min 6
set _menu_max 9
set _menu_type_6 1
set _menu_txt_6 "Normal"
set _menu_cmd_6 "bot_chatter normal"
set _menu_icn_6 ""
set _menu_type_7 1
set _menu_txt_7 "Minimal"
set _menu_cmd_7 "bot_chatter minimal"
set _menu_icn_7 ""
set _menu_type_8 1
set _menu_txt_8 "Radio Only"
set _menu_cmd_8 "bot_chatter radio"
set _menu_icn_8 ""
set _menu_type_9 1
set _menu_txt_9 "Disabled"
set _menu_cmd_9 "bot_chatter off"
set _menu_icn_9 ""
build_menu
if $bot_chatter = normal;:touch_setcolor _menu_S6_my_menu-3-set4 156 77 20 180
if $bot_chatter = minimal;:touch_setcolor _menu_S7_my_menu-3-set4 156 77 20 180
if $bot_chatter = radio;:touch_setcolor _menu_S8_my_menu-3-set4 156 77 20 180
if $bot_chatter = off;:touch_setcolor _menu_S9_my_menu-3-set4 156 77 20 180
================================================
FILE: 3rdparty/cs16client-extras/touch/bots/my_menu-3-set5.cfg
================================================
cmd_scripting 1
set menu_root_path "touch/bots"
set _menu_id my_menu-3-set5
set _menu_level 3
set _menu_min 7
set _menu_max 10
set _menu_type_7 2
set _menu_txt_7 "Bots make; room for; players"
set _menu_cmd_7 "bot_auto_vacate"
set _menu_f7 $bot_auto_vacate
set _menu_type_8 2
set _menu_txt_8 "Bots defer; to human; objectives"
set _menu_cmd_8 "bot_defer_to_human"
set _menu_f8 $bot_defer_to_human
set _menu_type_9 2
set _menu_txt_9 "Allow rogues"
set _menu_cmd_9 "bot_allow_rogues"
set _menu_f9 $bot_allow_rogues
set _menu_type_10 2
set _menu_txt_10 "Walk only"
set _menu_cmd_10 "bot_walk"
set _menu_f10 $bot_walk
build_menu
================================================
FILE: 3rdparty/cs16client-extras/touch/bots/my_menu-3-set6.cfg
================================================
cmd_scripting 1
set menu_root_path "touch/bots"
set _menu_id my_menu-3-set6
set _menu_level 3
set _menu_min 8
set _menu_max 10
set _menu_type_8 1
set _menu_txt_8 "Normal"
set _menu_cmd_8 "bot_quota_mode normal"
set _menu_icn_8 ""
set _menu_type_9 1
set _menu_txt_9 "Fill"
set _menu_cmd_9 "bot_quota_mode fill"
set _menu_icn_9 ""
set _menu_type_10 1
set _menu_txt_10 "Match"
set _menu_cmd_10 "bot_quota_mode match"
set _menu_icn_10 ""
build_menu
if $bot_quota_mode = normal;:touch_setcolor _menu_S8_my_menu-3-set6 156 77 20 180
if $bot_quota_mode = fill;:touch_setcolor _menu_S9_my_menu-3-set6 156 77 20 180
if $bot_quota_mode = match;:touch_setcolor _menu_S0_my_menu-3-set6 156 77 20 180
================================================
FILE: 3rdparty/cs16client-extras/touch/buy.cfg
================================================
// Coded by Alprnn357
touch_setclientonly 1
cmd_scripting 1
touch_set_stroke 1 255 174 0 150
alias _erase_frame "touch_removebutton _menu_*; _menu_off; slot10"
alias _menu_off "touch_setclientonly 0"
alias _click "play media/launch_select1.wav; vibrate 30"
touch_addbutton "_menu_bg_crn4" "gfx/vgui/round_corner_se.tga" "" 0.880000 0.924444 0.900000 0.960000 0 0 0 150 6
touch_addbutton "_menu_bg_crn2" "gfx/vgui/round_corner_ne.tga" "" 0.880000 0.035556 0.900000 0.071111 0 0 0 150 6
touch_addbutton "_menu_bg_crn1" "gfx/vgui/round_corner_nw.tga" "" 0.100000 0.035556 0.120000 0.071111 0 0 0 150 6
touch_addbutton "_menu_bg_crn3" "gfx/vgui/round_corner_sw.tga" "" 0.100000 0.924444 0.120000 0.960000 0 0 0 150 6
touch_addbutton "_menu_bg_top1" "*black" "" 0.120000 0.035556 0.880000 0.071111 0 0 0 150 6
touch_addbutton "_menu_bg_top2" "*black" "" 0.100000 0.071111 0.900000 0.160000 0 0 0 150 6
touch_addbutton "_menu_bg_bottom" "*black" "" 0.120000 0.924444 0.880000 0.960000 0 0 0 150 6
touch_addbutton "_menu_bg_body" "*black" "" 0.100000 0.165000 0.900000 0.924444 0 0 0 150 6
if $menu_bg_fill >= 1;:touch_removebutton _menu_bg_*;:touch_addbutton _menu_bg_body *black "" 0 0 1 1 0 0 0 150 6
touch_addbutton "_menu_bg_icn_logo" "gfx/vgui/cs_logo.tga" "" 0.110000 0.053333 0.160000 0.142222 255 174 0 255 6
touch_addbutton "_menu_bg_txt_logo" "#BUY MENU" "" 0.170000 0.071111 0.890000 0.142222 255 174 0 255 6
touch_addbutton "_menu_txt_title" "#SHOP BY CATEGORY" "" 0.140000 0.177778 0.860000 0.213333 255 174 0 255 4
touch_addbutton "_menu_slot1" "*white" "+menu_slot1" 0.140000 0.213333 0.360000 0.266667 0 0 0 150 260
touch_addbutton "_menu_txt_slot1" "#1 PISTOLS" "" 0.150000 0.231111 0.360000 0.266667 255 174 0 255 4
touch_addbutton "_menu_slot2" "*white" "+menu_slot2" 0.140000 0.284444 0.360000 0.337778 0 0 0 150 260
touch_addbutton "_menu_txt_slot2" "#2 SHOTGUNS" "" 0.150000 0.302222 0.360000 0.337778 255 174 0 255 4
touch_addbutton "_menu_slot3" "*white" "+menu_slot3" 0.140000 0.355556 0.360000 0.408889 0 0 0 150 260
touch_addbutton "_menu_txt_slot3" "#3 SMG" "" 0.150000 0.373333 0.360000 0.408889 255 174 0 255 4
touch_addbutton "_menu_slot4" "*white" "+menu_slot4" 0.140000 0.426667 0.360000 0.480000 0 0 0 150 260
touch_addbutton "_menu_txt_slot4" "#4 RIFLES" "" 0.150000 0.444444 0.360000 0.480000 255 174 0 255 4
touch_addbutton "_menu_slot5" "*white" "+menu_slot5" 0.140000 0.497778 0.360000 0.551111 0 0 0 150 260
touch_addbutton "_menu_txt_slot5" "#5 MACHINE GUNS" "" 0.150000 0.515556 0.360000 0.551111 255 174 0 255 4
touch_addbutton "_menu_slot6" "*white" "+menu_slot6" 0.140000 0.568889 0.360000 0.622222 0 0 0 150 260
touch_addbutton "_menu_txt_slot6" "#6 PRIMARY AMMO" "" 0.150000 0.586667 0.360000 0.622222 255 174 0 255 4
touch_addbutton "_menu_slot7" "*white" "+menu_slot7" 0.140000 0.640000 0.360000 0.693333 0 0 0 150 260
touch_addbutton "_menu_txt_slot7" "#7 SECONDARY AMMO" "" 0.150000 0.657778 0.360000 0.693333 255 174 0 255 4
touch_addbutton "_menu_slot8" "*white" "+menu_slot8" 0.140000 0.711111 0.360000 0.764444 0 0 0 150 260
touch_addbutton "_menu_txt_slot8" "#8 EQUIPMENT" "" 0.150000 0.728889 0.360000 0.764444 255 174 0 255 4
//touch_addbutton "_menu_slot9" "*white" "" 0.140000 0.782222 0.360000 0.835556 0 0 0 150 260
//touch_addbutton "_menu_txt_slot9" "#9 SLOT" "" 0.150000 0.800000 0.360000 0.835556 255 174 0 255 4
touch_addbutton "_menu_slot0" "*white" "+menu_slot0" 0.14 0.871111 0.36 0.924444 0 0 0 150 260
touch_addbutton "_menu_txt_slot0" "#0 CANCEL" "" 0.15 0.888889 0.36 0.924444 255 174 0 255 4
touch_addbutton "_menu_seperator" "*white" "" 0.374000 0.213333 0.376000 0.924444 0 0 0 150 260
touch_addbutton "_menu_autobuy" "*white" "+menu_autobuy" 0.390000 0.213333 0.610000 0.266667 0 0 0 150 260
touch_addbutton "_menu_txt_autobuy" "#A AUTO-BUY" "" 0.400000 0.231111 0.610000 0.266667 255 174 0 255 4
touch_addbutton "_menu_rebuy" "*white" "+menu_rebuy" 0.390000 0.284444 0.610000 0.337778 0 0 0 150 260
touch_addbutton "_menu_txt_rebuy" "#R RE-BUY PREVIOUS" "" 0.400000 0.302222 0.610000 0.337778 255 174 0 255 4
touch_addbutton "_menu_txt_money" "#YOU HAVE \$$cscl_currentmoney" "_menu_refresh" 0.170000 0.106667 0.890000 0.160000 255 174 0 255 4
alias _menu_refresh "exec touch/buy.cfg"
//alias +menu_slot0 "touch_setcolor _menu_slot0 255 174 0 150"
//alias -menu_slot0 "touch_setcolor _menu_slot0 0 0 0 150"
alias +menu_slot0 "_click; touch_setcolor _menu_slot0 255 174 0 150"
alias -menu_slot0 "touch_setcolor _menu_slot0 0 0 0 150; _erase_frame"
alias +menu_slot1 "_click; touch_setcolor _menu_slot1 255 174 0 150"
alias -menu_slot1 "touch_setcolor _menu_slot1 0 0 0 150; _erase_frame; showvguimenu 29"
alias +menu_slot2 "_click; touch_setcolor _menu_slot2 255 174 0 150"
alias -menu_slot2 "touch_setcolor _menu_slot2 0 0 0 150; _erase_frame; showvguimenu 30"
alias +menu_slot3 "_click; touch_setcolor _menu_slot3 255 174 0 150"
alias -menu_slot3 "touch_setcolor _menu_slot3 0 0 0 150; _erase_frame; showvguimenu 32"
alias +menu_slot4 "_click; touch_setcolor _menu_slot4 255 174 0 150"
alias -menu_slot4 "touch_setcolor _menu_slot4 0 0 0 150; _erase_frame; showvguimenu 31"
alias +menu_slot5 "_click; touch_setcolor _menu_slot5 255 174 0 150"
alias -menu_slot5 "touch_setcolor _menu_slot5 0 0 0 150; _erase_frame; showvguimenu 33"
alias +menu_slot6 "_click; touch_setcolor _menu_slot6 255 174 0 150"
alias -menu_slot6 "touch_setcolor _menu_slot6 0 0 0 150; primammo; _erase_frame"
alias +menu_slot7 "_click; touch_setcolor _menu_slot7 255 174 0 150"
alias -menu_slot7 "touch_setcolor _menu_slot7 0 0 0 150; secammo; _erase_frame"
alias +menu_slot8 "_click; touch_setcolor _menu_slot8 255 174 0 150"
alias -menu_slot8 "touch_setcolor _menu_slot8 0 0 0 150; _erase_frame; showvguimenu 34"
alias +menu_autobuy "_click; touch_setcolor _menu_autobuy 255 174 0 150"
alias -menu_autobuy "touch_setcolor _menu_autobuy 0 0 0 150; autobuy; _erase_frame"
alias +menu_rebuy "_click; touch_setcolor _menu_rebuy 255 174 0 150"
alias -menu_rebuy "touch_setcolor _menu_rebuy 0 0 0 150; rebuy; _erase_frame"
================================================
FILE: 3rdparty/cs16client-extras/touch/buy_item_ct.cfg
================================================
// Coded by Alprnn357
touch_setclientonly 1
cmd_scripting 1
touch_set_stroke 1 255 174 0 150
alias _erase_frame "touch_removebutton _menu_*; _menu_off; slot10"
alias _menu_off "touch_setclientonly 0"
alias _click "play media/launch_select1.wav; vibrate 30"
touch_addbutton "_menu_bg_crn4" "gfx/vgui/round_corner_se.tga" "" 0.880000 0.924444 0.900000 0.960000 0 0 0 150 6
touch_addbutton "_menu_bg_crn2" "gfx/vgui/round_corner_ne.tga" "" 0.880000 0.035556 0.900000 0.071111 0 0 0 150 6
touch_addbutton "_menu_bg_crn1" "gfx/vgui/round_corner_nw.tga" "" 0.100000 0.035556 0.120000 0.071111 0 0 0 150 6
touch_addbutton "_menu_bg_crn3" "gfx/vgui/round_corner_sw.tga" "" 0.100000 0.924444 0.120000 0.960000 0 0 0 150 6
touch_addbutton "_menu_bg_top1" "*black" "" 0.120000 0.035556 0.880000 0.071111 0 0 0 150 6
touch_addbutton "_menu_bg_top2" "*black" "" 0.100000 0.071111 0.900000 0.160000 0 0 0 150 6
touch_addbutton "_menu_bg_bottom" "*black" "" 0.120000 0.924444 0.880000 0.960000 0 0 0 150 6
touch_addbutton "_menu_bg_body" "*black" "" 0.100000 0.165000 0.900000 0.924444 0 0 0 150 6
if $menu_bg_fill >= 1;:touch_removebutton _menu_bg_*;:touch_addbutton _menu_bg_body *black "" 0 0 1 1 0 0 0 150 6
touch_addbutton "_menu_bg_icn_logo" "gfx/vgui/cs_logo.tga" "" 0.110000 0.053333 0.160000 0.142222 255 174 0 255 6
touch_addbutton "_menu_bg_txt_logo" "#BUY EQUIPMENT" "" 0.170000 0.071111 0.890000 0.142222 255 174 0 255 6
//touch_addbutton "_menu_txt_title" "#THE TITLE" "" 0.140000 0.177778 0.860000 0.213333 255 174 0 255 4
touch_addbutton "_menu_slot1" "*white" "_menu_select_slot1" 0.140000 0.213333 0.360000 0.266667 0 0 0 150 260
touch_addbutton "_menu_txt_slot1" "#1 KEVLAR" "" 0.150000 0.231111 0.360000 0.266667 255 174 0 255 4
touch_addbutton "_menu_slot2" "*white" "_menu_select_slot2" 0.140000 0.284444 0.360000 0.337778 0 0 0 150 260
touch_addbutton "_menu_txt_slot2" "#2 KEVLAR+HELMET" "" 0.150000 0.302222 0.360000 0.337778 255 174 0 255 4
touch_addbutton "_menu_slot3" "*white" "_menu_select_slot3" 0.140000 0.355556 0.360000 0.408889 0 0 0 150 260
touch_addbutton "_menu_txt_slot3" "#3 FLASHBANG" "" 0.150000 0.373333 0.360000 0.408889 255 174 0 255 4
touch_addbutton "_menu_slot4" "*white" "_menu_select_slot4" 0.140000 0.426667 0.360000 0.480000 0 0 0 150 260
touch_addbutton "_menu_txt_slot4" "#4 HE GRENADE" "" 0.150000 0.444444 0.360000 0.480000 255 174 0 255 4
touch_addbutton "_menu_slot5" "*white" "_menu_select_slot5" 0.140000 0.497778 0.360000 0.551111 0 0 0 150 260
touch_addbutton "_menu_txt_slot5" "#5 SMOKE GRENADE" "" 0.150000 0.515556 0.360000 0.551111 255 174 0 255 4
if $cscl_mapprefix == "de_"
:touch_addbutton "_menu_slot6" "*white" "_menu_select_slot6" 0.140000 0.568889 0.360000 0.622222 0 0 0 150 260
:touch_addbutton "_menu_txt_slot6" "#6 DEFUSAL KIT" "" 0.150000 0.586667 0.360000 0.622222 255 174 0 255 4
else
:touch_addbutton "_menu_slot6" "*white" "_menu_select_slot6_noconfirm" 0.140000 0.568889 0.360000 0.622222 0 0 0 150 260
:touch_addbutton "_menu_txt_slot6" "#6 DEFUSAL KIT" "" 0.150000 0.586667 0.360000 0.622222 129 85 0 255 4
touch_addbutton "_menu_slot7" "*white" "_menu_select_slot7" 0.140000 0.640000 0.360000 0.693333 0 0 0 150 260
touch_addbutton "_menu_txt_slot7" "#7 NIGHTVISION" "" 0.150000 0.657778 0.360000 0.693333 255 174 0 255 4
touch_addbutton "_menu_slot8" "*white" "_menu_select_slot8" 0.140000 0.711111 0.360000 0.764444 0 0 0 150 260
touch_addbutton "_menu_txt_slot8" "#8 TACTICAL SHIELD" "" 0.150000 0.728889 0.360000 0.764444 255 174 0 255 4
//touch_addbutton "_menu_slot9" "*white" "" 0.140000 0.782222 0.360000 0.835556 0 0 0 150 260
//touch_addbutton "_menu_txt_slot9" "#9 SLOT" "" 0.150000 0.800000 0.360000 0.835556 255 174 0 255 4
touch_addbutton "_menu_slot0" "*white" "+menu_slot0" 0.14 0.871111 0.36 0.924444 0 0 0 150 260
touch_addbutton "_menu_txt_slot0" "#0 CANCEL" "" 0.15 0.888889 0.36 0.924444 255 174 0 255 4
set _menu_money_item1 "650"; if $cscl_currentmoney < $_menu_money_item1;: touch_setcolor _menu_txt_slot1 129 85 0 255
set _menu_money_item2 "1000"; if $cscl_currentmoney < $_menu_money_item2;: touch_setcolor _menu_txt_slot2 129 85 0 255
set _menu_money_item3 "200"; if $cscl_currentmoney < $_menu_money_item3;: touch_setcolor _menu_txt_slot3 129 85 0 255
set _menu_money_item4 "300"; if $cscl_currentmoney < $_menu_money_item4;: touch_setcolor _menu_txt_slot4 129 85 0 255
set _menu_money_item5 "300"; if $cscl_currentmoney < $_menu_money_item5;: touch_setcolor _menu_txt_slot5 129 85 0 255
set _menu_money_item6 "200"; if $cscl_currentmoney < $_menu_money_item6;: touch_setcolor _menu_txt_slot6 129 85 0 255
set _menu_money_item7 "1250"; if $cscl_currentmoney < $_menu_money_item7;: touch_setcolor _menu_txt_slot7 129 85 0 255
set _menu_money_item8 "2200"; if $cscl_currentmoney < $_menu_money_item8;: touch_setcolor _menu_txt_slot8 129 85 0 255
touch_addbutton "_menu_frame" "*white" "" 0.390000 0.213333 0.840000 0.551111 0 0 0 150 260
touch_addbutton "_menu_frame_icn_class1" "gfx/vgui/kevlar.tga" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
touch_addbutton "_menu_frame_icn_class2" "gfx/vgui/kevlar_helmet.tga" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
touch_addbutton "_menu_frame_icn_class3" "gfx/vgui/flashbang.tga" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
touch_addbutton "_menu_frame_icn_class4" "gfx/vgui/hegrenade.tga" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
touch_addbutton "_menu_frame_icn_class5" "gfx/vgui/smokegrenade.tga" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
touch_addbutton "_menu_frame_icn_class6" "gfx/vgui/defuser.tga" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
touch_addbutton "_menu_frame_icn_class7" "gfx/vgui/nightvision.tga" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
touch_addbutton "_menu_frame_icn_class8" "gfx/vgui/shield.tga" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
touch_addbutton "_menu_confirm" "*white" "+menu_confirm" 0.62 0.871111 0.84 0.924444 0 0 0 150 260
touch_addbutton "_menu_confirm_txt" "#BUY THE ITEM" "" 0.63 0.888889 0.84 0.924444 255 174 0 255 4
touch_addbutton "_menu_frame_txt_data1" "#PRICE;DESCRIPTION" "" 0.390000 0.551111 0.560000 0.853333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_data2" "#TITLE;SUBTITLE" "" 0.390000 0.551111 0.560000 0.853333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1" "#: \$$_menu_money_item1;: A Kevlar vest that protects ; against projectiles" "" 0.560000 0.551111 0.840000 0.853333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2" "#: \$$_menu_money_item2;: A kevlar vest and a ballistic ; helmet which both protect ; against projectiles." "" 0.560000 0.551111 0.840000 0.853333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3" "#: \$$_menu_money_item3;: Makes a loud noise and ; blinding flash when thrown ; at enemy (pull pin first). ; Useful for causing distractions ; before entering an area." "" 0.560000 0.551111 0.840000 0.853333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4" "#: \$$_menu_money_item4;: A high-explosive device. Pull ; the pin, release the spoon ; and throw." "" 0.560000 0.551111 0.840000 0.853333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5" "#: \$$_menu_money_item5;: A diversionary device that ; can be used to provide ; temporary cover for moving ; from place to place." "" 0.560000 0.551111 0.840000 0.853333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc6" "#: \$$_menu_money_item6;: A bomb defusal kit used to ; speed up the bomb defusal ; process." "" 0.560000 0.551111 0.840000 0.853333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc7" "#: \$$_menu_money_item7;: Nightvision goggles which ; allow the user to see more ; effectively in dark areas." "" 0.560000 0.551111 0.840000 0.853333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc8" "#: \$$_menu_money_item8;: Barrier-type shield for ; street tactics and ; intervention." "" 0.560000 0.551111 0.840000 0.853333 240 180 24 255 4
touch_addbutton "_menu_txt_money" "#YOU HAVE \$$cscl_currentmoney" "_menu_refresh" 0.170000 0.106667 0.890000 0.160000 255 174 0 255 4
alias _menu_refresh "exec touch/buy_item_ct.cfg"
alias _menu_none "touch_setcolor _menu_slot* 0 0 0 150; touch_hide _menu_frame_icn_class*; touch_hide _menu_frame_txt_data*; touch_hide _menu_frame_txt_desc*; touch_hide _menu_confirm*"
_menu_none
//alias +menu_slot0 "touch_setcolor _menu_slot0 255 174 0 150"
//alias -menu_slot0 "touch_setcolor _menu_slot0 0 0 0 150"
//alias _menu_select_slot1 "_menu_none; touch_setcolor _menu_slot1 255 174 0 150; touch_show _menu_frame_icn_class1; touch_show _menu_frame_txt_desc1; if $cscl_currentmoney>=0;:_menu_show_confirm ; alias _menu_confirmed joinclass 1"
alias +menu_slot0 "_click; touch_setcolor _menu_slot0 255 174 0 150"
alias -menu_slot0 "touch_setcolor _menu_slot0 0 0 0 150; _erase_frame"
if $buymenu_stayon >= 1;:alias -menu_slot0 "touch_setcolor _menu_slot0 0 0 0 150; _erase_frame; buy"
alias _menu_confirmed ""
alias _menu_show_confirm "touch_show _menu_confirm*"
alias _menu_select_slot1 "_click; _menu_none; touch_setcolor _menu_slot1 255 174 0 150; touch_show _menu_frame_icn_class1; touch_show _menu_frame_txt_data1; touch_show _menu_frame_txt_desc1; if $cscl_currentmoney >= $_menu_money_item1;:_menu_show_confirm ; alias _menu_confirmed vest"
alias _menu_select_slot2 "_click; _menu_none; touch_setcolor _menu_slot2 255 174 0 150; touch_show _menu_frame_icn_class2; touch_show _menu_frame_txt_data1; touch_show _menu_frame_txt_desc2; if $cscl_currentmoney >= $_menu_money_item2;:_menu_show_confirm ; alias _menu_confirmed vesthelm"
alias _menu_select_slot3 "_click; _menu_none; touch_setcolor _menu_slot3 255 174 0 150; touch_show _menu_frame_icn_class3; touch_show _menu_frame_txt_data1; touch_show _menu_frame_txt_desc3; if $cscl_currentmoney >= $_menu_money_item3;:_menu_show_confirm ; alias _menu_confirmed flash"
alias _menu_select_slot4 "_click; _menu_none; touch_setcolor _menu_slot4 255 174 0 150; touch_show _menu_frame_icn_class4; touch_show _menu_frame_txt_data1; touch_show _menu_frame_txt_desc4; if $cscl_currentmoney >= $_menu_money_item4;:_menu_show_confirm ; alias _menu_confirmed hegren"
alias _menu_select_slot5 "_click; _menu_none; touch_setcolor _menu_slot5 255 174 0 150; touch_show _menu_frame_icn_class5; touch_show _menu_frame_txt_data1; touch_show _menu_frame_txt_desc5; if $cscl_currentmoney >= $_menu_money_item5;:_menu_show_confirm ; alias _menu_confirmed sgren"
alias _menu_select_slot6 "_click; _menu_none; touch_setcolor _menu_slot6 255 174 0 150; touch_show _menu_frame_icn_class6; touch_show _menu_frame_txt_data1; touch_show _menu_frame_txt_desc6; if $cscl_currentmoney >= $_menu_money_item6;:_menu_show_confirm ; alias _menu_confirmed defuser"
alias _menu_select_slot6_noconfirm "_click; _menu_none; touch_setcolor _menu_slot6 255 174 0 150; touch_show _menu_frame_icn_class6; touch_show _menu_frame_txt_data1; touch_show _menu_frame_txt_desc6"
alias _menu_select_slot7 "_click; _menu_none; touch_setcolor _menu_slot7 255 174 0 150; touch_show _menu_frame_icn_class7; touch_show _menu_frame_txt_data1; touch_show _menu_frame_txt_desc7; if $cscl_currentmoney >= $_menu_money_item7;:_menu_show_confirm ; alias _menu_confirmed nvgs"
alias _menu_select_slot8 "_click; _menu_none; touch_setcolor _menu_slot8 255 174 0 150; touch_show _menu_frame_icn_class8; touch_show _menu_frame_txt_data1; touch_show _menu_frame_txt_desc8; if $cscl_currentmoney >= $_menu_money_item8;:_menu_show_confirm ; alias _menu_confirmed shield"
alias +menu_confirm "_click; touch_setcolor _menu_confirm 255 174 0 150"
alias -menu_confirm "touch_setcolor _menu_confirm 0 0 0 150; _menu_confirmed; wait; wait; _erase_frame"
================================================
FILE: 3rdparty/cs16client-extras/touch/buy_item_t.cfg
================================================
// Coded by Alprnn357
touch_setclientonly 1
cmd_scripting 1
touch_set_stroke 1 255 174 0 150
alias _erase_frame "touch_removebutton _menu_*; _menu_off; slot10"
alias _menu_off "touch_setclientonly 0"
alias _click "play media/launch_select1.wav; vibrate 30"
touch_addbutton "_menu_bg_crn4" "gfx/vgui/round_corner_se.tga" "" 0.880000 0.924444 0.900000 0.960000 0 0 0 150 6
touch_addbutton "_menu_bg_crn2" "gfx/vgui/round_corner_ne.tga" "" 0.880000 0.035556 0.900000 0.071111 0 0 0 150 6
touch_addbutton "_menu_bg_crn1" "gfx/vgui/round_corner_nw.tga" "" 0.100000 0.035556 0.120000 0.071111 0 0 0 150 6
touch_addbutton "_menu_bg_crn3" "gfx/vgui/round_corner_sw.tga" "" 0.100000 0.924444 0.120000 0.960000 0 0 0 150 6
touch_addbutton "_menu_bg_top1" "*black" "" 0.120000 0.035556 0.880000 0.071111 0 0 0 150 6
touch_addbutton "_menu_bg_top2" "*black" "" 0.100000 0.071111 0.900000 0.160000 0 0 0 150 6
touch_addbutton "_menu_bg_bottom" "*black" "" 0.120000 0.924444 0.880000 0.960000 0 0 0 150 6
touch_addbutton "_menu_bg_body" "*black" "" 0.100000 0.165000 0.900000 0.924444 0 0 0 150 6
if $menu_bg_fill >= 1;:touch_removebutton _menu_bg_*;:touch_addbutton _menu_bg_body *black "" 0 0 1 1 0 0 0 150 6
touch_addbutton "_menu_bg_icn_logo" "gfx/vgui/cs_logo.tga" "" 0.110000 0.053333 0.160000 0.142222 255 174 0 255 6
touch_addbutton "_menu_bg_txt_logo" "#BUY EQUIPMENT" "" 0.170000 0.071111 0.890000 0.142222 255 174 0 255 6
//touch_addbutton "_menu_txt_title" "#THE TITLE" "" 0.140000 0.177778 0.860000 0.213333 255 174 0 255 4
touch_addbutton "_menu_slot1" "*white" "_menu_select_slot1" 0.140000 0.213333 0.360000 0.266667 0 0 0 150 260
touch_addbutton "_menu_txt_slot1" "#1 KEVLAR" "" 0.150000 0.231111 0.360000 0.266667 255 174 0 255 4
touch_addbutton "_menu_slot2" "*white" "_menu_select_slot2" 0.140000 0.284444 0.360000 0.337778 0 0 0 150 260
touch_addbutton "_menu_txt_slot2" "#2 KEVLAR+HELMET" "" 0.150000 0.302222 0.360000 0.337778 255 174 0 255 4
touch_addbutton "_menu_slot3" "*white" "_menu_select_slot3" 0.140000 0.355556 0.360000 0.408889 0 0 0 150 260
touch_addbutton "_menu_txt_slot3" "#3 FLASHBANG" "" 0.150000 0.373333 0.360000 0.408889 255 174 0 255 4
touch_addbutton "_menu_slot4" "*white" "_menu_select_slot4" 0.140000 0.426667 0.360000 0.480000 0 0 0 150 260
touch_addbutton "_menu_txt_slot4" "#4 HE GRENADE" "" 0.150000 0.444444 0.360000 0.480000 255 174 0 255 4
touch_addbutton "_menu_slot5" "*white" "_menu_select_slot5" 0.140000 0.497778 0.360000 0.551111 0 0 0 150 260
touch_addbutton "_menu_txt_slot5" "#5 SMOKE GRENADE" "" 0.150000 0.515556 0.360000 0.551111 255 174 0 255 4
touch_addbutton "_menu_slot6" "*white" "_menu_select_slot6" 0.140000 0.568889 0.360000 0.622222 0 0 0 150 260
touch_addbutton "_menu_txt_slot6" "#6 NIGHTVISION" "" 0.150000 0.586667 0.360000 0.622222 255 174 0 255 4
//touch_addbutton "_menu_slot7" "*white" "" 0.140000 0.640000 0.360000 0.693333 0 0 0 150 260
//touch_addbutton "_menu_txt_slot7" "#7 SLOT" "" 0.150000 0.657778 0.360000 0.693333 255 174 0 255 4
//touch_addbutton "_menu_slot8" "*white" "" 0.140000 0.711111 0.360000 0.764444 0 0 0 150 260
//touch_addbutton "_menu_txt_slot8" "#8 SLOT" "" 0.150000 0.728889 0.360000 0.764444 255 174 0 255 4
//touch_addbutton "_menu_slot9" "*white" "" 0.140000 0.782222 0.360000 0.835556 0 0 0 150 260
//touch_addbutton "_menu_txt_slot9" "#9 SLOT" "" 0.150000 0.800000 0.360000 0.835556 255 174 0 255 4
touch_addbutton "_menu_slot0" "*white" "+menu_slot0" 0.14 0.871111 0.36 0.924444 0 0 0 150 260
touch_addbutton "_menu_txt_slot0" "#0 CANCEL" "" 0.15 0.888889 0.36 0.924444 255 174 0 255 4
set _menu_money_item1 "650"; if $cscl_currentmoney < $_menu_money_item1;: touch_setcolor _menu_txt_slot1 129 85 0 255
set _menu_money_item2 "1000"; if $cscl_currentmoney < $_menu_money_item2;: touch_setcolor _menu_txt_slot2 129 85 0 255
set _menu_money_item3 "200"; if $cscl_currentmoney < $_menu_money_item3;: touch_setcolor _menu_txt_slot3 129 85 0 255
set _menu_money_item4 "300"; if $cscl_currentmoney < $_menu_money_item4;: touch_setcolor _menu_txt_slot4 129 85 0 255
set _menu_money_item5 "300"; if $cscl_currentmoney < $_menu_money_item5;: touch_setcolor _menu_txt_slot5 129 85 0 255
set _menu_money_item6 "1250"; if $cscl_currentmoney < $_menu_money_item6;: touch_setcolor _menu_txt_slot6 129 85 0 255
//set _menu_money_item7 ""; if $cscl_currentmoney < $_menu_money_item7;: touch_setcolor _menu_txt_slot7 129 85 0 255
//set _menu_money_item8 ""; if $cscl_currentmoney < $_menu_money_item8;: touch_setcolor _menu_txt_slot8 129 85 0 255
touch_addbutton "_menu_frame" "*white" "" 0.390000 0.213333 0.840000 0.551111 0 0 0 150 260
touch_addbutton "_menu_frame_icn_class1" "gfx/vgui/kevlar.tga" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
touch_addbutton "_menu_frame_icn_class2" "gfx/vgui/kevlar_helmet.tga" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
touch_addbutton "_menu_frame_icn_class3" "gfx/vgui/flashbang.tga" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
touch_addbutton "_menu_frame_icn_class4" "gfx/vgui/hegrenade.tga" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
touch_addbutton "_menu_frame_icn_class5" "gfx/vgui/smokegrenade.tga" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
touch_addbutton "_menu_frame_icn_class6" "gfx/vgui/nightvision.tga" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class7" "" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class8" "" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
touch_addbutton "_menu_confirm" "*white" "+menu_confirm" 0.62 0.871111 0.84 0.924444 0 0 0 150 260
touch_addbutton "_menu_confirm_txt" "#BUY THE ITEM" "" 0.63 0.888889 0.84 0.924444 255 174 0 255 4
touch_addbutton "_menu_frame_txt_data1" "#PRICE;DESCRIPTION" "" 0.390000 0.551111 0.560000 0.853333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_data2" "#TITLE;SUBTITLE" "" 0.390000 0.551111 0.560000 0.853333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1" "#: \$$_menu_money_item1;: A Kevlar vest that protects ; against projectiles" "" 0.560000 0.551111 0.840000 0.853333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2" "#: \$$_menu_money_item2;: A kevlar vest and a ballistic ; helmet which both protect ; against projectiles." "" 0.560000 0.551111 0.840000 0.853333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3" "#: \$$_menu_money_item3;: Makes a loud noise and ; blinding flash when thrown ; at enemy (pull pin first). ; Useful for causing distractions ; before entering an area." "" 0.560000 0.551111 0.840000 0.853333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4" "#: \$$_menu_money_item4;: A high-explosive device. Pull ; the pin, release the spoon ; and throw." "" 0.560000 0.551111 0.840000 0.853333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5" "#: \$$_menu_money_item5;: A diversionary device that ; can be used to provide ; temporary cover for moving ; from place to place." "" 0.560000 0.551111 0.840000 0.853333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc6" "#: \$$_menu_money_item6;: Nightvision goggles which ; allow the user to see more ; effectively in dark areas." "" 0.560000 0.551111 0.840000 0.853333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7" "" "" 0.560000 0.551111 0.840000 0.853333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8" "" "" 0.560000 0.551111 0.840000 0.853333 240 180 24 255 4
touch_addbutton "_menu_txt_money" "#YOU HAVE \$$cscl_currentmoney" "_menu_refresh" 0.170000 0.106667 0.890000 0.160000 255 174 0 255 4
alias _menu_refresh "exec touch/buy_item_t.cfg"
alias _menu_none "touch_setcolor _menu_slot* 0 0 0 150; touch_hide _menu_frame_icn_class*; touch_hide _menu_frame_txt_data*; touch_hide _menu_frame_txt_desc*; touch_hide _menu_confirm*"
_menu_none
//alias +menu_slot0 "touch_setcolor _menu_slot0 255 174 0 150"
//alias -menu_slot0 "touch_setcolor _menu_slot0 0 0 0 150"
//alias _menu_select_slot1 "_menu_none; touch_setcolor _menu_slot1 255 174 0 150; touch_show _menu_frame_icn_class1; touch_show _menu_frame_txt_desc1; if $cscl_currentmoney>=0;:_menu_show_confirm ; alias _menu_confirmed joinclass 1"
alias +menu_slot0 "_click; touch_setcolor _menu_slot0 255 174 0 150"
alias -menu_slot0 "touch_setcolor _menu_slot0 0 0 0 150; _erase_frame"
if $buymenu_stayon >= 1;:alias -menu_slot0 "touch_setcolor _menu_slot0 0 0 0 150; _erase_frame; buy"
alias _menu_confirmed ""
alias _menu_show_confirm "touch_show _menu_confirm*"
alias _menu_select_slot1 "_click; _menu_none; touch_setcolor _menu_slot1 255 174 0 150; touch_show _menu_frame_icn_class1; touch_show _menu_frame_txt_data1; touch_show _menu_frame_txt_desc1; if $cscl_currentmoney >= $_menu_money_item1;:_menu_show_confirm ; alias _menu_confirmed vest"
alias _menu_select_slot2 "_click; _menu_none; touch_setcolor _menu_slot2 255 174 0 150; touch_show _menu_frame_icn_class2; touch_show _menu_frame_txt_data1; touch_show _menu_frame_txt_desc2; if $cscl_currentmoney >= $_menu_money_item2;:_menu_show_confirm ; alias _menu_confirmed vesthelm"
alias _menu_select_slot3 "_click; _menu_none; touch_setcolor _menu_slot3 255 174 0 150; touch_show _menu_frame_icn_class3; touch_show _menu_frame_txt_data1; touch_show _menu_frame_txt_desc3; if $cscl_currentmoney >= $_menu_money_item3;:_menu_show_confirm ; alias _menu_confirmed flash"
alias _menu_select_slot4 "_click; _menu_none; touch_setcolor _menu_slot4 255 174 0 150; touch_show _menu_frame_icn_class4; touch_show _menu_frame_txt_data1; touch_show _menu_frame_txt_desc4; if $cscl_currentmoney >= $_menu_money_item4;:_menu_show_confirm ; alias _menu_confirmed hegren"
alias _menu_select_slot5 "_click; _menu_none; touch_setcolor _menu_slot5 255 174 0 150; touch_show _menu_frame_icn_class5; touch_show _menu_frame_txt_data1; touch_show _menu_frame_txt_desc5; if $cscl_currentmoney >= $_menu_money_item5;:_menu_show_confirm ; alias _menu_confirmed sgren"
alias _menu_select_slot6 "_click; _menu_none; touch_setcolor _menu_slot6 255 174 0 150; touch_show _menu_frame_icn_class6; touch_show _menu_frame_txt_data1; touch_show _menu_frame_txt_desc6; if $cscl_currentmoney >= $_menu_money_item6;:_menu_show_confirm ; alias _menu_confirmed nvgs"
//alias _menu_select_slot7 "_click; _menu_none; touch_setcolor _menu_slot7 255 174 0 150; touch_show _menu_frame_icn_class7; touch_show _menu_frame_txt_data1; touch_show _menu_frame_txt_desc7; if $cscl_currentmoney >= $_menu_money_item7;:_menu_show_confirm ; alias _menu_confirmed "
//alias _menu_select_slot8 "_click; _menu_none; touch_setcolor _menu_slot8 255 174 0 150; touch_show _menu_frame_icn_class8; touch_show _menu_frame_txt_data1; touch_show _menu_frame_txt_desc8; if $cscl_currentmoney >= $_menu_money_item8;:_menu_show_confirm ; alias _menu_confirmed "
alias +menu_confirm "_click; touch_setcolor _menu_confirm 255 174 0 150"
alias -menu_confirm "touch_setcolor _menu_confirm 0 0 0 150; _menu_confirmed; wait; wait; _erase_frame"
================================================
FILE: 3rdparty/cs16client-extras/touch/buy_machinegun_ct.cfg
================================================
// Coded by Alprnn357
touch_setclientonly 1
cmd_scripting 1
touch_set_stroke 1 255 174 0 150
alias _erase_frame "touch_removebutton _menu_*; _menu_off; slot10"
alias _menu_off "touch_setclientonly 0"
alias _click "play media/launch_select1.wav; vibrate 30"
touch_addbutton "_menu_bg_crn4" "gfx/vgui/round_corner_se.tga" "" 0.880000 0.924444 0.900000 0.960000 0 0 0 150 6
touch_addbutton "_menu_bg_crn2" "gfx/vgui/round_corner_ne.tga" "" 0.880000 0.035556 0.900000 0.071111 0 0 0 150 6
touch_addbutton "_menu_bg_crn1" "gfx/vgui/round_corner_nw.tga" "" 0.100000 0.035556 0.120000 0.071111 0 0 0 150 6
touch_addbutton "_menu_bg_crn3" "gfx/vgui/round_corner_sw.tga" "" 0.100000 0.924444 0.120000 0.960000 0 0 0 150 6
touch_addbutton "_menu_bg_top1" "*black" "" 0.120000 0.035556 0.880000 0.071111 0 0 0 150 6
touch_addbutton "_menu_bg_top2" "*black" "" 0.100000 0.071111 0.900000 0.160000 0 0 0 150 6
touch_addbutton "_menu_bg_bottom" "*black" "" 0.120000 0.924444 0.880000 0.960000 0 0 0 150 6
touch_addbutton "_menu_bg_body" "*black" "" 0.100000 0.165000 0.900000 0.924444 0 0 0 150 6
if $menu_bg_fill >= 1;:touch_removebutton _menu_bg_*;:touch_addbutton _menu_bg_body *black "" 0 0 1 1 0 0 0 150 6
touch_addbutton "_menu_bg_icn_logo" "gfx/vgui/cs_logo.tga" "" 0.110000 0.053333 0.160000 0.142222 255 174 0 255 6
touch_addbutton "_menu_bg_txt_logo" "#BUY MACHINE GUNS (PRIMARY WEAPON)" "" 0.170000 0.071111 0.890000 0.142222 255 174 0 255 6
//touch_addbutton "_menu_txt_title" "#THE TITLE" "" 0.140000 0.177778 0.860000 0.213333 255 174 0 255 4
touch_addbutton "_menu_slot1" "*white" "_menu_select_slot1" 0.140000 0.213333 0.360000 0.266667 0 0 0 150 260
touch_addbutton "_menu_txt_slot1" "#1 M249" "" 0.150000 0.231111 0.360000 0.266667 255 174 0 255 4
//touch_addbutton "_menu_slot2" "*white" "_menu_select_slot2" 0.140000 0.284444 0.360000 0.337778 0 0 0 150 260
//touch_addbutton "_menu_txt_slot2" "#2 SLOT" "" 0.150000 0.302222 0.360000 0.337778 255 174 0 255 4
//touch_addbutton "_menu_slot3" "*white" "_menu_select_slot3" 0.140000 0.355556 0.360000 0.408889 0 0 0 150 260
//touch_addbutton "_menu_txt_slot3" "#3 SLOT" "" 0.150000 0.373333 0.360000 0.408889 255 174 0 255 4
//touch_addbutton "_menu_slot4" "*white" "_menu_select_slot4" 0.140000 0.426667 0.360000 0.480000 0 0 0 150 260
//touch_addbutton "_menu_txt_slot4" "#4 SLOT" "" 0.150000 0.444444 0.360000 0.480000 255 174 0 255 4
//touch_addbutton "_menu_slot5" "*white" "_menu_select_slot5" 0.140000 0.497778 0.360000 0.551111 0 0 0 150 260
//touch_addbutton "_menu_txt_slot5" "#5 SLOT" "" 0.150000 0.515556 0.360000 0.551111 255 174 0 255 4
//touch_addbutton "_menu_slot6" "*white" "_menu_select_slot6" 0.140000 0.568889 0.360000 0.622222 0 0 0 150 260
//touch_addbutton "_menu_txt_slot6" "#6 SLOT" "" 0.150000 0.586667 0.360000 0.622222 255 174 0 255 4
//touch_addbutton "_menu_slot7" "*white" "_menu_select_slot7" 0.140000 0.640000 0.360000 0.693333 0 0 0 150 260
//touch_addbutton "_menu_txt_slot7" "#7 SLOT" "" 0.150000 0.657778 0.360000 0.693333 255 174 0 255 4
//touch_addbutton "_menu_slot8" "*white" "_menu_select_slot8" 0.140000 0.711111 0.360000 0.764444 0 0 0 150 260
//touch_addbutton "_menu_txt_slot8" "#8 SLOT" "" 0.150000 0.728889 0.360000 0.764444 255 174 0 255 4
//touch_addbutton "_menu_slot9" "*white" "" 0.140000 0.782222 0.360000 0.835556 0 0 0 150 260
//touch_addbutton "_menu_txt_slot9" "#9 SLOT" "" 0.150000 0.800000 0.360000 0.835556 255 174 0 255 4
touch_addbutton "_menu_slot0" "*white" "+menu_slot0" 0.14 0.871111 0.36 0.924444 0 0 0 150 260
touch_addbutton "_menu_txt_slot0" "#0 CANCEL" "" 0.15 0.888889 0.36 0.924444 255 174 0 255 4
set _menu_money_item1 "5750"; if $cscl_currentmoney < $_menu_money_item1;: touch_setcolor _menu_txt_slot1 129 85 0 255
//set _menu_money_item2 ""; if $cscl_currentmoney < $_menu_money_item2;: touch_setcolor _menu_txt_slot2 129 85 0 255
//set _menu_money_item3 ""; if $cscl_currentmoney < $_menu_money_item3;: touch_setcolor _menu_txt_slot3 129 85 0 255
//set _menu_money_item4 ""; if $cscl_currentmoney < $_menu_money_item4;: touch_setcolor _menu_txt_slot4 129 85 0 255
//set _menu_money_item5 ""; if $cscl_currentmoney < $_menu_money_item5;: touch_setcolor _menu_txt_slot5 129 85 0 255
//set _menu_money_item6 ""; if $cscl_currentmoney < $_menu_money_item6;: touch_setcolor _menu_txt_slot6 129 85 0 255
//set _menu_money_item7 ""; if $cscl_currentmoney < $_menu_money_item7;: touch_setcolor _menu_txt_slot7 129 85 0 255
//set _menu_money_item8 ""; if $cscl_currentmoney < $_menu_money_item8;: touch_setcolor _menu_txt_slot8 129 85 0 255
touch_addbutton "_menu_frame" "*white" "" 0.390000 0.213333 0.840000 0.551111 0 0 0 150 260
touch_addbutton "_menu_frame_icn_class1" "gfx/vgui/m249.tga" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class2" "" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class3" "" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class4" "" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class5" "" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class6" "" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class7" "" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class8" "" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
touch_addbutton "_menu_confirm" "*white" "+menu_confirm" 0.62 0.871111 0.84 0.924444 0 0 0 150 260
touch_addbutton "_menu_confirm_txt" "#BUY THE ITEM" "" 0.63 0.888889 0.84 0.924444 255 174 0 255 4
touch_addbutton "_menu_frame_txt_data1_1" "#PRICE" "" 0.39 0.551111 0.56 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_2" "#COUNTRY OF ORIGIN" "" 0.39 0.586667 0.56 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_3" "#CALIBER" "" 0.39 0.622222 0.56 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_4" "#CLIP CAPACITY" "" 0.39 0.657778 0.56 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_5" "#RATE OF FIRE" "" 0.39 0.693333 0.56 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_6" "#WEIGHT (LOADED)" "" 0.39 0.728889 0.56 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_7" "#PROJECTILE WEIGHT" "" 0.39 0.764444 0.56 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_8" "#MUZZLE VELOCITY" "" 0.39 0.8 0.56 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_9" "#MUZZLE ENERGY" "" 0.39 0.835556 0.56 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_1" "#PRICE" "" 0.39 0.551111 0.56 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_2" "#COUNTRY OF ORIGIN" "" 0.39 0.586667 0.56 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_3" "#CALIBER" "" 0.39 0.622222 0.56 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_4" "#CLIP CAPACITY" "" 0.39 0.657778 0.56 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_5" "#RATE OF FIRE" "" 0.39 0.693333 0.56 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_6" "#WEIGHT (EMPTY)" "" 0.39 0.728889 0.56 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_7" "#PROJECTILE WEIGHT" "" 0.39 0.764444 0.56 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_8" "#MUZZLE VELOCITY" "" 0.39 0.8 0.56 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_9" "#MUZZLE ENERGY" "" 0.39 0.835556 0.56 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_1" "#: \$$_menu_money_item1" "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_2" "#: BELGIUM" "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_3" "#: 5.56 PARABELLUM" "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_4" "#: 100 ROUNDS" "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_5" "#: 600 RPM" "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_6" "#: 6KG" "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_7" "#: 4 GRAMS" "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_8" "#: 3000 FEET/SECOND" "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_9" "#: 1600 JOULES" "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
touch_addbutton "_menu_txt_money" "#YOU HAVE \$$cscl_currentmoney" "_menu_refresh" 0.170000 0.106667 0.890000 0.160000 255 174 0 255 4
alias _menu_refresh "exec touch/buy_machinegun_ct.cfg"
alias _menu_none "touch_setcolor _menu_slot* 0 0 0 150; touch_hide _menu_frame_icn_class*; touch_hide _menu_frame_txt_data*; touch_hide _menu_frame_txt_desc*; touch_hide _menu_confirm*"
_menu_none
//alias +menu_slot0 "touch_setcolor _menu_slot0 255 174 0 150"
//alias -menu_slot0 "touch_setcolor _menu_slot0 0 0 0 150"
//alias _menu_select_slot1 "_menu_none; touch_setcolor _menu_slot1 255 174 0 150; touch_show _menu_frame_icn_class1; touch_show _menu_frame_txt_desc1; if $cscl_currentmoney>=0;:_menu_show_confirm ; alias _menu_confirmed joinclass 1"
alias +menu_slot0 "_click; touch_setcolor _menu_slot0 255 174 0 150"
alias -menu_slot0 "touch_setcolor _menu_slot0 0 0 0 150; _erase_frame"
if $buymenu_stayon >= 1;:alias -menu_slot0 "touch_setcolor _menu_slot0 0 0 0 150; _erase_frame; buy"
alias _menu_confirmed ""
alias _menu_show_confirm "touch_show _menu_confirm*"
alias _menu_select_slot1 "_click; _menu_none; touch_setcolor _menu_slot1 255 174 0 150; touch_show _menu_frame_icn_class1; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc1_*; if $cscl_currentmoney >= $_menu_money_item1;:_menu_show_confirm ; alias _menu_confirmed m249"
//alias _menu_select_slot2 "_click; _menu_none; touch_setcolor _menu_slot2 255 174 0 150; touch_show _menu_frame_icn_class2; touch_show _menu_frame_txt_data2_*; touch_show _menu_frame_txt_desc2_*; if $cscl_currentmoney >= $_menu_money_item2;:_menu_show_confirm ; alias _menu_confirmed "
//alias _menu_select_slot3 "_click; _menu_none; touch_setcolor _menu_slot3 255 174 0 150; touch_show _menu_frame_icn_class3; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc3_*; if $cscl_currentmoney >= $_menu_money_item3;:_menu_show_confirm ; alias _menu_confirmed "
//alias _menu_select_slot4 "_click; _menu_none; touch_setcolor _menu_slot4 255 174 0 150; touch_show _menu_frame_icn_class4; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc4_*; if $cscl_currentmoney >= $_menu_money_item4;:_menu_show_confirm ; alias _menu_confirmed "
//alias _menu_select_slot5 "_click; _menu_none; touch_setcolor _menu_slot5 255 174 0 150; touch_show _menu_frame_icn_class5; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc5_*; if $cscl_currentmoney >= $_menu_money_item5;:_menu_show_confirm ; alias _menu_confirmed "
//alias _menu_select_slot6 "_click; _menu_none; touch_setcolor _menu_slot6 255 174 0 150; touch_show _menu_frame_icn_class6; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc6_*; if $cscl_currentmoney >= $_menu_money_item6;:_menu_show_confirm ; alias _menu_confirmed "
//alias _menu_select_slot7 "_click; _menu_none; touch_setcolor _menu_slot7 255 174 0 150; touch_show _menu_frame_icn_class7; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc7_*; if $cscl_currentmoney >= $_menu_money_item7;:_menu_show_confirm ; alias _menu_confirmed "
//alias _menu_select_slot8 "_click; _menu_none; touch_setcolor _menu_slot8 255 174 0 150; touch_show _menu_frame_icn_class8; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc8_*; if $cscl_currentmoney >= $_menu_money_item8;:_menu_show_confirm ; alias _menu_confirmed "
alias +menu_confirm "_click; touch_setcolor _menu_confirm 255 174 0 150"
alias -menu_confirm "touch_setcolor _menu_confirm 0 0 0 150; _menu_confirmed; wait; wait; _erase_frame"
================================================
FILE: 3rdparty/cs16client-extras/touch/buy_machinegun_t.cfg
================================================
// Coded by Alprnn357
touch_setclientonly 1
cmd_scripting 1
touch_set_stroke 1 255 174 0 150
alias _erase_frame "touch_removebutton _menu_*; _menu_off; slot10"
alias _menu_off "touch_setclientonly 0"
alias _click "play media/launch_select1.wav; vibrate 30"
touch_addbutton "_menu_bg_crn4" "gfx/vgui/round_corner_se.tga" "" 0.880000 0.924444 0.900000 0.960000 0 0 0 150 6
touch_addbutton "_menu_bg_crn2" "gfx/vgui/round_corner_ne.tga" "" 0.880000 0.035556 0.900000 0.071111 0 0 0 150 6
touch_addbutton "_menu_bg_crn1" "gfx/vgui/round_corner_nw.tga" "" 0.100000 0.035556 0.120000 0.071111 0 0 0 150 6
touch_addbutton "_menu_bg_crn3" "gfx/vgui/round_corner_sw.tga" "" 0.100000 0.924444 0.120000 0.960000 0 0 0 150 6
touch_addbutton "_menu_bg_top1" "*black" "" 0.120000 0.035556 0.880000 0.071111 0 0 0 150 6
touch_addbutton "_menu_bg_top2" "*black" "" 0.100000 0.071111 0.900000 0.160000 0 0 0 150 6
touch_addbutton "_menu_bg_bottom" "*black" "" 0.120000 0.924444 0.880000 0.960000 0 0 0 150 6
touch_addbutton "_menu_bg_body" "*black" "" 0.100000 0.165000 0.900000 0.924444 0 0 0 150 6
if $menu_bg_fill >= 1;:touch_removebutton _menu_bg_*;:touch_addbutton _menu_bg_body *black "" 0 0 1 1 0 0 0 150 6
touch_addbutton "_menu_bg_icn_logo" "gfx/vgui/cs_logo.tga" "" 0.110000 0.053333 0.160000 0.142222 255 174 0 255 6
touch_addbutton "_menu_bg_txt_logo" "#BUY MACHINE GUNS (PRIMARY WEAPON)" "" 0.170000 0.071111 0.890000 0.142222 255 174 0 255 6
//touch_addbutton "_menu_txt_title" "#THE TITLE" "" 0.140000 0.177778 0.860000 0.213333 255 174 0 255 4
touch_addbutton "_menu_slot1" "*white" "_menu_select_slot1" 0.140000 0.213333 0.360000 0.266667 0 0 0 150 260
touch_addbutton "_menu_txt_slot1" "#1 M249" "" 0.150000 0.231111 0.360000 0.266667 255 174 0 255 4
//touch_addbutton "_menu_slot2" "*white" "_menu_select_slot2" 0.140000 0.284444 0.360000 0.337778 0 0 0 150 260
//touch_addbutton "_menu_txt_slot2" "#2 SLOT" "" 0.150000 0.302222 0.360000 0.337778 255 174 0 255 4
//touch_addbutton "_menu_slot3" "*white" "_menu_select_slot3" 0.140000 0.355556 0.360000 0.408889 0 0 0 150 260
//touch_addbutton "_menu_txt_slot3" "#3 SLOT" "" 0.150000 0.373333 0.360000 0.408889 255 174 0 255 4
//touch_addbutton "_menu_slot4" "*white" "_menu_select_slot4" 0.140000 0.426667 0.360000 0.480000 0 0 0 150 260
//touch_addbutton "_menu_txt_slot4" "#4 SLOT" "" 0.150000 0.444444 0.360000 0.480000 255 174 0 255 4
//touch_addbutton "_menu_slot5" "*white" "_menu_select_slot5" 0.140000 0.497778 0.360000 0.551111 0 0 0 150 260
//touch_addbutton "_menu_txt_slot5" "#5 SLOT" "" 0.150000 0.515556 0.360000 0.551111 255 174 0 255 4
//touch_addbutton "_menu_slot6" "*white" "_menu_select_slot6" 0.140000 0.568889 0.360000 0.622222 0 0 0 150 260
//touch_addbutton "_menu_txt_slot6" "#6 SLOT" "" 0.150000 0.586667 0.360000 0.622222 255 174 0 255 4
//touch_addbutton "_menu_slot7" "*white" "_menu_select_slot7" 0.140000 0.640000 0.360000 0.693333 0 0 0 150 260
//touch_addbutton "_menu_txt_slot7" "#7 SLOT" "" 0.150000 0.657778 0.360000 0.693333 255 174 0 255 4
//touch_addbutton "_menu_slot8" "*white" "_menu_select_slot8" 0.140000 0.711111 0.360000 0.764444 0 0 0 150 260
//touch_addbutton "_menu_txt_slot8" "#8 SLOT" "" 0.150000 0.728889 0.360000 0.764444 255 174 0 255 4
//touch_addbutton "_menu_slot9" "*white" "" 0.140000 0.782222 0.360000 0.835556 0 0 0 150 260
//touch_addbutton "_menu_txt_slot9" "#9 SLOT" "" 0.150000 0.800000 0.360000 0.835556 255 174 0 255 4
touch_addbutton "_menu_slot0" "*white" "+menu_slot0" 0.14 0.871111 0.36 0.924444 0 0 0 150 260
touch_addbutton "_menu_txt_slot0" "#0 CANCEL" "" 0.15 0.888889 0.36 0.924444 255 174 0 255 4
set _menu_money_item1 "5750"; if $cscl_currentmoney < $_menu_money_item1;: touch_setcolor _menu_txt_slot1 129 85 0 255
//set _menu_money_item2 ""; if $cscl_currentmoney < $_menu_money_item2;: touch_setcolor _menu_txt_slot2 129 85 0 255
//set _menu_money_item3 ""; if $cscl_currentmoney < $_menu_money_item3;: touch_setcolor _menu_txt_slot3 129 85 0 255
//set _menu_money_item4 ""; if $cscl_currentmoney < $_menu_money_item4;: touch_setcolor _menu_txt_slot4 129 85 0 255
//set _menu_money_item5 ""; if $cscl_currentmoney < $_menu_money_item5;: touch_setcolor _menu_txt_slot5 129 85 0 255
//set _menu_money_item6 ""; if $cscl_currentmoney < $_menu_money_item6;: touch_setcolor _menu_txt_slot6 129 85 0 255
//set _menu_money_item7 ""; if $cscl_currentmoney < $_menu_money_item7;: touch_setcolor _menu_txt_slot7 129 85 0 255
//set _menu_money_item8 ""; if $cscl_currentmoney < $_menu_money_item8;: touch_setcolor _menu_txt_slot8 129 85 0 255
touch_addbutton "_menu_frame" "*white" "" 0.390000 0.213333 0.840000 0.551111 0 0 0 150 260
touch_addbutton "_menu_frame_icn_class1" "gfx/vgui/m249.tga" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class2" "" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class3" "" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class4" "" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class5" "" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class6" "" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class7" "" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class8" "" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
touch_addbutton "_menu_confirm" "*white" "+menu_confirm" 0.62 0.871111 0.84 0.924444 0 0 0 150 260
touch_addbutton "_menu_confirm_txt" "#BUY THE ITEM" "" 0.63 0.888889 0.84 0.924444 255 174 0 255 4
touch_addbutton "_menu_frame_txt_data1_1" "#PRICE" "" 0.39 0.551111 0.56 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_2" "#COUNTRY OF ORIGIN" "" 0.39 0.586667 0.56 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_3" "#CALIBER" "" 0.39 0.622222 0.56 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_4" "#CLIP CAPACITY" "" 0.39 0.657778 0.56 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_5" "#RATE OF FIRE" "" 0.39 0.693333 0.56 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_6" "#WEIGHT (LOADED)" "" 0.39 0.728889 0.56 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_7" "#PROJECTILE WEIGHT" "" 0.39 0.764444 0.56 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_8" "#MUZZLE VELOCITY" "" 0.39 0.8 0.56 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_9" "#MUZZLE ENERGY" "" 0.39 0.835556 0.56 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_1" "#PRICE" "" 0.39 0.551111 0.56 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_2" "#COUNTRY OF ORIGIN" "" 0.39 0.586667 0.56 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_3" "#CALIBER" "" 0.39 0.622222 0.56 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_4" "#CLIP CAPACITY" "" 0.39 0.657778 0.56 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_5" "#RATE OF FIRE" "" 0.39 0.693333 0.56 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_6" "#WEIGHT (EMPTY)" "" 0.39 0.728889 0.56 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_7" "#PROJECTILE WEIGHT" "" 0.39 0.764444 0.56 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_8" "#MUZZLE VELOCITY" "" 0.39 0.8 0.56 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_9" "#MUZZLE ENERGY" "" 0.39 0.835556 0.56 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_1" "#: \$$_menu_money_item1" "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_2" "#: BELGIUM" "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_3" "#: 5.56 PARABELLUM" "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_4" "#: 100 ROUNDS" "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_5" "#: 600 RPM" "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_6" "#: 6KG" "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_7" "#: 4 GRAMS" "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_8" "#: 3000 FEET/SECOND" "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_9" "#: 1600 JOULES" "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
touch_addbutton "_menu_txt_money" "#YOU HAVE \$$cscl_currentmoney" "_menu_refresh" 0.170000 0.106667 0.890000 0.160000 255 174 0 255 4
alias _menu_refresh "exec touch/buy_machinegun_ct.cfg"
alias _menu_none "touch_setcolor _menu_slot* 0 0 0 150; touch_hide _menu_frame_icn_class*; touch_hide _menu_frame_txt_data*; touch_hide _menu_frame_txt_desc*; touch_hide _menu_confirm*"
_menu_none
//alias +menu_slot0 "touch_setcolor _menu_slot0 255 174 0 150"
//alias -menu_slot0 "touch_setcolor _menu_slot0 0 0 0 150"
//alias _menu_select_slot1 "_menu_none; touch_setcolor _menu_slot1 255 174 0 150; touch_show _menu_frame_icn_class1; touch_show _menu_frame_txt_desc1; if $cscl_currentmoney>=0;:_menu_show_confirm ; alias _menu_confirmed joinclass 1"
alias +menu_slot0 "_click; touch_setcolor _menu_slot0 255 174 0 150"
alias -menu_slot0 "touch_setcolor _menu_slot0 0 0 0 150; _erase_frame"
if $buymenu_stayon >= 1;:alias -menu_slot0 "touch_setcolor _menu_slot0 0 0 0 150; _erase_frame; buy"
alias _menu_confirmed ""
alias _menu_show_confirm "touch_show _menu_confirm*"
alias _menu_select_slot1 "_click; _menu_none; touch_setcolor _menu_slot1 255 174 0 150; touch_show _menu_frame_icn_class1; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc1_*; if $cscl_currentmoney >= $_menu_money_item1;:_menu_show_confirm ; alias _menu_confirmed m249"
//alias _menu_select_slot2 "_click; _menu_none; touch_setcolor _menu_slot2 255 174 0 150; touch_show _menu_frame_icn_class2; touch_show _menu_frame_txt_data2_*; touch_show _menu_frame_txt_desc2_*; if $cscl_currentmoney >= $_menu_money_item2;:_menu_show_confirm ; alias _menu_confirmed "
//alias _menu_select_slot3 "_click; _menu_none; touch_setcolor _menu_slot3 255 174 0 150; touch_show _menu_frame_icn_class3; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc3_*; if $cscl_currentmoney >= $_menu_money_item3;:_menu_show_confirm ; alias _menu_confirmed "
//alias _menu_select_slot4 "_click; _menu_none; touch_setcolor _menu_slot4 255 174 0 150; touch_show _menu_frame_icn_class4; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc4_*; if $cscl_currentmoney >= $_menu_money_item4;:_menu_show_confirm ; alias _menu_confirmed "
//alias _menu_select_slot5 "_click; _menu_none; touch_setcolor _menu_slot5 255 174 0 150; touch_show _menu_frame_icn_class5; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc5_*; if $cscl_currentmoney >= $_menu_money_item5;:_menu_show_confirm ; alias _menu_confirmed "
//alias _menu_select_slot6 "_click; _menu_none; touch_setcolor _menu_slot6 255 174 0 150; touch_show _menu_frame_icn_class6; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc6_*; if $cscl_currentmoney >= $_menu_money_item6;:_menu_show_confirm ; alias _menu_confirmed "
//alias _menu_select_slot7 "_click; _menu_none; touch_setcolor _menu_slot7 255 174 0 150; touch_show _menu_frame_icn_class7; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc7_*; if $cscl_currentmoney >= $_menu_money_item7;:_menu_show_confirm ; alias _menu_confirmed "
//alias _menu_select_slot8 "_click; _menu_none; touch_setcolor _menu_slot8 255 174 0 150; touch_show _menu_frame_icn_class8; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc8_*; if $cscl_currentmoney >= $_menu_money_item8;:_menu_show_confirm ; alias _menu_confirmed "
alias +menu_confirm "_click; touch_setcolor _menu_confirm 255 174 0 150"
alias -menu_confirm "touch_setcolor _menu_confirm 0 0 0 150; _menu_confirmed; wait; wait; _erase_frame"
================================================
FILE: 3rdparty/cs16client-extras/touch/buy_pistol_ct.cfg
================================================
// Coded by Alprnn357
touch_setclientonly 1
cmd_scripting 1
touch_set_stroke 1 255 174 0 150
alias _erase_frame "touch_removebutton _menu_*; _menu_off; slot10"
alias _menu_off "touch_setclientonly 0"
alias _click "play media/launch_select1.wav; vibrate 30"
touch_addbutton "_menu_bg_crn4" "gfx/vgui/round_corner_se.tga" "" 0.880000 0.924444 0.900000 0.960000 0 0 0 150 6
touch_addbutton "_menu_bg_crn2" "gfx/vgui/round_corner_ne.tga" "" 0.880000 0.035556 0.900000 0.071111 0 0 0 150 6
touch_addbutton "_menu_bg_crn1" "gfx/vgui/round_corner_nw.tga" "" 0.100000 0.035556 0.120000 0.071111 0 0 0 150 6
touch_addbutton "_menu_bg_crn3" "gfx/vgui/round_corner_sw.tga" "" 0.100000 0.924444 0.120000 0.960000 0 0 0 150 6
touch_addbutton "_menu_bg_top1" "*black" "" 0.120000 0.035556 0.880000 0.071111 0 0 0 150 6
touch_addbutton "_menu_bg_top2" "*black" "" 0.100000 0.071111 0.900000 0.160000 0 0 0 150 6
touch_addbutton "_menu_bg_bottom" "*black" "" 0.120000 0.924444 0.880000 0.960000 0 0 0 150 6
touch_addbutton "_menu_bg_body" "*black" "" 0.100000 0.165000 0.900000 0.924444 0 0 0 150 6
if $menu_bg_fill >= 1;:touch_removebutton _menu_bg_*;:touch_addbutton _menu_bg_body *black "" 0 0 1 1 0 0 0 150 6
touch_addbutton "_menu_bg_icn_logo" "gfx/vgui/cs_logo.tga" "" 0.110000 0.053333 0.160000 0.142222 255 174 0 255 6
touch_addbutton "_menu_bg_txt_logo" "#BUY PISTOLS (SECONDARY WEAPON)" "" 0.170000 0.071111 0.890000 0.142222 255 174 0 255 6
//touch_addbutton "_menu_txt_title" "#THE TITLE" "" 0.140000 0.177778 0.860000 0.213333 255 174 0 255 4
touch_addbutton "_menu_slot1" "*white" "_menu_select_slot1" 0.140000 0.213333 0.360000 0.266667 0 0 0 150 260
touch_addbutton "_menu_txt_slot1" "#1 9X19MM SIDEARM" "" 0.150000 0.231111 0.360000 0.266667 255 174 0 255 4
touch_addbutton "_menu_slot2" "*white" "_menu_select_slot2" 0.140000 0.284444 0.360000 0.337778 0 0 0 150 260
touch_addbutton "_menu_txt_slot2" "#2 K&M .45 TACTICAL" "" 0.150000 0.302222 0.360000 0.337778 255 174 0 255 4
touch_addbutton "_menu_slot3" "*white" "_menu_select_slot3" 0.140000 0.355556 0.360000 0.408889 0 0 0 150 260
touch_addbutton "_menu_txt_slot3" "#3 228 COMPACT" "" 0.150000 0.373333 0.360000 0.408889 255 174 0 255 4
touch_addbutton "_menu_slot4" "*white" "_menu_select_slot4" 0.140000 0.426667 0.360000 0.480000 0 0 0 150 260
touch_addbutton "_menu_txt_slot4" "#4 NIGHT HAWK .50C" "" 0.150000 0.444444 0.360000 0.480000 255 174 0 255 4
touch_addbutton "_menu_slot5" "*white" "_menu_select_slot5" 0.140000 0.497778 0.360000 0.551111 0 0 0 150 260
touch_addbutton "_menu_txt_slot5" "#5 ES FIVE-SEVEN" "" 0.150000 0.515556 0.360000 0.551111 255 174 0 255 4
//touch_addbutton "_menu_slot6" "*white" "_menu_select_slot6" 0.140000 0.568889 0.360000 0.622222 0 0 0 150 260
//touch_addbutton "_menu_txt_slot6" "#6 SLOT" "" 0.150000 0.586667 0.360000 0.622222 255 174 0 255 4
//touch_addbutton "_menu_slot7" "*white" "_menu_select_slot7" 0.140000 0.640000 0.360000 0.693333 0 0 0 150 260
//touch_addbutton "_menu_txt_slot7" "#7 SLOT" "" 0.150000 0.657778 0.360000 0.693333 255 174 0 255 4
//touch_addbutton "_menu_slot8" "*white" "_menu_select_slot8" 0.140000 0.711111 0.360000 0.764444 0 0 0 150 260
//touch_addbutton "_menu_txt_slot8" "#8 SLOT" "" 0.150000 0.728889 0.360000 0.764444 255 174 0 255 4
//touch_addbutton "_menu_slot9" "*white" "" 0.140000 0.782222 0.360000 0.835556 0 0 0 150 260
//touch_addbutton "_menu_txt_slot9" "#9 SLOT" "" 0.150000 0.800000 0.360000 0.835556 255 174 0 255 4
touch_addbutton "_menu_slot0" "*white" "+menu_slot0" 0.14 0.871111 0.36 0.924444 0 0 0 150 260
touch_addbutton "_menu_txt_slot0" "#0 CANCEL" "" 0.15 0.888889 0.36 0.924444 255 174 0 255 4
set _menu_money_item1 "400"; if $cscl_currentmoney < $_menu_money_item1;: touch_setcolor _menu_txt_slot1 129 85 0 255
set _menu_money_item2 "500"; if $cscl_currentmoney < $_menu_money_item2;: touch_setcolor _menu_txt_slot2 129 85 0 255
set _menu_money_item3 "600"; if $cscl_currentmoney < $_menu_money_item3;: touch_setcolor _menu_txt_slot3 129 85 0 255
set _menu_money_item4 "650"; if $cscl_currentmoney < $_menu_money_item4;: touch_setcolor _menu_txt_slot4 129 85 0 255
set _menu_money_item5 "750"; if $cscl_currentmoney < $_menu_money_item5;: touch_setcolor _menu_txt_slot5 129 85 0 255
//set _menu_money_item6 ""; if $cscl_currentmoney < $_menu_money_item6;: touch_setcolor _menu_txt_slot6 129 85 0 255
//set _menu_money_item7 ""; if $cscl_currentmoney < $_menu_money_item7;: touch_setcolor _menu_txt_slot7 129 85 0 255
//set _menu_money_item8 ""; if $cscl_currentmoney < $_menu_money_item8;: touch_setcolor _menu_txt_slot8 129 85 0 255
touch_addbutton "_menu_frame" "*white" "" 0.390000 0.213333 0.840000 0.551111 0 0 0 150 260
touch_addbutton "_menu_frame_icn_class1" "gfx/vgui/glock18.tga" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
touch_addbutton "_menu_frame_icn_class2" "gfx/vgui/usp45.tga" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
touch_addbutton "_menu_frame_icn_class3" "gfx/vgui/p228.tga" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
touch_addbutton "_menu_frame_icn_class4" "gfx/vgui/deserteagle.tga" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
touch_addbutton "_menu_frame_icn_class5" "gfx/vgui/fiveseven.tga" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class6" "" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class7" "" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class8" "" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
touch_addbutton "_menu_confirm" "*white" "+menu_confirm" 0.62 0.871111 0.84 0.924444 0 0 0 150 260
touch_addbutton "_menu_confirm_txt" "#BUY THE ITEM" "" 0.63 0.888889 0.84 0.924444 255 174 0 255 4
touch_addbutton "_menu_frame_txt_data1_1" "#PRICE" "" 0.39 0.551111 0.56 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_2" "#COUNTRY OF ORIGIN" "" 0.39 0.586667 0.56 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_3" "#CALIBER" "" 0.39 0.622222 0.56 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_4" "#CLIP CAPACITY" "" 0.39 0.657778 0.56 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_5" "#RATE OF FIRE" "" 0.39 0.693333 0.56 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_6" "#WEIGHT (LOADED)" "" 0.39 0.728889 0.56 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_7" "#PROJECTILE WEIGHT" "" 0.39 0.764444 0.56 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_8" "#MUZZLE VELOCITY" "" 0.39 0.8 0.56 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_9" "#MUZZLE ENERGY" "" 0.39 0.835556 0.56 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_1" "#PRICE" "" 0.39 0.551111 0.56 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_2" "#COUNTRY OF ORIGIN" "" 0.39 0.586667 0.56 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_3" "#CALIBER" "" 0.39 0.622222 0.56 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_4" "#CLIP CAPACITY" "" 0.39 0.657778 0.56 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_5" "#RATE OF FIRE" "" 0.39 0.693333 0.56 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_6" "#WEIGHT (EMPTY)" "" 0.39 0.728889 0.56 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_7" "#PROJECTILE WEIGHT" "" 0.39 0.764444 0.56 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_8" "#MUZZLE VELOCITY" "" 0.39 0.8 0.56 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_9" "#MUZZLE ENERGY" "" 0.39 0.835556 0.56 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_1" "#: \$$_menu_money_item1" "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_2" "#: AUSTRIA" "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_3" "#: 9MM PARABELLUM" "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_4" "#: 20 ROUNDS" "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_5" "#: N/A" "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_6" "#: 0.9KG" "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_7" "#: 8 GRAMS" "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_8" "#: 1132 FEET/SECOND" "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_9" "#: 475 JOULES" "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_1" "#: \$$_menu_money_item2" "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_2" "#: GERMANY" "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_3" "#: .45 ACP" "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_4" "#: 12 ROUNDS" "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_5" "#: N/A" "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_6" "#: 1KG" "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_7" "#: 15.2 GRAMS" "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_8" "#: 886 FEET/SECOND" "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_9" "#: 553 JOULES" "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_1" "#: \$$_menu_money_item3" "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_2" "#: SWITZERLAND/GERMANY" "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_3" "#: .357 SIG" "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_4" "#: 13 ROUNDS" "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_5" "#: N/A" "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_6" "#: 1.03KG" "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_7" "#: 8.1 GRAMS" "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_8" "#: 1400 FEET/SECOND" "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_9" "#: 600 JOULES" "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_1" "#: \$$_menu_money_item4" "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_2" "#: ISRAEL" "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_3" "#: .50 ACTION EXPRESS" "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_4" "#: 7 ROUNDS" "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_5" "#: N/A" "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_6" "#: 1.8KG" "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_7" "#: 19.4 GRAMS" "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_8" "#: 1380 FEET/SECOND" "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_9" "#: 1650 JOULES" "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_1" "#: \$$_menu_money_item5" "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_2" "#: BELGIUM" "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_3" "#: 5.7 X 28MM" "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_4" "#: 20 ROUNDS" "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_5" "#: N/A" "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_6" "#: 0.618KG" "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_7" "#: 2 GRAMS" "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_8" "#: 2345 FEET/SECOND" "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_9" "#: 465 JOULES" "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
touch_addbutton "_menu_txt_money" "#YOU HAVE \$$cscl_currentmoney" "_menu_refresh" 0.170000 0.106667 0.890000 0.160000 255 174 0 255 4
alias _menu_refresh "exec touch/buy_pistol_ct.cfg"
alias _menu_none "touch_setcolor _menu_slot* 0 0 0 150; touch_hide _menu_frame_icn_class*; touch_hide _menu_frame_txt_data*; touch_hide _menu_frame_txt_desc*; touch_hide _menu_confirm*"
_menu_none
//alias +menu_slot0 "touch_setcolor _menu_slot0 255 174 0 150"
//alias -menu_slot0 "touch_setcolor _menu_slot0 0 0 0 150"
//alias _menu_select_slot1 "_menu_none; touch_setcolor _menu_slot1 255 174 0 150; touch_show _menu_frame_icn_class1; touch_show _menu_frame_txt_desc1; if $cscl_currentmoney>=0;:_menu_show_confirm ; alias _menu_confirmed joinclass 1"
alias +menu_slot0 "_click; touch_setcolor _menu_slot0 255 174 0 150"
alias -menu_slot0 "touch_setcolor _menu_slot0 0 0 0 150; _erase_frame"
if $buymenu_stayon >= 1;:alias -menu_slot0 "touch_setcolor _menu_slot0 0 0 0 150; _erase_frame; buy"
alias _menu_confirmed ""
alias _menu_show_confirm "touch_show _menu_confirm*"
alias _menu_select_slot1 "_click; _menu_none; touch_setcolor _menu_slot1 255 174 0 150; touch_show _menu_frame_icn_class1; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc1_*; if $cscl_currentmoney >= $_menu_money_item1;:_menu_show_confirm ; alias _menu_confirmed glock"
alias _menu_select_slot2 "_click; _menu_none; touch_setcolor _menu_slot2 255 174 0 150; touch_show _menu_frame_icn_class2; touch_show _menu_frame_txt_data2_*; touch_show _menu_frame_txt_desc2_*; if $cscl_currentmoney >= $_menu_money_item2;:_menu_show_confirm ; alias _menu_confirmed usp"
alias _menu_select_slot3 "_click; _menu_none; touch_setcolor _menu_slot3 255 174 0 150; touch_show _menu_frame_icn_class3; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc3_*; if $cscl_currentmoney >= $_menu_money_item3;:_menu_show_confirm ; alias _menu_confirmed p228"
alias _menu_select_slot4 "_click; _menu_none; touch_setcolor _menu_slot4 255 174 0 150; touch_show _menu_frame_icn_class4; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc4_*; if $cscl_currentmoney >= $_menu_money_item4;:_menu_show_confirm ; alias _menu_confirmed deagle"
alias _menu_select_slot5 "_click; _menu_none; touch_setcolor _menu_slot5 255 174 0 150; touch_show _menu_frame_icn_class5; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc5_*; if $cscl_currentmoney >= $_menu_money_item5;:_menu_show_confirm ; alias _menu_confirmed fiveseven"
//alias _menu_select_slot6 "_click; _menu_none; touch_setcolor _menu_slot6 255 174 0 150; touch_show _menu_frame_icn_class6; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc6_*; if $cscl_currentmoney >= $_menu_money_item6;:_menu_show_confirm ; alias _menu_confirmed "
//alias _menu_select_slot7 "_click; _menu_none; touch_setcolor _menu_slot7 255 174 0 150; touch_show _menu_frame_icn_class7; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc7_*; if $cscl_currentmoney >= $_menu_money_item7;:_menu_show_confirm ; alias _menu_confirmed "
//alias _menu_select_slot8 "_click; _menu_none; touch_setcolor _menu_slot8 255 174 0 150; touch_show _menu_frame_icn_class8; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc8_*; if $cscl_currentmoney >= $_menu_money_item8;:_menu_show_confirm ; alias _menu_confirmed "
alias +menu_confirm "_click; touch_setcolor _menu_confirm 255 174 0 150"
alias -menu_confirm "touch_setcolor _menu_confirm 0 0 0 150; _menu_confirmed; wait; wait; _erase_frame"
================================================
FILE: 3rdparty/cs16client-extras/touch/buy_pistol_t.cfg
================================================
// Coded by Alprnn357
touch_setclientonly 1
cmd_scripting 1
touch_set_stroke 1 255 174 0 150
alias _erase_frame "touch_removebutton _menu_*; _menu_off; slot10"
alias _menu_off "touch_setclientonly 0"
alias _click "play media/launch_select1.wav; vibrate 30"
touch_addbutton "_menu_bg_crn4" "gfx/vgui/round_corner_se.tga" "" 0.880000 0.924444 0.900000 0.960000 0 0 0 150 6
touch_addbutton "_menu_bg_crn2" "gfx/vgui/round_corner_ne.tga" "" 0.880000 0.035556 0.900000 0.071111 0 0 0 150 6
touch_addbutton "_menu_bg_crn1" "gfx/vgui/round_corner_nw.tga" "" 0.100000 0.035556 0.120000 0.071111 0 0 0 150 6
touch_addbutton "_menu_bg_crn3" "gfx/vgui/round_corner_sw.tga" "" 0.100000 0.924444 0.120000 0.960000 0 0 0 150 6
touch_addbutton "_menu_bg_top1" "*black" "" 0.120000 0.035556 0.880000 0.071111 0 0 0 150 6
touch_addbutton "_menu_bg_top2" "*black" "" 0.100000 0.071111 0.900000 0.160000 0 0 0 150 6
touch_addbutton "_menu_bg_bottom" "*black" "" 0.120000 0.924444 0.880000 0.960000 0 0 0 150 6
touch_addbutton "_menu_bg_body" "*black" "" 0.100000 0.165000 0.900000 0.924444 0 0 0 150 6
if $menu_bg_fill >= 1;:touch_removebutton _menu_bg_*;:touch_addbutton _menu_bg_body *black "" 0 0 1 1 0 0 0 150 6
touch_addbutton "_menu_bg_icn_logo" "gfx/vgui/cs_logo.tga" "" 0.110000 0.053333 0.160000 0.142222 255 174 0 255 6
touch_addbutton "_menu_bg_txt_logo" "#BUY PISTOLS (SECONDARY WEAPON)" "" 0.170000 0.071111 0.890000 0.142222 255 174 0 255 6
//touch_addbutton "_menu_txt_title" "#THE TITLE" "" 0.140000 0.177778 0.860000 0.213333 255 174 0 255 4
touch_addbutton "_menu_slot1" "*white" "_menu_select_slot1" 0.140000 0.213333 0.360000 0.266667 0 0 0 150 260
touch_addbutton "_menu_txt_slot1" "#1 9X19MM SIDEARM" "" 0.150000 0.231111 0.360000 0.266667 255 174 0 255 4
touch_addbutton "_menu_slot2" "*white" "_menu_select_slot2" 0.140000 0.284444 0.360000 0.337778 0 0 0 150 260
touch_addbutton "_menu_txt_slot2" "#2 K&M .45 TACTICAL" "" 0.150000 0.302222 0.360000 0.337778 255 174 0 255 4
touch_addbutton "_menu_slot3" "*white" "_menu_select_slot3" 0.140000 0.355556 0.360000 0.408889 0 0 0 150 260
touch_addbutton "_menu_txt_slot3" "#3 228 COMPACT" "" 0.150000 0.373333 0.360000 0.408889 255 174 0 255 4
touch_addbutton "_menu_slot4" "*white" "_menu_select_slot4" 0.140000 0.426667 0.360000 0.480000 0 0 0 150 260
touch_addbutton "_menu_txt_slot4" "#4 NIGHT HAWK .50C" "" 0.150000 0.444444 0.360000 0.480000 255 174 0 255 4
touch_addbutton "_menu_slot5" "*white" "_menu_select_slot5" 0.140000 0.497778 0.360000 0.551111 0 0 0 150 260
touch_addbutton "_menu_txt_slot5" "#5 .40 DUAL ELITES" "" 0.150000 0.515556 0.360000 0.551111 255 174 0 255 4
//touch_addbutton "_menu_slot6" "*white" "_menu_select_slot6" 0.140000 0.568889 0.360000 0.622222 0 0 0 150 260
//touch_addbutton "_menu_txt_slot6" "#6 SLOT" "" 0.150000 0.586667 0.360000 0.622222 255 174 0 255 4
//touch_addbutton "_menu_slot7" "*white" "_menu_select_slot7" 0.140000 0.640000 0.360000 0.693333 0 0 0 150 260
//touch_addbutton "_menu_txt_slot7" "#7 SLOT" "" 0.150000 0.657778 0.360000 0.693333 255 174 0 255 4
//touch_addbutton "_menu_slot8" "*white" "_menu_select_slot8" 0.140000 0.711111 0.360000 0.764444 0 0 0 150 260
//touch_addbutton "_menu_txt_slot8" "#8 SLOT" "" 0.150000 0.728889 0.360000 0.764444 255 174 0 255 4
//touch_addbutton "_menu_slot9" "*white" "" 0.140000 0.782222 0.360000 0.835556 0 0 0 150 260
//touch_addbutton "_menu_txt_slot9" "#9 SLOT" "" 0.150000 0.800000 0.360000 0.835556 255 174 0 255 4
touch_addbutton "_menu_slot0" "*white" "+menu_slot0" 0.14 0.871111 0.36 0.924444 0 0 0 150 260
touch_addbutton "_menu_txt_slot0" "#0 CANCEL" "" 0.15 0.888889 0.36 0.924444 255 174 0 255 4
set _menu_money_item1 "400"; if $cscl_currentmoney < $_menu_money_item1;: touch_setcolor _menu_txt_slot1 129 85 0 255
set _menu_money_item2 "500"; if $cscl_currentmoney < $_menu_money_item2;: touch_setcolor _menu_txt_slot2 129 85 0 255
set _menu_money_item3 "600"; if $cscl_currentmoney < $_menu_money_item3;: touch_setcolor _menu_txt_slot3 129 85 0 255
set _menu_money_item4 "650"; if $cscl_currentmoney < $_menu_money_item4;: touch_setcolor _menu_txt_slot4 129 85 0 255
set _menu_money_item5 "800"; if $cscl_currentmoney < $_menu_money_item5;: touch_setcolor _menu_txt_slot5 129 85 0 255
//set _menu_money_item6 ""; if $cscl_currentmoney < $_menu_money_item6;: touch_setcolor _menu_txt_slot6 129 85 0 255
//set _menu_money_item7 ""; if $cscl_currentmoney < $_menu_money_item7;: touch_setcolor _menu_txt_slot7 129 85 0 255
//set _menu_money_item8 ""; if $cscl_currentmoney < $_menu_money_item8;: touch_setcolor _menu_txt_slot8 129 85 0 255
touch_addbutton "_menu_frame" "*white" "" 0.390000 0.213333 0.840000 0.551111 0 0 0 150 260
touch_addbutton "_menu_frame_icn_class1" "gfx/vgui/glock18.tga" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
touch_addbutton "_menu_frame_icn_class2" "gfx/vgui/usp45.tga" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
touch_addbutton "_menu_frame_icn_class3" "gfx/vgui/p228.tga" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
touch_addbutton "_menu_frame_icn_class4" "gfx/vgui/deserteagle.tga" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
touch_addbutton "_menu_frame_icn_class5" "gfx/vgui/elites.tga" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class6" "" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class7" "" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class8" "" "" 0.430000 0.215333 0.810000 0.549111 255 255 255 255 4
touch_addbutton "_menu_frame_txt_data1" "#PRICE;COUNTRY OF ORIGIN;CALIBER;CLIP CAPACITY;RATE OF FIRE;WEIGHT (LOADED);PROJECTILE WEIGHT;MUZZLE VELOCITY;MUZZLE ENERGY" "" 0.390000 0.551111 0.560000 0.853333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2" "#PRICE;COUNTRY OF ORIGIN;CALIBER;CLIP CAPACITY;RATE OF FIRE;WEIGHT (EMPTY);PROJECTILE WEIGHT;MUZZLE VELOCITY;MUZZLE ENERGY" "" 0.390000 0.551111 0.560000 0.853333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1" "#: \$$_menu_money_item1;: AUSTRIA;: 9MM PARABELLUM;: 20 ROUNDS;: N/A;: 0.9KG;: 8 GRAMS;: 1132 FEET/SECOND;: 475 JOULES" "" 0.560000 0.551111 0.840000 0.853333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2" "#: \$$_menu_money_item2;: GERMANY;: .45 ACP;: 12 ROUNDS;: N/A;: 1KG;: 15.2 GRAMS;: 886 FEET/SECOND;: 553 JOULES" "" 0.560000 0.551111 0.840000 0.853333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3" "#: \$$_menu_money_item3;: SWITZERLAND/GERMANY;: .357 SIG;: 13 ROUNDS;: N/A;: 1.03KG;: 8.1 GRAMS;: 1400 FEET/SECOND;: 600 JOULES" "" 0.560000 0.551111 0.840000 0.853333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4" "#: \$$_menu_money_item4;: ISRAEL;: .50 ACTION EXPRESS;: 7 ROUNDS;: N/A;: 1.8KG;: 19.4 GRAMS;: 1380 FEET/SECOND;: 1650 JOULES" "" 0.560000 0.551111 0.840000 0.853333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5" "#: \$$_menu_money_item5;: ITALY;: .40 S&&W;: 15 ROUNDS;: N/A;: 1.15KG;: 8 GRAMS;: 1280 FEET/SECOND;: 606 JOULES" "" 0.560000 0.551111 0.840000 0.853333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6" "#: \$$_menu_money_item6;" "" 0.560000 0.551111 0.840000 0.853333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7" "#: \$$_menu_money_item7;" "" 0.560000 0.551111 0.840000 0.853333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8" "#: \$$_menu_money_item8;" "" 0.560000 0.551111 0.840000 0.853333 240 180 24 255 4
touch_addbutton "_menu_confirm" "*white" "+menu_confirm" 0.62 0.871111 0.84 0.924444 0 0 0 150 260
touch_addbutton "_menu_confirm_txt" "#BUY THE ITEM" "" 0.63 0.888889 0.84 0.924444 255 174 0 255 4
touch_addbutton "_menu_frame_txt_data1_1" "#PRICE" "" 0.39 0.551111 0.56 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_2" "#COUNTRY OF ORIGIN" "" 0.39 0.586667 0.56 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_3" "#CALIBER" "" 0.39 0.622222 0.56 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_4" "#CLIP CAPACITY" "" 0.39 0.657778 0.56 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_5" "#RATE OF FIRE" "" 0.39 0.693333 0.56 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_6" "#WEIGHT (LOADED)" "" 0.39 0.728889 0.56 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_7" "#PROJECTILE WEIGHT" "" 0.39 0.764444 0.56 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_8" "#MUZZLE VELOCITY" "" 0.39 0.8 0.56 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_9" "#MUZZLE ENERGY" "" 0.39 0.835556 0.56 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_1" "#PRICE" "" 0.39 0.551111 0.56 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_2" "#COUNTRY OF ORIGIN" "" 0.39 0.586667 0.56 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_3" "#CALIBER" "" 0.39 0.622222 0.56 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_4" "#CLIP CAPACITY" "" 0.39 0.657778 0.56 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_5" "#RATE OF FIRE" "" 0.39 0.693333 0.56 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_6" "#WEIGHT (EMPTY)" "" 0.39 0.728889 0.56 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_7" "#PROJECTILE WEIGHT" "" 0.39 0.764444 0.56 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_8" "#MUZZLE VELOCITY" "" 0.39 0.8 0.56 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_9" "#MUZZLE ENERGY" "" 0.39 0.835556 0.56 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_1" "#: \$$_menu_money_item1" "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_2" "#: AUSTRIA" "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_3" "#: 9MM PARABELLUM" "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_4" "#: 20 ROUNDS" "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_5" "#: N/A" "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_6" "#: 0.9KG" "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_7" "#: 8 GRAMS" "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_8" "#: 1132 FEET/SECOND" "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_9" "#: 475 JOULES" "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_1" "#: \$$_menu_money_item2" "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_2" "#: GERMANY" "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_3" "#: .45 ACP" "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_4" "#: 12 ROUNDS" "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_5" "#: N/A" "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_6" "#: 1KG" "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_7" "#: 15.2 GRAMS" "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_8" "#: 886 FEET/SECOND" "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_9" "#: 553 JOULES" "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_1" "#: \$$_menu_money_item3" "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_2" "#: SWITZERLAND/GERMANY" "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_3" "#: .357 SIG" "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_4" "#: 13 ROUNDS" "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_5" "#: N/A" "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_6" "#: 1.03KG" "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_7" "#: 8.1 GRAMS" "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_8" "#: 1400 FEET/SECOND" "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_9" "#: 600 JOULES" "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_1" "#: \$$_menu_money_item4" "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_2" "#: ISRAEL" "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_3" "#: .50 ACTION EXPRESS" "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_4" "#: 7 ROUNDS" "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_5" "#: N/A" "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_6" "#: 1.8KG" "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_7" "#: 19.4 GRAMS" "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_8" "#: 1380 FEET/SECOND" "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_9" "#: 1650 JOULES" "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_1" "#: \$$_menu_money_item5" "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_2" "#: ITALY" "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_3" "#: .40 S&&W" "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_4" "#: 15 ROUNDS" "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_5" "#: N/A" "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_6" "#: 0.618KG" "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_7" "#: 8 GRAMS" "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_8" "#: 1280 FEET/SECOND" "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_9" "#: 606 JOULES" "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
touch_addbutton "_menu_txt_money" "#YOU HAVE \$$cscl_currentmoney" "_menu_refresh" 0.170000 0.106667 0.890000 0.160000 255 174 0 255 4
alias _menu_refresh "exec touch/buy_pistol_t.cfg"
alias _menu_none "touch_setcolor _menu_slot* 0 0 0 150; touch_hide _menu_frame_icn_class*; touch_hide _menu_frame_txt_data*; touch_hide _menu_frame_txt_desc*; touch_hide _menu_confirm*"
_menu_none
//alias +menu_slot0 "touch_setcolor _menu_slot0 255 174 0 150"
//alias -menu_slot0 "touch_setcolor _menu_slot0 0 0 0 150"
//alias _menu_select_slot1 "_menu_none; touch_setcolor _menu_slot1 255 174 0 150; touch_show _menu_frame_icn_class1; touch_show _menu_frame_txt_desc1; if $cscl_currentmoney>=0;:_menu_show_confirm ; alias _menu_confirmed joinclass 1"
alias +menu_slot0 "_click; touch_setcolor _menu_slot0 255 174 0 150"
alias -menu_slot0 "touch_setcolor _menu_slot0 0 0 0 150; _erase_frame"
if $buymenu_stayon >= 1;:alias -menu_slot0 "touch_setcolor _menu_slot0 0 0 0 150; _erase_frame; buy"
alias _menu_confirmed ""
alias _menu_show_confirm "touch_show _menu_confirm*"
alias _menu_select_slot1 "_click; _menu_none; touch_setcolor _menu_slot1 255 174 0 150; touch_show _menu_frame_icn_class1; touch_show _menu_frame_txt_data1; touch_show _menu_frame_txt_desc1; if $cscl_currentmoney >= $_menu_money_item1;:_menu_show_confirm ; alias _menu_confirmed glock"
alias _menu_select_slot2 "_click; _menu_none; touch_setcolor _menu_slot2 255 174 0 150; touch_show _menu_frame_icn_class2; touch_show _menu_frame_txt_data2; touch_show _menu_frame_txt_desc2; if $cscl_currentmoney >= $_menu_money_item2;:_menu_show_confirm ; alias _menu_confirmed usp"
alias _menu_select_slot3 "_click; _menu_none; touch_setcolor _menu_slot3 255 174 0 150; touch_show _menu_frame_icn_class3; touch_show _menu_frame_txt_data1; touch_show _menu_frame_txt_desc3; if $cscl_currentmoney >= $_menu_money_item3;:_menu_show_confirm ; alias _menu_confirmed p228"
alias _menu_select_slot4 "_click; _menu_none; touch_setcolor _menu_slot4 255 174 0 150; touch_show _menu_frame_icn_class4; touch_show _menu_frame_txt_data1; touch_show _menu_frame_txt_desc4; if $cscl_currentmoney >= $_menu_money_item4;:_menu_show_confirm ; alias _menu_confirmed deagle"
alias _menu_select_slot5 "_click; _menu_none; touch_setcolor _menu_slot5 255 174 0 150; touch_show _menu_frame_icn_class5; touch_show _menu_frame_txt_data1; touch_show _menu_frame_txt_desc5; if $cscl_currentmoney >= $_menu_money_item5;:_menu_show_confirm ; alias _menu_confirmed elites"
//alias _menu_select_slot6 "_click; _menu_none; touch_setcolor _menu_slot6 255 174 0 150; touch_show _menu_frame_icn_class6; touch_show _menu_frame_txt_data1; touch_show _menu_frame_txt_desc6; if $cscl_currentmoney >= $_menu_money_item6;:_menu_show_confirm ; alias _menu_confirmed "
//alias _menu_select_slot7 "_click; _menu_none; touch_setcolor _menu_slot7 255 174 0 150; touch_show _menu_frame_icn_class7; touch_show _menu_frame_txt_data1; touch_show _menu_frame_txt_desc7; if $cscl_currentmoney >= $_menu_money_item7;:_menu_show_confirm ; alias _menu_confirmed "
//alias _menu_select_slot8 "_click; _menu_none; touch_setcolor _menu_slot8 255 174 0 150; touch_show _menu_frame_icn_class8; touch_show _menu_frame_txt_data1; touch_show _menu_frame_txt_desc8; if $cscl_currentmoney >= $_menu_money_item8;:_menu_show_confirm ; alias _menu_confirmed "
alias +menu_confirm "_click; touch_setcolor _menu_confirm 255 174 0 150"
alias -menu_confirm "touch_setcolor _menu_confirm 0 0 0 150; _menu_confirmed; wait; wait; _erase_frame"
================================================
FILE: 3rdparty/cs16client-extras/touch/buy_rifle_ct.cfg
================================================
// Coded by Alprnn357
touch_setclientonly 1
cmd_scripting 1
touch_set_stroke 1 255 174 0 150
alias _erase_frame "touch_removebutton _menu_*; _menu_off; slot10"
alias _menu_off "touch_setclientonly 0"
alias _click "play media/launch_select1.wav; vibrate 30"
touch_addbutton "_menu_bg_crn4" "gfx/vgui/round_corner_se.tga" "" 0.880000 0.924444 0.900000 0.960000 0 0 0 150 6
touch_addbutton "_menu_bg_crn2" "gfx/vgui/round_corner_ne.tga" "" 0.880000 0.035556 0.900000 0.071111 0 0 0 150 6
touch_addbutton "_menu_bg_crn1" "gfx/vgui/round_corner_nw.tga" "" 0.100000 0.035556 0.120000 0.071111 0 0 0 150 6
touch_addbutton "_menu_bg_crn3" "gfx/vgui/round_corner_sw.tga" "" 0.100000 0.924444 0.120000 0.960000 0 0 0 150 6
touch_addbutton "_menu_bg_top1" "*black" "" 0.120000 0.035556 0.880000 0.071111 0 0 0 150 6
touch_addbutton "_menu_bg_top2" "*black" "" 0.100000 0.071111 0.900000 0.160000 0 0 0 150 6
touch_addbutton "_menu_bg_bottom" "*black" "" 0.120000 0.924444 0.880000 0.960000 0 0 0 150 6
touch_addbutton "_menu_bg_body" "*black" "" 0.100000 0.165000 0.900000 0.924444 0 0 0 150 6
if $menu_bg_fill >= 1;:touch_removebutton _menu_bg_*;:touch_addbutton _menu_bg_body *black "" 0 0 1 1 0 0 0 150 6
touch_addbutton "_menu_bg_icn_logo" "gfx/vgui/cs_logo.tga" "" 0.110000 0.053333 0.160000 0.142222 255 174 0 255 6
touch_addbutton "_menu_bg_txt_logo" "#BUY RIFLES (PRIMARY WEAPON)" "" 0.170000 0.071111 0.890000 0.142222 255 174 0 255 6
//touch_addbutton "_menu_txt_title" "#THE TITLE" "" 0.140000 0.177778 0.860000 0.213333 255 174 0 255 4
touch_addbutton "_menu_slot1" "*white" "_menu_select_slot1" 0.140000 0.213333 0.360000 0.266667 0 0 0 150 260
touch_addbutton "_menu_txt_slot1" "#1 CLARION 5.56" "" 0.150000 0.231111 0.360000 0.266667 255 174 0 255 4
touch_addbutton "_menu_slot2" "*white" "_menu_select_slot2" 0.140000 0.284444 0.360000 0.337778 0 0 0 150 260
touch_addbutton "_menu_txt_slot2" "#2 SCHMIDT SCOUT" "" 0.150000 0.302222 0.360000 0.337778 255 174 0 255 4
touch_addbutton "_menu_slot3" "*white" "_menu_select_slot3" 0.140000 0.355556 0.360000 0.408889 0 0 0 150 260
touch_addbutton "_menu_txt_slot3" "#3 MAVERICK M4A1 CARBINE" "" 0.150000 0.373333 0.360000 0.408889 255 174 0 255 4
touch_addbutton "_menu_slot4" "*white" "_menu_select_slot4" 0.140000 0.426667 0.360000 0.480000 0 0 0 150 260
touch_addbutton "_menu_txt_slot4" "#4 BULLPUP" "" 0.150000 0.444444 0.360000 0.480000 255 174 0 255 4
touch_addbutton "_menu_slot5" "*white" "_menu_select_slot5" 0.140000 0.497778 0.360000 0.551111 0 0 0 150 260
touch_addbutton "_menu_txt_slot5" "#5 ES KRIEG 550 COMMANDO" "" 0.150000 0.515556 0.360000 0.551111 255 174 0 255 4
touch_addbutton "_menu_slot6" "*white" "_menu_select_slot6" 0.140000 0.568889 0.360000 0.622222 0 0 0 150 260
touch_addbutton "_menu_txt_slot6" "#6 MAGNUM SNIPER RIFLE" "" 0.150000 0.586667 0.360000 0.622222 255 174 0 255 4
//touch_addbutton "_menu_slot7" "*white" "_menu_select_slot7" 0.140000 0.640000 0.360000 0.693333 0 0 0 150 260
//touch_addbutton "_menu_txt_slot7" "#7 SLOT" "" 0.150000 0.657778 0.360000 0.693333 255 174 0 255 4
//touch_addbutton "_menu_slot8" "*white" "_menu_select_slot8" 0.140000 0.711111 0.360000 0.764444 0 0 0 150 260
//touch_addbutton "_menu_txt_slot8" "#8 SLOT" "" 0.150000 0.728889 0.360000 0.764444 255 174 0 255 4
//touch_addbutton "_menu_slot9" "*white" "" 0.140000 0.782222 0.360000 0.835556 0 0 0 150 260
//touch_addbutton "_menu_txt_slot9" "#9 SLOT" "" 0.150000 0.800000 0.360000 0.835556 255 174 0 255 4
touch_addbutton "_menu_slot0" "*white" "+menu_slot0" 0.14 0.871111 0.36 0.924444 0 0 0 150 260
touch_addbutton "_menu_txt_slot0" "#0 CANCEL" "" 0.15 0.888889 0.36 0.924444 255 174 0 255 4
set _menu_money_item1 "2250"; if $cscl_currentmoney < $_menu_money_item1;: touch_setcolor _menu_txt_slot1 129 85 0 255
set _menu_money_item2 "2750"; if $cscl_currentmoney < $_menu_money_item2;: touch_setcolor _menu_txt_slot2 129 85 0 255
set _menu_money_item3 "3100"; if $cscl_currentmoney < $_menu_money_item3;: touch_setcolor _menu_txt_slot3 129 85 0 255
set _menu_money_item4 "3500"; if $cscl_currentmoney < $_menu_money_item4;: touch_setcolor _menu_txt_slot4 129 85 0 255
set _menu_money_item5 "4200"; if $cscl_currentmoney < $_menu_money_item5;: touch_setcolor _menu_txt_slot5 129 85 0 255
set _menu_money_item6 "4750"; if $cscl_currentmoney < $_menu_money_item6;: touch_setcolor _menu_txt_slot6 129 85 0 255
//set _menu_money_item7 ""; if $cscl_currentmoney < $_menu_money_item7;: touch_setcolor _menu_txt_slot7 129 85 0 255
//set _menu_money_item8 ""; if $cscl_currentmoney < $_menu_money_item8;: touch_setcolor _menu_txt_slot8 129 85 0 255
touch_addbutton "_menu_frame" "*white" "" 0.390000 0.213333 0.840000 0.551111 0 0 0 150 260
touch_addbutton "_menu_frame_icn_class1" "gfx/vgui/famas.tga" "" 0.430000 0.285333 0.810000 0.479111 255 255 255 255 4
touch_addbutton "_menu_frame_icn_class2" "gfx/vgui/scout.tga" "" 0.430000 0.285333 0.810000 0.479111 255 255 255 255 4
touch_addbutton "_menu_frame_icn_class3" "gfx/vgui/m4a1.tga" "" 0.430000 0.285333 0.810000 0.479111 255 255 255 255 4
touch_addbutton "_menu_frame_icn_class4" "gfx/vgui/aug.tga" "" 0.430000 0.285333 0.810000 0.479111 255 255 255 255 4
touch_addbutton "_menu_frame_icn_class5" "gfx/vgui/sg550.tga" "" 0.430000 0.285333 0.810000 0.479111 255 255 255 255 4
touch_addbutton "_menu_frame_icn_class6" "gfx/vgui/awp.tga" "" 0.430000 0.285333 0.810000 0.479111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class7" "" "" 0.430000 0.285333 0.810000 0.479111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class8" "" "" 0.430000 0.285333 0.810000 0.479111 255 255 255 255 4
touch_addbutton "_menu_confirm" "*white" "+menu_confirm" 0.62 0.871111 0.84 0.924444 0 0 0 150 260
touch_addbutton "_menu_confirm_txt" "#BUY THE ITEM" "" 0.63 0.888889 0.84 0.924444 255 174 0 255 4
touch_addbutton "_menu_frame_txt_data1_1" "#PRICE" "" 0.39 0.551111 0.56 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_2" "#COUNTRY OF ORIGIN" "" 0.39 0.586667 0.56 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_3" "#CALIBER" "" 0.39 0.622222 0.56 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_4" "#CLIP CAPACITY" "" 0.39 0.657778 0.56 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_5" "#RATE OF FIRE" "" 0.39 0.693333 0.56 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_6" "#WEIGHT (LOADED)" "" 0.39 0.728889 0.56 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_7" "#PROJECTILE WEIGHT" "" 0.39 0.764444 0.56 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_8" "#MUZZLE VELOCITY" "" 0.39 0.8 0.56 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_9" "#MUZZLE ENERGY" "" 0.39 0.835556 0.56 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_1" "#PRICE" "" 0.39 0.551111 0.56 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_2" "#COUNTRY OF ORIGIN" "" 0.39 0.586667 0.56 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_3" "#CALIBER" "" 0.39 0.622222 0.56 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_4" "#CLIP CAPACITY" "" 0.39 0.657778 0.56 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_5" "#RATE OF FIRE" "" 0.39 0.693333 0.56 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_6" "#WEIGHT (EMPTY)" "" 0.39 0.728889 0.56 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_7" "#PROJECTILE WEIGHT" "" 0.39 0.764444 0.56 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_8" "#MUZZLE VELOCITY" "" 0.39 0.8 0.56 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_9" "#MUZZLE ENERGY" "" 0.39 0.835556 0.56 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_1" "#: \$$_menu_money_item1" "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_2" "#: FRANCE" "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_3" "#: 5.56 NATO" "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_4" "#: 25 ROUNDS" "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_5" "#: 1100 RPM" "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_6" "#: 3.40KG" "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_7" "#: 4 GRAMS" "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_8" "#: 2212 FEET/SECOND" "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_9" "#: 1712 JOULES" "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_1" "#: \$$_menu_money_item2" "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_2" "#: AUSTRIA" "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_3" "#: 7.62 NATO" "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_4" "#: 10 ROUNDS" "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_5" "#: N/A" "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_6" "#: 3.3KG" "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_7" "#: 8 GRAMS" "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_8" "#: 2800 FEET/SECOND" "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_9" "#: 2200 JOULES" "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_1" "#: \$$_menu_money_item3" "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_2" "#: UNITED STATES OF AMERICA" "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_3" "#: 5.56 NATO" "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_4" "#: 30 ROUNDS" "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_5" "#: 685 RPM" "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_6" "#: 3.22KG" "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_7" "#: 4 GRAMS" "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_8" "#: 2900 FEET/SECOND" "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_9" "#: 1570 JOULES" "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_1" "#: \$$_menu_money_item4" "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_2" "#: AUSTRIA" "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_3" "#: 5.56 NATO" "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_4" "#: 30 ROUNDS" "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_5" "#: 727 RPM" "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_6" "#: 4.09KG" "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_7" "#: 4 GRAMS" "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_8" "#: 2900 FEET/SECOND" "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_9" "#: 1570 JOULES" "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_1" "#: \$$_menu_money_item5" "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_2" "#: SWITZERLAND" "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_3" "#: 5.56 NATO" "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_4" "#: 30 ROUNDS" "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_5" "#: N/A" "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_6" "#: 7.02KG" "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_7" "#: 4 GRAMS" "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_8" "#: 3100 FEET/SECOND" "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_9" "#: 1650 JOULES" "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc6_1" "#: \$$_menu_money_item6" "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc6_2" "#: UNITED KINGDOM" "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc6_3" "#: .338 LAPUA MAGNUM" "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc6_4" "#: 10 ROUNDS" "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc6_5" "#: N/A" "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc6_6" "#: 6KG" "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc6_7" "#: 16.2 GRAMS" "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc6_8" "#: 3000 FEET/SECOND" "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc6_9" "#: 7000 JOULES" "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
touch_addbutton "_menu_txt_money" "#YOU HAVE \$$cscl_currentmoney" "_menu_refresh" 0.170000 0.106667 0.890000 0.160000 255 174 0 255 4
alias _menu_refresh "exec touch/buy_rifle_ct.cfg"
alias _menu_none "touch_setcolor _menu_slot* 0 0 0 150; touch_hide _menu_frame_icn_class*; touch_hide _menu_frame_txt_data*; touch_hide _menu_frame_txt_desc*; touch_hide _menu_confirm*"
_menu_none
alias +menu_slot0 "_click; touch_setcolor _menu_slot0 255 174 0 150"
alias -menu_slot0 "touch_setcolor _menu_slot0 0 0 0 150; _erase_frame"
if $buymenu_stayon >= 1;:alias -menu_slot0 "touch_setcolor _menu_slot0 0 0 0 150; _erase_frame; buy"
alias _menu_confirmed ""
alias _menu_show_confirm "touch_show _menu_confirm*"
alias _menu_select_slot1 "_click; _menu_none; touch_setcolor _menu_slot1 255 174 0 150; touch_show _menu_frame_icn_class1; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc1_*; if $cscl_currentmoney >= $_menu_money_item1;:_menu_show_confirm ; alias _menu_confirmed famas"
alias _menu_select_slot2 "_click; _menu_none; touch_setcolor _menu_slot2 255 174 0 150; touch_show _menu_frame_icn_class2; touch_show _menu_frame_txt_data2_*; touch_show _menu_frame_txt_desc2_*; if $cscl_currentmoney >= $_menu_money_item2;:_menu_show_confirm ; alias _menu_confirmed scout"
alias _menu_select_slot3 "_click; _menu_none; touch_setcolor _menu_slot3 255 174 0 150; touch_show _menu_frame_icn_class3; touch_show _menu_frame_txt_data2_*; touch_show _menu_frame_txt_desc3_*; if $cscl_currentmoney >= $_menu_money_item3;:_menu_show_confirm ; alias _menu_confirmed m4a1"
alias _menu_select_slot4 "_click; _menu_none; touch_setcolor _menu_slot4 255 174 0 150; touch_show _menu_frame_icn_class4; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc4_*; if $cscl_currentmoney >= $_menu_money_item4;:_menu_show_confirm ; alias _menu_confirmed aug"
alias _menu_select_slot5 "_click; _menu_none; touch_setcolor _menu_slot5 255 174 0 150; touch_show _menu_frame_icn_class5; touch_show _menu_frame_txt_data2_*; touch_show _menu_frame_txt_desc5_*; if $cscl_currentmoney >= $_menu_money_item5;:_menu_show_confirm ; alias _menu_confirmed sg550"
alias _menu_select_slot6 "_click; _menu_none; touch_setcolor _menu_slot6 255 174 0 150; touch_show _menu_frame_icn_class6; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc6_*; if $cscl_currentmoney >= $_menu_money_item6;:_menu_show_confirm ; alias _menu_confirmed awp"
//alias _menu_select_slot7 "_click; _menu_none; touch_setcolor _menu_slot7 255 174 0 150; touch_show _menu_frame_icn_class7; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc7_*; if $cscl_currentmoney >= $_menu_money_item7;:_menu_show_confirm ; alias _menu_confirmed "
//alias _menu_select_slot8 "_click; _menu_none; touch_setcolor _menu_slot8 255 174 0 150; touch_show _menu_frame_icn_class8; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc8_*; if $cscl_currentmoney >= $_menu_money_item8;:_menu_show_confirm ; alias _menu_confirmed "
alias +menu_confirm "_click; touch_setcolor _menu_confirm 255 174 0 150"
alias -menu_confirm "touch_setcolor _menu_confirm 0 0 0 150; _menu_confirmed; wait; wait; _erase_frame"
================================================
FILE: 3rdparty/cs16client-extras/touch/buy_rifle_t.cfg
================================================
// Coded by Alprnn357
touch_setclientonly 1
cmd_scripting 1
touch_set_stroke 1 255 174 0 150
alias _erase_frame "touch_removebutton _menu_*; _menu_off; slot10"
alias _menu_off "touch_setclientonly 0"
alias _click "play media/launch_select1.wav; vibrate 30"
touch_addbutton "_menu_bg_crn4" "gfx/vgui/round_corner_se.tga" "" 0.880000 0.924444 0.900000 0.960000 0 0 0 150 6
touch_addbutton "_menu_bg_crn2" "gfx/vgui/round_corner_ne.tga" "" 0.880000 0.035556 0.900000 0.071111 0 0 0 150 6
touch_addbutton "_menu_bg_crn1" "gfx/vgui/round_corner_nw.tga" "" 0.100000 0.035556 0.120000 0.071111 0 0 0 150 6
touch_addbutton "_menu_bg_crn3" "gfx/vgui/round_corner_sw.tga" "" 0.100000 0.924444 0.120000 0.960000 0 0 0 150 6
touch_addbutton "_menu_bg_top1" "*black" "" 0.120000 0.035556 0.880000 0.071111 0 0 0 150 6
touch_addbutton "_menu_bg_top2" "*black" "" 0.100000 0.071111 0.900000 0.160000 0 0 0 150 6
touch_addbutton "_menu_bg_bottom" "*black" "" 0.120000 0.924444 0.880000 0.960000 0 0 0 150 6
touch_addbutton "_menu_bg_body" "*black" "" 0.100000 0.165000 0.900000 0.924444 0 0 0 150 6
if $menu_bg_fill >= 1;:touch_removebutton _menu_bg_*;:touch_addbutton _menu_bg_body *black "" 0 0 1 1 0 0 0 150 6
touch_addbutton "_menu_bg_icn_logo" "gfx/vgui/cs_logo.tga" "" 0.110000 0.053333 0.160000 0.142222 255 174 0 255 6
touch_addbutton "_menu_bg_txt_logo" "#BUY RIFLES (PRIMARY WEAPON)" "" 0.170000 0.071111 0.890000 0.142222 255 174 0 255 6
//touch_addbutton "_menu_txt_title" "#THE TITLE" "" 0.140000 0.177778 0.860000 0.213333 255 174 0 255 4
touch_addbutton "_menu_slot1" "*white" "_menu_select_slot1" 0.140000 0.213333 0.360000 0.266667 0 0 0 150 260
touch_addbutton "_menu_txt_slot1" "#1 IDF DEFENDER" "" 0.150000 0.231111 0.360000 0.266667 255 174 0 255 4
touch_addbutton "_menu_slot2" "*white" "_menu_select_slot2" 0.140000 0.284444 0.360000 0.337778 0 0 0 150 260
touch_addbutton "_menu_txt_slot2" "#2 CV-47" "" 0.150000 0.302222 0.360000 0.337778 255 174 0 255 4
touch_addbutton "_menu_slot3" "*white" "_menu_select_slot3" 0.140000 0.355556 0.360000 0.408889 0 0 0 150 260
touch_addbutton "_menu_txt_slot3" "#3 SCHMIDT SCOUT" "" 0.150000 0.373333 0.360000 0.408889 255 174 0 255 4
touch_addbutton "_menu_slot4" "*white" "_menu_select_slot4" 0.140000 0.426667 0.360000 0.480000 0 0 0 150 260
touch_addbutton "_menu_txt_slot4" "#4 KRIEG 552" "" 0.150000 0.444444 0.360000 0.480000 255 174 0 255 4
touch_addbutton "_menu_slot5" "*white" "_menu_select_slot5" 0.140000 0.497778 0.360000 0.551111 0 0 0 150 260
touch_addbutton "_menu_txt_slot5" "#5 MAGNUM SNIPER RIFLE" "" 0.150000 0.515556 0.360000 0.551111 255 174 0 255 4
touch_addbutton "_menu_slot6" "*white" "_menu_select_slot6" 0.140000 0.568889 0.360000 0.622222 0 0 0 150 260
touch_addbutton "_menu_txt_slot6" "#6 D3/AU-1" "" 0.150000 0.586667 0.360000 0.622222 255 174 0 255 4
//touch_addbutton "_menu_slot7" "*white" "_menu_select_slot7" 0.140000 0.640000 0.360000 0.693333 0 0 0 150 260
//touch_addbutton "_menu_txt_slot7" "#7 SLOT" "" 0.150000 0.657778 0.360000 0.693333 255 174 0 255 4
//touch_addbutton "_menu_slot8" "*white" "_menu_select_slot8" 0.140000 0.711111 0.360000 0.764444 0 0 0 150 260
//touch_addbutton "_menu_txt_slot8" "#8 SLOT" "" 0.150000 0.728889 0.360000 0.764444 255 174 0 255 4
//touch_addbutton "_menu_slot9" "*white" "" 0.140000 0.782222 0.360000 0.835556 0 0 0 150 260
//touch_addbutton "_menu_txt_slot9" "#9 SLOT" "" 0.150000 0.800000 0.360000 0.835556 255 174 0 255 4
touch_addbutton "_menu_slot0" "*white" "+menu_slot0" 0.14 0.871111 0.36 0.924444 0 0 0 150 260
touch_addbutton "_menu_txt_slot0" "#0 CANCEL" "" 0.15 0.888889 0.36 0.924444 255 174 0 255 4
set _menu_money_item1 "2000"; if $cscl_currentmoney < $_menu_money_item1;: touch_setcolor _menu_txt_slot1 129 85 0 255
set _menu_money_item2 "2500"; if $cscl_currentmoney < $_menu_money_item2;: touch_setcolor _menu_txt_slot2 129 85 0 255
set _menu_money_item3 "2750"; if $cscl_currentmoney < $_menu_money_item3;: touch_setcolor _menu_txt_slot3 129 85 0 255
set _menu_money_item4 "3500"; if $cscl_currentmoney < $_menu_money_item4;: touch_setcolor _menu_txt_slot4 129 85 0 255
set _menu_money_item5 "4750"; if $cscl_currentmoney < $_menu_money_item5;: touch_setcolor _menu_txt_slot5 129 85 0 255
set _menu_money_item6 "5000"; if $cscl_currentmoney < $_menu_money_item6;: touch_setcolor _menu_txt_slot6 129 85 0 255
//set _menu_money_item7 ""; if $cscl_currentmoney < $_menu_money_item7;: touch_setcolor _menu_txt_slot7 129 85 0 255
//set _menu_money_item8 ""; if $cscl_currentmoney < $_menu_money_item8;: touch_setcolor _menu_txt_slot8 129 85 0 255
touch_addbutton "_menu_frame" "*white" "" 0.390000 0.213333 0.840000 0.551111 0 0 0 150 260
touch_addbutton "_menu_frame_icn_class1" "gfx/vgui/galil.tga" "" 0.430000 0.285333 0.810000 0.479111 255 255 255 255 4
touch_addbutton "_menu_frame_icn_class2" "gfx/vgui/ak47.tga" "" 0.430000 0.285333 0.810000 0.479111 255 255 255 255 4
touch_addbutton "_menu_frame_icn_class3" "gfx/vgui/scout.tga" "" 0.430000 0.285333 0.810000 0.479111 255 255 255 255 4
touch_addbutton "_menu_frame_icn_class4" "gfx/vgui/sg552.tga" "" 0.430000 0.285333 0.810000 0.479111 255 255 255 255 4
touch_addbutton "_menu_frame_icn_class5" "gfx/vgui/awp.tga" "" 0.430000 0.285333 0.810000 0.479111 255 255 255 255 4
touch_addbutton "_menu_frame_icn_class6" "gfx/vgui/g3sg1.tga" "" 0.430000 0.285333 0.810000 0.479111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class7" "" "" 0.430000 0.285333 0.810000 0.479111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class8" "" "" 0.430000 0.285333 0.810000 0.479111 255 255 255 255 4
touch_addbutton "_menu_confirm" "*white" "+menu_confirm" 0.62 0.871111 0.84 0.924444 0 0 0 150 260
touch_addbutton "_menu_confirm_txt" "#BUY THE ITEM" "" 0.63 0.888889 0.84 0.924444 255 174 0 255 4
touch_addbutton "_menu_frame_txt_data1_1" "#PRICE" "" 0.39 0.551111 0.56 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_2" "#COUNTRY OF ORIGIN" "" 0.39 0.586667 0.56 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_3" "#CALIBER" "" 0.39 0.622222 0.56 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_4" "#CLIP CAPACITY" "" 0.39 0.657778 0.56 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_5" "#RATE OF FIRE" "" 0.39 0.693333 0.56 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_6" "#WEIGHT (LOADED)" "" 0.39 0.728889 0.56 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_7" "#PROJECTILE WEIGHT" "" 0.39 0.764444 0.56 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_8" "#MUZZLE VELOCITY" "" 0.39 0.8 0.56 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_9" "#MUZZLE ENERGY" "" 0.39 0.835556 0.56 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_1" "#PRICE" "" 0.39 0.551111 0.56 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_2" "#COUNTRY OF ORIGIN" "" 0.39 0.586667 0.56 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_3" "#CALIBER" "" 0.39 0.622222 0.56 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_4" "#CLIP CAPACITY" "" 0.39 0.657778 0.56 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_5" "#RATE OF FIRE" "" 0.39 0.693333 0.56 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_6" "#WEIGHT (EMPTY)" "" 0.39 0.728889 0.56 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_7" "#PROJECTILE WEIGHT" "" 0.39 0.764444 0.56 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_8" "#MUZZLE VELOCITY" "" 0.39 0.8 0.56 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_9" "#MUZZLE ENERGY" "" 0.39 0.835556 0.56 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_1" "#: \$$_menu_money_item1" "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_2" "#: ISRAEL" "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_3" "#: .308" "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_4" "#: 35 ROUNDS" "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_5" "#: 675 RPM" "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_6" "#: 4.35KG" "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_7" "#: 4 GRAMS" "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_8" "#: 2013 FEET/SECOND" "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_9" "#: 1712 JOULES" "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_1" "#: \$$_menu_money_item2" "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_2" "#: RUSSIA" "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_3" "#: 7.62 NATO" "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_4" "#: 30 ROUNDS" "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_5" "#: 600 RPM" "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_6" "#: 4.79KG" "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_7" "#: 7.9 GRAMS" "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_8" "#: 2329 FEET/SECOND" "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_9" "#: 1992 JOULES" "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_1" "#: \$$_menu_money_item3" "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_2" "#: AUSTRIA" "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_3" "#: 7.62 NATO" "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_4" "#: 10 ROUNDS" "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_5" "#: N/A" "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_6" "#: 3.3KG" "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_7" "#: 8 GRAMS" "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_8" "#: 2800 FEET/SECOND" "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc3_9" "#: 2200 JOULES" "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_1" "#: \$$_menu_money_item4" "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_2" "#: SWITZERLAND" "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_3" "#: 5.56 NATO" "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_4" "#: 30 ROUNDS" "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_5" "#: 727 RPM" "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_6" "#: 3.1KG" "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_7" "#: 4 GRAMS" "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_8" "#: 2900 FEET/SECOND" "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc4_9" "#: 1570 JOULES" "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_1" "#: \$$_menu_money_item5" "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_2" "#: UNITED KINGDOM" "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_3" "#: .338 LAPUA MAGNUM" "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_4" "#: 10 ROUNDS" "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_5" "#: N/A" "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_6" "#: 6KG" "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_7" "#: 16.2 GRAMS" "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_8" "#: 3000 FEET/SECOND" "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc5_9" "#: 7000 JOULES" "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc6_1" "#: \$$_menu_money_item6" "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc6_2" "#: GERMANY" "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc6_3" "#: 7.62 NATO" "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc6_4" "#: 20 ROUNDS" "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc6_5" "#: N/A" "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc6_6" "#: 4.41KG" "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc6_7" "#: 8 GRAMS" "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc6_8" "#: 2800 FEET/SECOND" "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc6_9" "#: 2200 JOULES" "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
touch_addbutton "_menu_txt_money" "#YOU HAVE \$$cscl_currentmoney" "_menu_refresh" 0.170000 0.106667 0.890000 0.160000 255 174 0 255 4
alias _menu_refresh "exec touch/buy_rifle_t.cfg"
alias _menu_none "touch_setcolor _menu_slot* 0 0 0 150; touch_hide _menu_frame_icn_class*; touch_hide _menu_frame_txt_data*; touch_hide _menu_frame_txt_desc*; touch_hide _menu_confirm*"
_menu_none
//alias +menu_slot0 "touch_setcolor _menu_slot0 255 174 0 150"
//alias -menu_slot0 "touch_setcolor _menu_slot0 0 0 0 150"
//alias _menu_select_slot1 "_menu_none; touch_setcolor _menu_slot1 255 174 0 150; touch_show _menu_frame_icn_class1; touch_show _menu_frame_txt_desc1; if $cscl_currentmoney>=0;:_menu_show_confirm ; alias _menu_confirmed joinclass 1"
alias +menu_slot0 "_click; touch_setcolor _menu_slot0 255 174 0 150"
alias -menu_slot0 "touch_setcolor _menu_slot0 0 0 0 150; _erase_frame"
if $buymenu_stayon >= 1;:alias -menu_slot0 "touch_setcolor _menu_slot0 0 0 0 150; _erase_frame; buy"
alias _menu_confirmed ""
alias _menu_show_confirm "touch_show _menu_confirm*"
alias _menu_select_slot1 "_click; _menu_none; touch_setcolor _menu_slot1 255 174 0 150; touch_show _menu_frame_icn_class1; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc1_*; if $cscl_currentmoney >= $_menu_money_item1;:_menu_show_confirm ; alias _menu_confirmed galil"
alias _menu_select_slot2 "_click; _menu_none; touch_setcolor _menu_slot2 255 174 0 150; touch_show _menu_frame_icn_class2; touch_show _menu_frame_txt_data2_*; touch_show _menu_frame_txt_desc2_*; if $cscl_currentmoney >= $_menu_money_item2;:_menu_show_confirm ; alias _menu_confirmed ak47"
alias _menu_select_slot3 "_click; _menu_none; touch_setcolor _menu_slot3 255 174 0 150; touch_show _menu_frame_icn_class3; touch_show _menu_frame_txt_data2_*; touch_show _menu_frame_txt_desc3_*; if $cscl_currentmoney >= $_menu_money_item3;:_menu_show_confirm ; alias _menu_confirmed scout"
alias _menu_select_slot4 "_click; _menu_none; touch_setcolor _menu_slot4 255 174 0 150; touch_show _menu_frame_icn_class4; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc4_*; if $cscl_currentmoney >= $_menu_money_item4;:_menu_show_confirm ; alias _menu_confirmed sg552"
alias _menu_select_slot5 "_click; _menu_none; touch_setcolor _menu_slot5 255 174 0 150; touch_show _menu_frame_icn_class5; touch_show _menu_frame_txt_data2_*; touch_show _menu_frame_txt_desc5_*; if $cscl_currentmoney >= $_menu_money_item5;:_menu_show_confirm ; alias _menu_confirmed awp"
alias _menu_select_slot6 "_click; _menu_none; touch_setcolor _menu_slot6 255 174 0 150; touch_show _menu_frame_icn_class6; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc6_*; if $cscl_currentmoney >= $_menu_money_item6;:_menu_show_confirm ; alias _menu_confirmed g3sg1"
//alias _menu_select_slot7 "_click; _menu_none; touch_setcolor _menu_slot7 255 174 0 150; touch_show _menu_frame_icn_class7; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc7_*; if $cscl_currentmoney >= $_menu_money_item7;:_menu_show_confirm ; alias _menu_confirmed "
//alias _menu_select_slot8 "_click; _menu_none; touch_setcolor _menu_slot8 255 174 0 150; touch_show _menu_frame_icn_class8; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc8_*; if $cscl_currentmoney >= $_menu_money_item8;:_menu_show_confirm ; alias _menu_confirmed "
alias +menu_confirm "_click; touch_setcolor _menu_confirm 255 174 0 150"
alias -menu_confirm "touch_setcolor _menu_confirm 0 0 0 150; _menu_confirmed; wait; wait; _erase_frame"
================================================
FILE: 3rdparty/cs16client-extras/touch/buy_shotgun_ct.cfg
================================================
// Coded by Alprnn357
touch_setclientonly 1
cmd_scripting 1
touch_set_stroke 1 255 174 0 150
alias _erase_frame "touch_removebutton _menu_*; _menu_off; slot10"
alias _menu_off "touch_setclientonly 0"
alias _click "play media/launch_select1.wav; vibrate 30"
touch_addbutton "_menu_bg_crn4" "gfx/vgui/round_corner_se.tga" "" 0.880000 0.924444 0.900000 0.960000 0 0 0 150 6
touch_addbutton "_menu_bg_crn2" "gfx/vgui/round_corner_ne.tga" "" 0.880000 0.035556 0.900000 0.071111 0 0 0 150 6
touch_addbutton "_menu_bg_crn1" "gfx/vgui/round_corner_nw.tga" "" 0.100000 0.035556 0.120000 0.071111 0 0 0 150 6
touch_addbutton "_menu_bg_crn3" "gfx/vgui/round_corner_sw.tga" "" 0.100000 0.924444 0.120000 0.960000 0 0 0 150 6
touch_addbutton "_menu_bg_top1" "*black" "" 0.120000 0.035556 0.880000 0.071111 0 0 0 150 6
touch_addbutton "_menu_bg_top2" "*black" "" 0.100000 0.071111 0.900000 0.160000 0 0 0 150 6
touch_addbutton "_menu_bg_bottom" "*black" "" 0.120000 0.924444 0.880000 0.960000 0 0 0 150 6
touch_addbutton "_menu_bg_body" "*black" "" 0.100000 0.165000 0.900000 0.924444 0 0 0 150 6
if $menu_bg_fill >= 1;:touch_removebutton _menu_bg_*;:touch_addbutton _menu_bg_body *black "" 0 0 1 1 0 0 0 150 6
touch_addbutton "_menu_bg_icn_logo" "gfx/vgui/cs_logo.tga" "" 0.110000 0.053333 0.160000 0.142222 255 174 0 255 6
touch_addbutton "_menu_bg_txt_logo" "#BUY SHOTGUNS (PRIMARY WEAPON)" "" 0.170000 0.071111 0.890000 0.142222 255 174 0 255 6
//touch_addbutton "_menu_txt_title" "#THE TITLE" "" 0.140000 0.177778 0.860000 0.213333 255 174 0 255 4
touch_addbutton "_menu_slot1" "*white" "_menu_select_slot1" 0.140000 0.213333 0.360000 0.266667 0 0 0 150 260
touch_addbutton "_menu_txt_slot1" "#1 LEONE 12 GAUGE SUPER" "" 0.150000 0.231111 0.360000 0.266667 255 174 0 255 4
touch_addbutton "_menu_slot2" "*white" "_menu_select_slot2" 0.140000 0.284444 0.360000 0.337778 0 0 0 150 260
touch_addbutton "_menu_txt_slot2" "#2 LEONE YG1265 AUTO SHOTGUN" "" 0.150000 0.302222 0.370000 0.337778 255 174 0 255 4
//touch_addbutton "_menu_slot3" "*white" "_menu_select_slot3" 0.140000 0.355556 0.360000 0.408889 0 0 0 150 260
//touch_addbutton "_menu_txt_slot3" "#3 SLOT" "" 0.150000 0.373333 0.360000 0.408889 255 174 0 255 4
//touch_addbutton "_menu_slot4" "*white" "_menu_select_slot4" 0.140000 0.426667 0.360000 0.480000 0 0 0 150 260
//touch_addbutton "_menu_txt_slot4" "#4 SLOT" "" 0.150000 0.444444 0.360000 0.480000 255 174 0 255 4
//touch_addbutton "_menu_slot5" "*white" "_menu_select_slot5" 0.140000 0.497778 0.360000 0.551111 0 0 0 150 260
//touch_addbutton "_menu_txt_slot5" "#5 SLOT" "" 0.150000 0.515556 0.360000 0.551111 255 174 0 255 4
//touch_addbutton "_menu_slot6" "*white" "_menu_select_slot6" 0.140000 0.568889 0.360000 0.622222 0 0 0 150 260
//touch_addbutton "_menu_txt_slot6" "#6 SLOT" "" 0.150000 0.586667 0.360000 0.622222 255 174 0 255 4
//touch_addbutton "_menu_slot7" "*white" "_menu_select_slot7" 0.140000 0.640000 0.360000 0.693333 0 0 0 150 260
//touch_addbutton "_menu_txt_slot7" "#7 SLOT" "" 0.150000 0.657778 0.360000 0.693333 255 174 0 255 4
//touch_addbutton "_menu_slot8" "*white" "_menu_select_slot8" 0.140000 0.711111 0.360000 0.764444 0 0 0 150 260
//touch_addbutton "_menu_txt_slot8" "#8 SLOT" "" 0.150000 0.728889 0.360000 0.764444 255 174 0 255 4
//touch_addbutton "_menu_slot9" "*white" "" 0.140000 0.782222 0.360000 0.835556 0 0 0 150 260
//touch_addbutton "_menu_txt_slot9" "#9 SLOT" "" 0.150000 0.800000 0.360000 0.835556 255 174 0 255 4
touch_addbutton "_menu_slot0" "*white" "+menu_slot0" 0.14 0.871111 0.36 0.924444 0 0 0 150 260
touch_addbutton "_menu_txt_slot0" "#0 CANCEL" "" 0.15 0.888889 0.36 0.924444 255 174 0 255 4
set _menu_money_item1 "1700"; if $cscl_currentmoney < $_menu_money_item1;: touch_setcolor _menu_txt_slot1 129 85 0 255
set _menu_money_item2 "3000"; if $cscl_currentmoney < $_menu_money_item2;: touch_setcolor _menu_txt_slot2 129 85 0 255
//set _menu_money_item3 ""; if $cscl_currentmoney < $_menu_money_item3;: touch_setcolor _menu_txt_slot3 129 85 0 255
//set _menu_money_item4 ""; if $cscl_currentmoney < $_menu_money_item4;: touch_setcolor _menu_txt_slot4 129 85 0 255
//set _menu_money_item5 ""; if $cscl_currentmoney < $_menu_money_item5;: touch_setcolor _menu_txt_slot5 129 85 0 255
//set _menu_money_item6 ""; if $cscl_currentmoney < $_menu_money_item6;: touch_setcolor _menu_txt_slot6 129 85 0 255
//set _menu_money_item7 ""; if $cscl_currentmoney < $_menu_money_item7;: touch_setcolor _menu_txt_slot7 129 85 0 255
//set _menu_money_item8 ""; if $cscl_currentmoney < $_menu_money_item8;: touch_setcolor _menu_txt_slot8 129 85 0 255
touch_addbutton "_menu_frame" "*white" "" 0.390000 0.213333 0.840000 0.551111 0 0 0 150 260
touch_addbutton "_menu_frame_icn_class1" "gfx/vgui/m3.tga" "" 0.430000 0.285333 0.810000 0.479111 255 255 255 255 4
touch_addbutton "_menu_frame_icn_class2" "gfx/vgui/xm1014.tga" "" 0.430000 0.285333 0.810000 0.479111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class3" "" "" 0.430000 0.285333 0.810000 0.479111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class4" "" "" 0.430000 0.285333 0.810000 0.479111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class5" "" "" 0.430000 0.285333 0.810000 0.479111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class6" "" "" 0.430000 0.285333 0.810000 0.479111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class7" "" "" 0.430000 0.285333 0.810000 0.479111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class8" "" "" 0.430000 0.285333 0.810000 0.479111 255 255 255 255 4
touch_addbutton "_menu_confirm" "*white" "+menu_confirm" 0.62 0.871111 0.84 0.924444 0 0 0 150 260
touch_addbutton "_menu_confirm_txt" "#BUY THE ITEM" "" 0.63 0.888889 0.84 0.924444 255 174 0 255 4
touch_addbutton "_menu_frame_txt_data1_1" "#PRICE" "" 0.39 0.551111 0.56 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_2" "#COUNTRY OF ORIGIN" "" 0.39 0.586667 0.56 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_3" "#CALIBER" "" 0.39 0.622222 0.56 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_4" "#CLIP CAPACITY" "" 0.39 0.657778 0.56 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_5" "#RATE OF FIRE" "" 0.39 0.693333 0.56 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_6" "#WEIGHT (LOADED)" "" 0.39 0.728889 0.56 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_7" "#PROJECTILE WEIGHT" "" 0.39 0.764444 0.56 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_8" "#MUZZLE VELOCITY" "" 0.39 0.8 0.56 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_9" "#MUZZLE ENERGY" "" 0.39 0.835556 0.56 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_1" "#PRICE" "" 0.39 0.551111 0.56 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_2" "#COUNTRY OF ORIGIN" "" 0.39 0.586667 0.56 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_3" "#CALIBER" "" 0.39 0.622222 0.56 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_4" "#CLIP CAPACITY" "" 0.39 0.657778 0.56 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_5" "#RATE OF FIRE" "" 0.39 0.693333 0.56 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_6" "#WEIGHT (EMPTY)" "" 0.39 0.728889 0.56 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_7" "#PROJECTILE WEIGHT" "" 0.39 0.764444 0.56 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_8" "#MUZZLE VELOCITY" "" 0.39 0.8 0.56 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_9" "#MUZZLE ENERGY" "" 0.39 0.835556 0.56 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_1" "#: \$$_menu_money_item1" "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_2" "#: ITALY" "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_3" "#: 12 GAUGE" "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_4" "#: 8 ROUNDS" "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_5" "#: N/A" "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_6" "#: 3.5KG" "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_7" "#: 3.8 GRAMS" "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_8" "#: 1250 FEET/SECOND" "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_9" "#: 2429 JOULES" "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_1" "#: \$$_menu_money_item2" "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_2" "#: ITALY" "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_3" "#: 12 GAUGE" "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_4" "#: 7 ROUNDS" "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_5" "#: 400 RPM" "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_6" "#: 4KG" "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_7" "#: 3.8 GRAMS/PELLET" "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_8" "#: 1250 FEET/SECOND" "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_9" "#: 2429 JOULES" "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
touch_addbutton "_menu_txt_money" "#YOU HAVE \$$cscl_currentmoney" "_menu_refresh" 0.170000 0.106667 0.890000 0.160000 255 174 0 255 4
alias _menu_refresh "exec touch/buy_shotgun_ct.cfg"
alias _menu_none "touch_setcolor _menu_slot* 0 0 0 150; touch_hide _menu_frame_icn_class*; touch_hide _menu_frame_txt_data*; touch_hide _menu_frame_txt_desc*; touch_hide _menu_confirm*"
_menu_none
//alias +menu_slot0 "touch_setcolor _menu_slot0 255 174 0 150"
//alias -menu_slot0 "touch_setcolor _menu_slot0 0 0 0 150"
//alias _menu_select_slot1 "_menu_none; touch_setcolor _menu_slot1 255 174 0 150; touch_show _menu_frame_icn_class1; touch_show _menu_frame_txt_desc1; if $cscl_currentmoney>=0;:_menu_show_confirm ; alias _menu_confirmed joinclass 1"
alias +menu_slot0 "_click; touch_setcolor _menu_slot0 255 174 0 150"
alias -menu_slot0 "touch_setcolor _menu_slot0 0 0 0 150; _erase_frame"
if $buymenu_stayon >= 1;:alias -menu_slot0 "touch_setcolor _menu_slot0 0 0 0 150; _erase_frame; buy"
alias _menu_confirmed ""
alias _menu_show_confirm "touch_show _menu_confirm*"
alias _menu_select_slot1 "_click; _menu_none; touch_setcolor _menu_slot1 255 174 0 150; touch_show _menu_frame_icn_class1; touch_show _menu_frame_txt_data2_*; touch_show _menu_frame_txt_desc1_*; if $cscl_currentmoney >= $_menu_money_item1;:_menu_show_confirm ; alias _menu_confirmed m3"
alias _menu_select_slot2 "_click; _menu_none; touch_setcolor _menu_slot2 255 174 0 150; touch_show _menu_frame_icn_class2; touch_show _menu_frame_txt_data2_*; touch_show _menu_frame_txt_desc2_*; if $cscl_currentmoney >= $_menu_money_item2;:_menu_show_confirm ; alias _menu_confirmed xm1014"
//alias _menu_select_slot3 "_click; _menu_none; touch_setcolor _menu_slot3 255 174 0 150; touch_show _menu_frame_icn_class3; touch_show _menu_frame_txt_data2_*; touch_show _menu_frame_txt_desc3_*; if $cscl_currentmoney >= $_menu_money_item3;:_menu_show_confirm ; alias _menu_confirmed "
//alias _menu_select_slot4 "_click; _menu_none; touch_setcolor _menu_slot4 255 174 0 150; touch_show _menu_frame_icn_class4; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc4_*; if $cscl_currentmoney >= $_menu_money_item4;:_menu_show_confirm ; alias _menu_confirmed "
//alias _menu_select_slot5 "_click; _menu_none; touch_setcolor _menu_slot5 255 174 0 150; touch_show _menu_frame_icn_class5; touch_show _menu_frame_txt_data2_*; touch_show _menu_frame_txt_desc5_*; if $cscl_currentmoney >= $_menu_money_item5;:_menu_show_confirm ; alias _menu_confirmed "
//alias _menu_select_slot6 "_click; _menu_none; touch_setcolor _menu_slot6 255 174 0 150; touch_show _menu_frame_icn_class6; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc6_*; if $cscl_currentmoney >= $_menu_money_item6;:_menu_show_confirm ; alias _menu_confirmed "
//alias _menu_select_slot7 "_click; _menu_none; touch_setcolor _menu_slot7 255 174 0 150; touch_show _menu_frame_icn_class7; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc7_*; if $cscl_currentmoney >= $_menu_money_item7;:_menu_show_confirm ; alias _menu_confirmed "
//alias _menu_select_slot8 "_click; _menu_none; touch_setcolor _menu_slot8 255 174 0 150; touch_show _menu_frame_icn_class8; touch_show _menu_frame_txt_data1_*; touch_show _menu_frame_txt_desc8_*; if $cscl_currentmoney >= $_menu_money_item8;:_menu_show_confirm ; alias _menu_confirmed "
alias +menu_confirm "_click; touch_setcolor _menu_confirm 255 174 0 150"
alias -menu_confirm "touch_setcolor _menu_confirm 0 0 0 150; _menu_confirmed; wait; wait; _erase_frame"
================================================
FILE: 3rdparty/cs16client-extras/touch/buy_shotgun_t.cfg
================================================
// Coded by Alprnn357
touch_setclientonly 1
cmd_scripting 1
touch_set_stroke 1 255 174 0 150
alias _erase_frame "touch_removebutton _menu_*; _menu_off; slot10"
alias _menu_off "touch_setclientonly 0"
alias _click "play media/launch_select1.wav; vibrate 30"
touch_addbutton "_menu_bg_crn4" "gfx/vgui/round_corner_se.tga" "" 0.880000 0.924444 0.900000 0.960000 0 0 0 150 6
touch_addbutton "_menu_bg_crn2" "gfx/vgui/round_corner_ne.tga" "" 0.880000 0.035556 0.900000 0.071111 0 0 0 150 6
touch_addbutton "_menu_bg_crn1" "gfx/vgui/round_corner_nw.tga" "" 0.100000 0.035556 0.120000 0.071111 0 0 0 150 6
touch_addbutton "_menu_bg_crn3" "gfx/vgui/round_corner_sw.tga" "" 0.100000 0.924444 0.120000 0.960000 0 0 0 150 6
touch_addbutton "_menu_bg_top1" "*black" "" 0.120000 0.035556 0.880000 0.071111 0 0 0 150 6
touch_addbutton "_menu_bg_top2" "*black" "" 0.100000 0.071111 0.900000 0.160000 0 0 0 150 6
touch_addbutton "_menu_bg_bottom" "*black" "" 0.120000 0.924444 0.880000 0.960000 0 0 0 150 6
touch_addbutton "_menu_bg_body" "*black" "" 0.100000 0.165000 0.900000 0.924444 0 0 0 150 6
if $menu_bg_fill >= 1;:touch_removebutton _menu_bg_*;:touch_addbutton _menu_bg_body *black "" 0 0 1 1 0 0 0 150 6
touch_addbutton "_menu_bg_icn_logo" "gfx/vgui/cs_logo.tga" "" 0.110000 0.053333 0.160000 0.142222 255 174 0 255 6
touch_addbutton "_menu_bg_txt_logo" "#BUY SHOTGUNS (PRIMARY WEAPON)" "" 0.170000 0.071111 0.890000 0.142222 255 174 0 255 6
//touch_addbutton "_menu_txt_title" "#THE TITLE" "" 0.140000 0.177778 0.860000 0.213333 255 174 0 255 4
touch_addbutton "_menu_slot1" "*white" "_menu_select_slot1" 0.140000 0.213333 0.360000 0.266667 0 0 0 150 260
touch_addbutton "_menu_txt_slot1" "#1 LEONE 12 GAUGE SUPER" "" 0.150000 0.231111 0.360000 0.266667 255 174 0 255 4
touch_addbutton "_menu_slot2" "*white" "_menu_select_slot2" 0.140000 0.284444 0.360000 0.337778 0 0 0 150 260
touch_addbutton "_menu_txt_slot2" "#2 LEONE YG1265 AUTO SHOTGUN" "" 0.150000 0.302222 0.370000 0.337778 255 174 0 255 4
//touch_addbutton "_menu_slot3" "*white" "_menu_select_slot3" 0.140000 0.355556 0.360000 0.408889 0 0 0 150 260
//touch_addbutton "_menu_txt_slot3" "#3 SLOT" "" 0.150000 0.373333 0.360000 0.408889 255 174 0 255 4
//touch_addbutton "_menu_slot4" "*white" "_menu_select_slot4" 0.140000 0.426667 0.360000 0.480000 0 0 0 150 260
//touch_addbutton "_menu_txt_slot4" "#4 SLOT" "" 0.150000 0.444444 0.360000 0.480000 255 174 0 255 4
//touch_addbutton "_menu_slot5" "*white" "_menu_select_slot5" 0.140000 0.497778 0.360000 0.551111 0 0 0 150 260
//touch_addbutton "_menu_txt_slot5" "#5 SLOT" "" 0.150000 0.515556 0.360000 0.551111 255 174 0 255 4
//touch_addbutton "_menu_slot6" "*white" "_menu_select_slot6" 0.140000 0.568889 0.360000 0.622222 0 0 0 150 260
//touch_addbutton "_menu_txt_slot6" "#6 SLOT" "" 0.150000 0.586667 0.360000 0.622222 255 174 0 255 4
//touch_addbutton "_menu_slot7" "*white" "_menu_select_slot7" 0.140000 0.640000 0.360000 0.693333 0 0 0 150 260
//touch_addbutton "_menu_txt_slot7" "#7 SLOT" "" 0.150000 0.657778 0.360000 0.693333 255 174 0 255 4
//touch_addbutton "_menu_slot8" "*white" "_menu_select_slot8" 0.140000 0.711111 0.360000 0.764444 0 0 0 150 260
//touch_addbutton "_menu_txt_slot8" "#8 SLOT" "" 0.150000 0.728889 0.360000 0.764444 255 174 0 255 4
//touch_addbutton "_menu_slot9" "*white" "" 0.140000 0.782222 0.360000 0.835556 0 0 0 150 260
//touch_addbutton "_menu_txt_slot9" "#9 SLOT" "" 0.150000 0.800000 0.360000 0.835556 255 174 0 255 4
touch_addbutton "_menu_slot0" "*white" "+menu_slot0" 0.14 0.871111 0.36 0.924444 0 0 0 150 260
touch_addbutton "_menu_txt_slot0" "#0 CANCEL" "" 0.15 0.888889 0.36 0.924444 255 174 0 255 4
set _menu_money_item1 "1700"; if $cscl_currentmoney < $_menu_money_item1;: touch_setcolor _menu_txt_slot1 129 85 0 255
set _menu_money_item2 "3000"; if $cscl_currentmoney < $_menu_money_item2;: touch_setcolor _menu_txt_slot2 129 85 0 255
//set _menu_money_item3 ""; if $cscl_currentmoney < $_menu_money_item3;: touch_setcolor _menu_txt_slot3 129 85 0 255
//set _menu_money_item4 ""; if $cscl_currentmoney < $_menu_money_item4;: touch_setcolor _menu_txt_slot4 129 85 0 255
//set _menu_money_item5 ""; if $cscl_currentmoney < $_menu_money_item5;: touch_setcolor _menu_txt_slot5 129 85 0 255
//set _menu_money_item6 ""; if $cscl_currentmoney < $_menu_money_item6;: touch_setcolor _menu_txt_slot6 129 85 0 255
//set _menu_money_item7 ""; if $cscl_currentmoney < $_menu_money_item7;: touch_setcolor _menu_txt_slot7 129 85 0 255
//set _menu_money_item8 ""; if $cscl_currentmoney < $_menu_money_item8;: touch_setcolor _menu_txt_slot8 129 85 0 255
touch_addbutton "_menu_frame" "*white" "" 0.390000 0.213333 0.840000 0.551111 0 0 0 150 260
touch_addbutton "_menu_frame_icn_class1" "gfx/vgui/m3.tga" "" 0.430000 0.285333 0.810000 0.479111 255 255 255 255 4
touch_addbutton "_menu_frame_icn_class2" "gfx/vgui/xm1014.tga" "" 0.430000 0.285333 0.810000 0.479111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class3" "" "" 0.430000 0.285333 0.810000 0.479111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class4" "" "" 0.430000 0.285333 0.810000 0.479111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class5" "" "" 0.430000 0.285333 0.810000 0.479111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class6" "" "" 0.430000 0.285333 0.810000 0.479111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class7" "" "" 0.430000 0.285333 0.810000 0.479111 255 255 255 255 4
//touch_addbutton "_menu_frame_icn_class8" "" "" 0.430000 0.285333 0.810000 0.479111 255 255 255 255 4
touch_addbutton "_menu_confirm" "*white" "+menu_confirm" 0.62 0.871111 0.84 0.924444 0 0 0 150 260
touch_addbutton "_menu_confirm_txt" "#BUY THE ITEM" "" 0.63 0.888889 0.84 0.924444 255 174 0 255 4
touch_addbutton "_menu_frame_txt_data1_1" "#PRICE" "" 0.39 0.551111 0.56 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_2" "#COUNTRY OF ORIGIN" "" 0.39 0.586667 0.56 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_3" "#CALIBER" "" 0.39 0.622222 0.56 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_4" "#CLIP CAPACITY" "" 0.39 0.657778 0.56 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_5" "#RATE OF FIRE" "" 0.39 0.693333 0.56 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_6" "#WEIGHT (LOADED)" "" 0.39 0.728889 0.56 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_7" "#PROJECTILE WEIGHT" "" 0.39 0.764444 0.56 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_8" "#MUZZLE VELOCITY" "" 0.39 0.8 0.56 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data1_9" "#MUZZLE ENERGY" "" 0.39 0.835556 0.56 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_1" "#PRICE" "" 0.39 0.551111 0.56 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_2" "#COUNTRY OF ORIGIN" "" 0.39 0.586667 0.56 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_3" "#CALIBER" "" 0.39 0.622222 0.56 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_4" "#CLIP CAPACITY" "" 0.39 0.657778 0.56 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_5" "#RATE OF FIRE" "" 0.39 0.693333 0.56 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_6" "#WEIGHT (EMPTY)" "" 0.39 0.728889 0.56 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_7" "#PROJECTILE WEIGHT" "" 0.39 0.764444 0.56 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_8" "#MUZZLE VELOCITY" "" 0.39 0.8 0.56 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_data2_9" "#MUZZLE ENERGY" "" 0.39 0.835556 0.56 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_1" "#: \$$_menu_money_item1" "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_2" "#: ITALY" "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_3" "#: 12 GAUGE" "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_4" "#: 8 ROUNDS" "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_5" "#: N/A" "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_6" "#: 3.5KG" "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_7" "#: 3.8 GRAMS" "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_8" "#: 1250 FEET/SECOND" "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc1_9" "#: 2429 JOULES" "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_1" "#: \$$_menu_money_item2" "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_2" "#: ITALY" "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_3" "#: 12 GAUGE" "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_4" "#: 7 ROUNDS" "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_5" "#: 400 RPM" "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_6" "#: 4KG" "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_7" "#: 3.8 GRAMS/PELLET" "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_8" "#: 1250 FEET/SECOND" "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
touch_addbutton "_menu_frame_txt_desc2_9" "#: 2429 JOULES" "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc3_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc4_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc5_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc6_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc7_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_1" "#: " "" 0.56 0.551111 0.84 0.586667 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_2" "#: " "" 0.56 0.586667 0.84 0.622222 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_3" "#: " "" 0.56 0.622222 0.84 0.657778 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_4" "#: " "" 0.56 0.657778 0.84 0.693333 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_5" "#: " "" 0.56 0.693333 0.84 0.728889 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_6" "#: " "" 0.56 0.728889 0.84 0.764444 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_7" "#: " "" 0.56 0.764444 0.84 0.8 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_8" "#: " "" 0.56 0.8 0.84 0.835556 240 180 24 255 4
//touch_addbutton "_menu_frame_txt_desc8_9" "#: " "" 0.56 0.835556 0.84 0.871111 240 180 24 255 4
touch_addbutton "_menu_txt_money" "#YOU HAVE \$$cscl_currentmoney" "_menu_refresh" 0.170000 0.106667 0.890000 0.160000 255 174 0 255 4
alias _menu_refresh "exec touch/buy_shotgun_ct.cfg"
alias _menu_none "touch_setcolor _menu_slot* 0 0 0 150; touch_hide _menu_frame_icn_class*; touch_hide _menu_frame_txt_data*; touch_hide _menu_frame_txt_desc*; touch_hide _menu_confirm*"
_menu_none
//alias +menu_slot0 "touch_setcolor _menu_slot0 255 174 0 150"
//alias -menu_slot0 "touch_setcolor _menu_slot0 0 0 0 150"
//alias _menu_select_slot1 "_menu_none; touch_setcolor _m
gitextract_a343u0da/
├── .clang-format
├── .gitattributes
├── .github/
│ └── workflows/
│ └── build.yml
├── .gitignore
├── .gitmodules
├── 3rdparty/
│ └── cs16client-extras/
│ ├── gfx/
│ │ └── shell/
│ │ └── strings.lst
│ ├── maps/
│ │ ├── tr_1.bsp
│ │ ├── tr_1a.bsp
│ │ ├── tr_2.bsp
│ │ └── tr_3.bsp
│ ├── touch/
│ │ ├── bots/
│ │ │ ├── bots.cfg
│ │ │ ├── my_menu-2-addbot.cfg
│ │ │ ├── my_menu-2-settings.cfg
│ │ │ ├── my_menu-3-quota.cfg
│ │ │ ├── my_menu-3-set1.cfg
│ │ │ ├── my_menu-3-set2.cfg
│ │ │ ├── my_menu-3-set3.cfg
│ │ │ ├── my_menu-3-set4.cfg
│ │ │ ├── my_menu-3-set5.cfg
│ │ │ ├── my_menu-3-set6.cfg
│ │ │ └── right.tga
│ │ ├── buy.cfg
│ │ ├── buy_item_ct.cfg
│ │ ├── buy_item_t.cfg
│ │ ├── buy_machinegun_ct.cfg
│ │ ├── buy_machinegun_t.cfg
│ │ ├── buy_pistol_ct.cfg
│ │ ├── buy_pistol_t.cfg
│ │ ├── buy_rifle_ct.cfg
│ │ ├── buy_rifle_t.cfg
│ │ ├── buy_shotgun_ct.cfg
│ │ ├── buy_shotgun_t.cfg
│ │ ├── buy_submachinegun_ct.cfg
│ │ ├── buy_submachinegun_t.cfg
│ │ ├── chooseteam.cfg
│ │ ├── chooseteam_ct.cfg
│ │ ├── chooseteam_tr.cfg
│ │ ├── cmd/
│ │ │ ├── cmd.cfg
│ │ │ ├── my_menu-2-connection.cfg
│ │ │ ├── my_menu-2-demo.cfg
│ │ │ ├── my_menu-2-game.cfg
│ │ │ ├── my_menu-2-graphic.cfg
│ │ │ ├── my_menu-2-server.cfg
│ │ │ ├── my_menu-3-console.cfg
│ │ │ ├── my_menu-3-crosshair.cfg
│ │ │ ├── my_menu-3-cvars.cfg
│ │ │ ├── my_menu-3-fps.cfg
│ │ │ ├── my_menu-3-hud.cfg
│ │ │ ├── my_menu-3-maps.cfg
│ │ │ ├── my_menu-3-model.cfg
│ │ │ ├── my_menu-3-numerical.cfg
│ │ │ ├── my_menu-3-radar.cfg
│ │ │ ├── my_menu-3-scoreboard.cfg
│ │ │ ├── my_menu-3-texture.cfg
│ │ │ ├── my_menu-3-voice.cfg
│ │ │ ├── my_menu-4-cross-size.cfg
│ │ │ ├── my_menu-4-cvar0.cfg
│ │ │ ├── my_menu-4-cvar1.cfg
│ │ │ ├── my_menu-4-cvar2.cfg
│ │ │ ├── my_menu-4-cvar3.cfg
│ │ │ ├── my_menu-4-cvar4.cfg
│ │ │ ├── my_menu-4-cvar5.cfg
│ │ │ ├── my_menu-4-xhair.cfg
│ │ │ ├── my_menu-5-cvar0-2.cfg
│ │ │ ├── my_menu-5-cvar2-2.cfg
│ │ │ ├── my_menu-5-cvar3-2.cfg
│ │ │ ├── my_menu-5-cvar5-2.cfg
│ │ │ ├── my_menu-5-voicequality.cfg
│ │ │ ├── my_menu-5-xhair.cfg
│ │ │ └── right.tga
│ │ ├── custom/
│ │ │ ├── dm_menu.cfg
│ │ │ ├── my_menu-5-controls.cfg
│ │ │ └── my_menu-language.cfg
│ │ ├── customcmd.cfg
│ │ ├── numerical_menu.cfg
│ │ ├── numerical_menu1.cfg
│ │ ├── numerical_menu2.cfg
│ │ ├── numerical_menu3.cfg
│ │ ├── radioa.cfg
│ │ ├── radiob.cfg
│ │ ├── radioc.cfg
│ │ ├── radioselector.cfg
│ │ ├── scoreboard.cfg
│ │ ├── scoreboard_classic.cfg
│ │ ├── scoreboard_full.cfg
│ │ └── scoreboard_short.cfg
│ ├── touch.cfg
│ ├── touch_default/
│ │ └── numbers.cfg
│ ├── touch_presets/
│ │ ├── phone_ahsim.cfg
│ │ ├── phone_poverony.cfg
│ │ ├── psvita.cfg
│ │ ├── tablet_poverony.cfg
│ │ └── touch_swank.cfg
│ └── userconfig.d/
│ ├── touch_defalias.cfg
│ └── userconfig.cfg
├── CMakeLists.txt
├── CMakePresets.json
├── LICENSE
├── README.md
├── android/
│ ├── app/
│ │ ├── build.gradle
│ │ └── src/
│ │ └── main/
│ │ ├── AndroidManifest.xml
│ │ ├── java/
│ │ │ └── su/
│ │ │ └── xash/
│ │ │ └── cs16client/
│ │ │ ├── CZeroActivity.java
│ │ │ └── MainActivity.java
│ │ └── res/
│ │ ├── drawable/
│ │ │ └── ic_launcher_cz_foreground.xml
│ │ ├── mipmap-anydpi-v26/
│ │ │ ├── ic_launcher.xml
│ │ │ ├── ic_launcher_cz.xml
│ │ │ ├── ic_launcher_cz_round.xml
│ │ │ ├── ic_launcher_foreground.xml
│ │ │ ├── ic_launcher_monochrome.xml
│ │ │ └── ic_launcher_round.xml
│ │ └── values/
│ │ ├── ic_launcher_background.xml
│ │ ├── ic_launcher_cz_background.xml
│ │ └── strings.xml
│ ├── build.gradle
│ ├── gradle/
│ │ └── wrapper/
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
│ ├── gradle.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
├── cl_dll/
│ ├── CMakeLists.txt
│ ├── GameStudioModelRenderer.cpp
│ ├── GameStudioModelRenderer.h
│ ├── ScenarioStatus.cpp
│ ├── SniperScope.cpp
│ ├── StudioModelRenderer.cpp
│ ├── VGUI/
│ │ ├── CSProgressBar.cpp
│ │ ├── CSProgressBar.h
│ │ ├── CareerBox.cpp
│ │ ├── CareerBox.h
│ │ ├── WeaponSetLabel.h
│ │ ├── backgroundpanel.cpp
│ │ ├── basecareermenu.cpp
│ │ ├── buymenu.cpp
│ │ ├── buymouseoverpanelbutton.h
│ │ ├── buypreset_editmenu.cpp
│ │ ├── buypreset_listbox.cpp
│ │ ├── buypreset_listbox.h
│ │ ├── buypreset_mainmenu.cpp
│ │ ├── buypresetimageinfo.cpp
│ │ ├── buypresetpanel.cpp
│ │ ├── buysubmenu.cpp
│ │ ├── buysubmenu.h
│ │ ├── careermatchendmenu.cpp
│ │ ├── careerroundendmenu.cpp
│ │ ├── counterstrikeviewport.cpp
│ │ ├── counterstrikeviewport_interface.cpp
│ │ ├── creditsmenu.cpp
│ │ ├── cstrikeclassmenu.cpp
│ │ ├── cstrikeclassmenu.h
│ │ ├── cstrikeclientscoreboard.cpp
│ │ ├── cstrikespectatorgui.cpp
│ │ └── cstriketeammenu.cpp
│ ├── ammo.cpp
│ ├── ammo_secondary.cpp
│ ├── ammohistory.cpp
│ ├── ammohistory.h
│ ├── battery.cpp
│ ├── buy_preset.cpp
│ ├── buy_preset_debug.cpp
│ ├── buy_preset_weapon_info.cpp
│ ├── buy_presets.cpp
│ ├── buy_presets.h
│ ├── cdll_int.cpp
│ ├── cl_dll.dsp
│ ├── cl_util.h
│ ├── com_weapons.cpp
│ ├── cs_wpn/
│ │ ├── cs_baseentity.cpp
│ │ └── cs_weapons.cpp
│ ├── death.cpp
│ ├── demo.cpp
│ ├── draw_util.cpp
│ ├── entity.cpp
│ ├── ev_common.cpp
│ ├── ev_hldm.cpp
│ ├── events/
│ │ ├── ev_cs16.cpp
│ │ ├── event_ak47.cpp
│ │ ├── event_aug.cpp
│ │ ├── event_awp.cpp
│ │ ├── event_createexplo.cpp
│ │ ├── event_createsmoke.cpp
│ │ ├── event_czerods.cpp
│ │ ├── event_deagle.cpp
│ │ ├── event_decal_reset.cpp
│ │ ├── event_elite.cpp
│ │ ├── event_famas.cpp
│ │ ├── event_fiveseven.cpp
│ │ ├── event_g3sg1.cpp
│ │ ├── event_galil.cpp
│ │ ├── event_glock18.cpp
│ │ ├── event_knife.cpp
│ │ ├── event_m249.cpp
│ │ ├── event_m3.cpp
│ │ ├── event_m4a1.cpp
│ │ ├── event_mac10.cpp
│ │ ├── event_mp5n.cpp
│ │ ├── event_p228.cpp
│ │ ├── event_p90.cpp
│ │ ├── event_scout.cpp
│ │ ├── event_sg550.cpp
│ │ ├── event_sg552.cpp
│ │ ├── event_tmp.cpp
│ │ ├── event_ump45.cpp
│ │ ├── event_usp.cpp
│ │ ├── event_vehicle.cpp
│ │ └── event_xm1014.cpp
│ ├── events.cpp
│ ├── flashlight.cpp
│ ├── geiger.cpp
│ ├── health.cpp
│ ├── health.h
│ ├── hl/
│ │ ├── hl_baseentity.cpp
│ │ ├── hl_events.cpp
│ │ ├── hl_objects.cpp
│ │ └── hl_weapons.cpp
│ ├── hud/
│ │ ├── MOTD.cpp
│ │ ├── money.cpp
│ │ ├── nvg.cpp
│ │ ├── radar.cpp
│ │ ├── radio.cpp
│ │ ├── scenario.cpp
│ │ ├── scoreboard.cpp
│ │ ├── sniperscope.cpp
│ │ ├── spectator_gui.cpp
│ │ └── timer.cpp
│ ├── hud.cpp
│ ├── hud.h
│ ├── hud_msg.cpp
│ ├── hud_redraw.cpp
│ ├── hud_spectator.cpp
│ ├── hud_spectator.h
│ ├── hud_update.cpp
│ ├── hud_vgui2print.cpp
│ ├── in_camera.cpp
│ ├── include/
│ │ ├── camera.h
│ │ ├── cl_dll.h
│ │ ├── com_weapons.h
│ │ ├── csprite.h
│ │ ├── demo.h
│ │ ├── draw_util.h
│ │ ├── ev_hldm.h
│ │ ├── events.h
│ │ ├── eventscripts.h
│ │ ├── hud/
│ │ │ ├── ammo.h
│ │ │ ├── hud_iface.h
│ │ │ └── radar.h
│ │ ├── in_defs.h
│ │ ├── input.h
│ │ ├── kbutton.h
│ │ ├── math/
│ │ │ ├── neon_mathfun.h
│ │ │ └── sse_mathfun.h
│ │ ├── overview.h
│ │ ├── parsemsg.h
│ │ ├── rain.h
│ │ ├── studio/
│ │ │ ├── StudioModelRenderer.h
│ │ │ └── studio_util.h
│ │ ├── tf_defs.h
│ │ ├── unicode_strtools.h
│ │ ├── vgui_parser.h
│ │ ├── view.h
│ │ └── wrect.h
│ ├── input/
│ │ ├── input_sdl.cpp
│ │ └── input_xash3d.cpp
│ ├── input.cpp
│ ├── inputw32.cpp
│ ├── interpolation.cpp
│ ├── menu.cpp
│ ├── message.cpp
│ ├── nightvision.cpp
│ ├── rain.cpp
│ ├── readme.txt
│ ├── saytext.cpp
│ ├── status_icons.cpp
│ ├── statusbar.cpp
│ ├── studio_util.cpp
│ ├── text_message.cpp
│ ├── train.cpp
│ ├── tri.cpp
│ ├── tri.h
│ ├── unicode_strtools.cpp
│ ├── util.cpp
│ ├── util_vector.h
│ ├── vgui_parser.cpp
│ ├── view.cpp
│ ├── z_weather.cpp
│ └── z_weather.h
├── cmake/
│ └── LibraryNaming.cmake
├── common/
│ ├── beamdef.h
│ ├── cl_entity.h
│ ├── com_model.h
│ ├── con_nprint.h
│ ├── const.h
│ ├── crc.h
│ ├── cvardef.h
│ ├── demo_api.h
│ ├── director_cmds.h
│ ├── dlight.h
│ ├── dll_state.h
│ ├── engine_launcher_api.h
│ ├── entity_state.h
│ ├── entity_types.h
│ ├── enums.h
│ ├── event_api.h
│ ├── event_args.h
│ ├── event_flags.h
│ ├── exefuncs.h
│ ├── gameinfo.h
│ ├── hltv.h
│ ├── in_buttons.h
│ ├── interface.cpp
│ ├── interface.h
│ ├── ivoicetweak.h
│ ├── kbutton.h
│ ├── lightstyle.h
│ ├── mathlib.h
│ ├── net_api.h
│ ├── netadr.h
│ ├── nowin.h
│ ├── particledef.h
│ ├── pmtrace.h
│ ├── port.h
│ ├── qfont.h
│ ├── r_efx.h
│ ├── r_studioint.h
│ ├── ref_params.h
│ ├── render_api.h
│ ├── screenfade.h
│ ├── studio_event.h
│ ├── triangleapi.h
│ ├── usercmd.h
│ ├── weaponinfo.h
│ ├── wrect.h
│ └── xash3d_types.h
├── dlls/
│ ├── activity.h
│ ├── basemonster.h
│ ├── cbase.h
│ ├── cdll_dll.h
│ ├── effects.h
│ ├── enginecallback.h
│ ├── exportdef.h
│ ├── extdll.h
│ ├── gamerules.h
│ ├── monsterevent.h
│ ├── monsters.h
│ ├── nodes.h
│ ├── player.h
│ ├── saverestore.h
│ ├── schedule.h
│ ├── skill.h
│ ├── soundent.h
│ ├── stdafx.h
│ ├── util.h
│ ├── vector.h
│ ├── weapons.h
│ ├── weapontype.h
│ ├── wpn_shared/
│ │ ├── wpn_ak47.cpp
│ │ ├── wpn_aug.cpp
│ │ ├── wpn_awp.cpp
│ │ ├── wpn_c4.cpp
│ │ ├── wpn_deagle.cpp
│ │ ├── wpn_elite.cpp
│ │ ├── wpn_famas.cpp
│ │ ├── wpn_fiveseven.cpp
│ │ ├── wpn_flashbang.cpp
│ │ ├── wpn_g3sg1.cpp
│ │ ├── wpn_galil.cpp
│ │ ├── wpn_glock18.cpp
│ │ ├── wpn_hegrenade.cpp
│ │ ├── wpn_knife.cpp
│ │ ├── wpn_m249.cpp
│ │ ├── wpn_m3.cpp
│ │ ├── wpn_m4a1.cpp
│ │ ├── wpn_mac10.cpp
│ │ ├── wpn_mp5navy.cpp
│ │ ├── wpn_p228.cpp
│ │ ├── wpn_p90.cpp
│ │ ├── wpn_scout.cpp
│ │ ├── wpn_sg550.cpp
│ │ ├── wpn_sg552.cpp
│ │ ├── wpn_smokegrenade.cpp
│ │ ├── wpn_tmp.cpp
│ │ ├── wpn_ump45.cpp
│ │ ├── wpn_usp.cpp
│ │ └── wpn_xm1014.cpp
│ └── wpn_shared.h
├── engine/
│ ├── APIProxy.h
│ ├── Sequence.h
│ ├── anorms.h
│ ├── archtypes.h
│ ├── cdll_int.h
│ ├── custom.h
│ ├── customentity.h
│ ├── edict.h
│ ├── eiface.h
│ ├── keydefs.h
│ ├── menu_int.h
│ ├── mobility_int.h
│ ├── progdefs.h
│ ├── progs.h
│ ├── shake.h
│ └── studio.h
├── game_shared/
│ ├── bitvec.h
│ ├── voice_banmgr.cpp
│ ├── voice_banmgr.h
│ ├── voice_common.h
│ ├── voice_gamemgr.cpp
│ ├── voice_gamemgr.h
│ ├── voice_status.cpp
│ ├── voice_status.h
│ ├── voice_status_hud.cpp
│ └── voice_status_hud.h
├── pm_shared/
│ ├── pm_debug.cpp
│ ├── pm_debug.h
│ ├── pm_defs.h
│ ├── pm_info.h
│ ├── pm_materials.h
│ ├── pm_math.cpp
│ ├── pm_math.h
│ ├── pm_movevars.h
│ ├── pm_shared.cpp
│ └── pm_shared.h
├── public/
│ ├── build.h
│ ├── cl_dll/
│ │ └── IGameClientExports.h
│ ├── steam/
│ │ └── steamtypes.h
│ ├── utflib.cpp
│ └── utflib.h
├── scripts/
│ ├── pack_extras.py
│ ├── psvita_generate_configs.sh
│ ├── psvita_sdk.sh
│ └── yapb_graph_dl.py
└── toolchains/
└── i386-linux-gnu.cmake
SYMBOL INDEX (1535 symbols across 215 files)
FILE: android/app/src/main/java/su/xash/cs16client/CZeroActivity.java
class CZeroActivity (line 10) | public class CZeroActivity extends Activity {
method onCreate (line 11) | @Override
FILE: android/app/src/main/java/su/xash/cs16client/MainActivity.java
class MainActivity (line 10) | public class MainActivity extends Activity {
method onCreate (line 11) | @Override
FILE: cl_dll/GameStudioModelRenderer.cpp
function CounterStrike_GetSequence (line 59) | void CounterStrike_GetSequence(int *seq, int *gaitseq)
function CounterStrike_GetOrientation (line 65) | void CounterStrike_GetOrientation(float *o, float *a)
function mstudioanim_t (line 85) | mstudioanim_t *CGameStudioModelRenderer::LookupAnimation(mstudioseqdesc_...
function GetSequenceInfo (line 576) | void GetSequenceInfo(void *pmodel, client_anim_state_t *pev, float *pflF...
function GetSequenceFlags (line 608) | int GetSequenceFlags(void *pmodel, client_anim_state_t *pev)
function StudioFrameAdvance (line 622) | float StudioFrameAdvance(client_anim_state_t *st, float framerate, float...
function WeaponHasAttachments (line 805) | bool WeaponHasAttachments(entity_state_t *pplayer)
function R_StudioInit (line 1083) | void R_StudioInit(void)
function R_StudioDrawPlayer (line 1088) | int R_StudioDrawPlayer(int flags, entity_state_t *pplayer)
function R_StudioDrawModel (line 1159) | int R_StudioDrawModel(int flags)
function HUD_GetStudioModelInterface (line 1177) | int DLLEXPORT HUD_GetStudioModelInterface( int version, struct r_studio_...
FILE: cl_dll/GameStudioModelRenderer.h
type BoneIndex (line 27) | enum BoneIndex
type client_anim_state_t (line 37) | struct client_anim_state_t
function class (line 59) | class CGameStudioModelRenderer : public CStudioModelRenderer
FILE: cl_dll/StudioModelRenderer.cpp
type pmtrace_s (line 47) | struct pmtrace_s
function mstudioanim_t (line 319) | mstudioanim_t *CStudioModelRenderer::StudioGetAnim(model_t *pSubModel, m...
FILE: cl_dll/ammo.cpp
function WEAPON (line 205) | WEAPON *WeaponsResource :: GetFirstPos( int iSlot )
function WEAPON (line 222) | WEAPON* WeaponsResource :: GetNextActivePos( int iSlot, int iSlotPos )
function HSPRITE (line 414) | HSPRITE* WeaponsResource :: GetAmmoPicFromWeapon( int iAmmoId, wrect_t& ...
function DrawBar (line 1826) | int DrawBar(int x, int y, int width, int height, float f)
function DrawAmmoBar (line 1854) | void DrawAmmoBar(WEAPON *p, int x, int y, int width, int height)
function client_sprite_t (line 2060) | client_sprite_t *GetSpriteList(client_sprite_t *pList, const char *psz, ...
FILE: cl_dll/ammohistory.cpp
type ITEM_INFO (line 40) | struct ITEM_INFO
FILE: cl_dll/ammohistory.h
function class (line 22) | class WeaponsResource
function class (line 112) | class HistoryResource
FILE: cl_dll/cdll_int.cpp
function Initialize (line 53) | int DLLEXPORT Initialize( cl_enginefunc_t *pEnginefuncs, int iVersion )
function HUD_Shutdown (line 74) | void DLLEXPORT HUD_Shutdown( void )
function HUD_GetHullBounds (line 89) | int DLLEXPORT HUD_GetHullBounds( int hullnumber, float *mins, float *maxs )
function HUD_ConnectionlessPacket (line 123) | int DLLEXPORT HUD_ConnectionlessPacket( const struct netadr_s *net_from,...
function HUD_PlayerMoveInit (line 137) | void DLLEXPORT HUD_PlayerMoveInit( struct playermove_s *ppmove )
function HUD_PlayerMoveTexture (line 142) | char DLLEXPORT HUD_PlayerMoveTexture( char *name )
function HUD_PlayerMove (line 147) | void DLLEXPORT HUD_PlayerMove( struct playermove_s *ppmove, int server )
function HUD_VidInit (line 185) | int DLLEXPORT HUD_VidInit( void )
function HUD_Init (line 206) | void DLLEXPORT HUD_Init( void )
function HUD_Redraw (line 223) | int DLLEXPORT HUD_Redraw( float time, int intermission )
function HUD_UpdateClientData (line 244) | int DLLEXPORT HUD_UpdateClientData(client_data_t *pcldata, float flTime )
function HUD_Reset (line 259) | void DLLEXPORT HUD_Reset( void )
function HUD_Frame (line 272) | void DLLEXPORT HUD_Frame( double time )
function HUD_VoiceStatus (line 290) | void DLLEXPORT HUD_VoiceStatus(int entindex, qboolean bTalking)
function HUD_DirectorMessage (line 319) | void DLLEXPORT HUD_DirectorMessage( int iSize, void *pbuf )
function HUD_GetRenderInterface (line 332) | int DLLEXPORT HUD_GetRenderInterface( int version, render_api_t *renderf...
function HUD_MobilityInterface (line 356) | int DLLEXPORT HUD_MobilityInterface( mobile_engfuncs_t *mobileapi )
function HUD_ChatInputPosition (line 412) | void DLLEXPORT HUD_ChatInputPosition( int *x, int *y )
function HUD_GetPlayerTeam (line 416) | int DLLEXPORT HUD_GetPlayerTeam(int iplayer)
function F (line 428) | void DLLEXPORT F(void *pv)
class CClientExports (line 490) | class CClientExports : public IGameClientExports
method IsPlayerGameVoiceMuted (line 500) | virtual bool IsPlayerGameVoiceMuted( int playerIndex )
method MutePlayerGameVoice (line 508) | virtual void MutePlayerGameVoice( int playerIndex )
method UnmutePlayerGameVoice (line 516) | virtual void UnmutePlayerGameVoice( int playerIndex )
FILE: cl_dll/cl_util.h
function CVAR_GET_FLOAT (line 42) | inline float CVAR_GET_FLOAT( const char *x ) { return gEngfuncs.pfnGetCv...
type cvar_s (line 44) | struct cvar_s
function client_textmessage_t (line 104) | inline client_textmessage_t *TextMessageGet( const char *pName )
function ConsolePrint (line 109) | inline void ConsolePrint( const char *string )
function CenterPrint (line 114) | inline void CenterPrint( const char *string )
function PlaySound (line 123) | inline void PlaySound( const char *szSound, float vol ) { gEngfuncs.pfnP...
function PlaySound (line 124) | inline void PlaySound( int iSound, float vol ) { gEngfuncs.pfnPlaySoundB...
function VectorClear (line 135) | inline void VectorClear(float *a) { a[0]=0.0;a[1]=0.0;a[2]=0.0;}
function HSPRITE (line 153) | inline HSPRITE LoadSprite(const char *pszName)
function GetTeamColor (line 163) | inline void GetTeamColor( int &r, int &g, int &b, int teamIndex )
FILE: cl_dll/com_weapons.cpp
type local_state_s (line 35) | struct local_state_s
function COM_Log (line 44) | void COM_Log( char *pszFile, char *fmt, ...)
function HUD_SendWeaponAnim (line 84) | void HUD_SendWeaponAnim( int iAnim, int iWeaponId, int iBody, int iForce )
function HUD_GetWeaponAnim (line 103) | int HUD_GetWeaponAnim( void )
function HUD_GetWeapon (line 115) | int HUD_GetWeapon( void )
function HUD_PlaySound (line 127) | void HUD_PlaySound( char *sound, float volume )
function HUD_PlaybackEvent (line 142) | void HUD_PlaybackEvent( int flags, const edict_t *pInvoker, unsigned sho...
function U_Random (line 199) | unsigned int U_Random( void )
function U_Srand (line 207) | void U_Srand( unsigned int seed )
function UTIL_SharedRandomLong (line 217) | int UTIL_SharedRandomLong( unsigned int seed, int low, int high )
function UTIL_SharedRandomFloat (line 246) | float UTIL_SharedRandomFloat( unsigned int seed, float low, float high )
FILE: cl_dll/cs_wpn/cs_weapons.cpp
function AlertMessage (line 126) | void AlertMessage( ALERT_TYPE atype, const char *szFmt, ... )
function edict_t (line 147) | edict_t *EHANDLE::Get(void)
function edict_t (line 158) | edict_t *EHANDLE::Set(edict_t *pent)
function CBaseEntity (line 173) | CBaseEntity *EHANDLE::operator = (CBaseEntity *pEntity)
function CBaseEntity (line 196) | CBaseEntity *EHANDLE::operator ->(void)
function HUD_PrepEntity (line 201) | void HUD_PrepEntity( CBaseEntity *pEntity )
function HUD_PrepEntity (line 211) | void HUD_PrepEntity( CBasePlayerWeapon *pEntity, CBasePlayer *pWeaponOwn...
function BOOL (line 244) | BOOL CBasePlayerWeapon :: DefaultReload( int iClipSize, int iAnim, float...
function BOOL (line 273) | BOOL CBasePlayerWeapon :: CanDeploy( void )
function BOOL (line 429) | BOOL CBasePlayerWeapon :: DefaultDeploy( const char *szViewModel, const ...
function BOOL (line 449) | BOOL CBasePlayerWeapon :: PlayEmptySound( void )
function Vector (line 518) | Vector CBaseEntity::FireBullets3 ( Vector vecSrc, Vector vecDirShooting,...
function Vector (line 740) | Vector CBasePlayer::GetGunPosition()
function UTIL_TraceLine (line 757) | void UTIL_TraceLine( const Vector &vecStart, const Vector &vecEnd, IGNOR...
function UTIL_TextureHit (line 782) | char UTIL_TextureHit(TraceResult *ptr, Vector vecSrc, Vector vecEnd)
function CBasePlayer (line 824) | CBasePlayer *UTIL_PlayerByIndex(int playerIndex)
function UTIL_MakeVectors (line 849) | void UTIL_MakeVectors( const Vector &vec )
function HUD_InitClientWeapons (line 861) | void HUD_InitClientWeapons( void )
function GetWeaponAccuracyFlags (line 926) | int GetWeaponAccuracyFlags( int weaponid )
function HUD_WeaponsPostThink (line 1006) | void HUD_WeaponsPostThink( local_state_s *from, local_state_s *to, userc...
function HUD_PostRunCmd (line 1468) | void DLLEXPORT HUD_PostRunCmd( local_state_t *from, local_state_t *to, s...
FILE: cl_dll/death.cpp
type DeathNoticeItem (line 28) | struct DeathNoticeItem {
FILE: cl_dll/demo.cpp
function Demo_WriteBuffer (line 36) | void Demo_WriteBuffer( int type, int size, unsigned char *buffer )
function Demo_ReadBuffer (line 56) | void DLLEXPORT Demo_ReadBuffer( int size, unsigned char *buffer )
FILE: cl_dll/draw_util.cpp
function Con_UtfProcessCharForce (line 70) | int Con_UtfProcessCharForce( int in )
function Con_UtfProcessChar (line 85) | int Con_UtfProcessChar( int in )
type CharEntry (line 157) | struct CharEntry {
FILE: cl_dll/entity.cpp
function HUD_AddEntity (line 38) | int DLLEXPORT HUD_AddEntity( int type, struct cl_entity_s *ent, const ch...
function HUD_TxferLocalOverrides (line 83) | void DLLEXPORT HUD_TxferLocalOverrides( struct entity_state_s *state, co...
function HUD_ProcessPlayerState (line 106) | void DLLEXPORT HUD_ProcessPlayerState( struct entity_state_s *dst, const...
function HUD_TxferPredictionData (line 176) | void DLLEXPORT HUD_TxferPredictionData ( struct entity_state_s *ps, cons...
function HUD_CreateEntities (line 225) | void DLLEXPORT HUD_CreateEntities( void )
function CL_MuzzleFlash (line 241) | void CL_MuzzleFlash( cl_entity_t *entity, vec3_t pos, int type )
function HUD_StudioEvent (line 338) | void DLLEXPORT HUD_StudioEvent( const struct mstudioevent_s *event, stru...
function HUD_TempEntUpdate (line 386) | void DLLEXPORT HUD_TempEntUpdate (
function cl_entity_t (line 791) | cl_entity_t DLLEXPORT *HUD_GetUserEntity( int index )
FILE: cl_dll/ev_common.cpp
function Game_HookEvents (line 44) | void Game_HookEvents( void )
function EV_GetGunPosition (line 104) | void EV_GetGunPosition( event_args_t *args, Vector &pos, const Vector &o...
function EV_GetDefaultShellInfo (line 139) | void EV_GetDefaultShellInfo( event_args_t *args, float *origin, float *v...
FILE: cl_dll/ev_hldm.cpp
type event_args_s (line 53) | struct event_args_s
type event_args_s (line 54) | struct event_args_s
type event_args_s (line 55) | struct event_args_s
type event_args_s (line 56) | struct event_args_s
type event_args_s (line 57) | struct event_args_s
type event_args_s (line 58) | struct event_args_s
type event_args_s (line 59) | struct event_args_s
type event_args_s (line 60) | struct event_args_s
type event_args_s (line 61) | struct event_args_s
type event_args_s (line 62) | struct event_args_s
type event_args_s (line 63) | struct event_args_s
type event_args_s (line 64) | struct event_args_s
type event_args_s (line 65) | struct event_args_s
type event_args_s (line 66) | struct event_args_s
type event_args_s (line 67) | struct event_args_s
type event_args_s (line 68) | struct event_args_s
type event_args_s (line 69) | struct event_args_s
type event_args_s (line 70) | struct event_args_s
type event_args_s (line 71) | struct event_args_s
type event_args_s (line 73) | struct event_args_s
function EV_HLDM_PlayTextureSound (line 92) | float EV_HLDM_PlayTextureSound( int idx, pmtrace_t *ptr, float *vecSrc, ...
function EV_HLDM_GunshotDecalTrace (line 244) | void EV_HLDM_GunshotDecalTrace( pmtrace_t *pTrace, char *decalName )
function EV_HLDM_DecalGunshot (line 278) | void EV_HLDM_DecalGunshot( pmtrace_t *pTrace, int iBulletType )
function EV_HLDM_CheckTracer (line 302) | int EV_HLDM_CheckTracer( int idx, float *vecSrc, float *end, float *forw...
function EV_HLDM_FireBullets (line 353) | void EV_HLDM_FireBullets( int idx, float *forward, float *right, float *...
function EV_FireGlock1 (line 445) | void EV_FireGlock1( event_args_t *args )
function EV_FireGlock2 (line 490) | void EV_FireGlock2( event_args_t *args )
function EV_FireShotGunDouble (line 542) | void EV_FireShotGunDouble( event_args_t *args )
function EV_FireShotGunSingle (line 597) | void EV_FireShotGunSingle( event_args_t *args )
function EV_FireMP5 (line 655) | void EV_FireMP5( event_args_t *args )
function EV_FireMP52 (line 716) | void EV_FireMP52( event_args_t *args )
function EV_FirePython (line 748) | void EV_FirePython( event_args_t *args )
function EV_SpinGauss (line 804) | void EV_SpinGauss( event_args_t *args )
function EV_StopPreviousGauss (line 832) | void EV_StopPreviousGauss( int idx )
function EV_FireGauss (line 841) | void EV_FireGauss( event_args_t *args )
type crowbar_e (line 1121) | enum crowbar_e {
function EV_Crowbar (line 1137) | void EV_Crowbar( event_args_t *args )
type crossbow_e (line 1172) | enum crossbow_e {
function EV_BoltCallback (line 1192) | void EV_BoltCallback ( struct tempent_s *ent, float frametime, float cur...
function EV_FireCrossbow2 (line 1198) | void EV_FireCrossbow2( event_args_t *args )
function EV_FireCrossbow (line 1286) | void EV_FireCrossbow( event_args_t *args )
type rpg_e (line 1315) | enum rpg_e {
function EV_FireRpg (line 1328) | void EV_FireRpg( event_args_t *args )
type egon_e (line 1354) | enum egon_e {
type EGON_FIRESTATE (line 1371) | enum EGON_FIRESTATE { FIRE_OFF, FIRE_CHARGE }
type EGON_FIREMODE (line 1372) | enum EGON_FIREMODE { FIRE_NARROW, FIRE_WIDE}
function EV_EgonFire (line 1386) | void EV_EgonFire( event_args_t *args )
function EV_EgonStop (line 1470) | void EV_EgonStop( event_args_t *args )
type hgun_e (line 1506) | enum hgun_e {
function EV_HornetGunFire (line 1515) | void EV_HornetGunFire( event_args_t *args )
type tripmine_e (line 1546) | enum tripmine_e {
function EV_TripmineFire (line 1560) | void EV_TripmineFire( event_args_t *args )
type squeak_e (line 1601) | enum squeak_e {
function EV_SnarkFire (line 1613) | void EV_SnarkFire( event_args_t *args )
function EV_TrainPitchAdjust (line 1649) | void EV_TrainPitchAdjust( event_args_t *args )
function EV_TFC_IsAllyTeam (line 1697) | int EV_TFC_IsAllyTeam( int iTeam1, int iTeam2 )
function EV_Dummy (line 1702) | void EV_Dummy( struct event_args_s *args )
FILE: cl_dll/events/ev_cs16.cpp
function EV_HLDM_PlayTextureSound (line 47) | char EV_HLDM_PlayTextureSound( int idx, pmtrace_t *ptr, const Vector &ve...
function EV_HLDM_GunshotDecalTrace (line 242) | void EV_HLDM_GunshotDecalTrace( pmtrace_t *pTrace, char *decalName, char...
function EV_WallPuff_Wind (line 293) | void EV_WallPuff_Wind( struct tempent_s *te, float frametime, float curr...
function EV_SmokeRise (line 335) | void EV_SmokeRise( struct tempent_s *te, float frametime, float currentt...
function EV_HugWalls (line 347) | void EV_HugWalls(TEMPENTITY *te, pmtrace_s *ptr)
function TEMPENTITY (line 407) | TEMPENTITY *EV_CS16Client_CreateSmoke( ESmoke type, Vector origin, Vecto...
function EV_HLDM_DecalGunshot (line 453) | void EV_HLDM_DecalGunshot(pmtrace_t *pTrace, int iBulletType, float scal...
function EV_DescribeBulletTypeParameters (line 494) | void EV_DescribeBulletTypeParameters(int iBulletType, int &iPenetrationP...
function EV_HLDM_FireBullets (line 572) | void EV_HLDM_FireBullets(int idx,
function EV_CS16Client_KillEveryRound (line 706) | void EV_CS16Client_KillEveryRound( TEMPENTITY *te, float frametime, floa...
function RemoveBody (line 718) | void RemoveBody( TEMPENTITY *te, float frametime, float current_time )
function HitBody (line 724) | void HitBody( TEMPENTITY *ent, pmtrace_s *ptr )
function CreateCorpse (line 732) | void CreateCorpse(Vector vOrigin, Vector vAngles, const char *pModel, fl...
FILE: cl_dll/events/event_ak47.cpp
function EV_FireAK47 (line 37) | void EV_FireAK47( event_args_t *args )
FILE: cl_dll/events/event_aug.cpp
function EV_FireAUG (line 33) | void EV_FireAUG( struct event_args_s *args )
FILE: cl_dll/events/event_awp.cpp
function EV_FireAWP (line 34) | void EV_FireAWP( event_args_t *args )
FILE: cl_dll/events/event_createexplo.cpp
function EV_CreateExplo (line 31) | void EV_CreateExplo(event_args_s *args)
FILE: cl_dll/events/event_createsmoke.cpp
function EV_CreateSmoke (line 34) | void EV_CreateSmoke(event_args_s *args)
FILE: cl_dll/events/event_czerods.cpp
function EV_FireM60 (line 32) | void EV_FireM60( event_args_t *args )
function EV_FireCamera (line 86) | void EV_FireCamera( event_args_t *args )
function EV_FireFiberOpticCamera (line 96) | void EV_FireFiberOpticCamera( event_args_t *args )
function EV_FireShieldGun (line 100) | void EV_FireShieldGun( event_args_t *args )
function EV_HolsterBlowtorch (line 106) | void EV_HolsterBlowtorch( event_args_t *args )
function EV_IdleBlowtorch (line 110) | void EV_IdleBlowtorch( event_args_t *args )
function EV_FireBlowtorch (line 115) | void EV_FireBlowtorch( event_args_t *args )
function EV_FireLaws (line 145) | void EV_FireLaws( event_args_t *args )
function EV_FireBriefcase (line 149) | void EV_FireBriefcase( event_args_t *args )
function EV_FireMedkit (line 159) | void EV_FireMedkit( event_args_t *args )
function EV_FireSyringe (line 170) | void EV_FireSyringe( event_args_t *args )
function EV_FireRadio (line 181) | void EV_FireRadio( event_args_t *args )
function EV_FireZipline (line 191) | void EV_FireZipline( event_args_t *args )
function EV_CreateGlass (line 196) | void EV_CreateGlass( event_args_t *args )
function EV_GrenadeExplosion (line 200) | void EV_GrenadeExplosion( event_args_t *args )
FILE: cl_dll/events/event_deagle.cpp
function EV_FireDEAGLE (line 38) | void EV_FireDEAGLE( event_args_t *args )
FILE: cl_dll/events/event_decal_reset.cpp
function EV_DecalReset (line 36) | void EV_DecalReset(event_args_s *args)
FILE: cl_dll/events/event_elite.cpp
function EV_FireElite (line 36) | void EV_FireElite( event_args_s *args, bool isRight )
function EV_FireEliteLeft (line 108) | void EV_FireEliteLeft(event_args_s *args)
function EV_FireEliteRight (line 113) | void EV_FireEliteRight( event_args_s *args )
FILE: cl_dll/events/event_famas.cpp
function EV_FireFAMAS (line 37) | void EV_FireFAMAS( event_args_t *args )
FILE: cl_dll/events/event_fiveseven.cpp
function EV_Fire57 (line 35) | void EV_Fire57(event_args_t *args)
FILE: cl_dll/events/event_g3sg1.cpp
function EV_FireG3SG1 (line 34) | void EV_FireG3SG1(event_args_s *args)
FILE: cl_dll/events/event_galil.cpp
function EV_FireGALIL (line 38) | void EV_FireGALIL( event_args_t *args )
FILE: cl_dll/events/event_glock18.cpp
function EV_Fireglock18 (line 38) | void EV_Fireglock18( event_args_t *args )
FILE: cl_dll/events/event_knife.cpp
function EV_Knife (line 34) | void EV_Knife( struct event_args_s *args )
FILE: cl_dll/events/event_m249.cpp
function EV_FireM249 (line 37) | void EV_FireM249(event_args_s *args)
FILE: cl_dll/events/event_m3.cpp
function EV_FireM3 (line 33) | void EV_FireM3( event_args_t *args )
FILE: cl_dll/events/event_m4a1.cpp
function EV_FireM4A1 (line 40) | void EV_FireM4A1( event_args_t *args )
FILE: cl_dll/events/event_mac10.cpp
function EV_FireMAC10 (line 34) | void EV_FireMAC10(event_args_s *args)
FILE: cl_dll/events/event_mp5n.cpp
function EV_FireMP5 (line 38) | void EV_FireMP5( event_args_t *args )
FILE: cl_dll/events/event_p228.cpp
function EV_FireP228 (line 34) | void EV_FireP228(event_args_s *args)
FILE: cl_dll/events/event_p90.cpp
function EV_FireP90 (line 34) | void EV_FireP90(event_args_s *args)
FILE: cl_dll/events/event_scout.cpp
type scout_e (line 30) | enum scout_e
function EV_FireScout (line 41) | void EV_FireScout(event_args_s *args)
FILE: cl_dll/events/event_sg550.cpp
function EV_FireSG550 (line 34) | void EV_FireSG550(event_args_s *args)
FILE: cl_dll/events/event_sg552.cpp
function EV_FireSG552 (line 37) | void EV_FireSG552( event_args_t *args )
FILE: cl_dll/events/event_tmp.cpp
function EV_FireTMP (line 37) | void EV_FireTMP(event_args_s *args)
FILE: cl_dll/events/event_ump45.cpp
function EV_FireUMP45 (line 34) | void EV_FireUMP45(event_args_s *args)
FILE: cl_dll/events/event_usp.cpp
function EV_FireUSP (line 37) | void EV_FireUSP( event_args_t *args )
FILE: cl_dll/events/event_vehicle.cpp
function EV_Vehicle (line 53) | void EV_Vehicle(event_args_s *args)
function EV_TrainPitchAdjust (line 78) | void EV_TrainPitchAdjust( event_args_t *args )
FILE: cl_dll/events/event_xm1014.cpp
function EV_FireXM1014 (line 34) | void EV_FireXM1014(event_args_s *args)
FILE: cl_dll/health.cpp
function CL_IsDead (line 520) | bool CL_IsDead()
FILE: cl_dll/health.h
type DAMAGE_IMAGE (line 92) | struct DAMAGE_IMAGE
function class (line 102) | class CHudHealth: public CHudBase
FILE: cl_dll/hud.cpp
class CCStrikeVoiceStatusHelper (line 59) | class CCStrikeVoiceStatusHelper : public IVoiceStatusHelper
method GetPlayerTextColor (line 62) | virtual void GetPlayerTextColor( int entindex, int color[3] )
method UpdateCursorState (line 83) | virtual void UpdateCursorState()
method GetAckIconHeight (line 88) | virtual int GetAckIconHeight()
method CanShowSpeakerLabels (line 93) | virtual bool CanShowSpeakerLabels()
function __CmdFunc_InputCommandSpecial (line 128) | void __CmdFunc_InputCommandSpecial()
function __CmdFunc_GunSmoke (line 135) | void __CmdFunc_GunSmoke()
function COM_FileBase (line 149) | void COM_FileBase ( const char *in, char *out)
function HUD_IsGame (line 191) | int HUD_IsGame( const char *game )
function __MsgFunc_ADStop (line 249) | int __MsgFunc_ADStop( const char *name, int size, void *buf ) { return 1; }
function __MsgFunc_ItemStatus (line 250) | int __MsgFunc_ItemStatus( const char *name, int size, void *buf ) { retu...
function __MsgFunc_ForceCam (line 252) | int __MsgFunc_ForceCam( const char *name, int size, void *buf ) { return...
function __MsgFunc_Spectator (line 253) | int __MsgFunc_Spectator( const char *name, int size, void *buf ) { retur...
function __CmdFunc_MouseSucksOpen (line 257) | void __CmdFunc_MouseSucksOpen( void ) { evdev_open = true; }
function __CmdFunc_MouseSucksClose (line 258) | void __CmdFunc_MouseSucksClose( void ) { evdev_open = false; }
function HUD_GetFOV (line 591) | float HUD_GetFOV( void )
FILE: cl_dll/hud.h
function class (line 46) | class RGBA
function BIsValidTModelIndex (line 71) | inline bool BIsValidTModelIndex( int i )
function BIsValidCTModelIndex (line 79) | inline bool BIsValidCTModelIndex( int i )
type FogParameters (line 100) | struct FogParameters {
function class (line 111) | class CHudBase
type HUDLIST (line 126) | struct HUDLIST {
function class (line 143) | class CHudAmmo: public CHudBase
function class (line 257) | class CHudAmmoSecondary: public CHudBase
function class (line 288) | class CHudGeiger: public CHudBase
function class (line 304) | class CHudTrain: public CHudBase
function class (line 324) | class CHudMOTD : public CHudBase
function class (line 349) | class CHudScoreboard: public CHudBase
FILE: cl_dll/hud/radar.cpp
function Radar_InitBitmap (line 112) | static void Radar_InitBitmap( int w, int h, byte *buf )
function Vector (line 484) | Vector CHudRadar::WorldToRadar(const Vector vPlayerOrigin, const Vector ...
FILE: cl_dll/hud/radio.cpp
function Broadcast (line 47) | void Broadcast( const char *msg, int pitch )
function VoiceIconCallback (line 91) | static void VoiceIconCallback(struct tempent_s *ent, float frametime, fl...
FILE: cl_dll/hud/scoreboard.cpp
type Column (line 61) | struct Column
method Column (line 66) | Column() :
method Column (line 69) | Column( int s, const char *n = nullptr, bool reverse = true )
FILE: cl_dll/hud/sniperscope.cpp
function DrawTexture (line 74) | inline void DrawTexture( int tex, float x1, float y1, float x2, float y2 )
FILE: cl_dll/hud/spectator_gui.cpp
function DrawButtonWithText (line 120) | inline void DrawButtonWithText( int x1, int y1, int wide, int tall, cons...
function DrawIconOnButton (line 134) | static void DrawIconOnButton( int x1, int y1, int wide, int tall, int hT...
FILE: cl_dll/hud_spectator.cpp
function SpectatorMode (line 48) | void SpectatorMode(void)
function SpectatorSpray (line 63) | void SpectatorSpray(void)
function SpectatorHelp (line 83) | void SpectatorHelp(void)
function SpectatorMenu (line 95) | void SpectatorMenu( void )
function SpecDrawNames (line 111) | void SpecDrawNames( void )
function SpecDrawCone (line 126) | void SpecDrawCone( void )
function SpecDrawStatus (line 141) | void SpecDrawStatus( void )
function SpecAutoDirector (line 157) | void SpecAutoDirector( void )
function SpecPip (line 174) | void SpecPip( void )
function HudSayText (line 210) | void HudSayText( void )
function UTIL_StringToVector (line 278) | void UTIL_StringToVector( float * pVector, const char *pString )
function UTIL_FindEntityInMap (line 306) | int UTIL_FindEntityInMap( const char * name, float * origin, float * angle)
function MakeSkyVec (line 1208) | void MakeSkyVec( float s, float t, int axis )
type model_s (line 1249) | struct model_s
type model_s (line 1391) | struct model_s
type model_s (line 1418) | struct model_s
type model_s (line 1470) | struct model_s
type model_s (line 1554) | struct model_s
type cl_entity_s (line 1634) | struct cl_entity_s
FILE: cl_dll/hud_spectator.h
type overviewInfo_t (line 33) | typedef struct overviewInfo_s {
type overviewEntity_t (line 48) | typedef struct overviewEntity_s {
function class (line 57) | class CHudSpectator : public CHudBase
FILE: cl_dll/in_camera.cpp
type ECAM_Command (line 37) | enum ECAM_Command
function MoveToward (line 86) | float MoveToward( float cur, float goal, float maxspeed )
type moveclip_t (line 127) | struct moveclip_t
function CAM_Think (line 139) | void DLLEXPORT CAM_Think( void )
function CAM_PitchUpDown (line 348) | void CAM_PitchUpDown(void) { KeyDown( &cam_pitchup ); }
function CAM_PitchUpUp (line 349) | void CAM_PitchUpUp(void) { KeyUp( &cam_pitchup ); }
function CAM_PitchDownDown (line 350) | void CAM_PitchDownDown(void) { KeyDown( &cam_pitchdown ); }
function CAM_PitchDownUp (line 351) | void CAM_PitchDownUp(void) { KeyUp( &cam_pitchdown ); }
function CAM_YawLeftDown (line 352) | void CAM_YawLeftDown(void) { KeyDown( &cam_yawleft ); }
function CAM_YawLeftUp (line 353) | void CAM_YawLeftUp(void) { KeyUp( &cam_yawleft ); }
function CAM_YawRightDown (line 354) | void CAM_YawRightDown(void) { KeyDown( &cam_yawright ); }
function CAM_YawRightUp (line 355) | void CAM_YawRightUp(void) { KeyUp( &cam_yawright ); }
function CAM_InDown (line 356) | void CAM_InDown(void) { KeyDown( &cam_in ); }
function CAM_InUp (line 357) | void CAM_InUp(void) { KeyUp( &cam_in ); }
function CAM_OutDown (line 358) | void CAM_OutDown(void) { KeyDown( &cam_out ); }
function CAM_OutUp (line 359) | void CAM_OutUp(void) { KeyUp( &cam_out ); }
function CAM_ToThirdPerson (line 361) | void CAM_ToThirdPerson(void)
function CAM_ToFirstPerson (line 387) | void CAM_ToFirstPerson(void)
function CAM_ToggleSnapto (line 394) | void CAM_ToggleSnapto( void )
function CAM_Init (line 400) | void CAM_Init( void )
function CAM_ClearStates (line 437) | void CAM_ClearStates( void )
function CAM_StartMouseMove (line 466) | void CAM_StartMouseMove(void)
function CAM_EndMouseMove (line 503) | void CAM_EndMouseMove(void)
function CAM_StartDistance (line 514) | void CAM_StartDistance(void)
function CAM_EndDistance (line 542) | void CAM_EndDistance(void)
function CL_IsThirdPerson (line 549) | int DLLEXPORT CL_IsThirdPerson( void )
function CL_CameraOffset (line 554) | void DLLEXPORT CL_CameraOffset( float *ofs )
FILE: cl_dll/include/cl_dll.h
type byte (line 30) | typedef unsigned char byte;
type word (line 31) | typedef unsigned short word;
type vec_t (line 32) | typedef float vec_t;
type playermove_s (line 57) | struct playermove_s
type playermove_s (line 58) | struct playermove_s
type netadr_s (line 60) | struct netadr_s
type local_state_s (line 67) | struct local_state_s
type local_state_s (line 67) | struct local_state_s
type usercmd_s (line 67) | struct usercmd_s
type cl_entity_s (line 68) | struct cl_entity_s
type mstudioevent_s (line 70) | struct mstudioevent_s
type entity_state_s (line 71) | struct entity_state_s
type clientdata_s (line 71) | struct clientdata_s
type entity_state_s (line 72) | struct entity_state_s
type entity_state_s (line 72) | struct entity_state_s
type entity_state_s (line 73) | struct entity_state_s
type entity_state_s (line 73) | struct entity_state_s
type clientdata_s (line 73) | struct clientdata_s
type clientdata_s (line 73) | struct clientdata_s
type weapon_data_s (line 73) | struct weapon_data_s
type weapon_data_s (line 73) | struct weapon_data_s
type tempent_s (line 74) | struct tempent_s
type tempent_s (line 74) | struct tempent_s
type cl_entity_s (line 74) | struct cl_entity_s
type tempent_s (line 74) | struct tempent_s
type r_studio_interface_s (line 77) | struct r_studio_interface_s
type engine_studio_api_s (line 77) | struct engine_studio_api_s
type usercmd_s (line 83) | struct usercmd_s
type ref_params_s (line 89) | struct ref_params_s
type cl_entity_s (line 91) | struct cl_entity_s
type kbutton_s (line 92) | struct kbutton_s
FILE: cl_dll/include/com_weapons.h
type local_state_s (line 30) | struct local_state_s
type local_state_s (line 30) | struct local_state_s
type usercmd_s (line 30) | struct usercmd_s
type edict_s (line 42) | struct edict_s
type local_state_s (line 59) | struct local_state_s
type local_state_s (line 60) | struct local_state_s
FILE: cl_dll/include/csprite.h
function class (line 39) | class CClientSprite {
function SetSpriteByName (line 52) | inline void SetSpriteByName( const char *sprName )
FILE: cl_dll/include/draw_util.h
function class (line 47) | class DrawUtils
function GetNumWidth (line 76) | static inline int GetNumWidth(int iNumber, int iFlags)
function DrawConsoleString (line 96) | static inline int DrawConsoleString(int x, int y, const char *string)
function SetConsoleTextColor (line 108) | static inline void SetConsoleTextColor( float r, float g, float b )
function SetConsoleTextColor (line 116) | static inline void SetConsoleTextColor( unsigned char r, unsigned char g...
function ConsoleStringLen (line 124) | static inline int ConsoleStringLen( const char *szIt )
function ConsoleStringSize (line 140) | static inline void ConsoleStringSize( const char *szIt, int *width, int ...
function ulRGB (line 158) | long ulRGB )
function ScaleColors (line 165) | static inline void ScaleColors( int &r, int &g, int &b, const int a )
FILE: cl_dll/include/ev_hldm.h
type ESmoke (line 11) | enum ESmoke
type tempent_s (line 26) | struct tempent_s
type tempent_s (line 27) | struct tempent_s
FILE: cl_dll/include/eventscripts.h
type event_args_s (line 69) | struct event_args_s
type event_args_s (line 70) | struct event_args_s
function EV_MuzzleFlash (line 83) | inline void EV_MuzzleFlash( void )
function EV_IsPlayer (line 101) | inline bool EV_IsPlayer( int idx )
function EV_IsLocal (line 117) | inline bool EV_IsLocal( int idx )
FILE: cl_dll/include/hud/ammo.h
type WEAPON (line 26) | struct WEAPON
type AMMO (line 59) | typedef int AMMO;
FILE: cl_dll/include/hud/radar.h
function class (line 11) | class CHudRadar: public CHudBase
FILE: cl_dll/include/in_defs.h
type POINT (line 24) | typedef struct point_s{
FILE: cl_dll/include/kbutton.h
type kbutton_t (line 11) | typedef struct kbutton_s
FILE: cl_dll/include/math/neon_mathfun.h
type float32x4_t (line 30) | typedef float32x4_t v4sf;
type uint32x4_t (line 31) | typedef uint32x4_t v4su;
type int32x4_t (line 32) | typedef int32x4_t v4si;
function v4sf (line 51) | v4sf log_ps(v4sf x) {
function v4sf (line 136) | v4sf exp_ps(v4sf x) {
function sincos_ps (line 222) | void sincos_ps(v4sf x, v4sf *ysin, v4sf *ycos) { // any x
function v4sf (line 289) | v4sf sin_ps(v4sf x) {
function v4sf (line 295) | v4sf cos_ps(v4sf x) {
FILE: cl_dll/include/math/sse_mathfun.h
type __m128 (line 45) | typedef __m128 v4sf;
type __m128i (line 49) | typedef __m128i v4si;
type __m64 (line 51) | typedef __m64 v2si;
type xmm_mm_union (line 92) | typedef union xmm_mm_union {
function v4sf (line 112) | v4sf log_ps(v4sf x) {
function v4sf (line 214) | v4sf exp_ps(v4sf x) {
function v4sf (line 332) | v4sf sin_ps(v4sf x) { // any x
function v4sf (line 449) | v4sf cos_ps(v4sf x) { // any x
function sincos_ps (line 568) | void sincos_ps(v4sf x, v4sf *s, v4sf *c) {
FILE: cl_dll/include/overview.h
function class (line 15) | class CHudOverview : public CHudBase
FILE: cl_dll/include/parsemsg.h
function class (line 23) | class BufferReader
function Flush (line 62) | inline void BufferReader::Flush( void )
function Read (line 68) | Read( void )
function Read (line 123) | inline float BufferReader::Read( void )
function ReadChar (line 148) | inline int8_t BufferReader::ReadChar( void )
function ReadByte (line 153) | inline uint8_t BufferReader::ReadByte( void )
function ReadShort (line 158) | inline int16_t BufferReader::ReadShort( void )
function ReadWord (line 163) | inline int16_t BufferReader::ReadWord( void )
function ReadLong (line 168) | inline int32_t BufferReader::ReadLong( void )
function ReadFloat (line 178) | inline float BufferReader::ReadFloat( void )
function ReadCoord (line 183) | inline float BufferReader::ReadCoord( void )
function Vector (line 188) | inline Vector BufferReader::ReadCoordVector( void )
function ReadAngle (line 198) | inline float BufferReader::ReadAngle( void )
function ReadHiResAngle (line 203) | inline float BufferReader::ReadHiResAngle( void )
FILE: cl_dll/include/studio/StudioModelRenderer.h
function class (line 25) | class CStudioModelRenderer
FILE: cl_dll/include/tf_defs.h
type team_color_t (line 1161) | typedef struct
type ip_storage_t (line 1232) | typedef struct
function class (line 1302) | class CTFFlame : public CBaseMonster
function class (line 1316) | class CTFGoal : public CBaseAnimating
function class (line 1328) | class CTFGoalItem : public CTFGoal
function class (line 1339) | class CTFTimerGoal : public CTFGoal
function class (line 1346) | class CTFSpawn : public CBaseEntity
function class (line 1357) | class CTFDetect : public CBaseEntity
function class (line 1364) | class CTelefragDeath : public CBaseEntity
function class (line 1371) | class CTeamCheck : public CBaseDelay
function class (line 1379) | class CTeamSet : public CBaseDelay
FILE: cl_dll/include/unicode_strtools.h
type wchar_t (line 35) | typedef wchar_t uchar16;
type uchar32 (line 36) | typedef unsigned int uchar32;
type uchar16 (line 40) | typedef unsigned short uchar16;
type uchar32 (line 41) | typedef unsigned int uchar32;
type EStringConvertErrorPolicy (line 45) | enum EStringConvertErrorPolicy
FILE: cl_dll/include/wrect.h
type wrect_t (line 12) | typedef struct rect_s
FILE: cl_dll/input.cpp
type kblist_t (line 115) | struct kblist_t
function KB_ConvertString (line 133) | int KB_ConvertString( char *in, char **ppout )
type kbutton_s (line 209) | struct kbutton_s
function KB_Add (line 230) | void KB_Add( const char *name, kbutton_t *pkb )
function KB_Init (line 257) | void KB_Init( void )
function KB_Shutdown (line 273) | void KB_Shutdown( void )
function KeyDown (line 291) | void KeyDown (kbutton_t *b)
function KeyUp (line 325) | void KeyUp (kbutton_t *b)
function HUD_Key_Event (line 366) | int DLLEXPORT HUD_Key_Event( int down, int keynum, const char *pszCurren...
function IN_BreakDown (line 371) | void IN_BreakDown( void ) { KeyDown( &in_break );}
function IN_BreakUp (line 372) | void IN_BreakUp( void ) { KeyUp( &in_break ); }
function IN_KLookDown (line 373) | void IN_KLookDown (void) {KeyDown(&in_klook);}
function IN_KLookUp (line 374) | void IN_KLookUp (void) {KeyUp(&in_klook);}
function IN_JLookDown (line 375) | void IN_JLookDown (void) {KeyDown(&in_jlook);}
function IN_JLookUp (line 376) | void IN_JLookUp (void) {KeyUp(&in_jlook);}
function IN_MLookDown (line 377) | void IN_MLookDown (void) {KeyDown(&in_mlook);}
function IN_UpDown (line 378) | void IN_UpDown(void) {KeyDown(&in_up);}
function IN_UpUp (line 379) | void IN_UpUp(void) {KeyUp(&in_up);}
function IN_DownDown (line 380) | void IN_DownDown(void) {KeyDown(&in_down);}
function IN_DownUp (line 381) | void IN_DownUp(void) {KeyUp(&in_down);}
function IN_LeftDown (line 382) | void IN_LeftDown(void) {KeyDown(&in_left);}
function IN_LeftUp (line 383) | void IN_LeftUp(void) {KeyUp(&in_left);}
function IN_RightDown (line 384) | void IN_RightDown(void) {KeyDown(&in_right);}
function IN_RightUp (line 385) | void IN_RightUp(void) {KeyUp(&in_right);}
function IN_ForwardDown (line 387) | void IN_ForwardDown(void)
function IN_ForwardUp (line 393) | void IN_ForwardUp(void)
function IN_BackDown (line 399) | void IN_BackDown(void)
function IN_BackUp (line 405) | void IN_BackUp(void)
function IN_LookupDown (line 410) | void IN_LookupDown(void) {KeyDown(&in_lookup);}
function IN_LookupUp (line 411) | void IN_LookupUp(void) {KeyUp(&in_lookup);}
function IN_LookdownDown (line 412) | void IN_LookdownDown(void) {KeyDown(&in_lookdown);}
function IN_LookdownUp (line 413) | void IN_LookdownUp(void) {KeyUp(&in_lookdown);}
function IN_MoveleftDown (line 414) | void IN_MoveleftDown(void)
function IN_MoveleftUp (line 420) | void IN_MoveleftUp(void)
function IN_MoverightDown (line 426) | void IN_MoverightDown(void)
function IN_MoverightUp (line 432) | void IN_MoverightUp(void)
function IN_SpeedDown (line 437) | void IN_SpeedDown(void) {KeyDown(&in_speed);}
function IN_SpeedUp (line 438) | void IN_SpeedUp(void) {KeyUp(&in_speed);}
function IN_StrafeDown (line 439) | void IN_StrafeDown(void) {KeyDown(&in_strafe);}
function IN_StrafeUp (line 440) | void IN_StrafeUp(void) {KeyUp(&in_strafe);}
function IN_Attack2Down (line 445) | void IN_Attack2Down(void)
function IN_Attack2Up (line 452) | void IN_Attack2Up(void) {KeyUp(&in_attack2);}
function IN_UseDown (line 453) | void IN_UseDown (void)
function IN_UseUp (line 458) | void IN_UseUp (void) {KeyUp(&in_use);}
function IN_JumpDown (line 459) | void IN_JumpDown (void)
function IN_JumpUp (line 465) | void IN_JumpUp (void) {KeyUp(&in_jump);}
function IN_DuckDown (line 466) | void IN_DuckDown(void)
function IN_DuckUp (line 472) | void IN_DuckUp(void) {KeyUp(&in_duck);}
function IN_ReloadDown (line 473) | void IN_ReloadDown(void) {KeyDown(&in_reload);}
function IN_ReloadUp (line 474) | void IN_ReloadUp(void) {KeyUp(&in_reload);}
function IN_Alt1Down (line 475) | void IN_Alt1Down(void) {KeyDown(&in_alt1);}
function IN_Alt1Up (line 476) | void IN_Alt1Up(void) {KeyUp(&in_alt1);}
function IN_GraphDown (line 477) | void IN_GraphDown(void) {KeyDown(&in_graph);}
function IN_GraphUp (line 478) | void IN_GraphUp(void) {KeyUp(&in_graph);}
function IN_AttackDown (line 480) | void IN_AttackDown(void)
function IN_AttackUp (line 486) | void IN_AttackUp(void)
function IN_Cancel (line 493) | void IN_Cancel(void)
function IN_Impulse (line 498) | void IN_Impulse (void)
function IN_ScoreDown (line 503) | void IN_ScoreDown(void)
function IN_ScoreUp (line 508) | void IN_ScoreUp(void)
function IN_MLookUp (line 513) | void IN_MLookUp (void)
function CL_KeyState (line 534) | float CL_KeyState (kbutton_t *key)
function CL_AdjustAngles (line 588) | void CL_AdjustAngles ( float frametime, float *viewangles )
function CL_CreateMove (line 644) | void DLLEXPORT CL_CreateMove ( float frametime, struct usercmd_s *cmd, i...
function CL_ButtonBits (line 766) | int CL_ButtonBits( int bResetState )
function CL_ResetButtonBits (line 881) | void CL_ResetButtonBits( int bits )
function InitInput (line 906) | void InitInput (void)
function Input_Shutdown (line 995) | void Input_Shutdown (void)
FILE: cl_dll/input/input_sdl.cpp
type _ControlList (line 73) | enum _ControlList
function Force_CenterView_f (line 133) | void Force_CenterView_f (void)
function ThreadInterlockedExchange (line 150) | long ThreadInterlockedExchange( long *pDest, long value )
function DWORD (line 156) | DWORD WINAPI MousePos_ThreadFunction( LPVOID p )
function IN_ActivateMouse (line 194) | void DLLEXPORT IN_ActivateMouse (void)
function IN_DeactivateMouse (line 213) | void DLLEXPORT IN_DeactivateMouse (void)
function IN_StartupMouse (line 232) | void IN_StartupMouse (void)
function IN_Shutdown (line 269) | void IN_Shutdown (void)
function IN_GetMousePos (line 309) | void IN_GetMousePos( int *mx, int *my )
function IN_ResetMouse (line 321) | void IN_ResetMouse( void )
function IN_MouseEvent (line 331) | void DLLEXPORT IN_MouseEvent (int mstate)
function IN_ScaleMouse (line 363) | void IN_ScaleMouse( float *x, float *y )
function IN_MouseMove (line 411) | void IN_MouseMove ( float frametime, usercmd_t *cmd)
function IN_Accumulate (line 540) | void DLLEXPORT IN_Accumulate (void)
function IN_ClearStates (line 579) | void DLLEXPORT IN_ClearStates (void)
function IN_StartupJoystick (line 594) | void IN_StartupJoystick (void)
function RawValuePointer (line 639) | int RawValuePointer (int axis)
function Joy_AdvancedUpdate_f (line 661) | void Joy_AdvancedUpdate_f (void)
function IN_Commands (line 723) | void IN_Commands (void)
function IN_ReadJoystick (line 795) | int IN_ReadJoystick (void)
function IN_JoyMove (line 807) | void IN_JoyMove ( float frametime, usercmd_t *cmd )
function IN_Move (line 970) | void IN_Move ( float frametime, usercmd_t *cmd)
function IN_Init (line 985) | void IN_Init (void)
FILE: cl_dll/input/input_xash3d.cpp
function IN_ToggleButtons (line 41) | void IN_ToggleButtons( float forwardmove, float sidemove )
function IN_ClientMoveEvent (line 120) | void IN_ClientMoveEvent( float forwardmove, float sidemove )
function IN_ClientLookEvent (line 129) | void IN_ClientLookEvent( float relyaw, float relpitch )
function IN_Move (line 136) | void IN_Move( float frametime, usercmd_t *cmd )
function IN_MouseEvent (line 223) | void DLLEXPORT IN_MouseEvent( int mstate )
function IN_ClearStates (line 246) | void DLLEXPORT IN_ClearStates ( void )
function IN_ActivateMouse (line 251) | void DLLEXPORT IN_ActivateMouse ( void )
function IN_DeactivateMouse (line 256) | void DLLEXPORT IN_DeactivateMouse ( void )
function IN_Accumulate (line 261) | void DLLEXPORT IN_Accumulate ( void )
function IN_Commands (line 266) | void IN_Commands ( void )
function IN_Shutdown (line 271) | void IN_Shutdown ( void )
function IN_Init (line 275) | void IN_Init( void )
FILE: cl_dll/inputw32.cpp
type _ControlList (line 90) | enum _ControlList
function Force_CenterView_f (line 152) | void Force_CenterView_f (void)
function IN_ActivateMouse (line 169) | void DLLEXPORT IN_ActivateMouse (void)
function IN_DeactivateMouse (line 184) | void DLLEXPORT IN_DeactivateMouse (void)
function IN_StartupMouse (line 200) | void IN_StartupMouse (void)
function IN_Shutdown (line 235) | void IN_Shutdown (void)
function IN_GetMousePos (line 247) | void IN_GetMousePos( int *mx, int *my )
function IN_ResetMouse (line 259) | void IN_ResetMouse( void )
function IN_MouseEvent (line 269) | void DLLEXPORT IN_MouseEvent (int mstate)
function IN_MouseMove (line 300) | void IN_MouseMove ( float frametime, usercmd_t *cmd)
function IN_Accumulate (line 404) | void DLLEXPORT IN_Accumulate (void)
function IN_ClearStates (line 428) | void DLLEXPORT IN_ClearStates (void)
function IN_StartupJoystick (line 443) | void IN_StartupJoystick (void)
function PDWORD (line 510) | PDWORD RawValuePointer (int axis)
function Joy_AdvancedUpdate_f (line 537) | void Joy_AdvancedUpdate_f (void)
function IN_Commands (line 609) | void IN_Commands (void)
function IN_ReadJoystick (line 679) | int IN_ReadJoystick (void)
function IN_JoyMove (line 714) | void IN_JoyMove ( float frametime, usercmd_t *cmd )
function IN_Move (line 912) | void IN_Move ( float frametime, usercmd_t *cmd)
function IN_Init (line 927) | void IN_Init (void)
FILE: cl_dll/menu.cpp
function Touch_CloseMenu (line 37) | void Touch_CloseMenu()
FILE: cl_dll/message.cpp
function Utf8StringLen (line 29) | static int Utf8StringLen(const char *pszText)
function client_textmessage_t (line 721) | client_textmessage_t *CHudMessage::AllocMessage( const char *text, clien...
FILE: cl_dll/rain.cpp
type cl_drip_t (line 82) | struct cl_drip_t
type cl_rainfx_t (line 96) | struct cl_rainfx_t
function LandingEffect (line 120) | void LandingEffect( cl_drip_t *drip )
function ProcessRain (line 161) | void ProcessRain( void )
function ProcessFXObjects (line 418) | void ProcessFXObjects( void )
function ResetRain (line 446) | void ResetRain( void )
function __MsgFunc_ReceiveW (line 469) | int __MsgFunc_ReceiveW(const char *pszName, int iSize, void *pbuf)
function InitRain (line 498) | void InitRain( void )
function SetPoint (line 522) | void SetPoint( float x, float y, float z, float (*matrix)[4])
function DrawRain (line 540) | void DrawRain( void )
function DrawFXObjects (line 644) | void DrawFXObjects( void )
FILE: cl_dll/saytext.cpp
function ScrollTextUp (line 81) | int ScrollTextUp( void )
FILE: cl_dll/statusbar.cpp
function InsertTextMsg (line 32) | inline void InsertTextMsg( char *szDst, size_t sLen, const char *szMsgName)
FILE: cl_dll/studio_util.cpp
function SinCosFastVector (line 31) | void SinCosFastVector(float r1, float r2, float r3, float r4,
function ConcatTransforms (line 73) | void ConcatTransforms (float in1[3][4], float in2[3][4], float out[3][4])
function AngleQuaternion (line 97) | void AngleQuaternion( float *angles, vec4_t quaternion )
function QuaternionSlerp (line 134) | void QuaternionSlerp( vec4_t p, vec4_t q, float t, vec4_t qt )
function QuaternionMatrix (line 197) | void QuaternionMatrix( vec4_t quaternion, float (*matrix)[4] )
FILE: cl_dll/text_message.cpp
function StripEndNewlineFromString (line 152) | void StripEndNewlineFromString( char *str )
FILE: cl_dll/tri.cpp
function RenderFog (line 23) | void RenderFog()
function HUD_DrawNormalTriangles (line 52) | void DLLEXPORT HUD_DrawNormalTriangles( void )
function HUD_DrawTransparentTriangles (line 65) | void DLLEXPORT HUD_DrawTransparentTriangles( void )
FILE: cl_dll/unicode_strtools.cpp
function Q_IsValidUChar32 (line 38) | bool Q_IsValidUChar32(uchar32 uVal)
function Q_UTF32ToUChar32 (line 46) | int Q_UTF32ToUChar32(const uchar32 *pUTF32, uchar32 &uVal, bool &bErr)
function Q_UChar32ToUTF32Len (line 77) | int Q_UChar32ToUTF32Len(uchar32 uVal)
function Q_UChar32ToUTF32 (line 83) | int Q_UChar32ToUTF32(uchar32 uVal, uchar32 *pUTF32)
function Q_UnicodeConvertT (line 107) | int Q_UnicodeConvertT(const T_IN *pIn, T_OUT *pOut, int nOutBytes, EStri...
function Q_UChar32ToUTF8Len (line 171) | int Q_UChar32ToUTF8Len(uchar32 uVal)
function Q_UChar32ToUTF16Len (line 183) | int Q_UChar32ToUTF16Len(uchar32 uVal)
function Q_UChar32ToUTF16 (line 189) | int Q_UChar32ToUTF16(uchar32 uVal, uchar16 *pUTF16Out)
function Q_UChar32ToUTF8 (line 205) | int Q_UChar32ToUTF8(uchar32 uVal, char *pUTF8Out)
function Q_UTF16ToUChar32 (line 236) | int Q_UTF16ToUChar32(const uchar16 *pUTF16, uchar32 &uValueOut, bool &bE...
function Q_UTF8ToUTF16 (line 267) | int Q_UTF8ToUTF16(const char *pUTF8, uchar16 *pUTF16, int cubDestSizeInB...
function Q_UTF8ToUTF32 (line 273) | int Q_UTF8ToUTF32(const char *pUTF8, uchar32 *pUTF32, int cubDestSizeInB...
function Q_UTF16ToUTF8 (line 279) | int Q_UTF16ToUTF8(const uchar16 *pUTF16, char *pUTF8, int cubDestSizeInB...
function Q_UTF16ToUTF32 (line 285) | int Q_UTF16ToUTF32(const uchar16 *pUTF16, uchar32 *pUTF32, int cubDestSi...
function Q_UTF32ToUTF8 (line 291) | int Q_UTF32ToUTF8(const uchar32 *pUTF32, char *pUTF8, int cubDestSizeInB...
function Q_UTF32ToUTF16 (line 297) | int Q_UTF32ToUTF16(const uchar32 *pUTF32, uchar16 *pUTF16, int cubDestSi...
function Q_UTF8ToUChar32 (line 305) | int Q_UTF8ToUChar32(const char *pUTF8_, uchar32 &uValueOut, bool &bError...
function qboolean (line 380) | qboolean Q_UnicodeValidate(const char *pUTF8)
function Q_UnicodeLength (line 397) | int Q_UnicodeLength(const char *pUTF8)
function wchar_t (line 429) | wchar_t *Q_AdvanceSpace (wchar_t *start)
function wchar_t (line 437) | wchar_t *Q_ReadUToken (wchar_t *start, wchar_t *token, int tokenBufferSi...
function Q_IsMeanSpaceW (line 512) | bool Q_IsMeanSpaceW(uchar32 wch)
function Q_IsDeprecatedW (line 550) | bool Q_IsDeprecatedW(uchar16 wch)
function uchar16 (line 583) | static uchar16 *StripWhitespaceWorker(uchar16 *pwch, int cchLength, bool...
function uchar16 (line 612) | uchar16 *StripUnprintableWorker(uchar16 *pwch, bool *pbStrippedAny)
function qboolean (line 635) | qboolean Q_StripUnprintableAndSpace(char *pch)
function qboolean (line 660) | qboolean V_UTF8ToUChar32(const char *pUTF8_, uchar32 *uValueOut)
function Q_UnicodeRepair (line 668) | int Q_UnicodeRepair(char *pUTF8)
FILE: cl_dll/util.cpp
function rsqrt (line 37) | float rsqrt( float number )
function HUD_GetSpriteIndexByName (line 54) | int HUD_GetSpriteIndexByName( const char *sz )
function HSPRITE (line 59) | HSPRITE HUD_GetSprite( int index )
function wrect_t (line 64) | wrect_t HUD_GetSpriteRect( int index )
FILE: cl_dll/util_vector.h
type func_t (line 30) | typedef int func_t;
type string_t (line 31) | typedef int string_t;
type vec_t (line 32) | typedef float vec_t;
function class (line 38) | class Vector2D
function Vector2D (line 45) | inline Vector2D operator*(float fl) const { return Vector2D(x*fl, y*f...
function Vector2D (line 46) | inline Vector2D operator/(float fl) const { return Vector2D(x/fl, y/f...
function Length (line 48) | inline float Length(void) const { return (float)sqrt(x*x + y*y ); }
function Vector2D (line 50) | inline Vector2D Normalize ( void ) const
function DotProduct (line 60) | inline float DotProduct(const Vector2D& a, const Vector2D& b) { return( ...
function class (line 66) | class Vector // same data-layout as engine's vec3_t,
function operator (line 79) | inline int operator==(const Vector& v) const { return x==v.x && y==v.y &...
function operator (line 80) | inline int operator!=(const Vector& v) const { return !(*this==v); }
function Vector (line 83) | inline Vector operator*(float fl) const { return Vector(x*fl, y*fl, z*...
function Vector (line 84) | inline Vector operator/(float fl) const { return Vector(x/fl, y/fl, z/...
function CopyToArray (line 87) | inline void CopyToArray(float* rgfl) const { rgfl[0] = x, rgfl[1] = y, ...
function Length (line 88) | inline float Length(void) const { return (float)sqrt(x*x + y*y + z*z...
function operator (line 89) | operator float *() { return &x; }
function operator (line 90) | operator const float *() const { return &x; }
function Vector (line 91) | inline Vector Normalize(void) const
function Vector (line 102) | inline Vector NormalizeLength( float &len ) const
function Vector2D (line 110) | inline Vector2D Make2D ( void ) const
function Length2D (line 114) | inline float Length2D(void) const { return (float)sqrt(x*x + y*y); }
function IsNull (line 115) | inline bool IsNull(void) const { return !x && !y && !z; }
function DotProduct (line 121) | inline float DotProduct(const Vector& a, const Vector& b) { return(a.x*b...
function Vector (line 122) | inline Vector CrossProduct(const Vector& a, const Vector& b) { return Ve...
FILE: cl_dll/vgui_parser.cpp
function Dictionary_Insert (line 85) | static void Dictionary_Insert( const char *key, const char *value )
function Localize_AddToDictionary (line 107) | static void Localize_AddToDictionary( const char *name, const char *lang )
function Localize_InitLanguage (line 234) | static void Localize_InitLanguage( const char *language )
function Localize_Init (line 250) | void Localize_Init( void )
function Localize_Free (line 265) | void Localize_Free( void )
function Localize_StripIndices (line 279) | void Localize_StripIndices( char *s )
FILE: cl_dll/view.cpp
function V_CalcBob (line 157) | float V_CalcBob ( struct ref_params_s *pparams )
function V_CalcRoll (line 207) | float V_CalcRoll (vec3_t angles, vec3_t velocity, float rollangle, float...
type pitchdrift_s (line 232) | struct pitchdrift_s
function V_StartPitchDrift (line 242) | void V_StartPitchDrift( void )
function V_StopPitchDrift (line 257) | void V_StopPitchDrift ( void )
function V_DriftPitch (line 274) | void V_DriftPitch ( struct ref_params_s *pparams )
function V_DropPunchAngle (line 343) | void V_DropPunchAngle ( float frametime, float *ev_punchangle )
function V_CalcGunAngle (line 359) | void V_CalcGunAngle ( struct ref_params_s *pparams )
function V_AddIdle (line 389) | void V_AddIdle ( struct ref_params_s *pparams )
function V_CalcViewRoll (line 404) | void V_CalcViewRoll ( struct ref_params_s *pparams )
function V_SmoothInterpolateAngles (line 426) | void V_SmoothInterpolateAngles( float * startAngle, float * endAngle, fl...
function V_CalcIntermissionRefdef (line 490) | void V_CalcIntermissionRefdef ( struct ref_params_s *pparams )
type viewinterp_t (line 526) | struct viewinterp_t
function GetGunOffset (line 538) | float GetGunOffset( cl_entity_t *e )
function V_CalcQuakeGuns (line 594) | void V_CalcQuakeGuns()
function V_CalcViewModelLag (line 625) | void V_CalcViewModelLag( ref_params_t *pparams, Vector &origin, Vector &...
function V_CalcNormalRefdef (line 685) | void V_CalcNormalRefdef ( struct ref_params_s *pparams )
function V_GetChaseOrigin (line 1062) | void V_GetChaseOrigin( float * angles, float * origin, float distance, f...
function V_GetDeathCam (line 1111) | void V_GetDeathCam(cl_entity_t * ent1, cl_entity_t * ent2, float * angle...
function V_GetSingleTargetCam (line 1160) | void V_GetSingleTargetCam(cl_entity_t * ent1, float * angle, float * ori...
function MaxAngleBetweenAngles (line 1225) | float MaxAngleBetweenAngles( float * a1, float * a2 )
function V_GetDoubleTargetsCam (line 1253) | void V_GetDoubleTargetsCam(cl_entity_t * ent1, cl_entity_t * ent2,float...
function V_GetDirectedChasePosition (line 1340) | void V_GetDirectedChasePosition(cl_entity_t * ent1, cl_entity_t * ent2,...
function V_GetChasePos (line 1395) | void V_GetChasePos(int target, float * cl_angles, float * origin, float ...
function V_ResetChaseCam (line 1453) | void V_ResetChaseCam()
function V_GetInEyePos (line 1459) | void V_GetInEyePos(int target, float * origin, float * angles )
function V_GetMapFreePosition (line 1493) | void V_GetMapFreePosition( float * cl_angles, float * origin, float * an...
function V_GetMapChasePosition (line 1515) | void V_GetMapChasePosition(int target, float * cl_angles, float * origin...
function V_FindViewModelByWeaponModel (line 1558) | int V_FindViewModelByWeaponModel( int iWeaponIndex )
function V_CalcSpectatorRefdef (line 1587) | void V_CalcSpectatorRefdef ( struct ref_params_s * pparams )
function V_CalcThirdPersonRefdef (line 1765) | void V_CalcThirdPersonRefdef( ref_params_t *pparams )
function V_CalcRefdef (line 1848) | void DLLEXPORT V_CalcRefdef( struct ref_params_s *pparams )
function V_Init (line 1874) | void V_Init (void)
FILE: common/beamdef.h
type BEAM (line 36) | typedef struct beam_s BEAM;
type beam_s (line 37) | struct beam_s
FILE: common/cl_entity.h
type efrag_t (line 24) | typedef struct efrag_s
type mouth_t (line 32) | typedef struct
type latchedvars_t (line 39) | typedef struct
type position_history_t (line 54) | typedef struct
type cl_entity_t (line 63) | typedef struct cl_entity_s cl_entity_t;
type cl_entity_s (line 77) | struct cl_entity_s
FILE: common/com_model.h
type modtype_t (line 45) | typedef enum
type synctype_t (line 57) | typedef enum
type dmodel_t (line 65) | typedef struct
type mplane_t (line 75) | typedef struct mplane_s
type mvertex_t (line 84) | typedef struct
type medge_t (line 89) | typedef struct
type texture_t (line 95) | typedef struct texture_s
type mtexinfo_t (line 107) | typedef struct
type mnode_t (line 117) | typedef struct mnode_s
type msurface_t (line 135) | typedef struct msurface_s msurface_t;
type decal_t (line 136) | typedef struct decal_s decal_t;
type decal_s (line 139) | struct decal_s
type mleaf_t (line 152) | typedef struct mleaf_s
type msurface_s (line 172) | struct msurface_s
type dclipnode_t (line 203) | typedef struct
type hull_t (line 209) | typedef struct hull_s
type cache_user_t (line 221) | typedef struct cache_user_s
type model_t (line 227) | typedef struct model_s
type vec_t (line 300) | typedef vec_t vec4_t[4];
type alight_t (line 302) | typedef struct alight_s
type auxvert_t (line 310) | typedef struct auxvert_s
type player_info_t (line 319) | typedef struct player_info_s
FILE: common/con_nprint.h
type con_nprint_t (line 23) | typedef struct con_nprint_s
FILE: common/const.h
type func_t (line 730) | typedef int func_t;
type string_t (line 731) | typedef int string_t;
type byte (line 733) | typedef unsigned char byte;
type word (line 734) | typedef unsigned short word;
type qboolean (line 740) | typedef enum { false, true } qboolean;
type qboolean (line 742) | typedef int qboolean;
type color24 (line 745) | typedef struct
type colorVec (line 750) | typedef struct
type link_t (line 755) | typedef struct link_s
type edict_t (line 760) | typedef struct edict_s edict_t;
type plane_t (line 762) | typedef struct
type trace_t (line 768) | typedef struct
FILE: common/crc.h
type MD5Context_t (line 25) | typedef struct
type CRC32_t (line 33) | typedef unsigned long CRC32_t;
FILE: common/cvardef.h
type cvar_t (line 28) | typedef struct cvar_s
type qboolean (line 38) | typedef int qboolean;
type convar_t (line 41) | typedef struct convar_s
FILE: common/demo_api.h
type demo_api_t (line 23) | typedef struct demo_api_s
FILE: common/dlight.h
type dlight_t (line 23) | typedef struct dlight_s
FILE: common/engine_launcher_api.h
type engine_api_t (line 25) | typedef struct engine_api_s
FILE: common/entity_state.h
type entity_state_t (line 29) | typedef struct entity_state_s entity_state_t;
type entity_state_s (line 31) | struct entity_state_s
type clientdata_t (line 129) | typedef struct clientdata_s
type local_state_t (line 188) | typedef struct local_state_s
FILE: common/enums.h
type netsrc_t (line 19) | typedef enum netsrc_s
FILE: common/event_api.h
type event_api_t (line 25) | typedef struct event_api_s
FILE: common/event_args.h
type event_args_t (line 29) | typedef struct event_args_s
FILE: common/exefuncs.h
type exefuncs_t (line 13) | typedef struct exefuncs_s
FILE: common/gameinfo.h
type GAMEINFO (line 31) | typedef struct
FILE: common/interface.cpp
function EXPORT_FUNCTION (line 68) | EXPORT_FUNCTION IBaseInterface *CreateInterface( const char *pName, int ...
function IBaseInterface (line 92) | static IBaseInterface *CreateInterfaceLocal( const char *pName, int *pRe...
function CSysModule (line 152) | CSysModule *Sys_LoadModule( const char *pModuleName )
function Sys_UnloadModule (line 205) | void Sys_UnloadModule( CSysModule *pModule )
function CreateInterfaceFn (line 224) | CreateInterfaceFn Sys_GetFactory( CSysModule *pModule )
function CreateInterfaceFn (line 248) | CreateInterfaceFn Sys_GetFactoryThis( void )
function CreateInterfaceFn (line 262) | CreateInterfaceFn Sys_GetFactory( const char *pModuleName )
FILE: common/interface.h
function class (line 40) | class IBaseInterface
type IBaseInterface (line 47) | typedef IBaseInterface *( *CreateInterfaceFn )( const char *pName, int *...
type IBaseInterface (line 49) | typedef IBaseInterface *( *InstantiateInterfaceFn )();
function class (line 52) | class InterfaceReg
FILE: common/ivoicetweak.h
type VoiceTweakControl (line 17) | typedef enum
type IVoiceTweak (line 24) | typedef struct IVoiceTweak_s
FILE: common/kbutton.h
type kbutton_t (line 12) | typedef struct kbutton_s
FILE: common/lightstyle.h
type lightstyle_t (line 19) | typedef struct
FILE: common/mathlib.h
type vec_t (line 17) | typedef float vec_t;
type vec_t (line 18) | typedef vec_t vec3_t[3];
type vec_t (line 19) | typedef vec_t vec4_t[4];
type vec_t (line 20) | typedef vec_t vec5_t[5];
type vec_s_t (line 22) | typedef short vec_s_t;
type vec_s_t (line 23) | typedef vec_s_t vec3s_t[3];
type vec_s_t (line 24) | typedef vec_s_t vec4s_t[4];
type vec_s_t (line 25) | typedef vec_s_t vec5s_t[5];
type fixed4_t (line 27) | typedef int fixed4_t;
type fixed8_t (line 28) | typedef int fixed8_t;
type fixed16_t (line 29) | typedef int fixed16_t;
type mplane_s (line 35) | struct mplane_s
type DLONG (line 72) | typedef union DLONG {
function restore_fpu_cw (line 104) | void __inline restore_fpu_cw(void)
type mplane_s (line 137) | struct mplane_s
FILE: common/net_api.h
type net_response_s (line 30) | struct net_response_s
type net_adrlist_t (line 37) | typedef struct net_adrlist_s
type net_response_t (line 43) | typedef struct net_response_s
type net_status_t (line 65) | typedef struct net_status_s
type net_api_t (line 83) | typedef struct net_api_s
FILE: common/netadr.h
type netadrtype_t (line 24) | typedef enum
type netadr_t (line 34) | typedef struct netadr_s
FILE: common/particledef.h
type ptype_t (line 23) | typedef enum {
type particle_t (line 38) | typedef struct particle_s
FILE: common/pmtrace.h
type pmplane_t (line 23) | typedef struct
type pmtrace_t (line 29) | typedef struct pmtrace_s pmtrace_t;
type pmtrace_s (line 31) | struct pmtrace_s
FILE: common/port.h
type BYTE (line 89) | typedef unsigned char BYTE;
type byte (line 90) | typedef unsigned char byte;
type WORD (line 91) | typedef short int WORD;
type DWORD (line 92) | typedef unsigned int DWORD;
type LONG (line 93) | typedef long int LONG;
type ULONG (line 94) | typedef unsigned long int ULONG;
type WPARAM (line 95) | typedef long WPARAM;
type LPARAM (line 96) | typedef unsigned int LPARAM;
type POINT (line 104) | typedef struct tagPOINT
FILE: common/qfont.h
type charinfo (line 27) | typedef struct
type qfont_t (line 33) | typedef struct qfont_s
FILE: common/r_efx.h
type TEMPENTITY (line 92) | typedef struct tempent_s TEMPENTITY;
type TEMPENTITY (line 93) | typedef struct tempent_s
type efx_api_t (line 120) | typedef struct efx_api_s efx_api_t;
type efx_api_s (line 122) | struct efx_api_s
FILE: common/r_studioint.h
type engine_studio_api_t (line 18) | typedef struct engine_studio_api_s
type server_studio_api_t (line 112) | typedef struct server_studio_api_s
type r_studio_interface_t (line 126) | typedef struct r_studio_interface_s
type sv_blending_interface_t (line 138) | typedef struct sv_blending_interface_s
FILE: common/ref_params.h
type ref_params_t (line 19) | typedef struct ref_params_s
type ref_overview_t (line 74) | typedef struct ref_overview_s
type ref_viewpass_t (line 95) | typedef struct ref_viewpass_s
FILE: common/render_api.h
type texFlags_t (line 78) | typedef enum
type gl_context_type_t (line 113) | typedef enum
type gles_wrapper_t (line 121) | typedef enum
type modelstate_t (line 130) | typedef struct modelstate_s
type decallist_t (line 142) | typedef struct decallist_s
type ref_viewpass_s (line 159) | struct ref_viewpass_s
type render_api_t (line 161) | typedef struct render_api_s
type render_interface_t (line 250) | typedef struct render_interface_s
FILE: common/screenfade.h
type screenfade_t (line 16) | typedef struct screenfade_s
FILE: common/studio_event.h
type mstudioevent_t (line 23) | typedef struct mstudioevent_s
FILE: common/triangleapi.h
type TRICULLSTYLE (line 23) | typedef enum
type triangleapi_t (line 40) | typedef struct triangleapi_s
FILE: common/usercmd.h
type usercmd_t (line 23) | typedef struct usercmd_s
FILE: common/weaponinfo.h
type weapon_data_t (line 24) | typedef struct weapon_data_s
FILE: common/wrect.h
type wrect_t (line 19) | typedef struct wrect_s
FILE: common/xash3d_types.h
type byte (line 19) | typedef uint8_t byte;
type vec_t (line 20) | typedef float vec_t;
type vec_t (line 21) | typedef vec_t vec2_t[2];
type vec_t (line 22) | typedef vec_t vec3_t[3];
type vec_t (line 23) | typedef vec_t vec4_t[4];
type vec_t (line 24) | typedef vec_t quat_t[4];
type byte (line 25) | typedef byte rgba_t[4];
type byte (line 26) | typedef byte rgb_t[3];
type vec_t (line 27) | typedef vec_t matrix3x4[3][4];
type vec_t (line 28) | typedef vec_t matrix4x4[4][4];
type poolhandle_t (line 29) | typedef uint32_t poolhandle_t;
type qboolean (line 38) | typedef int qboolean;
function _inline (line 177) | _inline float LittleFloat( float f )
type dword (line 202) | typedef unsigned int dword;
type uint (line 203) | typedef unsigned int uint;
type off_t (line 205) | typedef off_t fs_offset_t;
type fs_size_t (line 207) | typedef int fs_size_t;
type fs_size_t (line 209) | typedef ssize_t fs_size_t;
FILE: dlls/activity.h
type Activity (line 18) | typedef enum
type activity_map_t (line 124) | typedef struct
FILE: dlls/basemonster.h
function class (line 18) | class CBaseMonster : public CBaseToggle
FILE: dlls/cbase.h
type hash_types_e (line 49) | typedef enum
type hash_item_t (line 55) | typedef struct hash_item_s
type entvars_s (line 66) | struct entvars_s
type entvars_s (line 67) | struct entvars_s
type USE_TYPE (line 90) | typedef enum
function class (line 129) | class EHANDLE
function class (line 146) | class CBaseEntity
function CBaseEntity (line 228) | static CBaseEntity *Instance(entvars_t *instpev) { return Instance(ENT(i...
function CBaseEntity (line 229) | static CBaseEntity *Instance(int inst_eoffset) { return Instance(ENT(ins...
function CBaseMonster (line 231) | CBaseMonster *GetMonsterPointer(entvars_t *pevMonster)
function CBaseMonster (line 241) | CBaseMonster *GetMonsterPointer(edict_t *pentMonster)
function FunctionCheck (line 252) | void FunctionCheck(void *pFunction, const char *name)
function BASEPTR (line 266) | BASEPTR ThinkSet(BASEPTR func, const char *name)
function ENTITYFUNCPTR (line 273) | ENTITYFUNCPTR TouchSet(ENTITYFUNCPTR func, const char *name)
function USEPTR (line 280) | USEPTR UseSet(USEPTR func, const char *name)
function ENTITYFUNCPTR (line 287) | ENTITYFUNCPTR BlockedSet(ENTITYFUNCPTR func, const char *name)
function edict_t (line 297) | edict_t *edict(void) { return ENT(pev); }
function EOFFSET (line 298) | EOFFSET eoffset(void) { return OFFSET(pev); }
function entindex (line 299) | int entindex(void) { return ENTINDEX(edict()); }
function delete (line 305) | void operator delete(void *pMem, entvars_t *pev) { pev->flags |= FL_KILL...
function class (line 359) | class CPointEntity : public CBaseEntity
type locksound_t (line 366) | typedef struct locksounds
function class (line 386) | class CMultiSource : public CPointEntity
function class (line 410) | class CBaseDelay : public CBaseEntity
function class (line 431) | class CBaseAnimating : public CBaseDelay
function SetBoneController (line 446) | float SetBoneController(int iController, float flValue) { return 0; }
function InitBoneControllers (line 447) | void InitBoneControllers(void) { }
function SetBlending (line 448) | float SetBlending(int iBlender, float flValue) { return 0; }
function GetBonePosition (line 449) | void GetBonePosition(int iBone, Vector &origin, Vector &angles) { }
function FindTransition (line 451) | int FindTransition(int iEndingSequence, int iGoalSequence, int *piDir) {...
function GetAttachment (line 452) | void GetAttachment(int iAttachment, Vector &origin, Vector &angles) { }
function SetBodygroup (line 453) | void SetBodygroup(int iGroup, int iValue) {}
function GetBodygroup (line 454) | int GetBodygroup(int iGroup) { return 0; }
function ExtractBbox (line 455) | int ExtractBbox(int sequence, float *mins, float *maxs) { return 0; }
function SetSequenceBox (line 456) | void SetSequenceBox(void) { }
function class (line 471) | class CBaseToggle : public CBaseAnimating
function class (line 617) | class CBaseButton : public CBaseToggle
function class (line 676) | class CWorld : public CBaseEntity
function class (line 684) | class CClientFog : public CBaseEntity
FILE: dlls/effects.h
function class (line 33) | class CSprite : public CPointEntity
function SetTransparency (line 71) | inline void SetTransparency(int rendermode, int r, int g, int b, int a, ...
function SetTexture (line 80) | inline void SetTexture(int spriteIndex) { pev->modelindex = spriteIndex; }
function SetScale (line 81) | inline void SetScale(float scale) { pev->scale = scale; }
function SetColor (line 82) | inline void SetColor(int r, int g, int b) { pev->rendercolor.x = r; pev-...
function SetBrightness (line 83) | inline void SetBrightness(int brightness){ pev->renderamt = brightness; }
function AnimateAndDie (line 85) | inline void AnimateAndDie(float framerate)
function class (line 108) | class CBeam : public CBaseEntity
function class (line 191) | class CLaser : public CBeam
FILE: dlls/enginecallback.h
function PRECACHE_MODEL (line 32) | inline int PRECACHE_MODEL( const char *s ) { return 0; }
function PRECACHE_SOUND (line 33) | inline int PRECACHE_SOUND( const char *s ) { return 0; }
FILE: dlls/extdll.h
type BYTE (line 47) | typedef unsigned char BYTE;
type BOOL (line 48) | typedef int BOOL;
type vec_t (line 72) | typedef float vec_t;
FILE: dlls/gamerules.h
function class (line 52) | class CGameRules
function class (line 128) | class CHalfLifeRules : public CGameRules
function class (line 206) | class CHalfLifeMultiplay : public CGameRules
FILE: dlls/monsterevent.h
type MonsterEvent_t (line 18) | typedef struct
FILE: dlls/monsters.h
type HitBoxGroup (line 19) | typedef enum
function class (line 70) | class CGib : public CBaseEntity
FILE: dlls/nodes.h
function class (line 20) | class CLink
function class (line 26) | class CGraph
FILE: dlls/player.h
function class (line 79) | class CUnifiedSignals
function Signal (line 95) | void Signal(int flags) { m_flSignal |= flags; }
function GetSignal (line 96) | int GetSignal(void) { return m_flSignal; }
function GetState (line 97) | int GetState(void) { return m_flState; }
type PLAYER_ANIM (line 128) | typedef enum
type Menu (line 144) | typedef enum
type ModelName (line 164) | typedef enum
type JoinState (line 181) | typedef enum
type RebuyStruct (line 192) | typedef struct
type ThrowDirection (line 207) | typedef enum
type sbar_data (line 227) | enum sbar_data
type MusicState (line 235) | typedef enum
function class (line 245) | class CBasePlayer : public CBaseMonster
FILE: dlls/saverestore.h
function class (line 20) | class CSaveRestoreBuffer
function class (line 47) | class CSave : public CSaveRestoreBuffer
type HEADER (line 76) | typedef struct
function class (line 84) | class CRestore : public CSaveRestoreBuffer
type GLOBALESTATE (line 130) | typedef enum { GLOBAL_OFF = 0, GLOBAL_ON = 1, GLOBAL_DEAD = 2 } GLOBALES...
type globalentity_t (line 131) | typedef struct globalentity_s globalentity_t;
type globalentity_s (line 133) | struct globalentity_s
function class (line 141) | class CGlobalState
FILE: dlls/skill.h
type skilldata_t (line 16) | struct skilldata_t
FILE: dlls/soundent.h
function class (line 36) | class CSound
function class (line 55) | class CSoundEnt : public CBaseEntity
FILE: dlls/util.h
function edict_t (line 35) | inline edict_t *FIND_ENTITY_BY_CLASSNAME(edict_t *entStart, const char *...
function edict_t (line 40) | inline edict_t *FIND_ENTITY_BY_TARGETNAME(edict_t *entStart, const char ...
function edict_t (line 45) | inline edict_t *FIND_ENTITY_BY_TARGET(edict_t *entStart, const char *psz...
type EOFFSET (line 63) | typedef int EOFFSET;
type BOOL (line 64) | typedef int BOOL;
function edict_t (line 83) | inline edict_t *ENT(const entvars_t *pev) { return DBG_EntOfVars(pev); }
function edict_t (line 85) | inline edict_t *ENT(const entvars_t *pev) { return pev->pContainingEntit...
function edict_t (line 87) | inline edict_t *ENT(edict_t *pent) { return pent; }
function edict_t (line 88) | inline edict_t *ENT(EOFFSET eoffset) { return (*g_engfuncs.pfnPEntityOfE...
function EOFFSET (line 89) | inline EOFFSET OFFSET(EOFFSET eoffset) { return eoffset; }
function EOFFSET (line 90) | inline EOFFSET OFFSET(const edict_t *pent)
function EOFFSET (line 99) | inline EOFFSET OFFSET(entvars_t *pev)
function entvars_t (line 107) | inline entvars_t *VARS(entvars_t *pev) { return pev; }
function entvars_t (line 109) | inline entvars_t *VARS(edict_t *pent)
function entvars_t (line 117) | inline entvars_t *VARS(EOFFSET eoffset) { return VARS(ENT(eoffset)); }
function ENTINDEX (line 118) | inline int ENTINDEX(edict_t *pEdict) { return (*g_engfuncs.pfnIndexOfEdi...
function edict_t (line 119) | inline edict_t *INDEXENT(int iEdictNum) { return (*g_engfuncs.pfnPEntity...
function MESSAGE_BEGIN (line 121) | inline void MESSAGE_BEGIN(int msg_dest, int msg_type, const float *pOrig...
function BOOL (line 124) | inline BOOL FNullEnt(EOFFSET eoffset) { return eoffset == 0; }
function BOOL (line 125) | inline BOOL FNullEnt(const edict_t *pent) { return pent == NULL || FNull...
function BOOL (line 126) | inline BOOL FNullEnt(entvars_t *pev) { return pev == NULL || FNullEnt(OF...
function BOOL (line 129) | inline BOOL FStringNull(int iString) { return iString == iStringNull; }
type MONSTERSTATE (line 143) | typedef enum
type TOGGLE_STATE (line 157) | typedef enum
function BOOL (line 166) | inline BOOL FStrEq(const char *sz1, const char *sz2) { return (!strcmp(s...
function BOOL (line 167) | inline BOOL FClassnameIs(edict_t *pent, const char *szClassname) { retur...
function BOOL (line 168) | inline BOOL FClassnameIs(entvars_t *pev, const char *szClassname) { retu...
function CBaseEntity (line 185) | inline CBaseEntity *UTIL_FindEntityByClassname(CBaseEntity *, const char...
function UTIL_MakeVectorsPrivate (line 196) | inline void UTIL_MakeVectorsPrivate(const Vector &vecAngles, float *p_vF...
type IGNORE_MONSTERS (line 210) | typedef enum { ignore_monsters = 1, dont_ignore_monsters = 0, missile = ...
type IGNORE_GLASS (line 211) | typedef enum { ignore_glass = 1, dont_ignore_glass = 0 } IGNORE_GLASS;
type HULL_TYPE (line 214) | typedef enum { point_hull = 0, human_hull = 1, large_hull = 2, head_hull...
function UTIL_TraceHull (line 218) | inline void UTIL_TraceHull(const Vector &vecStart, const Vector &vecEnd,...
type hudtextparms_t (line 270) | typedef struct hudtextparms_s
function EMIT_SOUND_DYN (line 424) | inline void EMIT_SOUND_DYN(edict_t *entity, int channel, const char *sam...
function EMIT_SOUND (line 427) | inline void EMIT_SOUND(edict_t *entity, int channel, const char *sample,...
function STOP_SOUND (line 432) | inline void STOP_SOUND(edict_t *entity, int channel, const char *sample)
function class (line 458) | class UTIL_GroupTrace
function UTIL_WeaponTimeBase (line 477) | inline float UTIL_WeaponTimeBase( void ) { return 0; }
FILE: dlls/vector.h
function class (line 22) | class Vector2D
function Vector2D (line 29) | inline Vector2D operator*(float fl) const { return Vector2D(x*fl, y*f...
function Vector2D (line 30) | inline Vector2D operator/(float fl) const { return Vector2D(x/fl, y/f...
function Length (line 32) | inline float Length(void) const { return sqrt(x*x + y*y); }
function Vector2D (line 34) | inline Vector2D Normalize (void) const
function DotProduct (line 52) | inline float DotProduct(const Vector2D& a, const Vector2D& b) { return( ...
function class (line 58) | class Vector // same data-layout as engine's vec3_t,
function operator (line 71) | inline int operator==(const Vector& v) const { return x==v.x && y==v.y &...
function operator (line 72) | inline int operator!=(const Vector& v) const { return !(*this==v); }
function Vector (line 75) | inline Vector operator*(float fl) const { return Vector(x*fl, y*fl, z*...
function Vector (line 76) | inline Vector operator/(float fl) const { return Vector(x/fl, y/fl, z/...
function CopyToArray (line 79) | inline void CopyToArray(float* rgfl) const { rgfl[0] = x, rgfl[1] = y, ...
function Length (line 80) | inline float Length(void) const { return sqrt(x*x + y*y + z*z); }
function operator (line 81) | operator float *() { return &x; }
function operator (line 82) | operator const float *() const { return &x; }
function Vector (line 83) | inline Vector Normalize(void) const
function Vector2D (line 91) | inline Vector2D Make2D (void) const
function Length2D (line 100) | inline float Length2D(void) const { return sqrt(x*x + y*y); }
function DotProduct (line 106) | inline float DotProduct(const Vector& a, const Vector& b) { return(a.x*b...
function Vector (line 107) | inline Vector CrossProduct(const Vector& a, const Vector& b) { return Ve...
FILE: dlls/weapons.h
function class (line 24) | class CGrenade : public CBaseMonster
type ItemInfo (line 155) | typedef struct
type AmmoInfo (line 171) | typedef struct
function class (line 178) | class CBasePlayerItem : public CBaseAnimating
function class (line 238) | class CBasePlayerWeapon : public CBasePlayerItem
function class (line 323) | class CBasePlayerAmmo : public CBaseEntity
function ClearMultiDamage (line 363) | inline void ClearMultiDamage(void) { }
function ApplyMultiDamage (line 364) | inline void ApplyMultiDamage(entvars_t *pevInflictor, entvars_t *pevAtta...
function DecalGunshot (line 365) | inline void DecalGunshot(TraceResult *pTrace, int iBulletType, bool Clie...
type MULTIDAMAGE (line 367) | typedef struct
function class (line 404) | class CWeaponBox : public CBaseEntity
function class (line 433) | class CWShield : public CBaseEntity
function class (line 447) | class CAK47 : public CBasePlayerWeapon
function class (line 478) | class CAUG : public CBasePlayerWeapon
function class (line 510) | class CAWP : public CBasePlayerWeapon
function class (line 545) | class CC4 : public CBasePlayerWeapon
function class (line 576) | class CDEAGLE : public CBasePlayerWeapon
function class (line 607) | class CELITE : public CBasePlayerWeapon
function class (line 638) | class CFamas : public CBasePlayerWeapon
function class (line 669) | class CFiveSeven : public CBasePlayerWeapon
function class (line 700) | class CFlashbang : public CBasePlayerWeapon
function class (line 729) | class CG3SG1 : public CBasePlayerWeapon
function class (line 760) | class CGalil : public CBasePlayerWeapon
function class (line 791) | class CGLOCK18 : public CBasePlayerWeapon
function class (line 822) | class CHEGrenade : public CBasePlayerWeapon
function class (line 855) | class CKnife : public CBasePlayerWeapon
function class (line 895) | class CM249 : public CBasePlayerWeapon
function class (line 926) | class CM3 : public CBasePlayerWeapon
function class (line 954) | class CM4A1 : public CBasePlayerWeapon
function class (line 986) | class CMAC10 : public CBasePlayerWeapon
function class (line 1017) | class CMP5N : public CBasePlayerWeapon
function class (line 1048) | class CP228 : public CBasePlayerWeapon
function class (line 1079) | class CP90 : public CBasePlayerWeapon
function class (line 1110) | class CSCOUT : public CBasePlayerWeapon
function class (line 1141) | class CSG550 : public CBasePlayerWeapon
function class (line 1172) | class CSG552 : public CBasePlayerWeapon
function class (line 1204) | class CSmokeGrenade : public CBasePlayerWeapon
function class (line 1236) | class CTMP : public CBasePlayerWeapon
function class (line 1267) | class CUMP45 : public CBasePlayerWeapon
function class (line 1298) | class CUSP : public CBasePlayerWeapon
function class (line 1329) | class CXM1014 : public CBasePlayerWeapon
function class (line 1379) | class CArmoury : public CBaseEntity
FILE: dlls/weapontype.h
type WeaponIdType (line 35) | enum WeaponIdType
type AutoBuyClassType (line 71) | enum AutoBuyClassType
type AmmoCostType (line 90) | enum AmmoCostType
type WeaponCostType (line 103) | enum WeaponCostType
type WeaponState (line 132) | enum WeaponState
type ClipGiveDefault (line 144) | enum ClipGiveDefault
type ClipSizeType (line 177) | enum ClipSizeType
type WeightWeapon (line 205) | enum WeightWeapon
type MaxAmmoType (line 238) | enum MaxAmmoType
type AmmoType (line 257) | enum AmmoType
type WeaponClassType (line 278) | enum WeaponClassType
type AmmoBuyAmount (line 292) | enum AmmoBuyAmount
type ItemCostType (line 306) | enum ItemCostType
type shieldgun_e (line 318) | enum shieldgun_e
type shieldgren_e (line 332) | enum shieldgren_e
type InventorySlotType (line 339) | enum InventorySlotType
type Bullet (line 349) | enum Bullet
type WeaponStruct (line 372) | struct WeaponStruct
type AutoBuyInfoStruct (line 381) | struct AutoBuyInfoStruct
type WeaponAliasInfo (line 388) | struct WeaponAliasInfo
type WeaponBuyAliasInfo (line 394) | struct WeaponBuyAliasInfo
type WeaponClassAliasInfo (line 401) | struct WeaponClassAliasInfo
type WeaponInfoStruct (line 407) | struct WeaponInfoStruct
type WeaponSlotInfo (line 422) | struct WeaponSlotInfo
FILE: dlls/wpn_shared.h
type ak47_e (line 9) | enum ak47_e
type aug_e (line 27) | enum aug_e
type awp_e (line 46) | enum awp_e
type c4_e (line 63) | enum c4_e
type deagle_e (line 79) | enum deagle_e
type elite_e (line 97) | enum elite_e
type famas_e (line 126) | enum famas_e
type fiveseven_e (line 144) | enum fiveseven_e
type flashbang_e (line 160) | enum flashbang_e
type g3sg1_e (line 177) | enum g3sg1_e
type galil_e (line 194) | enum galil_e
type glock18_e (line 212) | enum glock18_e
type glock18_shield_e (line 229) | enum glock18_shield_e
type hegrenade_e (line 248) | enum hegrenade_e
type knife_e (line 264) | enum knife_e
type knife_shield_e (line 276) | enum knife_shield_e
type m3_e (line 293) | enum m3_e
type m4a1_e (line 315) | enum m4a1_e
type m249_e (line 341) | enum m249_e
type mac10_e (line 358) | enum mac10_e
type mp5n_e (line 376) | enum mp5n_e
type p90_e (line 394) | enum p90_e
type p228_e (line 412) | enum p228_e
type p228_shield_e (line 423) | enum p228_shield_e
type scout_e (line 445) | enum scout_e
type sg550_e (line 463) | enum sg550_e
type sg552_e (line 481) | enum sg552_e
type smokegrenade_e (line 497) | enum smokegrenade_e
type tmp_e (line 513) | enum tmp_e
type ump45_e (line 531) | enum ump45_e
type usp_e (line 550) | enum usp_e
type usp_shield_e (line 570) | enum usp_shield_e
type xm1014_e (line 589) | enum xm1014_e
FILE: dlls/wpn_shared/wpn_ak47.cpp
function BOOL (line 71) | BOOL CAK47::Deploy(void)
FILE: dlls/wpn_shared/wpn_aug.cpp
function BOOL (line 72) | BOOL CAUG::Deploy(void)
FILE: dlls/wpn_shared/wpn_awp.cpp
function BOOL (line 72) | BOOL CAWP::Deploy(void)
FILE: dlls/wpn_shared/wpn_c4.cpp
function BOOL (line 81) | BOOL CC4::Deploy(void)
FILE: dlls/wpn_shared/wpn_deagle.cpp
function BOOL (line 73) | BOOL CDEAGLE::Deploy(void)
FILE: dlls/wpn_shared/wpn_elite.cpp
function BOOL (line 74) | BOOL CELITE::Deploy(void)
FILE: dlls/wpn_shared/wpn_famas.cpp
function BOOL (line 74) | BOOL CFamas::Deploy(void)
FILE: dlls/wpn_shared/wpn_fiveseven.cpp
function BOOL (line 72) | BOOL CFiveSeven::Deploy(void)
FILE: dlls/wpn_shared/wpn_flashbang.cpp
function BOOL (line 72) | BOOL CFlashbang::Deploy(void)
function BOOL (line 282) | BOOL CFlashbang::CanDeploy(void)
FILE: dlls/wpn_shared/wpn_g3sg1.cpp
function BOOL (line 70) | BOOL CG3SG1::Deploy(void)
FILE: dlls/wpn_shared/wpn_galil.cpp
function BOOL (line 70) | BOOL CGalil::Deploy(void)
FILE: dlls/wpn_shared/wpn_glock18.cpp
function BOOL (line 84) | BOOL CGLOCK18::Deploy(void)
FILE: dlls/wpn_shared/wpn_hegrenade.cpp
function BOOL (line 72) | BOOL CHEGrenade::Deploy(void)
function BOOL (line 86) | BOOL CHEGrenade::CanHolster(void)
function BOOL (line 279) | BOOL CHEGrenade::CanDeploy(void)
FILE: dlls/wpn_shared/wpn_knife.cpp
function BOOL (line 78) | BOOL CKnife::Deploy()
function FindHullIntersection (line 118) | void FindHullIntersection(const Vector &vecSrc, TraceResult &tr, float *...
FILE: dlls/wpn_shared/wpn_m249.cpp
function BOOL (line 73) | BOOL CM249::Deploy()
FILE: dlls/wpn_shared/wpn_m3.cpp
function BOOL (line 70) | BOOL CM3::Deploy()
FILE: dlls/wpn_shared/wpn_m4a1.cpp
function BOOL (line 76) | BOOL CM4A1::Deploy()
FILE: dlls/wpn_shared/wpn_mac10.cpp
function BOOL (line 70) | BOOL CMAC10::Deploy()
FILE: dlls/wpn_shared/wpn_mp5navy.cpp
function BOOL (line 71) | BOOL CMP5N::Deploy()
FILE: dlls/wpn_shared/wpn_p228.cpp
function BOOL (line 72) | BOOL CP228::Deploy()
FILE: dlls/wpn_shared/wpn_p90.cpp
function BOOL (line 72) | BOOL CP90::Deploy()
FILE: dlls/wpn_shared/wpn_scout.cpp
function BOOL (line 69) | BOOL CSCOUT::Deploy()
FILE: dlls/wpn_shared/wpn_sg550.cpp
function BOOL (line 69) | BOOL CSG550::Deploy()
FILE: dlls/wpn_shared/wpn_sg552.cpp
function BOOL (line 71) | BOOL CSG552::Deploy()
FILE: dlls/wpn_shared/wpn_smokegrenade.cpp
function BOOL (line 73) | BOOL CSmokeGrenade::Deploy()
function BOOL (line 291) | BOOL CSmokeGrenade::CanDeploy()
FILE: dlls/wpn_shared/wpn_tmp.cpp
function BOOL (line 69) | BOOL CTMP::Deploy()
FILE: dlls/wpn_shared/wpn_ump45.cpp
function BOOL (line 74) | BOOL CUMP45::Deploy()
FILE: dlls/wpn_shared/wpn_usp.cpp
function BOOL (line 80) | BOOL CUSP::Deploy()
FILE: dlls/wpn_shared/wpn_xm1014.cpp
function BOOL (line 67) | BOOL CXM1014::Deploy()
FILE: engine/APIProxy.h
type cmdalias_t (line 14) | typedef struct cmdalias_s
type cl_enginefuncs_s (line 27) | struct cl_enginefuncs_s
type client_data_s (line 31) | struct client_data_s
type playermove_s (line 33) | struct playermove_s
type playermove_s (line 34) | struct playermove_s
type usercmd_s (line 41) | struct usercmd_s
type kbutton_s (line 44) | struct kbutton_s
type ref_params_s (line 46) | struct ref_params_s
type cl_entity_s (line 47) | struct cl_entity_s
type mstudioevent_s (line 51) | struct mstudioevent_s
type cl_entity_s (line 51) | struct cl_entity_s
type local_state_s (line 52) | struct local_state_s
type local_state_s (line 52) | struct local_state_s
type usercmd_s (line 52) | struct usercmd_s
type entity_state_s (line 54) | struct entity_state_s
type clientdata_s (line 54) | struct clientdata_s
type entity_state_s (line 55) | struct entity_state_s
type entity_state_s (line 55) | struct entity_state_s
type entity_state_s (line 56) | struct entity_state_s
type entity_state_s (line 56) | struct entity_state_s
type clientdata_s (line 56) | struct clientdata_s
type clientdata_s (line 56) | struct clientdata_s
type weapon_data_s (line 56) | struct weapon_data_s
type weapon_data_s (line 56) | struct weapon_data_s
type netadr_s (line 58) | struct netadr_s
type tempent_s (line 62) | struct tempent_s
type tempent_s (line 62) | struct tempent_s
type cl_entity_s (line 62) | struct cl_entity_s
type tempent_s (line 62) | struct tempent_s
type cl_entity_s (line 63) | struct cl_entity_s
type r_studio_interface_s (line 66) | struct r_studio_interface_s
type engine_studio_api_s (line 66) | struct engine_studio_api_s
type cldll_func_t (line 75) | typedef struct
type cl_enginefuncs_s (line 123) | struct cl_enginefuncs_s
type client_data_s (line 127) | struct client_data_s
type playermove_s (line 129) | struct playermove_s
type playermove_s (line 130) | struct playermove_s
type usercmd_s (line 137) | struct usercmd_s
type ref_params_s (line 142) | struct ref_params_s
type cl_entity_s (line 143) | struct cl_entity_s
type mstudioevent_s (line 147) | struct mstudioevent_s
type cl_entity_s (line 147) | struct cl_entity_s
type local_state_s (line 148) | struct local_state_s
type local_state_s (line 148) | struct local_state_s
type usercmd_s (line 148) | struct usercmd_s
type entity_state_s (line 150) | struct entity_state_s
type clientdata_s (line 150) | struct clientdata_s
type entity_state_s (line 151) | struct entity_state_s
type entity_state_s (line 151) | struct entity_state_s
type entity_state_s (line 152) | struct entity_state_s
type entity_state_s (line 152) | struct entity_state_s
type clientdata_s (line 152) | struct clientdata_s
type clientdata_s (line 152) | struct clientdata_s
type weapon_data_s (line 152) | struct weapon_data_s
type weapon_data_s (line 152) | struct weapon_data_s
type netadr_s (line 154) | struct netadr_s
type tempent_s (line 158) | struct tempent_s
type tempent_s (line 158) | struct tempent_s
type cl_entity_s (line 158) | struct cl_entity_s
type tempent_s (line 158) | struct tempent_s
type r_studio_interface_s (line 162) | struct r_studio_interface_s
type engine_studio_api_s (line 162) | struct engine_studio_api_s
type cldll_func_dst_t (line 167) | typedef struct
type HSPRITE (line 221) | typedef HSPRITE (*pfnEngSrc_pfnSPR_Load_t ) ( const char *szPicNa...
type rect_s (line 226) | struct rect_s
type rect_s (line 227) | struct rect_s
type rect_s (line 228) | struct rect_s
type client_sprite_s (line 231) | struct client_sprite_s
type SCREENINFO_s (line 233) | struct SCREENINFO_s
type cvar_s (line 235) | struct cvar_s
type hud_player_info_s (line 243) | struct hud_player_info_s
type client_textmessage_s (line 249) | struct client_textmessage_s
type con_nprint_s (line 267) | struct con_nprint_s
type cl_entity_s (line 275) | struct cl_entity_s
type cl_entity_s (line 276) | struct cl_entity_s
type cl_entity_s (line 277) | struct cl_entity_s
type pmtrace_s (line 283) | struct pmtrace_s
type model_s (line 284) | struct model_s
type cl_entity_s (line 285) | struct cl_entity_s
type model_s (line 286) | struct model_s
type edict_s (line 289) | struct edict_s
type int32 (line 292) | typedef int32 (*pfnEngSrc_pfnRandomLong_t ) ( int32 lLow, int32 l...
type event_args_s (line 293) | struct event_args_s
type cvar_s (line 296) | struct cvar_s
type screenfade_s (line 299) | struct screenfade_s
type screenfade_s (line 300) | struct screenfade_s
type byte (line 303) | typedef byte* (*pfnEngSrc_COM_LoadFile_t ) ( const char *path, i...
type triangleapi_s (line 306) | struct triangleapi_s
type efx_api_s (line 307) | struct efx_api_s
type event_api_s (line 308) | struct event_api_s
type demo_api_s (line 309) | struct demo_api_s
type net_api_s (line 310) | struct net_api_s
type IVoiceTweak_s (line 311) | struct IVoiceTweak_s
type model_s (line 313) | struct model_s
type qboolean (line 318) | typedef qboolean (*pfnEngSrc_GetPlayerUniqueID_t)(int iPlayer, char ...
type tagPOINT (line 322) | struct tagPOINT
type cvar_s (line 325) | struct cvar_s
type model_s (line 331) | struct model_s
type sequenceEntry_s (line 335) | typedef sequenceEntry_s* (*pfnEngSrc_pfnSequenceGet_t )( const char *f...
type rect_s (line 336) | struct rect_s
type sentenceEntry_s (line 337) | typedef sentenceEntry_s* (*pfnEngSrc_pfnSequencePickSentence_t )( cons...
type cmdalias_t (line 354) | typedef cmdalias_t* (*pfnEngSrc_pfnGetAliases_t) ( void );
type cl_enginefunc_t (line 359) | typedef struct cl_enginefuncs_s
type rect_s (line 504) | struct rect_s
type rect_s (line 505) | struct rect_s
type rect_s (line 506) | struct rect_s
type SCREENINFO_s (line 511) | struct SCREENINFO_s
type rect_s (line 512) | struct rect_s
type hud_player_info_s (line 521) | struct hud_player_info_s
type con_nprint_s (line 545) | struct con_nprint_s
type cl_entity_s (line 563) | struct cl_entity_s
type edict_s (line 567) | struct edict_s
type event_args_s (line 571) | struct event_args_s
type screenfade_s (line 577) | struct screenfade_s
type screenfade_s (line 578) | struct screenfade_s
type tagPOINT (line 594) | struct tagPOINT
type rect_s (line 601) | struct rect_s
type cl_enginefunc_dst_t (line 619) | typedef struct
type modshelpers_t (line 754) | typedef struct modshelpers_s
type modchelpers_t (line 771) | typedef struct modchelpers_s
type engdata_t (line 790) | typedef struct engdata_s
type netchan_s (line 839) | struct netchan_s
type sizebuf_s (line 839) | struct sizebuf_s
type qboolean (line 840) | typedef qboolean (*PFN_PROCESSINCOMINGNET)(struct netchan_s *pchan, stru...
type model_s (line 843) | struct model_s
type modfuncs_t (line 864) | typedef struct modfuncs_s
type validator_t (line 925) | typedef struct validator_s
FILE: engine/Sequence.h
type byte (line 11) | typedef unsigned char byte;
type client_textmessage_t (line 19) | typedef struct client_textmessage_s
type sequenceModifierBits (line 40) | enum sequenceModifierBits
type sequenceModifierBits_e (line 54) | typedef enum sequenceModifierBits sequenceModifierBits_e ;
type sequenceCommandEnum_ (line 62) | enum sequenceCommandEnum_
type sequenceCommandEnum_e (line 90) | typedef enum sequenceCommandEnum_ sequenceCommandEnum_e;
type sequenceCommandType_ (line 98) | enum sequenceCommandType_
type sequenceCommandType_e (line 103) | typedef enum sequenceCommandType_ sequenceCommandType_e;
type sequenceCommandMapping_s (line 111) | typedef struct sequenceCommandMapping_ sequenceCommandMapping_s;
type sequenceCommandMapping_ (line 112) | struct sequenceCommandMapping_
type sequenceCommandLine_s (line 126) | typedef struct sequenceCommandLine_ sequenceCommandLine_s;
type sequenceCommandLine_ (line 127) | struct sequenceCommandLine_
type sequenceEntry_s (line 151) | typedef struct sequenceEntry_ sequenceEntry_s;
type sequenceEntry_ (line 152) | struct sequenceEntry_
type sentenceEntry_s (line 169) | typedef struct sentenceEntry_ sentenceEntry_s;
type sentenceEntry_ (line 170) | struct sentenceEntry_
type sentenceGroupEntry_s (line 185) | typedef struct sentenceGroupEntry_ sentenceGroupEntry_s;
type sentenceGroupEntry_ (line 186) | struct sentenceGroupEntry_
FILE: engine/archtypes.h
type __int16 (line 14) | typedef __int16 int16;
type uint16 (line 15) | typedef unsigned __int16 uint16;
type __int32 (line 16) | typedef __int32 int32;
type uint32 (line 17) | typedef unsigned __int32 uint32;
type __int64 (line 18) | typedef __int64 int64;
type uint64 (line 19) | typedef unsigned __int64 uint64;
type __int64 (line 22) | typedef __int64 intp;
type uintp (line 23) | typedef unsigned __int64 uintp;
type __int32 (line 25) | typedef __int32 intp;
type uintp (line 26) | typedef unsigned __int32 uintp;
type int16 (line 31) | typedef short int16;
type uint16 (line 32) | typedef unsigned short uint16;
type int32 (line 33) | typedef int int32;
type uint32 (line 34) | typedef unsigned int uint32;
type int64 (line 35) | typedef long long int64;
type uint64 (line 36) | typedef unsigned long long uint64;
type intp (line 38) | typedef long long intp;
type uintp (line 39) | typedef unsigned long long uintp;
type intp (line 41) | typedef int intp;
type uintp (line 42) | typedef unsigned int uintp;
FILE: engine/cdll_int.h
type HSPRITE (line 38) | typedef int HSPRITE;
type SCREENINFO (line 43) | typedef struct SCREENINFO_s
type client_data_t (line 54) | typedef struct client_data_s
type client_sprite_t (line 66) | typedef struct client_sprite_s
type hud_player_info_t (line 77) | typedef struct hud_player_info_s
type module_t (line 95) | typedef struct module_s
type playermove_s (line 124) | struct playermove_s
type playermove_s (line 125) | struct playermove_s
type usercmd_s (line 128) | struct usercmd_s
type kbutton_s (line 136) | struct kbutton_s
type ref_params_s (line 139) | struct ref_params_s
type cl_entity_s (line 140) | struct cl_entity_s
type mstudioevent_s (line 145) | struct mstudioevent_s
type cl_entity_s (line 145) | struct cl_entity_s
type local_state_s (line 146) | struct local_state_s
type local_state_s (line 146) | struct local_state_s
type usercmd_s (line 146) | struct usercmd_s
type entity_state_s (line 147) | struct entity_state_s
type clientdata_s (line 147) | struct clientdata_s
type entity_state_s (line 148) | struct entity_state_s
type entity_state_s (line 148) | struct entity_state_s
type entity_state_s (line 149) | struct entity_state_s
type entity_state_s (line 149) | struct entity_state_s
type clientdata_s (line 149) | struct clientdata_s
type clientdata_s (line 149) | struct clientdata_s
type weapon_data_s (line 149) | struct weapon_data_s
type weapon_data_s (line 149) | struct weapon_data_s
type netadr_s (line 151) | struct netadr_s
type tempent_s (line 157) | struct tempent_s
type tempent_s (line 157) | struct tempent_s
type cl_entity_s (line 157) | struct cl_entity_s
type tempent_s (line 157) | struct tempent_s
type cl_entity_s (line 158) | struct cl_entity_s
FILE: engine/custom.h
type resourcetype_t (line 33) | typedef enum
type _resourceinfo_t (line 45) | typedef struct
type resourceinfo_t (line 50) | typedef struct resourceinfo_s
type resource_t (line 64) | typedef struct resource_s
type customization_t (line 81) | typedef struct customization_s
type customization_s (line 98) | struct customization_s
type customization_s (line 99) | struct customization_s
type resource_s (line 99) | struct resource_s
type customization_s (line 100) | struct customization_s
type resource_s (line 101) | struct resource_s
type resourceinfo_s (line 101) | struct resourceinfo_s
FILE: engine/edict.h
type edict_s (line 19) | struct edict_s
FILE: engine/eiface.h
type ALERT_TYPE (line 39) | typedef enum
type PRINT_TYPE (line 50) | typedef enum
type FORCE_TYPE (line 58) | typedef enum
type TraceResult (line 67) | typedef struct
type CDStatus (line 82) | typedef struct
type enginefuncs_t (line 99) | typedef struct enginefuncs_s
type KeyValueData (line 296) | typedef struct KeyValueData_s
type LEVELLIST (line 305) | typedef struct
type ENTITYTABLE (line 314) | typedef struct
type SAVERESTOREDATA (line 331) | typedef struct saverestore_s SAVERESTOREDATA;
type _WIN32 (line 334) | typedef
type FIELDTYPE (line 364) | typedef enum _fieldtypes
type TYPEDESCRIPTION (line 402) | typedef struct
type DLL_FUNCTIONS (line 415) | typedef struct
type NEW_DLL_FUNCTIONS (line 507) | typedef struct
FILE: engine/menu_int.h
type HIMAGE (line 27) | typedef int HIMAGE;
type ui_globalvars_t (line 39) | typedef struct ui_globalvars_s
type ref_viewpass_s (line 55) | struct ref_viewpass_s
type ui_enginefuncs_t (line 57) | typedef struct ui_enginefuncs_s
type UI_FUNCTIONS (line 180) | typedef struct
type ui_extendedfuncs_t (line 202) | typedef struct ui_extendedfuncs_s {
type UI_EXTENDED_FUNCTIONS (line 223) | typedef struct
FILE: engine/mobility_int.h
type mobile_engfuncs_t (line 39) | typedef struct mobile_engfuncs_s
FILE: engine/progdefs.h
type globalvars_t (line 23) | typedef struct
type entvars_t (line 60) | typedef struct entvars_s
FILE: engine/progs.h
type event_info_t (line 27) | typedef struct event_info_s event_info_t;
type event_info_s (line 31) | struct event_info_s
type event_state_t (line 48) | typedef struct event_state_s event_state_t;
type event_state_s (line 50) | struct event_state_s
FILE: engine/shake.h
type ScreenShake (line 24) | typedef struct
type ScreenFade (line 46) | typedef struct
FILE: engine/studio.h
type studiohdr_t (line 47) | typedef struct
type studioseqhdr_t (line 103) | typedef struct
type mstudiobone_t (line 113) | typedef struct
type mstudiobonecontroller_t (line 125) | typedef struct
type mstudiobbox_t (line 136) | typedef struct
type cache_user_t (line 146) | typedef struct cache_user_s
type mstudioseqgroup_t (line 153) | typedef struct
type mstudioseqdesc_t (line 162) | typedef struct
type mstudiopivot_t (line 220) | typedef struct
type mstudioattachment_t (line 228) | typedef struct
type mstudioanim_t (line 237) | typedef struct
type mstudioanimvalue_t (line 243) | typedef union
type mstudiobodyparts_t (line 255) | typedef struct
type mstudiotexture_t (line 266) | typedef struct
type mstudiomodel_t (line 280) | typedef struct
type mstudiomesh_t (line 307) | typedef struct
type mstudiotrivert_t (line 318) | typedef struct
FILE: game_shared/bitvec.h
function class (line 13) | class CBitVecAccessor
function CBitVecAccessor (line 63) | inline CBitVecAccessor::CBitVecAccessor(unsigned long *pDWords, int iBit)
function GetDWord (line 144) | unsigned long CBitVec<NUM_BITS>::GetDWord( int i )
FILE: game_shared/voice_banmgr.cpp
function HashPlayerID (line 16) | unsigned char HashPlayerID( char const playerID[16] )
FILE: game_shared/voice_banmgr.h
function class (line 12) | class CVoiceBanMgr
FILE: game_shared/voice_common.h
type CBitVec (line 16) | typedef CBitVec<VOICE_MAX_PLAYERS> CPlayerBitVec;
FILE: game_shared/voice_gamemgr.cpp
function CBasePlayer (line 46) | static CBasePlayer* FindPlayerByName(const char *pTestName)
function VoiceServerDebug (line 68) | static void VoiceServerDebug( char const *pFmt, ... )
FILE: game_shared/voice_gamemgr.h
function class (line 22) | class IVoiceGameMgrHelper
function class (line 34) | class CVoiceGameMgr
FILE: game_shared/voice_status.cpp
function CVoiceStatus (line 24) | CVoiceStatus *GetClientVoice()
function __MsgFunc_VoiceMask (line 29) | int __MsgFunc_VoiceMask( const char *pszName, int iSize, void *pbuf )
function __MsgFunc_ReqState (line 37) | int __MsgFunc_ReqState( const char *pszName, int iSize, void *pbuf )
function ForEachBannedPlayer (line 46) | void ForEachBannedPlayer( char id[16] )
function ShowBannedCallback (line 61) | void ShowBannedCallback()
FILE: game_shared/voice_status.h
function class (line 16) | class IVoiceStatusHelper
function class (line 35) | class IVoiceStatus
function class (line 44) | class IVoiceHud
function virtual (line 106) | virtual bool CanShowSpeakerLabels()
function virtual (line 111) | virtual void GetPlayerTextColor( int entindex, int color[3] )
function virtual (line 116) | virtual int GetAckIconHeight()
function IsTalking (line 121) | bool IsTalking()
function ServerAcked (line 126) | bool ServerAcked()
function CVoiceBanMgr (line 131) | CVoiceBanMgr *GetBanMgr() { return &m_BanMgr; }
FILE: game_shared/voice_status_hud.cpp
function IVoiceHud (line 64) | IVoiceHud *GetClientVoiceHud()
type model_s (line 311) | struct model_s
function CVoiceLabel (line 341) | CVoiceLabel *CVoiceStatusHud::FindVoiceLabel( int clientindex )
function CVoiceLabel (line 352) | CVoiceLabel *CVoiceStatusHud::GetFreeVoiceLabel()
FILE: game_shared/voice_status_hud.h
function class (line 37) | class CVoiceLabel
FILE: pm_shared/pm_debug.cpp
function PM_ShowClipBox (line 25) | void PM_ShowClipBox()
function PM_ParticleLine (line 58) | void PM_ParticleLine(vec3_t start, vec3_t end, int pcolor, float life, f...
function PM_DrawRectangle (line 83) | void PM_DrawRectangle(vec3_t tl, vec3_t bl, vec3_t tr, vec3_t br, int pc...
function PM_DrawPhysEntBBox (line 91) | void PM_DrawPhysEntBBox(int num, int pcolor, float life)
function PM_DrawBBox (line 173) | void PM_DrawBBox(vec3_t mins, vec3_t maxs, vec3_t origin, int pcolor, fl...
function PM_ViewEntity (line 206) | void PM_ViewEntity()
FILE: pm_shared/pm_defs.h
type physent_t (line 57) | typedef struct physent_s
type playermove_t (line 98) | typedef struct playermove_s
FILE: pm_shared/pm_math.cpp
function anglemod (line 10) | float anglemod(float a)
function AngleVectors (line 16) | void AngleVectors(const vec_t *angles, vec_t *forward, vec_t *right, vec...
function AngleVectorsTranspose (line 55) | void AngleVectorsTranspose(const vec_t *angles, vec_t *forward, vec_t *r...
function AngleMatrix (line 90) | void AngleMatrix(const vec_t *angles, float (*matrix)[4])
function AngleIMatrix (line 124) | void AngleIMatrix(const vec_t *angles, float (*matrix)[4])
function NormalizeAngles (line 154) | void NormalizeAngles(float *angles)
function InterpolateAngles (line 175) | void InterpolateAngles(float *start, float *end, float *output, float frac)
function AngleBetweenVectors (line 205) | float AngleBetweenVectors(const vec_t *v1, const vec_t *v2)
function VectorTransform (line 220) | void VectorTransform(const vec_t *in1, float (*in2)[4], vec_t *out)
function VectorCompare (line 227) | int VectorCompare(const vec_t *v1, const vec_t *v2)
function VectorMA (line 239) | void VectorMA(const vec_t *veca, float scale, const vec_t *vecb, vec_t *...
function _DotProduct (line 246) | float _DotProduct(const vec_t *v1, const vec_t *v2)
function _VectorSubtract (line 251) | void _VectorSubtract(vec_t *veca, vec_t *vecb, vec_t *out)
function _VectorAdd (line 258) | void _VectorAdd(vec_t *veca, vec_t *vecb, vec_t *out)
function _VectorCopy (line 265) | void _VectorCopy(vec_t *in, vec_t *out)
function CrossProduct (line 272) | void CrossProduct(const vec_t *v1, const vec_t *v2, vec_t *cross)
function Length (line 279) | float Length(const vec_t *v)
function Distance (line 290) | float Distance(const vec_t *v1, const vec_t *v2)
function VectorNormalize (line 297) | float VectorNormalize(vec_t *v)
function VectorInverse (line 316) | void VectorInverse(vec_t *v)
function VectorScale (line 323) | void VectorScale(const vec_t *in, vec_t scale, vec_t *out)
function Q_log2 (line 330) | int Q_log2(int val)
function VectorMatrix (line 339) | void VectorMatrix(vec_t *forward, vec_t *right, vec_t *up)
function VectorAngles (line 365) | void VectorAngles(const vec_t *forward, vec_t *angles)
FILE: pm_shared/pm_movevars.h
type movevars_t (line 35) | typedef struct movevars_s
FILE: pm_shared/pm_shared.cpp
function PM_SwapTextures (line 61) | void PM_SwapTextures(int i, int j)
function qboolean (line 76) | qboolean PM_IsThereGrassTexture()
function PM_SortTextures (line 87) | void PM_SortTextures()
function PM_InitTextureTypes (line 104) | void PM_InitTextureTypes()
function PM_FindTextureType (line 172) | char PM_FindTextureType(char *name)
function PM_PlayStepSound (line 205) | void PM_PlayStepSound(int step, float fvol)
function PM_MapTextureTypeStepType (line 358) | int PM_MapTextureTypeStepType(char chTextureType)
function PM_CatagorizeTextureType (line 374) | void PM_CatagorizeTextureType()
function PM_UpdateStepSound (line 408) | void PM_UpdateStepSound()
function qboolean (line 531) | qboolean PM_AddToTouched(pmtrace_t tr, vec_t *impactvelocity)
function PM_CheckVelocity (line 557) | void PM_CheckVelocity()
function PM_ClipVelocity (line 595) | int PM_ClipVelocity(vec_t *in, vec_t *normal, vec_t *out, float overbounce)
function PM_AddCorrectGravity (line 639) | void PM_AddCorrectGravity()
function PM_FixupGravityVelocity (line 661) | void PM_FixupGravityVelocity()
function PM_FlyMove (line 678) | int PM_FlyMove()
function PM_Accelerate (line 856) | void PM_Accelerate(vec_t *wishdir, float wishspeed, float accel)
function PM_WalkMove (line 897) | void PM_WalkMove()
function PM_Friction (line 1085) | void PM_Friction()
function PM_AirAccelerate (line 1168) | void PM_AirAccelerate(vec_t *wishdir, float wishspeed, float accel)
function PM_WaterMove (line 1208) | void PM_WaterMove()
function PM_AirMove (line 1315) | void PM_AirMove()
function qboolean (line 1363) | qboolean PM_InWater()
function qboolean (line 1369) | qboolean PM_CheckWater()
function PM_CategorizePosition (line 1445) | void PM_CategorizePosition()
function PM_GetRandomStuckOffsets (line 1511) | int PM_GetRandomStuckOffsets(int nIndex, int server, vec_t *offset)
function PM_ResetStuckOffsets (line 1522) | void PM_ResetStuckOffsets(int nIndex, int server)
function qboolean (line 1530) | qboolean PM_CheckStuck()
function PM_SpectatorMove (line 1648) | void PM_SpectatorMove()
function PM_SplineFraction (line 1780) | float PM_SplineFraction(float value, float scale)
function PM_SimpleSpline (line 1791) | float PM_SimpleSpline(float value)
function PM_FixPlayerCrouchStuck (line 1800) | void PM_FixPlayerCrouchStuck(int direction)
function PM_UnDuck (line 1830) | void PM_UnDuck()
function PM_Duck (line 1883) | void PM_Duck()
function PM_LadderMove (line 1988) | void PM_LadderMove(physent_t *pLadder)
function physent_t (line 2105) | physent_t *PM_Ladder()
function PM_WaterJump (line 2138) | void PM_WaterJump()
function PM_AddGravity (line 2162) | void PM_AddGravity()
function pmtrace_t (line 2179) | pmtrace_t PM_PushEntity(vec_t *push)
function PM_Physics_Toss (line 2199) | void PM_Physics_Toss()
function PM_NoClip (line 2304) | void PM_NoClip()
function PM_PreventMegaBunnyJumping (line 2336) | void PM_PreventMegaBunnyJumping()
function PM_Jump (line 2363) | void PM_Jump()
function PM_CheckWaterJump (line 2507) | void PM_CheckWaterJump()
function PM_CheckFalling (line 2582) | void PM_CheckFalling()
function PM_PlayWaterSounds (line 2630) | void PM_PlayWaterSounds()
function PM_CalcRoll (line 2653) | float PM_CalcRoll(vec_t *angles, vec_t *velocity, float rollangle, float...
function PM_DropPunchAngle (line 2680) | void PM_DropPunchAngle(vec_t *punchangle)
function PM_CheckParameters (line 2691) | void PM_CheckParameters()
function PM_ReduceTimers (line 2759) | void PM_ReduceTimers()
function qboolean (line 2802) | qboolean PM_ShouldDoSpectMode()
function PM_PlayerMove (line 2811) | void PM_PlayerMove(qboolean server)
function PM_CreateStuckTable (line 3061) | void PM_CreateStuckTable()
function PM_Move (line 3197) | void PM_Move(playermove_t *ppmove, int server)
function PM_GetVisEntInfo (line 3217) | int PM_GetVisEntInfo(int ent)
function PM_GetPhysEntInfo (line 3227) | int PM_GetPhysEntInfo(int ent)
function PM_Init (line 3237) | void PM_Init( playermove_t *ppmove)
FILE: public/cl_dll/IGameClientExports.h
function class (line 19) | class IGameClientExports : public IBaseInterface
FILE: public/steam/steamtypes.h
type uint8 (line 30) | typedef unsigned char uint8;
type int8 (line 31) | typedef signed char int8;
type __int16 (line 35) | typedef __int16 int16;
type uint16 (line 36) | typedef unsigned __int16 uint16;
type __int32 (line 37) | typedef __int32 int32;
type uint32 (line 38) | typedef unsigned __int32 uint32;
type __int64 (line 39) | typedef __int64 int64;
type uint64 (line 40) | typedef unsigned __int64 uint64;
type __int64 (line 43) | typedef __int64 intp;
type uintp (line 44) | typedef unsigned __int64 uintp;
type __int32 (line 46) | typedef __int32 intp;
type uintp (line 47) | typedef unsigned __int32 uintp;
type int16 (line 52) | typedef short int16;
type uint16 (line 53) | typedef unsigned short uint16;
type int32 (line 54) | typedef int int32;
type uint32 (line 55) | typedef unsigned int uint32;
type int64 (line 56) | typedef long long int64;
type uint64 (line 57) | typedef unsigned long long uint64;
type intp (line 59) | typedef long long intp;
type uintp (line 60) | typedef unsigned long long uintp;
type intp (line 62) | typedef int intp;
type uintp (line 63) | typedef unsigned int uintp;
type uint8 (line 74) | typedef uint8 Salt_t[ k_cubSaltSize ];
type uint64 (line 82) | typedef uint64 GID_t;
type GID_t (line 91) | typedef GID_t JobID_t;
type GID_t (line 92) | typedef GID_t TxnID_t;
type uint32 (line 104) | typedef uint32 PackageId_t;
type uint32 (line 115) | typedef uint32 AppId_t;
type uint64 (line 122) | typedef uint64 AssetClassId_t;
type uint32 (line 129) | typedef uint32 PhysicalItemId_t;
type uint32 (line 141) | typedef uint32 DepotId_t;
type uint32 (line 151) | typedef uint32 RTime32;
type uint32 (line 153) | typedef uint32 CellID_t;
type uint64 (line 161) | typedef uint64 SteamAPICall_t;
type uint32 (line 168) | typedef uint32 AccountID_t;
type uint32 (line 170) | typedef uint32 PartnerId_t;
FILE: public/utflib.cpp
function Q_DecodeUTF8 (line 18) | uint32_t Q_DecodeUTF8( utfstate_t *s, uint32_t in )
function Q_DecodeUTF16 (line 77) | uint32_t Q_DecodeUTF16( utfstate_t *s, uint32_t in )
function Q_CodepointLength (line 117) | static size_t Q_CodepointLength( uint32_t ch )
function Q_EncodeUTF8 (line 129) | size_t Q_EncodeUTF8( char dst[4], uint32_t ch )
function Q_UTF8Length (line 153) | size_t Q_UTF8Length( const char *s )
function Q_UTF16ToUTF8 (line 174) | size_t Q_UTF16ToUTF8( char *dst, size_t dstsize, const uint16_t *src, si...
function Q_UnicodeToCP1251 (line 216) | uint32_t Q_UnicodeToCP1251( uint32_t uc )
function Q_UnicodeToCP1252 (line 238) | uint32_t Q_UnicodeToCP1252( uint32_t uc )
FILE: public/utflib.h
type utfstate_t (line 21) | typedef struct utfstate_s
Condensed preview — 431 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (2,496K chars).
[
{
"path": ".clang-format",
"chars": 1525,
"preview": "BasedOnStyle: WebKit\nAccessModifierOffset: -4\nAlignAfterOpenBracket: Align\nAlignConsecutiveAssignments: false\nAlignConse"
},
{
"path": ".gitattributes",
"chars": 88,
"preview": "* text=auto eol=lf\n*.{cmd,[cC][mM][dD]} text eol=crlf\n*.{bat,[bB][aA][tT]} text eol=crlf"
},
{
"path": ".github/workflows/build.yml",
"chars": 6230,
"preview": "name: Build and Deploy\non: [ push, pull_request ]\n\njobs:\n android:\n name: Android\n runs-on: ubuntu-latest\n ste"
},
{
"path": ".gitignore",
"chars": 559,
"preview": "# Compiled Object files\n*.slo\n*.lo\n*.o\n*.obj\n\n# Precompiled Headers\n*.gch\n*.pch\n\n# Compiled Dynamic libraries\n*.so\n*.dyl"
},
{
"path": ".gitmodules",
"chars": 401,
"preview": "[submodule \"3rdparty/yapb\"]\n\tpath = 3rdparty/yapb\n\turl = https://github.com/yapb/yapb\n[submodule \"3rdparty/mainui_cpp\"]\n"
},
{
"path": "3rdparty/cs16client-extras/gfx/shell/strings.lst",
"chars": 1197,
"preview": "189\t\" \"\n190\t\"Learn how to play Counter-Strike, be prepared for the real battles.\"\n191\t\"Load to a saved place in the trai"
},
{
"path": "3rdparty/cs16client-extras/touch/bots/bots.cfg",
"chars": 1616,
"preview": "_reset_menu\ncmd_scripting 1\nset menu_root_path \"touch/bots\"\nset _menu_file_name \"bots.cfg\"\nalias build_menu \"exec touch/"
},
{
"path": "3rdparty/cs16client-extras/touch/bots/my_menu-2-addbot.cfg",
"chars": 589,
"preview": "cmd_scripting 1\nset menu_root_path \"touch/bots\"\nset _menu_id my_menu-2-addbot\nset _menu_level 2\nset _menu_min 3\nset _men"
},
{
"path": "3rdparty/cs16client-extras/touch/bots/my_menu-2-settings.cfg",
"chars": 1070,
"preview": "cmd_scripting 1\nset menu_root_path \"touch/bots\"\nset _menu_id my_menu-2-settings\nset _menu_level 2\nset _menu_min 3\nset _m"
},
{
"path": "3rdparty/cs16client-extras/touch/bots/my_menu-3-quota.cfg",
"chars": 1089,
"preview": "cmd_scripting 1\nset menu_root_path \"touch/bots\"\nset _menu_id my_menu-3-quota\nset _menu_level 3\nset _menu_min 3\nset _menu"
},
{
"path": "3rdparty/cs16client-extras/touch/bots/my_menu-3-set1.cfg",
"chars": 1104,
"preview": "cmd_scripting 1\nset menu_root_path \"touch/bots\"\nset _menu_id my_menu-3-set1\nset _menu_level 3\nset _menu_min 3\nset _menu_"
},
{
"path": "3rdparty/cs16client-extras/touch/bots/my_menu-3-set2.cfg",
"chars": 554,
"preview": "cmd_scripting 1\nset menu_root_path \"touch/bots\"\nset _menu_id my_menu-3-set2\nset _menu_level 3\nset _menu_min 4\nset _menu_"
},
{
"path": "3rdparty/cs16client-extras/touch/bots/my_menu-3-set3.cfg",
"chars": 842,
"preview": "cmd_scripting 1\nset menu_root_path \"touch/bots\"\nset _menu_id my_menu-3-set3\nset _menu_level 3\nset _menu_min 5\nset _menu_"
},
{
"path": "3rdparty/cs16client-extras/touch/bots/my_menu-3-set4.cfg",
"chars": 860,
"preview": "cmd_scripting 1\nset menu_root_path \"touch/bots\"\nset _menu_id my_menu-3-set4\nset _menu_level 3\nset _menu_min 6\nset _menu_"
},
{
"path": "3rdparty/cs16client-extras/touch/bots/my_menu-3-set5.cfg",
"chars": 630,
"preview": "cmd_scripting 1\nset menu_root_path \"touch/bots\"\nset _menu_id my_menu-3-set5\nset _menu_level 3\nset _menu_min 7\nset _menu_"
},
{
"path": "3rdparty/cs16client-extras/touch/bots/my_menu-3-set6.cfg",
"chars": 693,
"preview": "cmd_scripting 1\nset menu_root_path \"touch/bots\"\nset _menu_id my_menu-3-set6\nset _menu_level 3\nset _menu_min 8\nset _menu_"
},
{
"path": "3rdparty/cs16client-extras/touch/buy.cfg",
"chars": 6167,
"preview": "// Coded by Alprnn357\r\ntouch_setclientonly 1\r\ncmd_scripting 1\r\ntouch_set_stroke 1 255 174 0 150\r\n\r\nalias _erase_frame \"t"
},
{
"path": "3rdparty/cs16client-extras/touch/buy_item_ct.cfg",
"chars": 11852,
"preview": "// Coded by Alprnn357\r\ntouch_setclientonly 1\r\ncmd_scripting 1\r\ntouch_set_stroke 1 255 174 0 150\r\n\r\nalias _erase_frame \"t"
},
{
"path": "3rdparty/cs16client-extras/touch/buy_item_t.cfg",
"chars": 11117,
"preview": "// Coded by Alprnn357\r\ntouch_setclientonly 1\r\ncmd_scripting 1\r\ntouch_set_stroke 1 255 174 0 150\r\n\r\nalias _erase_frame \"t"
},
{
"path": "3rdparty/cs16client-extras/touch/buy_machinegun_ct.cfg",
"chars": 18380,
"preview": "// Coded by Alprnn357\r\ntouch_setclientonly 1\r\ncmd_scripting 1\r\ntouch_set_stroke 1 255 174 0 150\r\n\r\nalias _erase_frame \"t"
},
{
"path": "3rdparty/cs16client-extras/touch/buy_machinegun_t.cfg",
"chars": 18380,
"preview": "// Coded by Alprnn357\r\ntouch_setclientonly 1\r\ncmd_scripting 1\r\ntouch_set_stroke 1 255 174 0 150\r\n\r\nalias _erase_frame \"t"
},
{
"path": "3rdparty/cs16client-extras/touch/buy_pistol_ct.cfg",
"chars": 18811,
"preview": "// Coded by Alprnn357\r\ntouch_setclientonly 1\r\ncmd_scripting 1\r\ntouch_set_stroke 1 255 174 0 150\r\n\r\nalias _erase_frame \"t"
},
{
"path": "3rdparty/cs16client-extras/touch/buy_pistol_t.cfg",
"chars": 20684,
"preview": "// Coded by Alprnn357\r\ntouch_setclientonly 1\r\ncmd_scripting 1\r\ntouch_set_stroke 1 255 174 0 150\r\n\r\nalias _erase_frame \"t"
},
{
"path": "3rdparty/cs16client-extras/touch/buy_rifle_ct.cfg",
"chars": 18562,
"preview": "// Coded by Alprnn357\r\ntouch_setclientonly 1\r\ncmd_scripting 1\r\ntouch_set_stroke 1 255 174 0 150\r\n\r\nalias _erase_frame \"t"
},
{
"path": "3rdparty/cs16client-extras/touch/buy_rifle_t.cfg",
"chars": 18874,
"preview": "// Coded by Alprnn357\r\ntouch_setclientonly 1\r\ncmd_scripting 1\r\ntouch_set_stroke 1 255 174 0 150\r\n\r\nalias _erase_frame \"t"
},
{
"path": "3rdparty/cs16client-extras/touch/buy_shotgun_ct.cfg",
"chars": 18508,
"preview": "// Coded by Alprnn357\r\ntouch_setclientonly 1\r\ncmd_scripting 1\r\ntouch_set_stroke 1 255 174 0 150\r\n\r\nalias _erase_frame \"t"
},
{
"path": "3rdparty/cs16client-extras/touch/buy_shotgun_t.cfg",
"chars": 18508,
"preview": "// Coded by Alprnn357\r\ntouch_setclientonly 1\r\ncmd_scripting 1\r\ntouch_set_stroke 1 255 174 0 150\r\n\r\nalias _erase_frame \"t"
},
{
"path": "3rdparty/cs16client-extras/touch/buy_submachinegun_ct.cfg",
"chars": 18707,
"preview": "// Coded by Alprnn357\r\ntouch_setclientonly 1\r\ncmd_scripting 1\r\ntouch_set_stroke 1 255 174 0 150\r\n\r\nalias _erase_frame \"t"
},
{
"path": "3rdparty/cs16client-extras/touch/buy_submachinegun_t.cfg",
"chars": 18715,
"preview": "// Coded by Alprnn357\r\ntouch_setclientonly 1\r\ncmd_scripting 1\r\ntouch_set_stroke 1 255 174 0 150\r\n\r\nalias _erase_frame \"t"
},
{
"path": "3rdparty/cs16client-extras/touch/chooseteam.cfg",
"chars": 11967,
"preview": "// Coded by Alprnn357\r\ntouch_setclientonly 1\r\ncmd_scripting 1\r\ntouch_set_stroke 1 255 174 0 150\r\nset scenario_defined 0\r"
},
{
"path": "3rdparty/cs16client-extras/touch/chooseteam_ct.cfg",
"chars": 9076,
"preview": "// Coded by Alprnn357\r\ntouch_setclientonly 1\r\ncmd_scripting 1\r\ntouch_set_stroke 1 255 174 0 150\r\n\r\nalias _erase_frame \"t"
},
{
"path": "3rdparty/cs16client-extras/touch/chooseteam_tr.cfg",
"chars": 8658,
"preview": "// Coded by Alprnn357\r\ntouch_setclientonly 1\r\ncmd_scripting 1\r\ntouch_set_stroke 1 255 174 0 150\r\n\r\nalias _erase_frame \"t"
},
{
"path": "3rdparty/cs16client-extras/touch/cmd/cmd.cfg",
"chars": 1455,
"preview": "//=======================================================================\n// TOUCH COMMAND MENU\n// Copyright (c) 2016 Mi"
},
{
"path": "3rdparty/cs16client-extras/touch/cmd/my_menu-2-connection.cfg",
"chars": 870,
"preview": "//=======================================================================\n// TOUCH COMMAND MENU\n// Copyright (c) 2016 Mi"
},
{
"path": "3rdparty/cs16client-extras/touch/cmd/my_menu-2-demo.cfg",
"chars": 490,
"preview": "cmd_scripting 1\nset menu_root_path \"touch/cmd\"\nset _menu_id my_menu-2-demo\nset _menu_level 2\nset _menu_min 7\nset _menu_m"
},
{
"path": "3rdparty/cs16client-extras/touch/cmd/my_menu-2-game.cfg",
"chars": 1346,
"preview": "//=======================================================================\n// TOUCH COMMAND MENU\n// Copyright (c) 2016 Mi"
},
{
"path": "3rdparty/cs16client-extras/touch/cmd/my_menu-2-graphic.cfg",
"chars": 1185,
"preview": "//=======================================================================\n// TOUCH COMMAND MENU\n// Copyright (c) 2016 Mi"
},
{
"path": "3rdparty/cs16client-extras/touch/cmd/my_menu-2-server.cfg",
"chars": 1086,
"preview": "//=======================================================================\n// TOUCH COMMAND MENU\n// Copyright (c) 2016 Mi"
},
{
"path": "3rdparty/cs16client-extras/touch/cmd/my_menu-3-console.cfg",
"chars": 1121,
"preview": "//=======================================================================\n// TOUCH COMMAND MENU\n// Copyright (c) 2016 Mi"
},
{
"path": "3rdparty/cs16client-extras/touch/cmd/my_menu-3-crosshair.cfg",
"chars": 835,
"preview": "cmd_scripting 1\r\nset menu_root_path \"touch/cmd\"\r\nset _menu_id my_menu-3-crosshair\r\nset _menu_level 3\r\nset _menu_min 6\r\ns"
},
{
"path": "3rdparty/cs16client-extras/touch/cmd/my_menu-3-cvars.cfg",
"chars": 1215,
"preview": "//=======================================================================\n// TOUCH COMMAND MENU\n// Copyright (c) 2016 Mi"
},
{
"path": "3rdparty/cs16client-extras/touch/cmd/my_menu-3-fps.cfg",
"chars": 641,
"preview": "cmd_scripting 1\nset menu_root_path \"touch/cmd\"\nset _menu_id my_menu-3-fps\nset _menu_level 3\nset _menu_min 6\nset _menu_ma"
},
{
"path": "3rdparty/cs16client-extras/touch/cmd/my_menu-3-hud.cfg",
"chars": 1169,
"preview": "//=======================================================================\r\n// TOUCH COMMAND MENU\r\n// Copyright (c) 2016 "
},
{
"path": "3rdparty/cs16client-extras/touch/cmd/my_menu-3-maps.cfg",
"chars": 1121,
"preview": "//=======================================================================\n// TOUCH RADIO MENU\n// Copyright (c) 2016 Mikh"
},
{
"path": "3rdparty/cs16client-extras/touch/cmd/my_menu-3-model.cfg",
"chars": 566,
"preview": "//=======================================================================\n// TOUCH COMMAND MENU\n// Copyright (c) 2016 Mi"
},
{
"path": "3rdparty/cs16client-extras/touch/cmd/my_menu-3-numerical.cfg",
"chars": 1243,
"preview": "//=======================================================================\n// TOUCH COMMAND MENU\n// Copyright (c) 2016 Mi"
},
{
"path": "3rdparty/cs16client-extras/touch/cmd/my_menu-3-radar.cfg",
"chars": 420,
"preview": "cmd_scripting 1\nset menu_root_path \"touch/cmd\"\nset _menu_id my_menu-3-radar\nset _menu_level 3\nset _menu_min 7\nset _menu_"
},
{
"path": "3rdparty/cs16client-extras/touch/cmd/my_menu-3-scoreboard.cfg",
"chars": 913,
"preview": "//=======================================================================\n// TOUCH COMMAND MENU\n// Copyright (c) 2016 Mi"
},
{
"path": "3rdparty/cs16client-extras/touch/cmd/my_menu-3-texture.cfg",
"chars": 852,
"preview": "//=======================================================================\n// TOUCH COMMAND MENU\n// Copyright (c) 2016 Mi"
},
{
"path": "3rdparty/cs16client-extras/touch/cmd/my_menu-3-voice.cfg",
"chars": 862,
"preview": "cmd_scripting 1\nset menu_root_path \"touch/cmd\"\nset _menu_id my_menu-3-voice\nset _menu_level 3\nset _menu_min 5\nset _menu_"
},
{
"path": "3rdparty/cs16client-extras/touch/cmd/my_menu-4-cross-size.cfg",
"chars": 929,
"preview": "cmd_scripting 1\nset menu_root_path \"touch/cmd\"\nset _menu_id my_menu-4-cross-size\nset _menu_level 4\nset _menu_min 7\nset _"
},
{
"path": "3rdparty/cs16client-extras/touch/cmd/my_menu-4-cvar0.cfg",
"chars": 597,
"preview": "cmd_scripting 1\nset menu_root_path \"touch/cmd\"\nset _menu_id my_menu-4-cvar0\nset _menu_level 4\nset _menu_min 5\nset _menu_"
},
{
"path": "3rdparty/cs16client-extras/touch/cmd/my_menu-4-cvar1.cfg",
"chars": 1061,
"preview": "cmd_scripting 1\nset menu_root_path \"touch/cmd\"\nset _menu_id my_menu-4-cvar1\nset _menu_level 4\nset _menu_min 3\nset _menu_"
},
{
"path": "3rdparty/cs16client-extras/touch/cmd/my_menu-4-cvar2.cfg",
"chars": 1339,
"preview": "cmd_scripting 1\nset menu_root_path \"touch/cmd\"\nset _menu_id my_menu-4-cvar2\nset _menu_level 4\nset _menu_min 1\nset _menu_"
},
{
"path": "3rdparty/cs16client-extras/touch/cmd/my_menu-4-cvar3.cfg",
"chars": 1290,
"preview": "cmd_scripting 1\nset menu_root_path \"touch/cmd\"\nset _menu_id my_menu-4-cvar3\nset _menu_level 4\nset _menu_min 1\nset _menu_"
},
{
"path": "3rdparty/cs16client-extras/touch/cmd/my_menu-4-cvar4.cfg",
"chars": 1015,
"preview": "cmd_scripting 1\nset menu_root_path \"touch/cmd\"\nset _menu_id my_menu-4-cvar4\nset _menu_level 4\nset _menu_min 4\nset _menu_"
},
{
"path": "3rdparty/cs16client-extras/touch/cmd/my_menu-4-cvar5.cfg",
"chars": 1337,
"preview": "cmd_scripting 1\nset menu_root_path \"touch/cmd\"\nset _menu_id my_menu-4-cvar5\nset _menu_level 4\nset _menu_min 1\nset _menu_"
},
{
"path": "3rdparty/cs16client-extras/touch/cmd/my_menu-4-xhair.cfg",
"chars": 1307,
"preview": "cmd_scripting 1\r\nset menu_root_path \"touch/cmd\"\r\nset _menu_id my_menu-4-xhair\r\nset _menu_level 4\r\nset _menu_min 1\r\nset _"
},
{
"path": "3rdparty/cs16client-extras/touch/cmd/my_menu-5-cvar0-2.cfg",
"chars": 900,
"preview": "cmd_scripting 1\nset menu_root_path \"touch/cmd\"\nset _menu_id my_menu-5-cvar0-2\nset _menu_level 5\nset _menu_min 5\nset _men"
},
{
"path": "3rdparty/cs16client-extras/touch/cmd/my_menu-5-cvar2-2.cfg",
"chars": 709,
"preview": "cmd_scripting 1\nset menu_root_path \"touch/cmd\"\nset _menu_id my_menu-5-cvar2-2\nset _menu_level 5\nset _menu_min 2\nset _men"
},
{
"path": "3rdparty/cs16client-extras/touch/cmd/my_menu-5-cvar3-2.cfg",
"chars": 561,
"preview": "cmd_scripting 1\nset menu_root_path \"touch/cmd\"\nset _menu_id my_menu-5-cvar3-2\nset _menu_level 5\nset _menu_min 1\nset _men"
},
{
"path": "3rdparty/cs16client-extras/touch/cmd/my_menu-5-cvar5-2.cfg",
"chars": 707,
"preview": "cmd_scripting 1\nset menu_root_path \"touch/cmd\"\nset _menu_id my_menu-5-cvar5-2\nset _menu_level 5\nset _menu_min 6\nset _men"
},
{
"path": "3rdparty/cs16client-extras/touch/cmd/my_menu-5-voicequality.cfg",
"chars": 1260,
"preview": "cmd_scripting 1\nset menu_root_path \"touch/cmd\"\nset _menu_id my_menu-5-voicequality\nset _menu_level 5\nset _menu_min 5\nset"
},
{
"path": "3rdparty/cs16client-extras/touch/cmd/my_menu-5-xhair.cfg",
"chars": 493,
"preview": "cmd_scripting 1\r\nset menu_root_path \"touch/cmd\"\r\nset _menu_id my_menu-5-xhair\r\nset _menu_level 5\r\nset _menu_min 8\r\nset _"
},
{
"path": "3rdparty/cs16client-extras/touch/custom/dm_menu.cfg",
"chars": 12265,
"preview": "// * Auto generated file\n\ntouch_setclientonly 1\n\n// global overstroke (width, r, g, b, a)\ntouch_set_stroke 1 240 140 0 2"
},
{
"path": "3rdparty/cs16client-extras/touch/custom/my_menu-5-controls.cfg",
"chars": 1271,
"preview": "//=======================================================================\n// TOUCH RADIO MENU\n// Copyright (c) 2016 Mikh"
},
{
"path": "3rdparty/cs16client-extras/touch/custom/my_menu-language.cfg",
"chars": 434,
"preview": "cmd_scripting 1\nif $ui_language = english\t// English\n:set _menu_txt_on \"ON\"\n:set _menu_txt_off \"OFF\"\n:set _menu_txt_cont"
},
{
"path": "3rdparty/cs16client-extras/touch/customcmd.cfg",
"chars": 28506,
"preview": "// \t\tFounder of customcmd guy named as 'ahsim' not mine, i just re-write and delete sh1t from code.\t\t//\n//\t\tby /w_sh1t -"
},
{
"path": "3rdparty/cs16client-extras/touch/numerical_menu.cfg",
"chars": 167,
"preview": "cmd_scripting 1\n\nif $numericalmenu = 1\n:exec touch/numerical_menu1\nif $numericalmenu = 2\n:exec touch/numerical_menu2\nif "
},
{
"path": "3rdparty/cs16client-extras/touch/numerical_menu1.cfg",
"chars": 1485,
"preview": "if $numericalmenu_clientonly = 1\r\n:alias _erase_frame \"touch_removebutton _menu_*; unalias _erase_frame; touch_setclient"
},
{
"path": "3rdparty/cs16client-extras/touch/numerical_menu2.cfg",
"chars": 1485,
"preview": "if $numericalmenu_clientonly = 1\r\n:alias _erase_frame \"touch_removebutton _menu_*; unalias _erase_frame; touch_setclient"
},
{
"path": "3rdparty/cs16client-extras/touch/numerical_menu3.cfg",
"chars": 1485,
"preview": "if $numericalmenu_clientonly = 1\r\n:alias _erase_frame \"touch_removebutton _menu_*; unalias _erase_frame; touch_setclient"
},
{
"path": "3rdparty/cs16client-extras/touch/radioa.cfg",
"chars": 1061,
"preview": "//=======================================================================\n// TOUCH RADIO MENU\n// Copyright (c) 2016 Mikh"
},
{
"path": "3rdparty/cs16client-extras/touch/radiob.cfg",
"chars": 1045,
"preview": "//=======================================================================\n// TOUCH RADIO MENU\n// Copyright (c) 2016 Mikh"
},
{
"path": "3rdparty/cs16client-extras/touch/radioc.cfg",
"chars": 1375,
"preview": "//=======================================================================\n// TOUCH RADIO MENU\n// Copyright (c) 2016 Mikh"
},
{
"path": "3rdparty/cs16client-extras/touch/radioselector.cfg",
"chars": 1842,
"preview": "//=======================================================================\n// TOUCH RADIO MENU\n// Copyright (c) 2016 Mikh"
},
{
"path": "3rdparty/cs16client-extras/touch/scoreboard.cfg",
"chars": 402,
"preview": "//=======================================================================\n// Copyright (c) 2016 Poverennov Sergey a"
},
{
"path": "3rdparty/cs16client-extras/touch/scoreboard_classic.cfg",
"chars": 221,
"preview": "touch_setclientonly 1\n+showscores\nalias hidescore \"touch_removebutton _menu_*; -showscores; touch_setclientonly 0\"\ntouch"
},
{
"path": "3rdparty/cs16client-extras/touch/scoreboard_full.cfg",
"chars": 1348,
"preview": "//=======================================================================\n// Copyright (c) 2016 Poverennov Sergey a"
},
{
"path": "3rdparty/cs16client-extras/touch/scoreboard_short.cfg",
"chars": 1346,
"preview": "//=======================================================================\n// Copyright (c) 2016 Poverennov Sergey a"
},
{
"path": "3rdparty/cs16client-extras/touch.cfg",
"chars": 5157,
"preview": "//=======================================================================\n//\tCopyright SDLash3D team & XashXT group 2016"
},
{
"path": "3rdparty/cs16client-extras/touch_default/numbers.cfg",
"chars": 1400,
"preview": "touch_hide show_numbers\nalias _numbers_clean \"touch_removebutton _numbers_*;touch_show show_numbers;unalias _numbers_cle"
},
{
"path": "3rdparty/cs16client-extras/touch_presets/phone_ahsim.cfg",
"chars": 5157,
"preview": "//=======================================================================\n//\tCopyright SDLash3D team & XashXT group 2016"
},
{
"path": "3rdparty/cs16client-extras/touch_presets/phone_poverony.cfg",
"chars": 5131,
"preview": "//=======================================================================\n//\tCopyright SDLash3D team & XashXT group 2016"
},
{
"path": "3rdparty/cs16client-extras/touch_presets/psvita.cfg",
"chars": 3780,
"preview": "//=======================================================================\n//\tGenerated by Xash3D FWGS (3679, 43364ec, ma"
},
{
"path": "3rdparty/cs16client-extras/touch_presets/tablet_poverony.cfg",
"chars": 4951,
"preview": "//=======================================================================\n//\tCopyright SDLash3D team & XashXT group 2016"
},
{
"path": "3rdparty/cs16client-extras/touch_presets/touch_swank.cfg",
"chars": 4074,
"preview": "//=======================================================================\n//\tCopyright SDLash3D team & XashXT group 2016"
},
{
"path": "3rdparty/cs16client-extras/userconfig.d/touch_defalias.cfg",
"chars": 1621,
"preview": "//==============================================================================================\n// Copyright (c) 2016 "
},
{
"path": "3rdparty/cs16client-extras/userconfig.d/userconfig.cfg",
"chars": 72,
"preview": "// Default cvars\ncl_nopred 0\ncl_lc 1\ncl_lw 1\ncl_charset utf-8\nhud_utf8 1"
},
{
"path": "CMakeLists.txt",
"chars": 3792,
"preview": "cmake_minimum_required(VERSION 3.10)\nproject(cs16-client)\n\nset(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} \"${CMAKE_CURRENT_S"
},
{
"path": "CMakePresets.json",
"chars": 4317,
"preview": "{\n \"version\": 3,\n \"cmakeMinimumRequired\": {\n \"major\": 3,\n \"minor\": 21,\n \"patch\": 0\n },\n \"configurePresets\":"
},
{
"path": "LICENSE",
"chars": 3338,
"preview": "CS16Client LICENSE\n==================\n\nCopyright (C) 2015-2016 Flying With Gauss\n\nThis program is free software; you can"
},
{
"path": "README.md",
"chars": 5991,
"preview": "# CS16Client [](https://git"
},
{
"path": "android/app/build.gradle",
"chars": 2566,
"preview": "import java.time.LocalDateTime\nimport java.time.Month\nimport java.time.temporal.ChronoUnit\n\napply plugin: \"com.android.a"
},
{
"path": "android/app/src/main/AndroidManifest.xml",
"chars": 1438,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n xmlns:to"
},
{
"path": "android/app/src/main/java/su/xash/cs16client/CZeroActivity.java",
"chars": 1486,
"preview": "package su.xash.cs16client;\n\nimport android.app.Activity;\nimport android.content.ComponentName;\nimport android.content.I"
},
{
"path": "android/app/src/main/java/su/xash/cs16client/MainActivity.java",
"chars": 1487,
"preview": "package su.xash.cs16client;\n\nimport android.app.Activity;\nimport android.content.ComponentName;\nimport android.content.I"
},
{
"path": "android/app/src/main/res/drawable/ic_launcher_cz_foreground.xml",
"chars": 2782,
"preview": "<vector xmlns:android=\"http://schemas.android.com/apk/res/android\"\n android:width=\"108dp\"\n android:height=\"108dp\"\n"
},
{
"path": "android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml",
"chars": 333,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<adaptive-icon xmlns:android=\"http://schemas.android.com/apk/res/android\">\n <b"
},
{
"path": "android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_cz.xml",
"chars": 273,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<adaptive-icon xmlns:android=\"http://schemas.android.com/apk/res/android\">\n <b"
},
{
"path": "android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_cz_round.xml",
"chars": 273,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<adaptive-icon xmlns:android=\"http://schemas.android.com/apk/res/android\">\n <b"
},
{
"path": "android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_foreground.xml",
"chars": 2641,
"preview": "<vector xmlns:android=\"http://schemas.android.com/apk/res/android\"\n android:width=\"432dp\"\n android:height=\"432dp\"\n"
},
{
"path": "android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_monochrome.xml",
"chars": 2701,
"preview": "<vector xmlns:android=\"http://schemas.android.com/apk/res/android\"\n android:width=\"432dp\"\n android:height=\"432dp\"\n"
},
{
"path": "android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml",
"chars": 333,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<adaptive-icon xmlns:android=\"http://schemas.android.com/apk/res/android\">\n <b"
},
{
"path": "android/app/src/main/res/values/ic_launcher_background.xml",
"chars": 120,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n <color name=\"ic_launcher_background\">#EEEEEE</color>\n</resources>"
},
{
"path": "android/app/src/main/res/values/ic_launcher_cz_background.xml",
"chars": 123,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n <color name=\"ic_launcher_cz_background\">#FFFA71</color>\n</resourc"
},
{
"path": "android/app/src/main/res/values/strings.xml",
"chars": 111,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n <string name=\"app_name\">CS16Client</string>\n</resources>"
},
{
"path": "android/build.gradle",
"chars": 202,
"preview": "buildscript {\n\trepositories {\n\t\tmavenCentral()\n\t\tgoogle()\n\t}\n\n\tdependencies {\n\t\tclasspath 'com.android.tools.build:gradl"
},
{
"path": "android/gradle/wrapper/gradle-wrapper.properties",
"chars": 232,
"preview": "#Thu Oct 26 16:18:24 EEST 2023\ndistributionBase=GRADLE_USER_HOME\ndistributionPath=wrapper/dists\ndistributionUrl=https\\:/"
},
{
"path": "android/gradle.properties",
"chars": 889,
"preview": "# Project-wide Gradle settings.\n\n# IDE (e.g. Android Studio) users:\n# Gradle settings configured through the IDE *will o"
},
{
"path": "android/gradlew",
"chars": 4971,
"preview": "#!/usr/bin/env bash\n\n##############################################################################\n##\n## Gradle start "
},
{
"path": "android/gradlew.bat",
"chars": 2314,
"preview": "@if \"%DEBUG%\" == \"\" @echo off\n@rem ##########################################################################\n@rem\n@rem "
},
{
"path": "android/settings.gradle",
"chars": 47,
"preview": "include ':app'\n\nrootProject.name = 'CS16Client'"
},
{
"path": "cl_dll/CMakeLists.txt",
"chars": 2325,
"preview": "cmake_minimum_required(VERSION 3.10)\nproject(client)\n\nset(CLIENT_LIB client)\n\nfile(GLOB CS_CLIENT_SRC \"*.cpp\")\nfile(GLOB"
},
{
"path": "cl_dll/GameStudioModelRenderer.cpp",
"chars": 31836,
"preview": "/***\n*\n*\tCopyright (c) 1996-2002, Valve LLC. All rights reserved.\n*\n*\tThis product contains software technology licensed"
},
{
"path": "cl_dll/GameStudioModelRenderer.h",
"chars": 2242,
"preview": "\n/***\n*\n*\tCopyright (c) 1996-2002, Valve LLC. All rights reserved.\n*\n*\tThis product contains software technology license"
},
{
"path": "cl_dll/ScenarioStatus.cpp",
"chars": 0,
"preview": ""
},
{
"path": "cl_dll/SniperScope.cpp",
"chars": 0,
"preview": ""
},
{
"path": "cl_dll/StudioModelRenderer.cpp",
"chars": 38359,
"preview": "/***\n*\n*\tCopyright (c) 1996-2002, Valve LLC. All rights reserved.\n*\n*\tThis product contains software technology licensed"
},
{
"path": "cl_dll/VGUI/CSProgressBar.cpp",
"chars": 0,
"preview": ""
},
{
"path": "cl_dll/VGUI/CSProgressBar.h",
"chars": 0,
"preview": ""
},
{
"path": "cl_dll/VGUI/CareerBox.cpp",
"chars": 0,
"preview": ""
},
{
"path": "cl_dll/VGUI/CareerBox.h",
"chars": 0,
"preview": ""
},
{
"path": "cl_dll/VGUI/WeaponSetLabel.h",
"chars": 0,
"preview": ""
},
{
"path": "cl_dll/VGUI/backgroundpanel.cpp",
"chars": 0,
"preview": ""
},
{
"path": "cl_dll/VGUI/basecareermenu.cpp",
"chars": 0,
"preview": ""
},
{
"path": "cl_dll/VGUI/buymenu.cpp",
"chars": 0,
"preview": ""
},
{
"path": "cl_dll/VGUI/buymouseoverpanelbutton.h",
"chars": 0,
"preview": ""
},
{
"path": "cl_dll/VGUI/buypreset_editmenu.cpp",
"chars": 0,
"preview": ""
},
{
"path": "cl_dll/VGUI/buypreset_listbox.cpp",
"chars": 0,
"preview": ""
},
{
"path": "cl_dll/VGUI/buypreset_listbox.h",
"chars": 0,
"preview": ""
},
{
"path": "cl_dll/VGUI/buypreset_mainmenu.cpp",
"chars": 0,
"preview": ""
},
{
"path": "cl_dll/VGUI/buypresetimageinfo.cpp",
"chars": 0,
"preview": ""
},
{
"path": "cl_dll/VGUI/buypresetpanel.cpp",
"chars": 0,
"preview": ""
},
{
"path": "cl_dll/VGUI/buysubmenu.cpp",
"chars": 0,
"preview": ""
},
{
"path": "cl_dll/VGUI/buysubmenu.h",
"chars": 0,
"preview": ""
},
{
"path": "cl_dll/VGUI/careermatchendmenu.cpp",
"chars": 0,
"preview": ""
},
{
"path": "cl_dll/VGUI/careerroundendmenu.cpp",
"chars": 0,
"preview": ""
},
{
"path": "cl_dll/VGUI/counterstrikeviewport.cpp",
"chars": 0,
"preview": ""
},
{
"path": "cl_dll/VGUI/counterstrikeviewport_interface.cpp",
"chars": 0,
"preview": ""
},
{
"path": "cl_dll/VGUI/creditsmenu.cpp",
"chars": 0,
"preview": ""
},
{
"path": "cl_dll/VGUI/cstrikeclassmenu.cpp",
"chars": 0,
"preview": ""
},
{
"path": "cl_dll/VGUI/cstrikeclassmenu.h",
"chars": 0,
"preview": ""
},
{
"path": "cl_dll/VGUI/cstrikeclientscoreboard.cpp",
"chars": 0,
"preview": ""
},
{
"path": "cl_dll/VGUI/cstrikespectatorgui.cpp",
"chars": 0,
"preview": ""
},
{
"path": "cl_dll/VGUI/cstriketeammenu.cpp",
"chars": 0,
"preview": ""
},
{
"path": "cl_dll/ammo.cpp",
"chars": 45898,
"preview": "/***\n*\n*\tCopyright (c) 1996-2002, Valve LLC. All rights reserved.\n*\t\n*\tThis product contains software technology license"
},
{
"path": "cl_dll/ammo_secondary.cpp",
"chars": 4035,
"preview": "/***\n*\n*\tCopyright (c) 1996-2002, Valve LLC. All rights reserved.\n*\t\n*\tThis product contains software technology license"
},
{
"path": "cl_dll/ammohistory.cpp",
"chars": 5591,
"preview": "/***\n*\n*\tCopyright (c) 1996-2002, Valve LLC. All rights reserved.\n*\t\n*\tThis product contains software technology license"
},
{
"path": "cl_dll/ammohistory.h",
"chars": 3180,
"preview": "/***\n*\n*\tCopyright (c) 1996-2002, Valve LLC. All rights reserved.\n*\t\n*\tThis product contains software technology license"
},
{
"path": "cl_dll/battery.cpp",
"chars": 3048,
"preview": "/***\n*\n*\tCopyright (c) 1996-2002, Valve LLC. All rights reserved.\n*\t\n*\tThis product contains software technology license"
},
{
"path": "cl_dll/buy_preset.cpp",
"chars": 0,
"preview": ""
},
{
"path": "cl_dll/buy_preset_debug.cpp",
"chars": 0,
"preview": ""
},
{
"path": "cl_dll/buy_preset_weapon_info.cpp",
"chars": 0,
"preview": ""
},
{
"path": "cl_dll/buy_presets.cpp",
"chars": 0,
"preview": ""
},
{
"path": "cl_dll/buy_presets.h",
"chars": 0,
"preview": ""
},
{
"path": "cl_dll/cdll_int.cpp",
"chars": 14625,
"preview": "/***\n*\n*\tCopyright (c) 1996-2002, Valve LLC. All rights reserved.\n*\t\n*\tThis product contains software technology license"
},
{
"path": "cl_dll/cl_dll.dsp",
"chars": 13130,
"preview": "# Microsoft Developer Studio Project File - Name=\"cl_dll\" - Package Owner=<4>\r\n# Microsoft Developer Studio Generated Bu"
},
{
"path": "cl_dll/cl_util.h",
"chars": 6967,
"preview": "/***\n*\n*\tCopyright (c) 1996-2002, Valve LLC. All rights reserved.\n*\t\n*\tThis product contains software technology license"
},
{
"path": "cl_dll/com_weapons.cpp",
"chars": 6685,
"preview": "/***\n*\n*\tCopyright (c) 1996-2002, Valve LLC. All rights reserved.\n*\t\n*\tThis product contains software technology license"
},
{
"path": "cl_dll/cs_wpn/cs_baseentity.cpp",
"chars": 1280,
"preview": "/***\n*\n*\tCopyright (c) 1996-2002, Valve LLC. All rights reserved.\n*\t\n*\tThis product contains software technology license"
},
{
"path": "cl_dll/cs_wpn/cs_weapons.cpp",
"chars": 34502,
"preview": "/***\n*\n*\tCopyright (c) 1996-2002, Valve LLC. All rights reserved.\n*\n*\tThis product contains software technology licensed"
},
{
"path": "cl_dll/death.cpp",
"chars": 8796,
"preview": "/***\n*\n*\tCopyright (c) 1996-2002, Valve LLC. All rights reserved.\n*\t\n*\tThis product contains software technology license"
},
{
"path": "cl_dll/demo.cpp",
"chars": 2339,
"preview": "/***\n*\n*\tCopyright (c) 1996-2002, Valve LLC. All rights reserved.\n*\t\n*\tThis product contains software technology license"
},
{
"path": "cl_dll/draw_util.cpp",
"chars": 11100,
"preview": "/*\ndraw_util.cpp - Draw Utils\nCopyright (C) 2016 a1batross\n\nThis program is free software; you can redistribute it and/o"
},
{
"path": "cl_dll/entity.cpp",
"chars": 22733,
"preview": "//========= Copyright © 1996-2002, Valve LLC, All rights reserved. ============\n//\n// Purpose: \n//\n// $NoKeywords: $\n//="
},
{
"path": "cl_dll/ev_common.cpp",
"chars": 4950,
"preview": "/***\n*\n*\tCopyright (c) 1996-2002, Valve LLC. All rights reserved.\n*\t\n*\tThis product contains software technology license"
},
{
"path": "cl_dll/ev_hldm.cpp",
"chars": 46119,
"preview": "/***\n*\n*\tCopyright (c) 1996-2002, Valve LLC. All rights reserved.\n*\t\n*\tThis product contains software technology license"
},
{
"path": "cl_dll/events/ev_cs16.cpp",
"chars": 19304,
"preview": "/***\n*\n*\tCopyright (c) 1996-2002, Valve LLC. All rights reserved.\n*\t\n*\tThis product contains software technology license"
},
{
"path": "cl_dll/events/event_ak47.cpp",
"chars": 2878,
"preview": "/*\n*\n* This program is free software; you can redistribute it and/or modify it\n* under the terms of the GNU Genera"
},
{
"path": "cl_dll/events/event_aug.cpp",
"chars": 2836,
"preview": "/*\n*\n* This program is free software; you can redistribute it and/or modify it\n* under the terms of the GNU Genera"
},
{
"path": "cl_dll/events/event_awp.cpp",
"chars": 2278,
"preview": "/*\n*\n* This program is free software; you can redistribute it and/or modify it\n* under the terms of the GNU Genera"
},
{
"path": "cl_dll/events/event_createexplo.cpp",
"chars": 1490,
"preview": "/*\n*\n* This program is free software; you can redistribute it and/or modify it\n* under the terms of the GNU Genera"
},
{
"path": "cl_dll/events/event_createsmoke.cpp",
"chars": 3907,
"preview": "/*\n*\n* This program is free software; you can redistribute it and/or modify it\n* under the terms of the GNU Genera"
},
{
"path": "cl_dll/events/event_czerods.cpp",
"chars": 5340,
"preview": "// This is an open source non-commercial project. Dear PVS-Studio, please check it.\n// PVS-Studio Static Code Analyzer f"
},
{
"path": "cl_dll/events/event_deagle.cpp",
"chars": 2958,
"preview": "/*\n*\n* This program is free software; you can redistribute it and/or modify it\n* under the terms of the GNU Genera"
},
{
"path": "cl_dll/events/event_decal_reset.cpp",
"chars": 1937,
"preview": "/*\n*\n* This program is free software; you can redistribute it and/or modify it\n* under the terms of the GNU Genera"
},
{
"path": "cl_dll/events/event_elite.cpp",
"chars": 3491,
"preview": "/*\n*\n* This program is free software; you can redistribute it and/or modify it\n* under the terms of the GNU Genera"
},
{
"path": "cl_dll/events/event_famas.cpp",
"chars": 2911,
"preview": "/*\n*\n* This program is free software; you can redistribute it and/or modify it\n* under the terms of the GNU Genera"
},
{
"path": "cl_dll/events/event_fiveseven.cpp",
"chars": 2976,
"preview": "/*\n*\n* This program is free software; you can redistribute it and/or modify it\n* under the terms of the GNU Genera"
},
{
"path": "cl_dll/events/event_g3sg1.cpp",
"chars": 2849,
"preview": "/*\n*\n* This program is free software; you can redistribute it and/or modify it\n* under the terms of the GNU Genera"
},
{
"path": "cl_dll/events/event_galil.cpp",
"chars": 2906,
"preview": "/*\n*\n* This program is free software; you can redistribute it and/or modify it\n* under the terms of the GNU Genera"
},
{
"path": "cl_dll/events/event_glock18.cpp",
"chars": 3434,
"preview": "/*\n*\n* This program is free software; you can redistribute it and/or modify it\n* under the terms of the GNU Genera"
},
{
"path": "cl_dll/events/event_knife.cpp",
"chars": 1701,
"preview": "/*\n*\n* This program is free software; you can redistribute it and/or modify it\n* under the terms of the GNU Genera"
},
{
"path": "cl_dll/events/event_m249.cpp",
"chars": 2903,
"preview": "/*\n*\n* This program is free software; you can redistribute it and/or modify it\n* under the terms of the GNU Genera"
},
{
"path": "cl_dll/events/event_m3.cpp",
"chars": 2261,
"preview": "/*\n*\n* This program is free software; you can redistribute it and/or modify it\n* under the terms of the GNU Genera"
},
{
"path": "cl_dll/events/event_m4a1.cpp",
"chars": 3163,
"preview": "/*\n*\n* This program is free software; you can redistribute it and/or modify it\n* under the terms of the GNU Genera"
},
{
"path": "cl_dll/events/event_mac10.cpp",
"chars": 2853,
"preview": "/*\n*\n* This program is free software; you can redistribute it and/or modify it\n* under the terms of the GNU Genera"
},
{
"path": "cl_dll/events/event_mp5n.cpp",
"chars": 2890,
"preview": "/*\n*\n* This program is free software; you can redistribute it and/or modify it\n* under the terms of the GNU Genera"
},
{
"path": "cl_dll/events/event_p228.cpp",
"chars": 3102,
"preview": "/*\n*\n* This program is free software; you can redistribute it and/or modify it\n* under the terms of the GNU Genera"
},
{
"path": "cl_dll/events/event_p90.cpp",
"chars": 2845,
"preview": "/*\n*\n* This program is free software; you can redistribute it and/or modify it\n* under the terms of the GNU Genera"
},
{
"path": "cl_dll/events/event_scout.cpp",
"chars": 2375,
"preview": "/*\n*\n* This program is free software; you can redistribute it and/or modify it\n* under the terms of the GNU Genera"
},
{
"path": "cl_dll/events/event_sg550.cpp",
"chars": 2851,
"preview": "/*\n*\n* This program is free software; you can redistribute it and/or modify it\n* under the terms of the GNU Genera"
},
{
"path": "cl_dll/events/event_sg552.cpp",
"chars": 2902,
"preview": "/*\n*\n* This program is free software; you can redistribute it and/or modify it\n* under the terms of the GNU Genera"
},
{
"path": "cl_dll/events/event_tmp.cpp",
"chars": 2889,
"preview": "/*\n*\n* This program is free software; you can redistribute it and/or modify it\n* under the terms of the GNU Genera"
},
{
"path": "cl_dll/events/event_ump45.cpp",
"chars": 2849,
"preview": "/*\n*\n* This program is free software; you can redistribute it and/or modify it\n* under the terms of the GNU Genera"
},
{
"path": "cl_dll/events/event_usp.cpp",
"chars": 3412,
"preview": "/*\n*\n* This program is free software; you can redistribute it and/or modify it\n* under the terms of the GNU Genera"
},
{
"path": "cl_dll/events/event_vehicle.cpp",
"chars": 3025,
"preview": "/*\n*\n* This program is free software; you can redistribute it and/or modify it\n* under the terms of the GNU Genera"
},
{
"path": "cl_dll/events/event_xm1014.cpp",
"chars": 2846,
"preview": "/*\n*\n* This program is free software; you can redistribute it and/or modify it\n* under the terms of the GNU Genera"
},
{
"path": "cl_dll/events.cpp",
"chars": 0,
"preview": ""
}
]
// ... and 231 more files (download for full content)
About this extraction
This page contains the full source code of the Velaron/cs16-client GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 431 files (2.2 MB), approximately 591.4k tokens, and a symbol index with 1535 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.