├── .editorconfig ├── .github └── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── .gitignore ├── LICENSE ├── README.md ├── assets ├── oxware.psd ├── oxware_full.png ├── oxware_full_cropped.png ├── oxware_small.png ├── oxware_small.psd └── textures │ ├── avatar_not_found.jpg │ ├── bot_pfp.jpg │ ├── invalid_pfp.jpg │ ├── nonsteam_pfp.jpg │ └── pfp_template.psd ├── building.md ├── changelog.md ├── create_deployment.bat ├── dependencies ├── README.txt ├── runtime │ ├── msvcp140.dll │ └── vcruntime140.dll └── uninstall.bat ├── misc └── release_template.md ├── oxware.sln ├── src ├── assets │ ├── assets.vcxproj │ ├── assets.vcxproj.filters │ ├── assets.vcxproj.user │ ├── fonts │ │ ├── compressed_font_data.cpp │ │ ├── proggy_clean_c.cpp │ │ ├── segoeui_c.cpp │ │ ├── segoeuib_c.cpp │ │ ├── segoeuil_c.cpp │ │ └── seguiemj_c.cpp │ ├── oxware_48_c.cpp │ └── textures │ │ ├── avatar_not_found.cpp │ │ ├── bot_pfp.cpp │ │ ├── checkerboard.cpp │ │ ├── invalid_pfp.cpp │ │ └── nonsteam_pfp.cpp ├── cheat │ ├── CheatInfo.cpp │ ├── InCommands.cpp │ ├── InjectedDllIPCLayerClient.cpp │ ├── TextureManager.cpp │ ├── cheater.vcxproj │ ├── cheater.vcxproj.filters │ ├── cheater.vcxproj.user │ ├── custom_format_cheat.h │ ├── dllmain.cpp │ ├── features │ │ ├── AntiDemoRecorder.cpp │ │ ├── AntiDemoRecorder.h │ │ ├── AntiScreen.cpp │ │ ├── AntiScreen.h │ │ ├── AspectRatioChanger.cpp │ │ ├── AspectRatioChanger.h │ │ ├── Automation.cpp │ │ ├── Automation.h │ │ ├── BackTrack.cpp │ │ ├── BackTrack.h │ │ ├── BulletTrace.cpp │ │ ├── BulletTrace.h │ │ ├── BypassGameConstrains.cpp │ │ ├── BypassGameConstrains.h │ │ ├── CvarSandbox.cpp │ │ ├── CvarSandbox.h │ │ ├── ESP.cpp │ │ ├── ESP.h │ │ ├── EnvironmentalEffects.cpp │ │ ├── EnvironmentalEffects.h │ │ ├── FeatureManager.cpp │ │ ├── FeatureManager.h │ │ ├── FieldOfViewChanger.cpp │ │ ├── FieldOfViewChanger.h │ │ ├── FlashbangFadeModifier.cpp │ │ ├── FlashbangFadeModifier.h │ │ ├── FrameSkipper.cpp │ │ ├── FrameSkipper.h │ │ ├── IngameScreenRendering.cpp │ │ ├── IngameScreenRendering.h │ │ ├── ModelChams.cpp │ │ ├── ModelChams.h │ │ ├── NonSteamFpsFixer.cpp │ │ ├── NonSteamFpsFixer.h │ │ ├── Panic.cpp │ │ ├── Panic.h │ │ ├── Removals.cpp │ │ ├── Removals.h │ │ ├── ResourceConsistencyBypass.cpp │ │ ├── ResourceConsistencyBypass.h │ │ ├── SIDSpoofer.cpp │ │ ├── SIDSpoofer.h │ │ ├── SmokeVisuals.cpp │ │ ├── SmokeVisuals.h │ │ ├── StuffCMDFilter.cpp │ │ ├── StuffCMDFilter.h │ │ ├── ThirdPerson.cpp │ │ ├── ThirdPerson.h │ │ ├── VanillaCrosshair.cpp │ │ ├── VanillaCrosshair.h │ │ ├── ViewmodelOffset.cpp │ │ ├── ViewmodelOffset.h │ │ ├── WorldVisuals.cpp │ │ ├── WorldVisuals.h │ │ └── movement │ │ │ ├── AirStuck.cpp │ │ │ ├── AirStuck.h │ │ │ ├── AutoJOF.cpp │ │ │ ├── AutoJOF.h │ │ │ ├── BunnyHop.cpp │ │ │ ├── BunnyHop.h │ │ │ ├── EdgeBug.cpp │ │ │ ├── EdgeBug.h │ │ │ ├── FastRun.cpp │ │ │ ├── FastRun.h │ │ │ ├── GroundStrafe.cpp │ │ │ ├── GroundStrafe.h │ │ │ ├── Movement.cpp │ │ │ ├── Movement.h │ │ │ ├── MovementVisualInfo.cpp │ │ │ ├── MovementVisualInfo.h │ │ │ ├── StrafeHack.cpp │ │ │ ├── StrafeHack.h │ │ │ ├── StrafeHelper.cpp │ │ │ └── StrafeHelper.h │ ├── game │ │ ├── ClientMovementPacket.cpp │ │ ├── ClientMovementPacket.h │ │ ├── EntityManager.cpp │ │ ├── EntityManager.h │ │ ├── GameEvents.cpp │ │ ├── GameEvents.h │ │ ├── GenericEnt.cpp │ │ ├── GenericEnt.h │ │ ├── GenericMdl.cpp │ │ ├── GenericMdl.h │ │ ├── GenericPlayer.cpp │ │ ├── GenericPlayer.h │ │ ├── LocalState.cpp │ │ ├── LocalState.h │ │ ├── NetchanSequenceHistory.cpp │ │ ├── NetchanSequenceHistory.h │ │ ├── ParticleManMiniMemEmulation.cpp │ │ ├── ParticleManMiniMemEmulation.h │ │ ├── SpriteManager.cpp │ │ ├── SpriteManager.h │ │ ├── VideoModeUtil.cpp │ │ ├── VideoModeUtil.h │ │ ├── model │ │ │ ├── SpriteModelData.cpp │ │ │ ├── SpriteModelData.h │ │ │ ├── StudioModelData.cpp │ │ │ └── StudioModelData.h │ │ └── weapons │ │ │ ├── Weapons.cpp │ │ │ ├── Weapons.h │ │ │ └── weapondefs.h │ ├── hook │ │ ├── HLInterfaceHook.cpp │ │ ├── HLInterfaceHook.h │ │ ├── MemoryHook.cpp │ │ ├── MemoryHook.h │ │ ├── SecurityModuleHook.cpp │ │ ├── SecurityModuleHook.h │ │ ├── client_dll │ │ │ ├── MemoryHookCBaseStuff.cpp │ │ │ └── MemoryHookCBaseStuff.h │ │ ├── function_hooks │ │ │ ├── HLCommandDetour.cpp │ │ │ ├── HLCommandDetour.h │ │ │ ├── MemoryFnDetour.cpp │ │ │ ├── MemoryFnDetour.h │ │ │ ├── MemoryFnHook.cpp │ │ │ ├── MemoryFnHook.h │ │ │ ├── SVCFuncDetour.cpp │ │ │ ├── SVCFuncDetour.h │ │ │ ├── UserMSGDetour.cpp │ │ │ └── UserMSGDetour.h │ │ └── tests │ │ │ ├── HookTests.cpp │ │ │ └── HookTests.h │ ├── oxware.cpp │ ├── oxware.h │ ├── precompiled.cpp │ ├── precompiled.h │ ├── ui │ │ ├── CheatSettings.cpp │ │ ├── CheatSettings.h │ │ ├── InCommandBinding.cpp │ │ ├── InCommandBinding.h │ │ ├── KeyBinding.cpp │ │ ├── KeyBinding.h │ │ ├── OxWareUI.cpp │ │ ├── OxWareUI.h │ │ ├── PlayerList.cpp │ │ ├── PlayerList.h │ │ ├── ThemeEditor.cpp │ │ ├── ThemeEditor.h │ │ ├── UIMenu.cpp │ │ ├── UIWindowPopups.cpp │ │ ├── UIWindowPopups.h │ │ └── rendering_contexts │ │ │ ├── BackgroundRendering.cpp │ │ │ ├── BackgroundRendering.h │ │ │ ├── Console.cpp │ │ │ ├── Console.h │ │ │ ├── FeatureList.cpp │ │ │ ├── FeatureList.h │ │ │ ├── IRendererContext.h │ │ │ ├── MenuBackground.cpp │ │ │ ├── MenuBackground.h │ │ │ ├── PerformanceProfilerVisualization.cpp │ │ │ ├── PerformanceProfilerVisualization.h │ │ │ └── menu │ │ │ ├── Menu.cpp │ │ │ ├── Menu.h │ │ │ ├── MenuStyle.cpp │ │ │ ├── MenuStyle.h │ │ │ ├── MenuWidgets.cpp │ │ │ ├── MenuWidgets.h │ │ │ ├── Menu_Configuration.cpp │ │ │ ├── Menu_Exploits.cpp │ │ │ ├── Menu_Movement.cpp │ │ │ ├── Menu_Other.cpp │ │ │ ├── Menu_PlayerList.cpp │ │ │ ├── Menu_Rendering.cpp │ │ │ ├── Menu_Screen.cpp │ │ │ └── Menu_World.cpp │ └── util │ │ ├── GameUtil.cpp │ │ ├── GameUtil.h │ │ ├── MathUtil.cpp │ │ ├── MathUtil.h │ │ ├── SteamIDUtil.cpp │ │ ├── SteamIDUtil.h │ │ ├── WeaponUtil.cpp │ │ ├── engine │ │ ├── EngineInputManager.cpp │ │ ├── EngineInputManager.h │ │ ├── EngineRendering.cpp │ │ ├── EngineRendering.h │ │ ├── EngineSoundPlayer.cpp │ │ ├── EngineSoundPlayer.h │ │ ├── EngineSpeedControl.cpp │ │ ├── EngineSpeedControl.h │ │ ├── FakePlayerRenderer.cpp │ │ ├── FakePlayerRenderer.h │ │ ├── GoldSrcCommandManager.cpp │ │ ├── GoldSrcCommandManager.h │ │ ├── GoldSrcMungificationAlgorigthms.cpp │ │ ├── GoldSrcMungificationAlgorigthms.h │ │ ├── HLNetMessageIO.cpp │ │ ├── HLNetMessageIO.h │ │ ├── build_num.cpp │ │ ├── build_num.h │ │ ├── parsemsg.cpp │ │ └── parsemsg.h │ │ ├── vanilla_halflife_dir_file_database.cpp │ │ └── vanilla_halflife_dir_file_database.h ├── external │ ├── detours │ │ ├── creatwth.cpp │ │ ├── detours.cpp │ │ ├── detours.h │ │ ├── detours.vcxproj │ │ ├── detours.vcxproj.filters │ │ ├── detours.vcxproj.user │ │ ├── detver.h │ │ ├── disasm.cpp │ │ ├── disolarm.cpp │ │ ├── disolarm64.cpp │ │ ├── disolia64.cpp │ │ ├── disolx64.cpp │ │ ├── disolx86.cpp │ │ ├── image.cpp │ │ ├── modules.cpp │ │ └── uimports.cpp │ ├── freetype │ │ ├── include │ │ │ ├── freetype │ │ │ │ ├── config │ │ │ │ │ ├── ftconfig.h │ │ │ │ │ ├── ftheader.h │ │ │ │ │ ├── ftmodule.h │ │ │ │ │ ├── ftoption.h │ │ │ │ │ ├── ftstdlib.h │ │ │ │ │ ├── integer-types.h │ │ │ │ │ ├── mac-support.h │ │ │ │ │ └── public-macros.h │ │ │ │ ├── freetype.h │ │ │ │ ├── ftadvanc.h │ │ │ │ ├── ftbbox.h │ │ │ │ ├── ftbdf.h │ │ │ │ ├── ftbitmap.h │ │ │ │ ├── ftbzip2.h │ │ │ │ ├── ftcache.h │ │ │ │ ├── ftchapters.h │ │ │ │ ├── ftcid.h │ │ │ │ ├── ftcolor.h │ │ │ │ ├── ftdriver.h │ │ │ │ ├── fterrdef.h │ │ │ │ ├── fterrors.h │ │ │ │ ├── ftfntfmt.h │ │ │ │ ├── ftgasp.h │ │ │ │ ├── ftglyph.h │ │ │ │ ├── ftgxval.h │ │ │ │ ├── ftgzip.h │ │ │ │ ├── ftimage.h │ │ │ │ ├── ftincrem.h │ │ │ │ ├── ftlcdfil.h │ │ │ │ ├── ftlist.h │ │ │ │ ├── ftlogging.h │ │ │ │ ├── ftlzw.h │ │ │ │ ├── ftmac.h │ │ │ │ ├── ftmm.h │ │ │ │ ├── ftmodapi.h │ │ │ │ ├── ftmoderr.h │ │ │ │ ├── ftotval.h │ │ │ │ ├── ftoutln.h │ │ │ │ ├── ftparams.h │ │ │ │ ├── ftpfr.h │ │ │ │ ├── ftrender.h │ │ │ │ ├── ftsizes.h │ │ │ │ ├── ftsnames.h │ │ │ │ ├── ftstroke.h │ │ │ │ ├── ftsynth.h │ │ │ │ ├── ftsystem.h │ │ │ │ ├── fttrigon.h │ │ │ │ ├── fttypes.h │ │ │ │ ├── ftwinfnt.h │ │ │ │ ├── otsvg.h │ │ │ │ ├── t1tables.h │ │ │ │ ├── ttnameid.h │ │ │ │ ├── tttables.h │ │ │ │ └── tttags.h │ │ │ └── ft2build.h │ │ └── lib │ │ │ └── freetype.lib │ ├── glfw │ │ ├── glfw3_mt.lib │ │ └── include │ │ │ └── GLFW │ │ │ ├── glfw3.h │ │ │ └── glfw3native.h │ ├── hlsdk │ │ ├── common │ │ │ ├── Color.h │ │ │ ├── VGuiVertex.h │ │ │ ├── filesystemdefs.h │ │ │ ├── goldsrclimits.h │ │ │ └── protocol.h │ │ ├── cstrike_tri.h │ │ ├── dlls │ │ │ ├── cstrike │ │ │ │ ├── cbase.h │ │ │ │ └── weapons.h │ │ │ └── enginecallback.h │ │ ├── engine │ │ │ ├── APIProxy.h │ │ │ ├── beamdef.h │ │ │ ├── cl_entity.h │ │ │ ├── client.h │ │ │ ├── client_command.h │ │ │ ├── client_textmessage.h │ │ │ ├── command.h │ │ │ ├── con_nprint.h │ │ │ ├── consistency.h │ │ │ ├── const.h │ │ │ ├── custom.h │ │ │ ├── cvardef.h │ │ │ ├── delta_packet.h │ │ │ ├── deltadef.h │ │ │ ├── edict.h │ │ │ ├── eiface.h │ │ │ ├── engine_math.h │ │ │ ├── entity_state.h │ │ │ ├── events.h │ │ │ ├── host.h │ │ │ ├── kbutton.h │ │ │ ├── keydefs.h │ │ │ ├── light.h │ │ │ ├── models.h │ │ │ ├── net.h │ │ │ ├── netbuf.h │ │ │ ├── particledef.h │ │ │ ├── player_info.h │ │ │ ├── pmtrace.h │ │ │ ├── progdefs.h │ │ │ ├── r_efx.h │ │ │ ├── r_studioint.h │ │ │ ├── ref_params.h │ │ │ ├── save.h │ │ │ ├── screenfade.h │ │ │ ├── server.h │ │ │ ├── sound.h │ │ │ ├── spritegn.h │ │ │ ├── studio.h │ │ │ ├── sys_engine.h │ │ │ ├── triangleapi.h │ │ │ ├── usercmd.h │ │ │ ├── userid.h │ │ │ ├── usermsg.h │ │ │ ├── wad.h │ │ │ ├── weaponinfo.h │ │ │ ├── wrect.h │ │ │ └── zone_cache.h │ │ ├── game_shared │ │ │ ├── cstrike │ │ │ │ ├── cs_shareddefs.h │ │ │ │ └── weapondefs.h │ │ │ └── shareddefs.h │ │ ├── interface │ │ │ ├── GameUI │ │ │ │ ├── IBaseUI.h │ │ │ │ ├── IClientVGUI.h │ │ │ │ └── IGameUI.h │ │ │ ├── IEngineAPI.h │ │ │ ├── IEngineVGui.h │ │ │ ├── IFileSystem.h │ │ │ ├── ISurface.h │ │ │ ├── IVideoMode.h │ │ │ ├── ParticleMan │ │ │ │ └── IParticleMan.h │ │ │ ├── appframework │ │ │ │ └── IAppSystem.h │ │ │ └── vgui2 │ │ │ │ ├── IHTML.h │ │ │ │ ├── IPanel.h │ │ │ │ └── IScheme.h │ │ ├── particleman │ │ │ ├── pman_frustum.h │ │ │ ├── pman_main.h │ │ │ ├── pman_particlemem.h │ │ │ └── pman_triangleffect.h │ │ ├── playermove │ │ │ ├── pm_defs.h │ │ │ ├── pm_info.h │ │ │ └── pm_movevars.h │ │ ├── steam │ │ │ ├── friends │ │ │ │ └── IFriendsUser.h │ │ │ ├── isteamapps.h │ │ │ ├── isteamappticket.h │ │ │ ├── isteamclient.h │ │ │ ├── isteamcontentserver.h │ │ │ ├── isteamfriends.h │ │ │ ├── isteamgamecoordinator.h │ │ │ ├── isteamgameserver.h │ │ │ ├── isteamgameserverstats.h │ │ │ ├── isteamhttp.h │ │ │ ├── isteammasterserverupdater.h │ │ │ ├── isteammatchmaking.h │ │ │ ├── isteamnetworking.h │ │ │ ├── isteamps3overlayrenderer.h │ │ │ ├── isteamremotestorage.h │ │ │ ├── isteamscreenshots.h │ │ │ ├── isteamuser.h │ │ │ ├── isteamuserstats.h │ │ │ ├── isteamutils.h │ │ │ ├── matchmakingtypes.h │ │ │ ├── steam_api.h │ │ │ ├── steam_contentserver.h │ │ │ ├── steam_gameserver.h │ │ │ ├── steamclientpublic.h │ │ │ ├── steamencryptedappticket.h │ │ │ ├── steamhttpenums.h │ │ │ ├── steamps3params.h │ │ │ └── steamtypes.h │ │ ├── tier0 │ │ │ ├── basetypes.h │ │ │ └── commonmacros.h │ │ └── vgui2 │ │ │ ├── Cursor.h │ │ │ ├── KeyCode.h │ │ │ ├── MouseCode.h │ │ │ └── VGUI2.h │ ├── imgui │ │ ├── LICENSE.txt │ │ ├── backends │ │ │ ├── imgui_impl_glfw.cpp │ │ │ ├── imgui_impl_glfw.h │ │ │ ├── imgui_impl_opengl2.cpp │ │ │ ├── imgui_impl_opengl2.h │ │ │ ├── imgui_impl_opengl3.cpp │ │ │ ├── imgui_impl_opengl3.h │ │ │ ├── imgui_impl_opengl3_loader.h │ │ │ ├── imgui_impl_win32.cpp │ │ │ └── imgui_impl_win32.h │ │ ├── imconfig.h │ │ ├── imgui.cpp │ │ ├── imgui.h │ │ ├── imgui.vcxproj │ │ ├── imgui.vcxproj.filters │ │ ├── imgui.vcxproj.user │ │ ├── imgui_demo.cpp │ │ ├── imgui_draw.cpp │ │ ├── imgui_internal.h │ │ ├── imgui_tables.cpp │ │ ├── imgui_widgets.cpp │ │ ├── imstb_rectpack.h │ │ ├── imstb_textedit.h │ │ ├── imstb_truetype.h │ │ └── misc │ │ │ ├── README.txt │ │ │ ├── cpp │ │ │ ├── README.txt │ │ │ ├── imgui_stdlib.cpp │ │ │ └── imgui_stdlib.h │ │ │ ├── debuggers │ │ │ ├── README.txt │ │ │ ├── imgui.gdb │ │ │ ├── imgui.natstepfilter │ │ │ └── imgui.natvis │ │ │ ├── fonts │ │ │ ├── Cousine-Regular.ttf │ │ │ ├── DroidSans.ttf │ │ │ ├── Karla-Regular.ttf │ │ │ ├── ProggyClean.ttf │ │ │ ├── ProggyTiny.ttf │ │ │ ├── Roboto-Medium.ttf │ │ │ └── binary_to_compressed_c.cpp │ │ │ ├── freetype │ │ │ ├── README.md │ │ │ ├── imgui_freetype.cpp │ │ │ └── imgui_freetype.h │ │ │ └── single_file │ │ │ └── imgui_single_file.h │ ├── nlohmann │ │ ├── LICENSE.MIT │ │ ├── adl_serializer.hpp │ │ ├── byte_container_with_subtype.hpp │ │ ├── detail │ │ │ ├── abi_macros.hpp │ │ │ ├── conversions │ │ │ │ ├── from_json.hpp │ │ │ │ ├── to_chars.hpp │ │ │ │ └── to_json.hpp │ │ │ ├── exceptions.hpp │ │ │ ├── hash.hpp │ │ │ ├── input │ │ │ │ ├── binary_reader.hpp │ │ │ │ ├── input_adapters.hpp │ │ │ │ ├── json_sax.hpp │ │ │ │ ├── lexer.hpp │ │ │ │ ├── parser.hpp │ │ │ │ └── position_t.hpp │ │ │ ├── iterators │ │ │ │ ├── internal_iterator.hpp │ │ │ │ ├── iter_impl.hpp │ │ │ │ ├── iteration_proxy.hpp │ │ │ │ ├── iterator_traits.hpp │ │ │ │ ├── json_reverse_iterator.hpp │ │ │ │ └── primitive_iterator.hpp │ │ │ ├── json_pointer.hpp │ │ │ ├── json_ref.hpp │ │ │ ├── macro_scope.hpp │ │ │ ├── macro_unscope.hpp │ │ │ ├── meta │ │ │ │ ├── call_std │ │ │ │ │ ├── begin.hpp │ │ │ │ │ └── end.hpp │ │ │ │ ├── cpp_future.hpp │ │ │ │ ├── detected.hpp │ │ │ │ ├── identity_tag.hpp │ │ │ │ ├── is_sax.hpp │ │ │ │ ├── std_fs.hpp │ │ │ │ ├── type_traits.hpp │ │ │ │ └── void_t.hpp │ │ │ ├── output │ │ │ │ ├── binary_writer.hpp │ │ │ │ ├── output_adapters.hpp │ │ │ │ └── serializer.hpp │ │ │ ├── string_concat.hpp │ │ │ ├── string_escape.hpp │ │ │ └── value_t.hpp │ │ ├── json.hpp │ │ ├── json_fwd.hpp │ │ ├── ordered_map.hpp │ │ └── thirdparty │ │ │ └── hedley │ │ │ ├── hedley.hpp │ │ │ └── hedley_undef.hpp │ ├── phnt │ │ ├── LICENSE │ │ ├── ntbcd.h │ │ ├── ntdbg.h │ │ ├── ntexapi.h │ │ ├── ntgdi.h │ │ ├── ntioapi.h │ │ ├── ntkeapi.h │ │ ├── ntldr.h │ │ ├── ntlpcapi.h │ │ ├── ntmisc.h │ │ ├── ntmmapi.h │ │ ├── ntnls.h │ │ ├── ntobapi.h │ │ ├── ntpebteb.h │ │ ├── ntpfapi.h │ │ ├── ntpnpapi.h │ │ ├── ntpoapi.h │ │ ├── ntpsapi.h │ │ ├── ntregapi.h │ │ ├── ntrtl.h │ │ ├── ntsam.h │ │ ├── ntseapi.h │ │ ├── ntsmss.h │ │ ├── nttmapi.h │ │ ├── nttp.h │ │ ├── ntwow64.h │ │ ├── ntxcapi.h │ │ ├── ntzwapi.h │ │ ├── phnt.h │ │ ├── phnt_ntdef.h │ │ ├── phnt_windows.h │ │ ├── subprocesstag.h │ │ └── winsta.h │ └── soil │ │ ├── SOIL.h │ │ ├── image_dxt.c │ │ ├── image_dxt.h │ │ ├── image_helper.c │ │ ├── image_helper.h │ │ ├── soil.c │ │ ├── soil.vcxproj │ │ ├── soil.vcxproj.filters │ │ ├── soil.vcxproj.user │ │ ├── stb_image_aug.c │ │ ├── stb_image_aug.h │ │ ├── stbi_dds_aug.h │ │ └── stbi_dds_aug_c.h ├── gsdecrypt │ ├── blob_algorithm.cpp │ ├── blob_algorithm.h │ ├── decrypt.cpp │ ├── decrypt.h │ ├── gsdecrypt.cpp │ ├── gsdecrypt.vcxproj │ ├── gsdecrypt.vcxproj.filters │ ├── gsdecrypt.vcxproj.user │ ├── pe_builder.cpp │ ├── pe_builder.h │ ├── precompiled.cpp │ └── precompiled.h ├── gui │ ├── GLFWApp.cpp │ ├── GUIFontManager.cpp │ ├── GUIThemeManager.cpp │ ├── GUIWidgets.cpp │ ├── GUIWindowRendering.cpp │ ├── ImGUILayerGLFW.cpp │ ├── ImGUILayerGLFW.h │ ├── ImGUILayerWin32.cpp │ ├── ImGUILayerWin32.h │ ├── ImGUIPlatformLayer.cpp │ ├── color_translation.cpp │ ├── color_translation.h │ ├── dllmain.cpp │ ├── oxUI.vcxproj │ ├── oxUI.vcxproj.filters │ ├── oxUI.vcxproj.user │ ├── precompiled.cpp │ └── precompiled.h ├── injector │ ├── BaseInjector.cpp │ ├── InjectedDllCommunicationInterface.cpp │ ├── LoadLibrareredDll.cpp │ ├── ManualMappedDll.cpp │ ├── ManualMappedDllCurrentProcess.cpp │ ├── PortableExecutableObject.cpp │ ├── RtlIIFT_bytepattern_search.cpp │ ├── RtlIIFT_bytepattern_search.h │ ├── VirtualMemoryManager.cpp │ ├── injector.vcxproj │ ├── injector.vcxproj.filters │ ├── injector.vcxproj.user │ ├── precompiled.cpp │ ├── precompiled.h │ └── shellcodes.cpp ├── loader │ ├── LoadLibraryTargetInjection.cpp │ ├── LoaderUI.cpp │ ├── LoaderUI.h │ ├── loader.cpp │ ├── loader.h │ ├── loader.rc │ ├── loader.vcxproj │ ├── loader.vcxproj.filters │ ├── loader.vcxproj.user │ ├── precompiled.cpp │ ├── precompiled.h │ ├── resource.h │ ├── resource │ │ ├── loader.rc │ │ ├── oxware.ico │ │ ├── oxware_small.ico │ │ └── resource.h │ └── winmain.cpp ├── module_description.txt ├── multiemulator │ ├── emulators │ │ ├── AVSMP.cpp │ │ ├── OldRevEmu.cpp │ │ ├── RevEmu.cpp │ │ ├── RevEmu2013.cpp │ │ ├── SC2009.cpp │ │ ├── Setti.cpp │ │ ├── SmartSteamEmu.cpp │ │ └── SteamEmu.cpp │ ├── multiemulator.vcxproj │ ├── multiemulator.vcxproj.filters │ ├── multiemulator.vcxproj.user │ └── public │ │ ├── ExternIP.cpp │ │ ├── ExternIP.h │ │ ├── HTTP.h │ │ ├── RevSpoofer.cpp │ │ ├── RevSpoofer.h │ │ ├── StrUtils.cpp │ │ ├── StrUtils.h │ │ └── crypto │ │ ├── CRijndael.cpp │ │ ├── CRijndael.h │ │ ├── DoubleBuffering.cpp │ │ ├── DoubleBuffering.h │ │ ├── MessageDigest.cpp │ │ ├── MessageDigest.h │ │ ├── SHA.cpp │ │ └── SHA.h ├── public │ ├── BaseInCommand.cpp │ ├── BaseInCommand.h │ ├── BaseVariable.cpp │ ├── BaseVariable.h │ ├── ByteBuffer.h │ ├── BytePattern.h │ ├── ConfigFile.h │ ├── Console.cpp │ ├── Console.h │ ├── DependencyLoader.cpp │ ├── DependencyLoader.h │ ├── DeveloperConsole.cpp │ ├── KeyValue.h │ ├── LibraryLoader.cpp │ ├── assets │ │ ├── fonts │ │ │ ├── compressed_font_data.h │ │ │ └── compressed_png_data.h │ │ └── textures.h │ ├── basetypes.h │ ├── code_performace_profile.cpp │ ├── code_performace_profile.h │ ├── color.h │ ├── commondefs.h │ ├── custom_format.h │ ├── custom_json_types.h │ ├── gsdecrypt │ │ ├── blob.h │ │ └── gsdecrypt.h │ ├── gui │ │ ├── GUIColors.h │ │ └── UIStatusWidget.h │ ├── injection │ │ ├── BaseInjector.h │ │ ├── IBaseInjector.cpp │ │ ├── IBaseInjector.h │ │ ├── InjectedDllIPCInterface.h │ │ ├── PortableExecutableObject.h │ │ ├── VirtualMemoryManager.h │ │ ├── loadlibrary │ │ │ └── LoadLibrareredDll.h │ │ └── mmap │ │ │ ├── ManualMappedDll.h │ │ │ └── ManualMappedDllCurrentProcess.h │ ├── interface.cpp │ ├── interface.h │ ├── interface │ │ ├── IAppDataManager.h │ │ ├── IBaseModule.h │ │ ├── IBindManager.h │ │ ├── IBytePatternBank.h │ │ ├── ICheatInfo.h │ │ ├── ICodePerformaceProfiler.h │ │ ├── IConfigManager.h │ │ ├── IDeveloperConsole.h │ │ ├── IFileSystem.h │ │ ├── IInCommands.h │ │ ├── ILibraryLoader.h │ │ ├── IRegistry.h │ │ ├── ITextureManager.h │ │ ├── IUserInput.h │ │ ├── IVariableManager.h │ │ ├── IWindowMsgHandler.h │ │ └── gui │ │ │ ├── IGLFWApp.h │ │ │ ├── IGUIFontManager.h │ │ │ ├── IGUIThemeManager.h │ │ │ ├── IGUIWidgets.h │ │ │ ├── IGUIWindowRendering.h │ │ │ └── IImGUIPlatformLayer.h │ ├── json.h │ ├── multiemulator │ │ └── multiemulator.h │ ├── platform.h │ ├── source_location.h │ ├── steamid.cpp │ ├── tier │ │ ├── GenericUtil.h │ │ ├── MessageBox.h │ │ └── StringTools.h │ ├── vector.h │ └── version.h ├── tier │ ├── GenericUtil.cpp │ ├── MessageBox.cpp │ ├── StringTools.cpp │ ├── precompiled.cpp │ ├── precompiled.h │ ├── tier.vcxproj │ ├── tier.vcxproj.filters │ └── tier.vcxproj.user └── util │ ├── AppDataManager.cpp │ ├── BindManager.cpp │ ├── BytePatternBank.cpp │ ├── CodePerformaceProfiler.cpp │ ├── ConfigManager.cpp │ ├── FileSystem.cpp │ ├── Registry.cpp │ ├── UserInput.cpp │ ├── VariableManager.cpp │ ├── WindowMsgHandler.cpp │ ├── bytepattern_containers.cpp │ ├── dllmain.cpp │ ├── key_translation.cpp │ ├── key_translation.h │ ├── precompiled.cpp │ ├── precompiled.h │ ├── util.vcxproj │ ├── util.vcxproj.filters │ └── util.vcxproj.user ├── util ├── binary_to_compressed_c.exe ├── fompr.ps1 ├── lines_of_code.txt ├── oxware_16.png ├── oxware_16_c.cpp ├── oxware_48.png ├── png2cpp.cpp ├── png2cpp.exe ├── png2cpp.ps1 └── python │ ├── cntlines.py │ ├── dumps │ ├── lines_2023-06-26.txt │ ├── lines_2023-06-27.txt │ ├── lines_2023-06-29.txt │ ├── lines_2023-06-30.txt │ ├── lines_2023-07-02.txt │ ├── lines_2023-07-10.txt │ ├── lines_2023-07-16.txt │ ├── lines_2023-07-17.txt │ ├── lines_2023-07-22.txt │ ├── lines_2023-07-23.txt │ ├── lines_2023-07-25.txt │ └── lines_2023-08-06.txt │ ├── f2b.py │ ├── file_to_cpp_bytearray.ps1 │ └── update_lines_readme.bat └── vs22 └── VS22Settings.vssettings /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Report a bug/crash/inconsistency that you have encountered and that you can 4 | report here. 5 | title: "[bug]" 6 | labels: bug 7 | assignees: '' 8 | 9 | --- 10 | 11 | **Describe the bug** 12 | What is the issue, write down a brief description of what you want to report. 13 | 14 | **To Reproduce** 15 | How did it happen? What do you need to do in order to reproduce the bug and get the same result? 16 | 17 | **Operating System** 18 | Wchich operating system do you use? 19 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea / new feature for this project 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Description** 11 | 12 | Describe what would you like to have implemented / added. 😉 13 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # general dirs we don't want git to handle at all. 2 | .vs/ 3 | build/ 4 | deploy/ 5 | .vscode/ 6 | src/lib/ -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 oxiKKK 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /assets/oxware.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/assets/oxware.psd -------------------------------------------------------------------------------- /assets/oxware_full.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/assets/oxware_full.png -------------------------------------------------------------------------------- /assets/oxware_full_cropped.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/assets/oxware_full_cropped.png -------------------------------------------------------------------------------- /assets/oxware_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/assets/oxware_small.png -------------------------------------------------------------------------------- /assets/oxware_small.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/assets/oxware_small.psd -------------------------------------------------------------------------------- /assets/textures/avatar_not_found.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/assets/textures/avatar_not_found.jpg -------------------------------------------------------------------------------- /assets/textures/bot_pfp.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/assets/textures/bot_pfp.jpg -------------------------------------------------------------------------------- /assets/textures/invalid_pfp.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/assets/textures/invalid_pfp.jpg -------------------------------------------------------------------------------- /assets/textures/nonsteam_pfp.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/assets/textures/nonsteam_pfp.jpg -------------------------------------------------------------------------------- /assets/textures/pfp_template.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/assets/textures/pfp_template.psd -------------------------------------------------------------------------------- /create_deployment.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | :: create folder 4 | if not exist ".\deploy" mkdir ".\deploy\" /Y 5 | if not exist ".\deploy" mkdir ".\deploy\oxware\" /Y 6 | 7 | :: exes 8 | xcopy ".\build\oxware.exe" ".\deploy\oxware\" /Y 9 | xcopy ".\build\cheater.dll" ".\deploy\oxware\" /Y 10 | xcopy ".\build\mmapper.dll" ".\deploy\oxware\" /Y 11 | xcopy ".\build\oxui.dll" ".\deploy\oxware\" /Y 12 | xcopy ".\build\util.dll" ".\deploy\oxware\" /Y 13 | 14 | :: deps 15 | xcopy ".\dependencies\runtime\msvcp140.dll" ".\deploy\oxware\" /Y 16 | xcopy ".\dependencies\runtime\vcruntime140.dll" ".\deploy\oxware\" /Y 17 | xcopy ".\dependencies\uninstall.bat" ".\deploy\oxware\" /Y 18 | xcopy ".\dependencies\README.txt" ".\deploy\oxware\" /Y -------------------------------------------------------------------------------- /dependencies/README.txt: -------------------------------------------------------------------------------- 1 | Hi! Thanks for using my cheat :^) 2 | 3 | Please, note that this cheat is still in developement, therefore it lacks a lot of features. 4 | 5 | In order to inject the cheat to the game, start oxware.exe with CS 1.6 running and inject the cheat into the game. 6 | After the cheat has been injected, press INSERT as the menu key. Have FUN! 7 | 8 | For more information, visit our github page: 9 | https://github.com/oxiKKK/oxware -------------------------------------------------------------------------------- /dependencies/runtime/msvcp140.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/dependencies/runtime/msvcp140.dll -------------------------------------------------------------------------------- /dependencies/runtime/vcruntime140.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/dependencies/runtime/vcruntime140.dll -------------------------------------------------------------------------------- /dependencies/uninstall.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | set OXWARE_APPDATA=%appdata%\oxware 4 | set OXWARE_REGISTRY="HKEY_CURRENT_USER\SOFTWARE\oxware" 5 | 6 | :: 7 | :: appdata 8 | :: 9 | echo Deleting appdata folder inside %OXWARE_APPDATA%... 10 | 11 | if exist %OXWARE_APPDATA% rmdir %OXWARE_APPDATA% /S /Q 12 | 13 | :: 14 | :: registry 15 | :: 16 | echo Deleting registry inside %OXWARE_REGISTRY%... 17 | 18 | :: see if exists 19 | reg query %OXWARE_REGISTRY% >nul 20 | if %errorlevel% equ 0 ( 21 | reg delete %OXWARE_REGISTRY% /f 22 | ) 23 | 24 | echo Done! Now you can delete the cheat folder. 25 | pause -------------------------------------------------------------------------------- /misc/release_template.md: -------------------------------------------------------------------------------- 1 | # vX.X.X 2 | 3 | You can **read the change log** in order to keep up with the changes / additions that were made! 😉 4 | 5 | # Additions and improvements 6 | 7 | - 8 | - 9 | - 10 | 11 | # Bugfixes 12 | 13 | - 14 | - 15 | - 16 | -------------------------------------------------------------------------------- /src/assets/assets.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /src/cheat/cheater.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | hl.exe 5 | true 6 | WindowsLocalDebugger 7 | 8 | 9 | hl.exe 10 | true 11 | WindowsLocalDebugger 12 | 13 | 14 | hl.exe 15 | true 16 | WindowsLocalDebugger 17 | 18 | -------------------------------------------------------------------------------- /src/cheat/features/AntiDemoRecorder.h: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #ifndef ANTIDEMORECORDER_H 30 | #define ANTIDEMORECORDER_H 31 | #pragma once 32 | 33 | extern VarBoolean anti_demo_recorder_enable; 34 | 35 | class CAntiDemoRecorder 36 | { 37 | public: 38 | DECL_BASIC_CLASS(CAntiDemoRecorder); 39 | 40 | public: 41 | bool allow_demo_to_be_recorded(); 42 | }; 43 | 44 | #endif // ANTIDEMORECORDER_H -------------------------------------------------------------------------------- /src/cheat/features/AspectRatioChanger.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #include "precompiled.h" 30 | 31 | VarBoolean aspect_ratio_enable("aspect_ratio_enable", "Enables custom aspect ratio", false); 32 | VarFloat aspect_ratio_value("aspect_ratio_value", "Aspect ratio value", 3.0f / 4.0f, 0.5f, 2.0f); 33 | 34 | std::optional CAspectRatioChanger::scale_aspect() 35 | { 36 | if (!aspect_ratio_enable.get_value()) 37 | { 38 | return std::nullopt; 39 | } 40 | 41 | return aspect_ratio_value.get_value(); 42 | } 43 | -------------------------------------------------------------------------------- /src/cheat/features/AspectRatioChanger.h: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #ifndef ASPECTRATIOCHANGER_H 30 | #define ASPECTRATIOCHANGER_H 31 | #pragma once 32 | 33 | extern VarBoolean aspect_ratio_enable; 34 | extern VarFloat aspect_ratio_value; 35 | 36 | class CAspectRatioChanger 37 | { 38 | public: 39 | DECL_BASIC_CLASS(CAspectRatioChanger); 40 | 41 | public: 42 | std::optional scale_aspect(); 43 | }; 44 | 45 | #endif // ASPECTRATIOCHANGER_H -------------------------------------------------------------------------------- /src/cheat/features/Automation.h: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #ifndef AUTOMATION_H 30 | #define AUTOMATION_H 31 | #pragma once 32 | 33 | extern VarBoolean auto_reload; 34 | extern VarBoolean auto_pistol; 35 | extern VarBoolean auto_zoom; 36 | 37 | class CAutomation 38 | { 39 | public: 40 | DECL_BASIC_CLASS(CAutomation); 41 | 42 | public: 43 | void update(); 44 | 45 | private: 46 | void auto_reload(); 47 | void auto_pistol(); 48 | void auto_zoom(); 49 | }; 50 | 51 | #endif // AUTOMATION_H -------------------------------------------------------------------------------- /src/cheat/features/FieldOfViewChanger.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #include "precompiled.h" 30 | 31 | VarBoolean custom_fov("custom_fov", "Forces custom field of view", false); 32 | VarFloat custom_fov_value("custom_fov_value", "Scales original field of view value by this amount", 1.0f, 1.0f, 1.5f); 33 | 34 | void CFieldOfViewChanger::scale_fov() 35 | { 36 | if (!custom_fov.get_value()) 37 | { 38 | return; 39 | } 40 | 41 | float *p_original_fov = CMemoryHookMgr::the().scr_fov_value().get(); 42 | *p_original_fov *= custom_fov_value.get_value(); 43 | } 44 | -------------------------------------------------------------------------------- /src/cheat/features/FieldOfViewChanger.h: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #ifndef FIELDOFVIEWCHANGER_H 30 | #define FIELDOFVIEWCHANGER_H 31 | #pragma once 32 | 33 | extern VarBoolean custom_fov; 34 | extern VarFloat custom_fov_value; 35 | 36 | class CFieldOfViewChanger 37 | { 38 | public: 39 | DECL_BASIC_CLASS(CFieldOfViewChanger); 40 | 41 | public: 42 | void scale_fov(); 43 | }; 44 | 45 | #endif // FIELDOFVIEWCHANGER_H -------------------------------------------------------------------------------- /src/cheat/features/FrameSkipper.h: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #ifndef FRAMESKIPPER_H 30 | #define FRAMESKIPPER_H 31 | #pragma once 32 | 33 | extern VarInteger frame_skip_amount; 34 | extern VarInteger frame_skip_method; 35 | extern VarInteger frame_skip_type; 36 | 37 | class CFrameSkipper 38 | { 39 | public: 40 | DECL_BASIC_CLASS(CFrameSkipper); 41 | 42 | public: 43 | bool skip_current_frame(); 44 | 45 | static InCommand frame_skipper; 46 | }; 47 | 48 | #endif // FRAMESKIPPER_H -------------------------------------------------------------------------------- /src/cheat/features/NonSteamFpsFixer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #ifndef NONSTEAMFPSFIXER_H 30 | #define NONSTEAMFPSFIXER_H 31 | #pragma once 32 | 33 | extern VarBoolean nonsteam_fps_fix; 34 | 35 | class CNonSteamFpsFixer 36 | { 37 | public: 38 | DECL_BASIC_CLASS(CNonSteamFpsFixer); 39 | 40 | public: 41 | void fix_fps(); 42 | }; 43 | 44 | #endif // BULLETTRACE_H -------------------------------------------------------------------------------- /src/cheat/features/Panic.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #include "precompiled.h" 30 | 31 | InCommand CPanic::panic = InCommand("panic", NULL, false, IN_ACTCOND_None); 32 | 33 | void CPanic::update() 34 | { 35 | m_panicking = false; 36 | 37 | if (!panic.is_active()) 38 | { 39 | return; 40 | } 41 | 42 | m_panicking = true; 43 | } 44 | -------------------------------------------------------------------------------- /src/cheat/features/Panic.h: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #ifndef PANIC_H 30 | #define PANIC_H 31 | #pragma once 32 | 33 | class CPanic 34 | { 35 | public: 36 | DECL_BASIC_CLASS(CPanic); 37 | 38 | public: 39 | inline bool panicking() 40 | { 41 | return m_panicking; 42 | } 43 | 44 | void update(); 45 | 46 | static InCommand panic; 47 | 48 | private: 49 | bool m_panicking = false; 50 | }; 51 | 52 | #endif // PANIC_H -------------------------------------------------------------------------------- /src/cheat/features/SIDSpoofer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #ifndef SIDSPOOFER_H 30 | #define SIDSPOOFER_H 31 | #pragma once 32 | 33 | extern VarBoolean sid_spoofer_enable; 34 | extern VarInteger sid_spoofer_type; 35 | 36 | extern std::vector g_sid_emulators; 37 | 38 | class CSIDSpoofer 39 | { 40 | public: 41 | DECL_BASIC_CLASS(CSIDSpoofer); 42 | 43 | public: 44 | std::optional spoof(void* pAuthBlob, int cbLength); 45 | }; 46 | 47 | #endif // SIDSPOOFER_H -------------------------------------------------------------------------------- /src/cheat/features/ThirdPerson.h: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #ifndef THIRDPERSON_H 30 | #define THIRDPERSON_H 31 | #pragma once 32 | 33 | extern VarInteger thirdperson_dist; 34 | extern VarBoolean thirdperson_block_wall; 35 | 36 | class CThirdPerson 37 | { 38 | public: 39 | DECL_BASIC_CLASS(CThirdPerson); 40 | 41 | public: 42 | void update(hl::ref_params_t* pparams); 43 | 44 | static InCommand thirdperson; 45 | }; 46 | 47 | #endif // THIRDPERSON_H -------------------------------------------------------------------------------- /src/cheat/features/ViewmodelOffset.h: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #ifndef VIEWMODELOFFSET_H 30 | #define VIEWMODELOFFSET_H 31 | #pragma once 32 | 33 | extern VarBoolean viewmodel_offset_enable; 34 | extern VarFloat viewmodel_offset_value; 35 | 36 | class CViewmodelOffset 37 | { 38 | public: 39 | DECL_BASIC_CLASS(CViewmodelOffset); 40 | 41 | public: 42 | void update(); 43 | }; 44 | 45 | #endif // VIEWMODELOFFSET_H -------------------------------------------------------------------------------- /src/cheat/features/movement/AirStuck.h: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #ifndef AIRSTUCK_H 30 | #define AIRSTUCK_H 31 | #pragma once 32 | 33 | extern VarFloat movement_air_stuck_intensity; 34 | extern VarInteger movement_air_stuck_type; 35 | 36 | class CMovementAirStuck 37 | { 38 | public: 39 | DECL_BASIC_CLASS(CMovementAirStuck); 40 | 41 | public: 42 | void update(); 43 | }; 44 | 45 | #endif // AIRSTUCK_H -------------------------------------------------------------------------------- /src/cheat/features/movement/AutoJOF.h: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #ifndef AUTOJOF_H 30 | #define AUTOJOF_H 31 | #pragma once 32 | 33 | extern VarBoolean movement_auto_jof_auto; 34 | extern VarFloat movement_auto_jof_min_distance; 35 | extern VarInteger movement_auto_jof_interval; 36 | extern VarInteger movement_auto_jof_activation_vel_min; 37 | 38 | class CMovementAutoJOF 39 | { 40 | public: 41 | DECL_BASIC_CLASS(CMovementAutoJOF); 42 | 43 | public: 44 | void update(float frametime); 45 | }; 46 | 47 | #endif // AUTOJOF_H -------------------------------------------------------------------------------- /src/cheat/features/movement/EdgeBug.h: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #ifndef JUMPBUG_H 30 | #define JUMPBUG_H 31 | #pragma once 32 | 33 | extern VarFloat movement_eb_intensity; 34 | extern VarBoolean movement_eb_enable_on_ramps; 35 | extern VarInteger movement_eb_min_fall_velocity; 36 | extern VarInteger movement_eb_edge_dist; 37 | extern VarInteger movement_eb_ground_dist; 38 | 39 | class CMovementEdgeBug 40 | { 41 | public: 42 | DECL_BASIC_CLASS(CMovementEdgeBug); 43 | 44 | public: 45 | void update(float frametime); 46 | }; 47 | 48 | #endif // JUMPBUG_H -------------------------------------------------------------------------------- /src/cheat/game/GameEvents.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #include "precompiled.h" 30 | 31 | void CGameEvents::on_connect() 32 | { 33 | CConsole::the().dinfo(__FUNCTION__); 34 | 35 | CEnvironmentalEffects::the().restart(); 36 | 37 | CNetchanSequenceHistory::the().flush(); 38 | } 39 | -------------------------------------------------------------------------------- /src/cheat/game/GameEvents.h: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #ifndef GAMEVENTS_H 30 | #define GAMEVENTS_H 31 | #pragma once 32 | 33 | class CGameEvents 34 | { 35 | public: 36 | DECL_BASIC_CLASS(CGameEvents); 37 | 38 | public: 39 | void on_connect(); 40 | }; 41 | 42 | #endif // GAMEVENTS_H -------------------------------------------------------------------------------- /src/cheat/game/GenericEnt.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #include "precompiled.h" 30 | 31 | void CGenericEntity::update(hl::cl_entity_t* ent) 32 | { 33 | m_ent = ent; 34 | 35 | m_model.update(m_ent->model); 36 | } 37 | 38 | bool CGenericEntity::is_out_of_update_for(float interval) const 39 | { 40 | float t2 = (float)CMemoryHookMgr::the().cl().get()->time; 41 | float t1 = m_ent->curstate.msg_time; 42 | 43 | if (t1 == 0.0f) 44 | { 45 | return true; 46 | } 47 | 48 | return std::abs(t1 - t2) > interval; 49 | } -------------------------------------------------------------------------------- /src/cheat/game/model/SpriteModelData.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #include "precompiled.h" 30 | 31 | void SpriteModelData::update(hl::msprite_t* hdr) 32 | { 33 | m_spritehdr = hdr; 34 | } 35 | -------------------------------------------------------------------------------- /src/cheat/game/model/SpriteModelData.h: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #ifndef SPRITEMODELDATA_H 30 | #define SPRITEMODELDATA_H 31 | #pragma once 32 | 33 | class SpriteModelData 34 | { 35 | public: 36 | SpriteModelData() : 37 | m_spritehdr(nullptr) 38 | { 39 | } 40 | 41 | void update(hl::msprite_t* hdr); 42 | 43 | bool is_valid() const { return m_spritehdr != nullptr; } 44 | 45 | private: 46 | hl::msprite_t* m_spritehdr; 47 | }; 48 | 49 | #endif // SPRITEMODELDATA_H -------------------------------------------------------------------------------- /src/cheat/game/model/StudioModelData.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #include "precompiled.h" 30 | 31 | void StudioModelData::update(hl::studiohdr_t* hdr) 32 | { 33 | m_studiohdr = hdr; 34 | } 35 | 36 | std::pair StudioModelData::get_movement_bounds() const 37 | { 38 | return std::make_pair(m_studiohdr->min, m_studiohdr->max); 39 | } 40 | -------------------------------------------------------------------------------- /src/cheat/precompiled.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #include "precompiled.h" -------------------------------------------------------------------------------- /src/cheat/ui/rendering_contexts/BackgroundRendering.h: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #ifndef UIBACKGROUNDRENDERING_H 30 | #define UIBACKGROUNDRENDERING_H 31 | #pragma once 32 | 33 | class CUIBackgroundRendering final : public IRenderingContext_IndependentlyActivate 34 | { 35 | public: 36 | CUIBackgroundRendering(const std::string& id) : 37 | IRenderingContext_IndependentlyActivate(id) 38 | { 39 | } 40 | 41 | void on_initialize(); 42 | void on_render(); 43 | void on_destroy(); 44 | }; 45 | 46 | #endif // UIBACKGROUNDRENDERING_H -------------------------------------------------------------------------------- /src/cheat/ui/rendering_contexts/Console.h: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #ifndef UICONSOLE_H 30 | #define UICONSOLE_H 31 | #pragma once 32 | 33 | class CUIConsole final : public IRenderingContext_GenericReliantOther 34 | { 35 | public: 36 | CUIConsole(const std::string& id, IRenderingContext* reliant_ctx) : 37 | IRenderingContext_GenericReliantOther(id, reliant_ctx) 38 | { 39 | } 40 | 41 | void on_initialize(); 42 | void on_render(); 43 | void on_destroy(); 44 | }; 45 | 46 | #endif // UICONSOLE_H -------------------------------------------------------------------------------- /src/cheat/ui/rendering_contexts/menu/Menu_PlayerList.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #include "precompiled.h" 30 | 31 | void MenuChilden::PlayerList::PlayerList_::contents() 32 | { 33 | CUIPlayerList::the().render_ui(); 34 | } -------------------------------------------------------------------------------- /src/cheat/util/engine/build_num.h: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #ifndef BUILDNUM_H 30 | #define BUILDNUM_H 31 | #pragma once 32 | 33 | extern int build_number(const char* date); 34 | 35 | #endif // BUILDNUM_H -------------------------------------------------------------------------------- /src/cheat/util/engine/parsemsg.h: -------------------------------------------------------------------------------- 1 | /*** 2 | * 3 | * Copyright (c) 1999, Valve LLC. All rights reserved. 4 | * 5 | * This product contains software technology licensed from Id 6 | * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. 7 | * All Rights Reserved. 8 | * 9 | * Use, distribution, and modification of this source code and/or resulting 10 | * object code is restricted to non-commercial enhancements to products from 11 | * Valve LLC. All other use, distribution, or modification is prohibited 12 | * without written permission from Valve LLC. 13 | * 14 | ****/ 15 | 16 | #ifndef PARSEMSG_H 17 | #define PARSEMSG_H 18 | 19 | //-------------------------------------------------------------------------------------------------------------- 20 | void BEGIN_READ( void *buf, int size ); 21 | int READ_CHAR( void ); 22 | int READ_BYTE( void ); 23 | int READ_SHORT( void ); 24 | int READ_WORD( void ); 25 | int READ_LONG( void ); 26 | float READ_FLOAT( void ); 27 | char* READ_STRING( void ); 28 | float READ_COORD( void ); 29 | float READ_ANGLE( void ); 30 | float READ_HIRESANGLE( void ); 31 | int READ_OK( void ); 32 | 33 | 34 | #endif // PARSEMSG_H 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /src/cheat/util/vanilla_halflife_dir_file_database.h: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #pragma once 30 | 31 | #include 32 | #include 33 | 34 | extern const std::unordered_multiset s_8684_vanilla_halflife_directory_files; -------------------------------------------------------------------------------- /src/external/detours/detours.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {86e77c1e-10df-414a-9c42-1ff881f2b565} 6 | 7 | 8 | 9 | 10 | src 11 | 12 | 13 | src 14 | 15 | 16 | src 17 | 18 | 19 | src 20 | 21 | 22 | src 23 | 24 | 25 | src 26 | 27 | 28 | 29 | 30 | src 31 | 32 | 33 | src 34 | 35 | 36 | 37 | 38 | src 39 | 40 | 41 | -------------------------------------------------------------------------------- /src/external/detours/detours.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /src/external/detours/detver.h: -------------------------------------------------------------------------------- 1 | ////////////////////////////////////////////////////////////////////////////// 2 | // 3 | // Common version parameters. 4 | // 5 | // Microsoft Research Detours Package, Version 4.0.1 6 | // 7 | // Copyright (c) Microsoft Corporation. All rights reserved. 8 | // 9 | 10 | #define _USING_V110_SDK71_ 1 11 | #include "winver.h" 12 | #if 0 13 | #include 14 | #include 15 | #else 16 | #ifndef DETOURS_STRINGIFY 17 | #define DETOURS_STRINGIFY(x) DETOURS_STRINGIFY_(x) 18 | #define DETOURS_STRINGIFY_(x) #x 19 | #endif 20 | 21 | #define VER_FILEFLAGSMASK 0x3fL 22 | #define VER_FILEFLAGS 0x0L 23 | #define VER_FILEOS 0x00040004L 24 | #define VER_FILETYPE 0x00000002L 25 | #define VER_FILESUBTYPE 0x00000000L 26 | #endif 27 | #define VER_DETOURS_BITS DETOUR_STRINGIFY(DETOURS_BITS) 28 | -------------------------------------------------------------------------------- /src/external/detours/disolarm.cpp: -------------------------------------------------------------------------------- 1 | #define DETOURS_ARM_OFFLINE_LIBRARY 2 | #include "disasm.cpp" 3 | -------------------------------------------------------------------------------- /src/external/detours/disolarm64.cpp: -------------------------------------------------------------------------------- 1 | #define DETOURS_ARM64_OFFLINE_LIBRARY 2 | #include "disasm.cpp" 3 | -------------------------------------------------------------------------------- /src/external/detours/disolia64.cpp: -------------------------------------------------------------------------------- 1 | #define DETOURS_IA64_OFFLINE_LIBRARY 2 | #include "disasm.cpp" 3 | -------------------------------------------------------------------------------- /src/external/detours/disolx64.cpp: -------------------------------------------------------------------------------- 1 | #define DETOURS_X64_OFFLINE_LIBRARY 2 | #include "disasm.cpp" 3 | -------------------------------------------------------------------------------- /src/external/detours/disolx86.cpp: -------------------------------------------------------------------------------- 1 | #define DETOURS_X86_OFFLINE_LIBRARY 2 | #include "disasm.cpp" 3 | -------------------------------------------------------------------------------- /src/external/freetype/include/freetype/config/ftconfig.h: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * ftconfig.h 4 | * 5 | * ANSI-specific configuration file (specification only). 6 | * 7 | * Copyright (C) 1996-2023 by 8 | * David Turner, Robert Wilhelm, and Werner Lemberg. 9 | * 10 | * This file is part of the FreeType project, and may only be used, 11 | * modified, and distributed under the terms of the FreeType project 12 | * license, LICENSE.TXT. By continuing to use, modify, or distribute 13 | * this file you indicate that you have read the license and 14 | * understand and accept it fully. 15 | * 16 | */ 17 | 18 | 19 | /************************************************************************** 20 | * 21 | * This header file contains a number of macro definitions that are used by 22 | * the rest of the engine. Most of the macros here are automatically 23 | * determined at compile time, and you should not need to change it to port 24 | * FreeType, except to compile the library with a non-ANSI compiler. 25 | * 26 | * Note however that if some specific modifications are needed, we advise 27 | * you to place a modified copy in your build directory. 28 | * 29 | * The build directory is usually `builds/`, and contains 30 | * system-specific files that are always included first when building the 31 | * library. 32 | * 33 | * This ANSI version should stay in `include/config/`. 34 | * 35 | */ 36 | 37 | #ifndef FTCONFIG_H_ 38 | #define FTCONFIG_H_ 39 | 40 | #include 41 | #include FT_CONFIG_OPTIONS_H 42 | #include FT_CONFIG_STANDARD_LIBRARY_H 43 | 44 | #include 45 | #include 46 | #include 47 | 48 | #endif /* FTCONFIG_H_ */ 49 | 50 | 51 | /* END */ 52 | -------------------------------------------------------------------------------- /src/external/freetype/include/freetype/config/ftmodule.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file registers the FreeType modules compiled into the library. 3 | * 4 | * If you use GNU make, this file IS NOT USED! Instead, it is created in 5 | * the objects directory (normally `/objs/`) based on information 6 | * from `/modules.cfg`. 7 | * 8 | * Please read `docs/INSTALL.ANY` and `docs/CUSTOMIZE` how to compile 9 | * FreeType without GNU make. 10 | * 11 | */ 12 | 13 | FT_USE_MODULE( FT_Module_Class, autofit_module_class ) 14 | FT_USE_MODULE( FT_Driver_ClassRec, tt_driver_class ) 15 | FT_USE_MODULE( FT_Driver_ClassRec, t1_driver_class ) 16 | FT_USE_MODULE( FT_Driver_ClassRec, cff_driver_class ) 17 | FT_USE_MODULE( FT_Driver_ClassRec, t1cid_driver_class ) 18 | FT_USE_MODULE( FT_Driver_ClassRec, pfr_driver_class ) 19 | FT_USE_MODULE( FT_Driver_ClassRec, t42_driver_class ) 20 | FT_USE_MODULE( FT_Driver_ClassRec, winfnt_driver_class ) 21 | FT_USE_MODULE( FT_Driver_ClassRec, pcf_driver_class ) 22 | FT_USE_MODULE( FT_Driver_ClassRec, bdf_driver_class ) 23 | FT_USE_MODULE( FT_Module_Class, psaux_module_class ) 24 | FT_USE_MODULE( FT_Module_Class, psnames_module_class ) 25 | FT_USE_MODULE( FT_Module_Class, pshinter_module_class ) 26 | FT_USE_MODULE( FT_Module_Class, sfnt_module_class ) 27 | FT_USE_MODULE( FT_Renderer_Class, ft_smooth_renderer_class ) 28 | FT_USE_MODULE( FT_Renderer_Class, ft_raster1_renderer_class ) 29 | FT_USE_MODULE( FT_Renderer_Class, ft_sdf_renderer_class ) 30 | FT_USE_MODULE( FT_Renderer_Class, ft_bitmap_sdf_renderer_class ) 31 | FT_USE_MODULE( FT_Renderer_Class, ft_svg_renderer_class ) 32 | 33 | /* EOF */ 34 | -------------------------------------------------------------------------------- /src/external/freetype/include/freetype/config/mac-support.h: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * config/mac-support.h 4 | * 5 | * Mac/OS X support configuration header. 6 | * 7 | * Copyright (C) 1996-2023 by 8 | * David Turner, Robert Wilhelm, and Werner Lemberg. 9 | * 10 | * This file is part of the FreeType project, and may only be used, 11 | * modified, and distributed under the terms of the FreeType project 12 | * license, LICENSE.TXT. By continuing to use, modify, or distribute 13 | * this file you indicate that you have read the license and 14 | * understand and accept it fully. 15 | * 16 | */ 17 | #ifndef FREETYPE_CONFIG_MAC_SUPPORT_H_ 18 | #define FREETYPE_CONFIG_MAC_SUPPORT_H_ 19 | 20 | /************************************************************************** 21 | * 22 | * Mac support 23 | * 24 | * This is the only necessary change, so it is defined here instead 25 | * providing a new configuration file. 26 | */ 27 | #if defined( __APPLE__ ) || ( defined( __MWERKS__ ) && defined( macintosh ) ) 28 | /* No Carbon frameworks for 64bit 10.4.x. */ 29 | /* `AvailabilityMacros.h` is available since Mac OS X 10.2, */ 30 | /* so guess the system version by maximum errno before inclusion. */ 31 | #include 32 | #ifdef ECANCELED /* defined since 10.2 */ 33 | #include "AvailabilityMacros.h" 34 | #endif 35 | #if defined( __LP64__ ) && \ 36 | ( MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4 ) 37 | #undef FT_MACINTOSH 38 | #endif 39 | 40 | #elif defined( __SC__ ) || defined( __MRC__ ) 41 | /* Classic MacOS compilers */ 42 | #include "ConditionalMacros.h" 43 | #if TARGET_OS_MAC 44 | #define FT_MACINTOSH 1 45 | #endif 46 | 47 | #endif /* Mac support */ 48 | 49 | #endif /* FREETYPE_CONFIG_MAC_SUPPORT_H_ */ 50 | -------------------------------------------------------------------------------- /src/external/freetype/include/ft2build.h: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | * 3 | * ft2build.h 4 | * 5 | * FreeType 2 build and setup macros. 6 | * 7 | * Copyright (C) 1996-2023 by 8 | * David Turner, Robert Wilhelm, and Werner Lemberg. 9 | * 10 | * This file is part of the FreeType project, and may only be used, 11 | * modified, and distributed under the terms of the FreeType project 12 | * license, LICENSE.TXT. By continuing to use, modify, or distribute 13 | * this file you indicate that you have read the license and 14 | * understand and accept it fully. 15 | * 16 | */ 17 | 18 | 19 | /************************************************************************** 20 | * 21 | * This is the 'entry point' for FreeType header file inclusions, to be 22 | * loaded before all other header files. 23 | * 24 | * A typical example is 25 | * 26 | * ``` 27 | * #include 28 | * #include 29 | * ``` 30 | * 31 | */ 32 | 33 | 34 | #ifndef FT2BUILD_H_ 35 | #define FT2BUILD_H_ 36 | 37 | #include 38 | 39 | #endif /* FT2BUILD_H_ */ 40 | 41 | 42 | /* END */ 43 | -------------------------------------------------------------------------------- /src/external/freetype/lib/freetype.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/src/external/freetype/lib/freetype.lib -------------------------------------------------------------------------------- /src/external/glfw/glfw3_mt.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/src/external/glfw/glfw3_mt.lib -------------------------------------------------------------------------------- /src/external/hlsdk/common/VGuiVertex.h: -------------------------------------------------------------------------------- 1 | //========= Copyright © 1996-2002, Valve LLC, All rights reserved. ============ 2 | // 3 | // Purpose: 4 | // 5 | // $NoKeywords: $ 6 | //============================================================================= 7 | #ifndef VGUIVERTEX_H 8 | #define VGUIVERTEX_H 9 | #pragma once 10 | 11 | // In retail this struct is both declare for vgui1 & vgui2 namespaces. We solve it 12 | // by unifying it into one form. 13 | class VGuiVertex 14 | { 15 | public: 16 | VGuiVertex() 17 | { 18 | } 19 | 20 | ~VGuiVertex() 21 | { 22 | } 23 | 24 | VGuiVertex(int x, int y, float u = 0, float v = 0) 25 | { 26 | Init(x, y, u, v); 27 | } 28 | 29 | void Init(int xIn, int yIn, float uIn = 0, float vIn = 0) 30 | { 31 | x = xIn; 32 | y = yIn; 33 | u = uIn; 34 | v = vIn; 35 | } 36 | 37 | int x, y; 38 | float u, v; 39 | }; 40 | 41 | #endif // VGUIVERTEX_H -------------------------------------------------------------------------------- /src/external/hlsdk/common/filesystemdefs.h: -------------------------------------------------------------------------------- 1 | /*** 2 | * 3 | * Copyright (c) 1996-2002, Valve LLC. All rights reserved. 4 | * 5 | * This product contains software technology licensed from Id 6 | * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. 7 | * All Rights Reserved. 8 | * 9 | * Use, distribution, and modification of this source code and/or resulting 10 | * object code is restricted to non-commercial enhancements to products from 11 | * Valve LLC. All other use, distribution, or modification is prohibited 12 | * without written permission from Valve LLC. 13 | * 14 | ****/ 15 | 16 | #ifndef HL_FILESYSTEMDEFS_H 17 | #define HL_FILESYSTEMDEFS_H 18 | 19 | #pragma once 20 | 21 | typedef void* FileHandle_t; 22 | typedef int FileFindHandle_t; 23 | typedef int WaitForResourcesHandle_t; 24 | 25 | typedef void(*WarningFunc_t)(const char* pszFormat, ...); 26 | 27 | //----------------------------------------------------------------------------- 28 | // Enums used by the interface 29 | //----------------------------------------------------------------------------- 30 | enum FileSystemSeek_t 31 | { 32 | FILESYSTEM_SEEK_HEAD = 0, 33 | FILESYSTEM_SEEK_CURRENT, 34 | FILESYSTEM_SEEK_TAIL, 35 | }; 36 | 37 | enum 38 | { 39 | FILESYSTEM_INVALID_FIND_HANDLE = -1 40 | }; 41 | 42 | enum FileWarningLevel_t 43 | { 44 | // Generic problem 45 | FILESYSTEM_WARNING = -1, 46 | 47 | // Don't print anything 48 | FILESYSTEM_WARNING_QUIET = 0, 49 | 50 | // On shutdown, report names of files left unclosed 51 | FILESYSTEM_WARNING_REPORTUNCLOSED, 52 | 53 | // Report number of times a file was opened, closed 54 | FILESYSTEM_WARNING_REPORTUSAGE, 55 | 56 | // Report all open/close events to console ( !slow! ) 57 | FILESYSTEM_WARNING_REPORTALLACCESSES 58 | }; 59 | 60 | #define FILESYSTEM_INVALID_HANDLE ( FileHandle_t )0 61 | 62 | #endif // FILESYSTEMDEFS_H -------------------------------------------------------------------------------- /src/external/hlsdk/engine/client_command.h: -------------------------------------------------------------------------------- 1 | //======== (C) Copyright 1999, 2000 Valve, L.L.C. All rights reserved. ======== 2 | // 3 | // The copyright to the contents herein is the property of Valve, L.L.C. 4 | // The contents may be used and/or copied only with the written permission of 5 | // Valve, L.L.C., or in accordance with the terms and conditions stipulated in 6 | // the agreement/contract under which the contents have been supplied. 7 | // 8 | // Purpose: 9 | // 10 | // $Workfile: $ 11 | // $Date: $ 12 | // 13 | //----------------------------------------------------------------------------- 14 | // $Log: $ 15 | // 16 | // $NoKeywords: $ 17 | //============================================================================= 18 | #ifndef CLIENT_COMMAND_H 19 | #define CLIENT_COMMAND_H 20 | #ifdef _WIN32 21 | #pragma once 22 | #endif 23 | 24 | // information about movement data packet 25 | typedef struct cmd_s 26 | { 27 | usercmd_t cmd; 28 | 29 | float senttime; 30 | float receivedtime; 31 | float frame_lerp; 32 | 33 | qboolean processedfuncs; // we have ran this command 34 | qboolean heldback; 35 | 36 | int sendsize; 37 | } cmd_t; 38 | 39 | #endif // CLIENT_COMMAND_H -------------------------------------------------------------------------------- /src/external/hlsdk/engine/client_textmessage.h: -------------------------------------------------------------------------------- 1 | //====== Copyright © 1996-2003, Valve Corporation, All rights reserved. ======= 2 | // 3 | // Purpose: 4 | // 5 | //============================================================================= 6 | 7 | #ifndef CLIENT_TEXTMESSAGE_H 8 | #define CLIENT_TEXTMESSAGE_H 9 | #ifdef _WIN32 10 | #pragma once 11 | #endif 12 | 13 | // client-side screen text message data 14 | typedef struct client_textmessage_s 15 | { 16 | int effect; // effect number 17 | byte r1, g1, b1, a1; // 2 colors for effects 18 | byte r2, g2, b2, a2; 19 | float x, y; // position 20 | float fadein, fadeout; // fade 21 | float holdtime; 22 | float fxtime; 23 | const char *pName; 24 | const char *pMessage; 25 | } client_textmessage_t; 26 | 27 | #endif // CLIENT_TEXTMESSAGE_H 28 | -------------------------------------------------------------------------------- /src/external/hlsdk/engine/command.h: -------------------------------------------------------------------------------- 1 | /*** 2 | * 3 | * Copyright (c) 1996-2002, Valve LLC. All rights reserved. 4 | * 5 | * This product contains software technology licensed from Id 6 | * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. 7 | * All Rights Reserved. 8 | * 9 | * Use, distribution, and modification of this source code and/or resulting 10 | * object code is restricted to non-commercial enhancements to products from 11 | * Valve LLC. All other use, distribution, or modification is prohibited 12 | * without written permission from Valve LLC. 13 | * 14 | ****/ 15 | #ifndef COMMAND_H 16 | #define COMMAND_H 17 | #pragma once 18 | 19 | // Command dispatch routine 20 | typedef void(__cdecl*xcommand_t)(void); 21 | 22 | // Flags for commands 23 | #define FCMD_NONE 0 24 | #define FCMD_HUD (1 << 0) // HUD command (client dll) 25 | #define FCMD_GAME (1 << 1) // Server command (server dll) 26 | #define FCMD_WRAPPER (1 << 2) // GameUI command (GameUI dll) 27 | #define FCMD_FORCE_PRIVILEGED (1 << 3) // If isn't priviledged by default when executing but this is set, don't allow it. 28 | #define FCMD_FILTERED (1 << 4) // When cl_filterstuffcmd is on, don't allow. 29 | 30 | // Holds information about single command. (_f) 31 | struct cmd_function_t 32 | { 33 | cmd_function_t* next; 34 | char* name; 35 | xcommand_t function; 36 | int flags; 37 | }; 38 | 39 | // Command source - information about where we got the command from. 40 | enum cmd_source_t 41 | { 42 | src_client, // came in over a net connection as a clc_stringcmd 43 | // host_client will be valid during this state. 44 | src_command // from the command buffer 45 | }; 46 | 47 | #define MAX_ALIAS_NAME 32 48 | 49 | // Holds information about user-defined alias. 50 | struct cmdalias_t 51 | { 52 | cmdalias_t* next; 53 | char name[MAX_ALIAS_NAME]; 54 | char* value; 55 | }; 56 | 57 | #endif // COMMAND_H 58 | -------------------------------------------------------------------------------- /src/external/hlsdk/engine/con_nprint.h: -------------------------------------------------------------------------------- 1 | /*** 2 | * 3 | * Copyright (c) 1996-2002, Valve LLC. All rights reserved. 4 | * 5 | * This product contains software technology licensed from Id 6 | * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. 7 | * All Rights Reserved. 8 | * 9 | * Use, distribution, and modification of this source code and/or resulting 10 | * object code is restricted to non-commercial enhancements to products from 11 | * Valve LLC. All other use, distribution, or modification is prohibited 12 | * without written permission from Valve LLC. 13 | * 14 | ****/ 15 | #if !defined( CON_NPRINTH ) 16 | #define CON_NPRINTH 17 | #pragma once 18 | 19 | typedef struct 20 | { 21 | int index; // Row # 22 | float time_to_live; // # of seconds before it dissappears 23 | float color[3]; // RGB colors ( 0.0 -> 1.0 scale ) 24 | } con_nprint_t; 25 | 26 | void Con_NPrintf(int idx, char *fmt, ...); 27 | void Con_NXPrintf(con_nprint_t* info, char *fmt, ...); 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /src/external/hlsdk/engine/consistency.h: -------------------------------------------------------------------------------- 1 | /*** 2 | * 3 | * Copyright (c) 1996-2002, Valve LLC. All rights reserved. 4 | * 5 | * This product contains software technology licensed from Id 6 | * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. 7 | * All Rights Reserved. 8 | * 9 | * Use, distribution, and modification of this source code and/or resulting 10 | * object code is restricted to non-commercial enhancements to products from 11 | * Valve LLC. All other use, distribution, or modification is prohibited 12 | * without written permission from Valve LLC. 13 | * 14 | ****/ 15 | #ifndef CONSISTENCY_H 16 | #define CONSISTENCY_H 17 | #pragma once 18 | 19 | // Used for consistency_list[MAX_CONSISTENCY]. Use for resources 20 | struct consistency_t 21 | { 22 | char* filename; // File name of the resource 23 | 24 | int issound; // True if the resource type is t_sound 25 | int orig_index; // Index for resource 26 | int value; // 27 | 28 | int check_type; // consistency check type, see FORCE_TYPE in eiface.h 29 | 30 | // For force_model_specifybounds and force_model_specifybounds_if_avail 31 | float mins[3]; 32 | float maxs[3]; 33 | }; 34 | 35 | #endif // CONSISTENCY_H 36 | -------------------------------------------------------------------------------- /src/external/hlsdk/engine/delta_packet.h: -------------------------------------------------------------------------------- 1 | /*** 2 | * 3 | * Copyright (c) 1996-2002, Valve LLC. All rights reserved. 4 | * 5 | * This product contains software technology licensed from Id 6 | * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. 7 | * All Rights Reserved. 8 | * 9 | * Use, distribution, and modification of this source code and/or resulting 10 | * object code is restricted to non-commercial enhancements to products from 11 | * Valve LLC. All other use, distribution, or modification is prohibited 12 | * without written permission from Valve LLC. 13 | * 14 | ****/ 15 | 16 | #ifndef DELTA_PACKET_H 17 | #define DELTA_PACKET_H 18 | #pragma once 19 | 20 | #define MAX_PACKET_ENTITIES 256 // 256 visible entities per frame 21 | 22 | #define ENTITY_SENTINEL 9999 // for server and client parsing 23 | 24 | typedef struct 25 | { 26 | int num_entities; 27 | 28 | // For each entity handled in the to packet, mark that's it has already been deleted if that's the case 29 | unsigned char flags[MAX_CLIENTS]; 30 | entity_state_t* entities; // heap allocated entities 31 | } packet_entities_t; 32 | 33 | #endif // DELTA_PACKET_H -------------------------------------------------------------------------------- /src/external/hlsdk/engine/edict.h: -------------------------------------------------------------------------------- 1 | //========= Copyright © 1996-2002, Valve LLC, All rights reserved. ============ 2 | // 3 | // Purpose: 4 | // 5 | // $NoKeywords: $ 6 | //============================================================================= 7 | 8 | // 9 | // edict.h -- Entity dictionary 10 | // 11 | 12 | #ifndef EDICT_H 13 | #define EDICT_H 14 | #pragma once 15 | 16 | #include "const.h" 17 | 18 | #define MAX_ENT_LEAFS 48 19 | 20 | struct edict_t 21 | { 22 | qboolean free; 23 | int serialnumber; 24 | link_t area; // linked to a division node or leaf 25 | 26 | int headnode; // -1 to use normal leaf check 27 | int num_leafs; 28 | short leafnums[MAX_ENT_LEAFS]; 29 | 30 | float freetime; // sv.time when the object was freed 31 | 32 | void* pvPrivateData; // Alloced and freed by engine, used by DLLs 33 | 34 | entvars_t v; // C exported fields from progs 35 | }; 36 | 37 | #endif // EDICT_H 38 | -------------------------------------------------------------------------------- /src/external/hlsdk/engine/engine_math.h: -------------------------------------------------------------------------------- 1 | /*** 2 | * 3 | * Copyright (c) 1996-2002, Valve LLC. All rights reserved. 4 | * 5 | * This product contains software technology licensed from Id 6 | * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. 7 | * All Rights Reserved. 8 | * 9 | * Use, distribution, and modification of this source code and/or resulting 10 | * object code is restricted to non-commercial enhancements to products from 11 | * Valve LLC. All other use, distribution, or modification is prohibited 12 | * without written permission from Valve LLC. 13 | * 14 | ****/ 15 | 16 | #if !defined( ENGINEMATH_H ) 17 | #define ENGINEMATH_H 18 | #pragma once 19 | 20 | typedef float vec_t; 21 | #if 0 22 | typedef float vec3_t[3]; 23 | #else 24 | typedef Vector vec3_t; 25 | #endif 26 | typedef vec_t vec4_t[4]; // x,y,z,w 27 | typedef vec_t vec5_t[5]; 28 | 29 | #endif // ENGINEMATH_H -------------------------------------------------------------------------------- /src/external/hlsdk/engine/host.h: -------------------------------------------------------------------------------- 1 | /*** 2 | * 3 | * Copyright (c) 1996-2002, Valve LLC. All rights reserved. 4 | * 5 | * This product contains software technology licensed from Id 6 | * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. 7 | * All Rights Reserved. 8 | * 9 | * Use, distribution, and modification of this source code and/or resulting 10 | * object code is restricted to non-commercial enhancements to products from 11 | * Valve LLC. All other use, distribution, or modification is prohibited 12 | * without written permission from Valve LLC. 13 | * 14 | ****/ 15 | 16 | #if !defined( HOST_H ) 17 | #define HOST_H 18 | #pragma once 19 | 20 | //============================================================================= 21 | // the host system specifies the base of the directory tree, the 22 | // command line parms passed to the program, and the amount of memory 23 | // available for the program to use 24 | struct quakeparms_t 25 | { 26 | char* basedir; // Base / Mod game directory 27 | char* cachedir; // for development over ISDN lines 28 | 29 | int argc; 30 | char** argv; 31 | 32 | void* membase; 33 | int memsize; 34 | }; 35 | 36 | #endif // HOST_H -------------------------------------------------------------------------------- /src/external/hlsdk/engine/kbutton.h: -------------------------------------------------------------------------------- 1 | //========= Copyright © 1996-2002, Valve LLC, All rights reserved. ============ 2 | // 3 | // Purpose: 4 | // 5 | // $NoKeywords: $ 6 | //============================================================================= 7 | 8 | #if !defined( KBUTTONH ) 9 | #define KBUTTONH 10 | #pragma once 11 | 12 | struct kbutton_t 13 | { 14 | int down[2]; // key nums holding it down 15 | int state; // low bit is down state 16 | }; 17 | 18 | #endif // !KBUTTONH -------------------------------------------------------------------------------- /src/external/hlsdk/engine/light.h: -------------------------------------------------------------------------------- 1 | /*** 2 | * 3 | * Copyright (c) 1996-2002, Valve LLC. All rights reserved. 4 | * 5 | * This product contains software technology licensed from Id 6 | * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. 7 | * All Rights Reserved. 8 | * 9 | * Use, distribution, and modification of this source code and/or resulting 10 | * object code is restricted to non-commercial enhancements to products from 11 | * Valve LLC. All other use, distribution, or modification is prohibited 12 | * without written permission from Valve LLC. 13 | * 14 | ****/ 15 | 16 | // 17 | // dlight.h -- Dynamic light entity. 18 | // 19 | 20 | #ifndef DLIGHT_H 21 | #define DLIGHT_H 22 | #pragma once 23 | 24 | // Dynamic light 25 | typedef struct 26 | { 27 | vec3_t origin; // light center 28 | float radius; // circle radius 29 | color24 color; 30 | float die; // stop lighting after this time 31 | float decay; // drop this each second 32 | float minlight; // don't add when contributing less 33 | int key; 34 | qboolean dark; // subtracts light instead of adding 35 | } dlight_t; 36 | 37 | #define MAX_AMBIENTLIGHT 128 38 | #define MAX_SHADELIGHT 192 39 | 40 | // Alias model light 41 | typedef struct 42 | { 43 | int ambientlight; // clip at 128 44 | int shadelight; // clip at 192 - ambientlight 45 | vec3_t color; // R, G, B 46 | float* plightvec; 47 | } alight_t; 48 | 49 | #endif // DLIGHT_H 50 | -------------------------------------------------------------------------------- /src/external/hlsdk/engine/netbuf.h: -------------------------------------------------------------------------------- 1 | /*** 2 | * 3 | * Copyright (c) 1996-2002, Valve LLC. All rights reserved. 4 | * 5 | * This product contains software technology licensed from Id 6 | * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. 7 | * All Rights Reserved. 8 | * 9 | * Use, distribution, and modification of this source code and/or resulting 10 | * object code is restricted to non-commercial enhancements to products from 11 | * Valve LLC. All other use, distribution, or modification is prohibited 12 | * without written permission from Valve LLC. 13 | * 14 | ****/ 15 | 16 | // 17 | // netbuf.h -- A buffer to be transfered across the network. 18 | // 19 | 20 | #ifndef NETBUF_H 21 | #define NETBUF_H 22 | #pragma once 23 | 24 | // For flags of sizebuf_t 25 | enum FSB 26 | { 27 | FSB_NONE = 0, 28 | 29 | // If not set, do a Sys_Error 30 | FSB_ALLOWOVERFLOW = 1 << 0, 31 | 32 | // Set if the buffer size failed 33 | FSB_OVERFLOWED = 1 << 1 34 | }; 35 | 36 | // oject representing single package of buffer data 37 | struct sizebuf_t 38 | { 39 | const char* buffername; 40 | 41 | unsigned short flags; 42 | 43 | byte* data; 44 | 45 | int maxsize; 46 | int cursize; 47 | }; 48 | 49 | // buffer to be written to 50 | struct bf_write_t 51 | { 52 | int nCurOutputBit; 53 | unsigned char* pOutByte; 54 | 55 | sizebuf_t* pbuf; 56 | }; 57 | 58 | // buffer to be read from 59 | struct bf_read_t 60 | { 61 | int msg_readcount; 62 | sizebuf_t* pbuf; 63 | 64 | int nBitFieldReadStartByte; 65 | int nBytesRead; 66 | int nCurInputBit; 67 | 68 | unsigned char* pInByte; 69 | }; 70 | 71 | #endif // NETBUF_H -------------------------------------------------------------------------------- /src/external/hlsdk/engine/particledef.h: -------------------------------------------------------------------------------- 1 | /*** 2 | * 3 | * Copyright (c) 1996-2002, Valve LLC. All rights reserved. 4 | * 5 | * This product contains software technology licensed from Id 6 | * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. 7 | * All Rights Reserved. 8 | * 9 | * Use, distribution, and modification of this source code and/or resulting 10 | * object code is restricted to non-commercial enhancements to products from 11 | * Valve LLC. All other use, distribution, or modification is prohibited 12 | * without written permission from Valve LLC. 13 | * 14 | ****/ 15 | 16 | // 17 | // particledef.h -- Particle effects description 18 | // 19 | 20 | #ifndef PARTICLEDEF_H 21 | #define PARTICLEDEF_H 22 | #pragma once 23 | 24 | typedef enum 25 | { 26 | pt_static, 27 | pt_grav, 28 | pt_slowgrav, 29 | pt_fire, 30 | pt_explode, 31 | pt_explode2, 32 | pt_blob, 33 | pt_blob2, 34 | pt_vox_slowgrav, 35 | pt_vox_grav, 36 | pt_clientcustom // Must have callback function specified 37 | } ptype_t; 38 | 39 | // !!! if this is changed, it must be changed in d_ifacea.h too !!! 40 | struct particle_t 41 | { 42 | // driver-usable fields 43 | vec3_t org; 44 | short color; 45 | short packedColor; 46 | // drivers never touch the following fields 47 | particle_t* next; 48 | vec3_t vel; 49 | float ramp; // length 50 | float die; 51 | ptype_t type; 52 | void (*deathfunc)(particle_t* particle); 53 | 54 | // for pt_clientcusttom, we'll call this function each frame 55 | void (*callback)(particle_t* particle, float frametime); 56 | 57 | // For deathfunc, etc. 58 | unsigned char context; 59 | }; 60 | 61 | #endif // PARTICLEDEF_H 62 | -------------------------------------------------------------------------------- /src/external/hlsdk/engine/pmtrace.h: -------------------------------------------------------------------------------- 1 | /*** 2 | * 3 | * Copyright (c) 1996-2002, Valve LLC. All rights reserved. 4 | * 5 | * This product contains software technology licensed from Id 6 | * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. 7 | * All Rights Reserved. 8 | * 9 | * Use, distribution, and modification of this source code and/or resulting 10 | * object code is restricted to non-commercial enhancements to products from 11 | * Valve LLC. All other use, distribution, or modification is prohibited 12 | * without written permission from Valve LLC. 13 | * 14 | ****/ 15 | 16 | // 17 | // pmtrace.h -- tracing code 18 | // 19 | 20 | #ifndef PMTRACE_H 21 | #define PMTRACE_H 22 | #pragma once 23 | 24 | typedef struct 25 | { 26 | vec3_t normal; 27 | float dist; 28 | } pmplane_t; 29 | 30 | struct pmtrace_t 31 | { 32 | qboolean allsolid; // if true, plane is not valid 33 | qboolean startsolid; // if true, the initial point was in a solid area 34 | qboolean inopen, inwater; // End point is in empty space or in water 35 | float fraction; // time completed, 1.0 = didn't hit anything 36 | vec3_t endpos; // final position 37 | pmplane_t plane; // surface normal at impact 38 | int ent; // entity at impact 39 | vec3_t deltavelocity; // Change in player's velocity caused by impact. 40 | // Only run on server. 41 | int hitgroup; 42 | }; 43 | 44 | #endif // PMTRACE_H 45 | -------------------------------------------------------------------------------- /src/external/hlsdk/engine/screenfade.h: -------------------------------------------------------------------------------- 1 | //========= Copyright © 1996-2002, Valve LLC, All rights reserved. ============ 2 | // 3 | // Purpose: 4 | // 5 | // $NoKeywords: $ 6 | //============================================================================= 7 | 8 | // 9 | // screenfade.h -- screen fading code. 10 | // 11 | 12 | #ifndef SCREENFADE_H 13 | #define SCREENFADE_H 14 | #pragma once 15 | 16 | typedef struct screenfade_s 17 | { 18 | float fadeSpeed; // How fast to fade (tics / second) (+ fade in, - fade out) 19 | float fadeEnd; // When the fading hits maximum 20 | float fadeTotalEnd; // Total End Time of the fade (used for FFADE_OUT) 21 | float fadeReset; // When to reset to not fading (for fadeout and hold) 22 | byte fader, fadeg, fadeb, fadealpha; // Fade color 23 | int fadeFlags; // Fading flags 24 | } screenfade_t; 25 | 26 | #endif // !SCREENFADE_H 27 | -------------------------------------------------------------------------------- /src/external/hlsdk/engine/sys_engine.h: -------------------------------------------------------------------------------- 1 | /*** 2 | * 3 | * Copyright (c) 1996-2002, Valve LLC. All rights reserved. 4 | * 5 | * This product contains software technology licensed from Id 6 | * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. 7 | * All Rights Reserved. 8 | * 9 | * Use, distribution, and modification of this source code and/or resulting 10 | * object code is restricted to non-commercial enhancements to products from 11 | * Valve LLC. All other use, distribution, or modification is prohibited 12 | * without written permission from Valve LLC. 13 | * 14 | ****/ 15 | 16 | enum QuitType 17 | { 18 | QUIT_NOTQUITTING = 0, 19 | QUIT_TODESKTOP, 20 | QUIT_RESTART 21 | }; 22 | 23 | class CEngine 24 | { 25 | public: 26 | void* __vtable; 27 | 28 | int m_nQuitting; 29 | int m_nDLLState; 30 | int m_nSubState; 31 | 32 | double m_fCurTime; 33 | double m_fFrameTime; 34 | double m_fOldTime; 35 | 36 | bool m_bTrapMode; 37 | bool m_bDoneTrapping; 38 | int m_nTrapKey; 39 | int m_nTrapButtons; 40 | }; 41 | -------------------------------------------------------------------------------- /src/external/hlsdk/engine/userid.h: -------------------------------------------------------------------------------- 1 | //========= Copyright © 1996-2002, Valve LLC, All rights reserved. ============ 2 | // 3 | // Purpose: 4 | // 5 | // $NoKeywords: $ 6 | //============================================================================= 7 | 8 | // 9 | // userid.h -- UserIDdata for networking and user banning 10 | // 11 | 12 | #ifndef USER_H 13 | #define USER_H 14 | #pragma once 15 | 16 | // Authentication types for idtype 17 | #define IDTYPE_WON 0 18 | #define IDTYPE_STEAM 1 19 | #define IDTYPE_VALVE 2 20 | #define IDTYPE_HLTV 3 21 | 22 | // UserID Data 23 | typedef struct 24 | { 25 | int idtype; // Auth type 26 | uint64 m_SteamID; // Client's Steam ID 27 | 28 | unsigned int clientip; // Client's IP Address 29 | } USERID_t; 30 | 31 | #endif // USER_H -------------------------------------------------------------------------------- /src/external/hlsdk/engine/usermsg.h: -------------------------------------------------------------------------------- 1 | //========= Copyright © 1996-2002, Valve LLC, All rights reserved. ============ 2 | // 3 | // Purpose: 4 | // 5 | // $NoKeywords: $ 6 | //============================================================================= 7 | 8 | // 9 | // usermsg.h -- A type of message to be transfered via parsing code. 10 | // 11 | 12 | #ifndef USERMSG_H 13 | #define USERMSG_H 14 | #ifdef _WIN32 15 | #pragma once 16 | #endif 17 | 18 | typedef int(*pfnUserMsgHook)(const char* pszName, int iSize, void* pbuf); 19 | 20 | // Circular linked list containing user message data for each command. 21 | struct UserMsg 22 | { 23 | // This is the usermsg number 24 | int iMsg; 25 | 26 | // Maximum size is MAX_USERMSG_SIZE 27 | int iSize; 28 | 29 | // Name of the message 30 | char szName[MAX_USERMSG_NAME]; 31 | 32 | // Next entry in the list. If this is head, that points to tail. 33 | UserMsg* next; 34 | 35 | // Routine that will be dispatched 36 | pfnUserMsgHook pfn; 37 | }; 38 | 39 | #endif // USERMSG_H -------------------------------------------------------------------------------- /src/external/hlsdk/engine/weaponinfo.h: -------------------------------------------------------------------------------- 1 | /*** 2 | * 3 | * Copyright (c) 1996-2002, Valve LLC. All rights reserved. 4 | * 5 | * This product contains software technology licensed from Id 6 | * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. 7 | * All Rights Reserved. 8 | * 9 | * Use, distribution, and modification of this source code and/or resulting 10 | * object code is restricted to non-commercial enhancements to products from 11 | * Valve LLC. All other use, distribution, or modification is prohibited 12 | * without written permission from Valve LLC. 13 | * 14 | ****/ 15 | #ifndef WEAPONINFO_H 16 | #define WEAPONINFO_H 17 | #pragma once 18 | 19 | // Info about weapons player might have in his/her possession 20 | struct weapon_data_t 21 | { 22 | int m_iId; 23 | int m_iClip; 24 | 25 | float m_flNextPrimaryAttack; 26 | float m_flNextSecondaryAttack; 27 | float m_flTimeWeaponIdle; 28 | 29 | int m_fInReload; 30 | int m_fInSpecialReload; 31 | float m_flNextReload; 32 | float m_flPumpTime; 33 | float m_fReloadTime; 34 | 35 | float m_fAimedDamage; 36 | float m_fNextAimBonus; 37 | int m_fInZoom; 38 | int m_iWeaponState; 39 | 40 | int iuser1; 41 | int iuser2; 42 | int iuser3; 43 | int iuser4; 44 | float fuser1; 45 | float fuser2; 46 | float fuser3; 47 | float fuser4; 48 | }; 49 | 50 | #endif // WEAPONINFO_H 51 | -------------------------------------------------------------------------------- /src/external/hlsdk/engine/wrect.h: -------------------------------------------------------------------------------- 1 | //========= Copyright © 1996-2002, Valve LLC, All rights reserved. ============ 2 | // 3 | // Purpose: 4 | // 5 | // $NoKeywords: $ 6 | //============================================================================= 7 | 8 | #if !defined( WRECTH ) 9 | #define WRECTH 10 | 11 | struct wrect_t 12 | { 13 | int left, right, top, bottom; 14 | }; 15 | 16 | #endif -------------------------------------------------------------------------------- /src/external/hlsdk/engine/zone_cache.h: -------------------------------------------------------------------------------- 1 | /*** 2 | * 3 | * Copyright (c) 1996-2002, Valve LLC. All rights reserved. 4 | * 5 | * This product contains software technology licensed from Id 6 | * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. 7 | * All Rights Reserved. 8 | * 9 | * Use, distribution, and modification of this source code and/or resulting 10 | * object code is restricted to non-commercial enhancements to products from 11 | * Valve LLC. All other use, distribution, or modification is prohibited 12 | * without written permission from Valve LLC. 13 | * 14 | ****/ 15 | #ifndef ZONE_CACHE_H 16 | #define ZONE_CACHE_H 17 | #pragma once 18 | 19 | #define CACHE_MAX_NAME 64 20 | 21 | struct cache_user_t 22 | { 23 | void* data; 24 | }; 25 | 26 | struct cache_system_t 27 | { 28 | int size; // including this header 29 | cache_user_t* user; 30 | char name[CACHE_MAX_NAME]; 31 | cache_system_t* prev, * next; 32 | cache_system_t* lru_prev, * lru_next; // for LRU flushing 33 | }; 34 | 35 | #endif // ZONE_CACHE_H -------------------------------------------------------------------------------- /src/external/hlsdk/interface/IEngineAPI.h: -------------------------------------------------------------------------------- 1 | //========= Copyright © 1996-2002, Valve LLC, All rights reserved. ============ 2 | // 3 | // Purpose: 4 | // 5 | // $NoKeywords: $ 6 | //============================================================================= 7 | 8 | #ifndef IENGINEAPI_H 9 | #define IENGINEAPI_H 10 | 11 | #ifdef _WIN32 12 | #pragma once 13 | #endif 14 | 15 | //----------------------------------------------------------------------------- 16 | // Purpose: The engine run result data. The engine (hw.dll/sw.dll) returns this, 17 | // so we can determine changing video mode is failed or we want to quit 18 | //----------------------------------------------------------------------------- 19 | enum EngineRunResult 20 | { 21 | ENGINE_RUN_QUITTING = 0, 22 | ENGINE_RUN_CHANGED_VIDEOMODE = 1, 23 | ENGINE_RUN_UNSUPPORTED_VIDEOMODE = 2 24 | }; 25 | 26 | //----------------------------------------------------------------------------- 27 | // Purpose: Engine/launcher interface 28 | //----------------------------------------------------------------------------- 29 | class IEngineAPI : public IBaseInterface 30 | { 31 | public: 32 | virtual EngineRunResult Run(void* instance, char* basedir, char* cmdline, char* postRestartCmdLineArgs, CreateInterfaceFn launcherFactory, CreateInterfaceFn filesystemFactory) = 0; 33 | }; 34 | 35 | #define VENGINE_LAUNCHER_API_VERSION "VENGINE_LAUNCHER_API_VERSION002" 36 | 37 | #endif // IENGINEAPI_H -------------------------------------------------------------------------------- /src/external/hlsdk/interface/IEngineVGui.h: -------------------------------------------------------------------------------- 1 | //======== (C) Copyright 1999, 2000 Valve, L.L.C. All rights reserved. ======== 2 | // 3 | // The copyright to the contents herein is the property of Valve, L.L.C. 4 | // The contents may be used and/or copied only with the written permission of 5 | // Valve, L.L.C., or in accordance with the terms and conditions stipulated in 6 | // the agreement/contract under which the contents have been supplied. 7 | // 8 | // Purpose: 9 | // 10 | // $Workfile: $ 11 | // $Date: $ 12 | // 13 | //----------------------------------------------------------------------------- 14 | // $Log: $ 15 | // 16 | // $NoKeywords: $ 17 | //============================================================================= 18 | #if !defined(IENGINEVGUI_H) 19 | #define IENGINEVGUI_H 20 | #ifdef _WIN32 21 | #pragma once 22 | #endif 23 | 24 | enum VGUIPANEL 25 | { 26 | PANEL_ROOT = 0, 27 | PANEL_CLIENTDLL, 28 | PANEL_GAMEUIDLL 29 | }; 30 | 31 | //----------------------------------------------------------------------------- 32 | // Purpose: Centerpoint for handling all user interface in the engine 33 | //----------------------------------------------------------------------------- 34 | class IEngineVGui : public IBaseInterface 35 | { 36 | public: 37 | virtual ~IEngineVGui() { } 38 | 39 | virtual vgui2::VPANEL GetPanel(VGUIPANEL type) = 0; 40 | 41 | virtual bool SteamRefreshLogin(const char* password, bool isSecure) = 0; 42 | virtual bool SteamProcessCall(bool* finished, void* progress, void* steamError) = 0; 43 | }; 44 | 45 | #define ENGINEVGUI_INTERFACE_VERSION "VEngineVGui001" 46 | 47 | extern IEngineVGui* enginevgui; 48 | 49 | #endif // IENGINEVGUI_H 50 | -------------------------------------------------------------------------------- /src/external/hlsdk/interface/IVideoMode.h: -------------------------------------------------------------------------------- 1 | //======== (C) Copyright 1999, 2000 Valve, L.L.C. All rights reserved. ======== 2 | // 3 | // The copyright to the contents herein is the property of Valve, L.L.C. 4 | // The contents may be used and/or copied only with the written permission of 5 | // Valve, L.L.C., or in accordance with the terms and conditions stipulated in 6 | // the agreement/contract under which the contents have been supplied. 7 | // 8 | // Purpose: 9 | // 10 | // $Workfile: $ 11 | // $Date: $ 12 | // $NoKeywords: $ 13 | //============================================================================= 14 | #if !defined( IVIDEOMODE_H ) 15 | #define IVIDEOMODE_H 16 | #pragma once 17 | 18 | #define VID_SOFTWARE 0 19 | #define VID_HARDWARE 1 20 | #define VID_HARDWARE_D3D 2 21 | 22 | // video mode 23 | struct vmode_t 24 | { 25 | int width; 26 | int height; 27 | int bpp; 28 | }; 29 | 30 | //----------------------------------------------------------------------------- 31 | // Purpose: Manages the main window's video modes 32 | //----------------------------------------------------------------------------- 33 | class IVideoMode 34 | { 35 | public: 36 | virtual const char* GetName() = 0; 37 | 38 | virtual bool Init(void* pvInstance) = 0; 39 | virtual void Shutdown() = 0; 40 | 41 | virtual bool AddMode(int width, int height, int bpp) = 0; 42 | virtual vmode_t* GetCurrentMode() = 0; 43 | virtual vmode_t* GetMode(int num) = 0; 44 | virtual int GetModeCount() = 0; 45 | 46 | virtual bool IsWindowedMode() const = 0; 47 | 48 | virtual bool GetInitialized() const = 0; 49 | virtual void SetInitialized(bool init) = 0; 50 | 51 | virtual void UpdateWindowPosition() = 0; 52 | 53 | virtual void FlipScreen() = 0; 54 | 55 | virtual void RestoreVideo() = 0; 56 | virtual void ReleaseVideo() = 0; 57 | }; 58 | 59 | extern IVideoMode* videomode; 60 | 61 | #endif // IVIDEOMODE_H -------------------------------------------------------------------------------- /src/external/hlsdk/interface/appframework/IAppSystem.h: -------------------------------------------------------------------------------- 1 | //======== (C) Copyright 1999, 2000 Valve, L.L.C. All rights reserved. ======== 2 | // 3 | // The copyright to the contents herein is the property of Valve, L.L.C. 4 | // The contents may be used and/or copied only with the written permission of 5 | // Valve, L.L.C., or in accordance with the terms and conditions stipulated in 6 | // the agreement/contract under which the contents have been supplied. 7 | // 8 | // Purpose: An application framework 9 | // 10 | // $Revision: $ 11 | // $NoKeywords: $ 12 | //============================================================================= 13 | #ifndef IAPPSYSTEM_H 14 | #define IAPPSYSTEM_H 15 | #ifdef _WIN32 16 | #pragma once 17 | #endif 18 | 19 | //----------------------------------------------------------------------------- 20 | // Client systems are singleton objects in the client codebase responsible for 21 | // various tasks 22 | // The order in which the client systems appear in this list are the 23 | // order in which they are initialized and updated. They are shut down in 24 | // reverse order from which they are initialized. 25 | //----------------------------------------------------------------------------- 26 | 27 | class IAppSystem 28 | { 29 | public: 30 | // Non-existent in GoldSrc 31 | }; 32 | 33 | #endif // IAPPSYSTEM_H -------------------------------------------------------------------------------- /src/external/hlsdk/particleman/pman_frustum.h: -------------------------------------------------------------------------------- 1 | /*** 2 | * 3 | * Copyright (c) 1996-2002, Valve LLC. All rights reserved. 4 | * 5 | * This product contains software technology licensed from Id 6 | * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. 7 | * All Rights Reserved. 8 | * 9 | * Use, distribution, and modification of this source code and/or resulting 10 | * object code is restricted to non-commercial enhancements to products from 11 | * Valve LLC. All other use, distribution, or modification is prohibited 12 | * without written permission from Valve LLC. 13 | * 14 | ****/ 15 | 16 | #ifndef PMAN_FRUSTUM_H 17 | #define PMAN_FRUSTUM_H 18 | 19 | #pragma once 20 | 21 | class CFrustum 22 | { 23 | public: 24 | void NormalizeFrustumPlane( float( *frustum )[4], int side ); 25 | void CalculateFrustum(); 26 | bool PointInsideFrustum( float x, float y, float z ); 27 | bool SphereInsideFrustum( float x, float y, float z, float radius ); 28 | bool PlaneInsideFrustum( float x, float y, float z, float size ); 29 | 30 | float g_flFrustum[6][4]; 31 | }; 32 | 33 | extern CFrustum g_cFrustum; 34 | 35 | #endif -------------------------------------------------------------------------------- /src/external/hlsdk/playermove/pm_info.h: -------------------------------------------------------------------------------- 1 | /*** 2 | * 3 | * Copyright (c) 1996-2002, Valve LLC. All rights reserved. 4 | * 5 | * This product contains software technology licensed from Id 6 | * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. 7 | * All Rights Reserved. 8 | * 9 | * Use, distribution, and modification of this source code and/or resulting 10 | * object code is restricted to non-commercial enhancements to products from 11 | * Valve LLC. All other use, distribution, or modification is prohibited 12 | * without written permission from Valve LLC. 13 | * 14 | ****/ 15 | // Physics info string definition 16 | #if !defined( PM_INFOH ) 17 | #define PM_INFOH 18 | #ifdef _WIN32 19 | #pragma once 20 | #endif 21 | 22 | #define MAX_PHYSINFO_STRING 256 23 | 24 | #endif // PM_INFOH 25 | -------------------------------------------------------------------------------- /src/external/hlsdk/playermove/pm_movevars.h: -------------------------------------------------------------------------------- 1 | //========= Copyright © 1996-2002, Valve LLC, All rights reserved. ============ 2 | // 3 | // Purpose: 4 | // 5 | // $NoKeywords: $ 6 | //============================================================================= 7 | 8 | // pm_movevars.h 9 | #if !defined( PM_MOVEVARSH ) 10 | #define PM_MOVEVARSH 11 | 12 | struct movevars_t 13 | { 14 | float gravity; // Gravity for map 15 | float stopspeed; // Deceleration when not moving 16 | float maxspeed; // Max allowed speed 17 | float spectatormaxspeed; 18 | float accelerate; // Acceleration factor 19 | float airaccelerate; // Same for when in open air 20 | float wateraccelerate; // Same for when in water 21 | float friction; 22 | float edgefriction; // Extra friction near dropofs 23 | float waterfriction; // Less in water 24 | float entgravity; // 1.0 25 | float bounce; // Wall bounce value. 1.0 26 | float stepsize; // sv_stepsize; 27 | float maxvelocity; // maximum server velocity. 28 | float zmax; // Max z-buffer range (for GL) 29 | float waveHeight; // Water wave height (for GL) 30 | qboolean footsteps; // Play footstep sounds 31 | char skyName[32]; // Name of the sky map 32 | float rollangle; 33 | float rollspeed; 34 | float skycolor_r; // Sky color 35 | float skycolor_g; // 36 | float skycolor_b; // 37 | float skyvec_x; // Sky vector 38 | float skyvec_y; // 39 | float skyvec_z; // 40 | }; 41 | 42 | extern movevars_t movevars; 43 | 44 | #endif -------------------------------------------------------------------------------- /src/external/hlsdk/steam/friends/IFriendsUser.h: -------------------------------------------------------------------------------- 1 | #ifndef STEAM_FRIENDS_IFRIENDSUSER_H 2 | #define STEAM_FRIENDS_IFRIENDSUSER_H 3 | 4 | /** 5 | * Steam Friends interface 6 | * TODO: not used in GameUI, probably never loaded in - Solokiller 7 | */ 8 | class IFriendsUser 9 | { 10 | public: 11 | }; 12 | 13 | #define FRIENDSUSER_INTERFACE_VERSION "FriendsUser001" 14 | 15 | #endif //STEAM_FRIENDS_IFRIENDSUSER_H 16 | -------------------------------------------------------------------------------- /src/external/hlsdk/steam/isteamapps.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/src/external/hlsdk/steam/isteamapps.h -------------------------------------------------------------------------------- /src/external/hlsdk/steam/isteamappticket.h: -------------------------------------------------------------------------------- 1 | //====== Copyright 1996-2008, Valve Corporation, All rights reserved. ======= 2 | // 3 | // Purpose: a private, but well versioned, interface to get at critical bits 4 | // of a steam3 appticket - consumed by the simple drm wrapper to let it 5 | // ask about ownership with greater confidence. 6 | // 7 | //============================================================================= 8 | 9 | #ifndef ISTEAMAPPTICKET_H 10 | #define ISTEAMAPPTICKET_H 11 | #pragma once 12 | 13 | //----------------------------------------------------------------------------- 14 | // Purpose: hand out a reasonable "future proof" view of an app ownership ticket 15 | // the raw (signed) buffer, and indices into that buffer where the appid and 16 | // steamid are located. the sizes of the appid and steamid are implicit in 17 | // (each version of) the interface - currently uin32 appid and uint64 steamid 18 | //----------------------------------------------------------------------------- 19 | class ISteamAppTicket 20 | { 21 | public: 22 | virtual uint32 GetAppOwnershipTicketData( uint32 nAppID, void *pvBuffer, uint32 cbBufferLength, uint32 *piAppId, uint32 *piSteamId, uint32 *piSignature, uint32 *pcbSignature ) = 0; 23 | }; 24 | 25 | #define STEAMAPPTICKET_INTERFACE_VERSION "STEAMAPPTICKET_INTERFACE_VERSION001" 26 | 27 | 28 | #endif // ISTEAMAPPTICKET_H 29 | -------------------------------------------------------------------------------- /src/external/hlsdk/steam/isteamcontentserver.h: -------------------------------------------------------------------------------- 1 | //====== Copyright (c) 1996-2004, Valve Corporation, All rights reserved. ======= 2 | // 3 | // Purpose: interface to steam for game servers 4 | // 5 | //============================================================================= 6 | 7 | #ifndef ISTEAMCONTENTSERVER_H 8 | #define ISTEAMCONTENTSERVER_H 9 | #ifdef _WIN32 10 | #pragma once 11 | #endif 12 | 13 | 14 | //----------------------------------------------------------------------------- 15 | // Purpose: Functions for authenticating users via Steam to download content 16 | //----------------------------------------------------------------------------- 17 | class ISteamContentServer 18 | { 19 | public: 20 | // connection functions 21 | virtual void LogOn( uint32 uContentServerID ) = 0; 22 | virtual void LogOff() = 0; 23 | virtual bool BLoggedOn() = 0; 24 | 25 | // user authentication functions 26 | // the IP address and port should be in host order, i.e 127.0.0.1 == 0x7f000001 27 | virtual bool SendClientContentAuthRequest( CSteamID steamID, uint32 uContentID ) = 0; 28 | 29 | // some sort of status stuff here eventually 30 | 31 | }; 32 | 33 | #define STEAMCONTENTSERVER_INTERFACE_VERSION "SteamContentServer001" 34 | 35 | 36 | // callbacks 37 | 38 | 39 | // client has been approved to download the content 40 | struct CSClientApprove_t 41 | { 42 | enum { k_iCallback = k_iSteamContentServerCallbacks + 1 }; 43 | CSteamID m_SteamID; 44 | uint32 m_uContentID; 45 | }; 46 | 47 | 48 | // client has been denied to connection to this game server 49 | struct CSClientDeny_t 50 | { 51 | enum { k_iCallback = k_iSteamContentServerCallbacks + 2 }; 52 | CSteamID m_SteamID; 53 | uint32 m_uContentID; 54 | EDenyReason m_eDenyReason; 55 | }; 56 | 57 | 58 | #endif // ISTEAMGAMESERVER_H -------------------------------------------------------------------------------- /src/external/hlsdk/steam/isteamgamecoordinator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/src/external/hlsdk/steam/isteamgamecoordinator.h -------------------------------------------------------------------------------- /src/external/hlsdk/steam/isteamgameserverstats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/src/external/hlsdk/steam/isteamgameserverstats.h -------------------------------------------------------------------------------- /src/external/hlsdk/steam/isteamhttp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/src/external/hlsdk/steam/isteamhttp.h -------------------------------------------------------------------------------- /src/external/hlsdk/steam/isteammasterserverupdater.h: -------------------------------------------------------------------------------- 1 | #error "This file isn't used any more" 2 | -------------------------------------------------------------------------------- /src/external/hlsdk/steam/isteammatchmaking.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/src/external/hlsdk/steam/isteammatchmaking.h -------------------------------------------------------------------------------- /src/external/hlsdk/steam/isteamnetworking.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/src/external/hlsdk/steam/isteamnetworking.h -------------------------------------------------------------------------------- /src/external/hlsdk/steam/isteamps3overlayrenderer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/src/external/hlsdk/steam/isteamps3overlayrenderer.h -------------------------------------------------------------------------------- /src/external/hlsdk/steam/isteamremotestorage.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/src/external/hlsdk/steam/isteamremotestorage.h -------------------------------------------------------------------------------- /src/external/hlsdk/steam/isteamscreenshots.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/src/external/hlsdk/steam/isteamscreenshots.h -------------------------------------------------------------------------------- /src/external/hlsdk/steam/isteamuserstats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/src/external/hlsdk/steam/isteamuserstats.h -------------------------------------------------------------------------------- /src/external/hlsdk/steam/steam_contentserver.h: -------------------------------------------------------------------------------- 1 | //====== Copyright (c) 1996-2004, Valve Corporation, All rights reserved. ======= 2 | // 3 | // Purpose: 4 | // 5 | //============================================================================= 6 | 7 | #ifndef STEAM_CONTENTSERVER_H 8 | #define STEAM_CONTENTSERVER_H 9 | #ifdef _WIN32 10 | #pragma once 11 | #endif 12 | 13 | #include "isteamcontentserver.h" 14 | 15 | S_API bool SteamContentServer_Init( uint32 uContentServerID, uint32 unIP, uint16 usPort, uint16 usClientContentPort ); 16 | S_API void SteamContentServer_Shutdown(); 17 | S_API void SteamContentServer_RunCallbacks(); 18 | 19 | S_API ISteamContentServer *SteamContentServer(); 20 | S_API ISteamUtils *SteamContentServerUtils(); 21 | 22 | #define STEAM_CONTENTSERVER_CALLBACK( thisclass, func, param, var ) CCallback< thisclass, param, true > var; void func( param *pParam ) 23 | 24 | 25 | #endif // STEAM_GAMESERVER_H -------------------------------------------------------------------------------- /src/external/hlsdk/steam/steam_gameserver.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/src/external/hlsdk/steam/steam_gameserver.h -------------------------------------------------------------------------------- /src/external/hlsdk/steam/steamencryptedappticket.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/src/external/hlsdk/steam/steamencryptedappticket.h -------------------------------------------------------------------------------- /src/external/hlsdk/steam/steamhttpenums.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/src/external/hlsdk/steam/steamhttpenums.h -------------------------------------------------------------------------------- /src/external/hlsdk/steam/steamtypes.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/src/external/hlsdk/steam/steamtypes.h -------------------------------------------------------------------------------- /src/external/hlsdk/tier0/commonmacros.h: -------------------------------------------------------------------------------- 1 | //========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============// 2 | // 3 | // Purpose: 4 | // 5 | // $NoKeywords: $ 6 | // 7 | //=============================================================================// 8 | #ifndef COMMONMACROS_H 9 | #define COMMONMACROS_H 10 | 11 | //============================================================================= 12 | // 13 | // commonmacros.h 14 | // 15 | // This should contain ONLY general purpose macros that are 16 | // appropriate for use in engine/launcher/all tools 17 | // 18 | //============================================================================= 19 | 20 | #define V_min(a,b) (((a) < (b)) ? (a) : (b)) 21 | #define V_max(a,b) (((a) > (b)) ? (a) : (b)) 22 | #define V_clamp(val, min, max) (((val) > (max)) ? (max) : (((val) < (min)) ? (min) : (val))) 23 | 24 | // Makes a 4-byte "packed ID" int out of 4 characters 25 | #define MAKEID(d,c,b,a) (((int)(a) << 24) | ((int)(b) << 16) | ((int)(c) << 8) | ((int)(d))) 26 | 27 | // Compares a string with a 4-byte packed ID constant 28 | #define STRING_MATCHES_ID(p, id) ((*((int *)(p)) == (id)) ? true : false) 29 | #define ID_TO_STRING(id, p) ((p)[3] = (((id)>>24) & 0xFF), (p)[2] = (((id)>>16) & 0xFF), (p)[1] = (((id)>>8) & 0xFF), (p)[0] = (((id)>>0) & 0xFF)) 30 | 31 | #define ALIGN_VALUE(val, alignment) ((val + alignment - 1) & ~(alignment - 1)) // need macro for constant expression 32 | 33 | #ifdef ARRAYSIZE 34 | #undef ARRAYSIZE 35 | #endif 36 | #define Q_ARRAYSIZE(p) (sizeof(p)/sizeof(p[0])) 37 | 38 | // Bit manipulators 39 | #define FBitSet(iBitVector, bit) (!!((iBitVector) & (bit))) 40 | #define FSetBit(iBitVector, bit) ((iBitVector) |= (bit)) 41 | #define FClrBit(iBitVector, bit) ((iBitVector) &= ~(bit)) 42 | 43 | template 44 | inline bool IsPowerOfTwo(T value) 45 | { 46 | return (value & (value - (T)1)) == (T)0; 47 | } 48 | 49 | #endif // COMMONMACROS_H -------------------------------------------------------------------------------- /src/external/hlsdk/vgui2/Cursor.h: -------------------------------------------------------------------------------- 1 | //========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============// 2 | // 3 | // Purpose: Holds the enumerated list of default cursors 4 | // 5 | // $NoKeywords: $ 6 | //=============================================================================// 7 | 8 | #ifndef CURSOR_H 9 | #define CURSOR_H 10 | 11 | #ifdef _WIN32 12 | #pragma once 13 | #endif 14 | 15 | namespace vgui2 16 | { 17 | enum CursorCode 18 | { 19 | dc_user, 20 | dc_none, 21 | dc_arrow, 22 | dc_ibeam, 23 | dc_hourglass, 24 | dc_waitarrow, 25 | dc_crosshair, 26 | dc_up, 27 | dc_sizenwse, 28 | dc_sizenesw, 29 | dc_sizewe, 30 | dc_sizens, 31 | dc_sizeall, 32 | dc_no, 33 | dc_hand, 34 | dc_blank, // don't show any custom vgui cursor, just let windows do it stuff (for HTML widget) 35 | dc_last, 36 | }; 37 | 38 | using HCursor = unsigned long; 39 | } 40 | 41 | #endif // CURSOR_H 42 | -------------------------------------------------------------------------------- /src/external/hlsdk/vgui2/MouseCode.h: -------------------------------------------------------------------------------- 1 | //========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============// 2 | // 3 | // Purpose: 4 | // 5 | // $NoKeywords: $ 6 | //=============================================================================// 7 | 8 | #ifndef MOUSECODE_H 9 | #define MOUSECODE_H 10 | 11 | namespace vgui2 12 | { 13 | 14 | //----------------------------------------------------------------------------- 15 | // Purpose: names mouse button inputs 16 | //----------------------------------------------------------------------------- 17 | enum MouseCode 18 | { 19 | MOUSE_LEFT = 0, 20 | MOUSE_RIGHT, 21 | MOUSE_MIDDLE, 22 | MOUSE_4, 23 | MOUSE_5, 24 | MOUSE_LAST, 25 | }; 26 | 27 | } // namespace vgui2 28 | 29 | #endif // MOUSECODE_H 30 | -------------------------------------------------------------------------------- /src/external/hlsdk/vgui2/VGUI2.h: -------------------------------------------------------------------------------- 1 | //========= Copyright © 1996-2003, Valve LLC, All rights reserved. ============ 2 | // 3 | // The copyright to the contents herein is the property of Valve, L.L.C. 4 | // The contents may be used and/or copied only with the written permission of 5 | // Valve, L.L.C., or in accordance with the terms and conditions stipulated in 6 | // the agreement/contract under which the contents have been supplied. 7 | // 8 | // Purpose: Basic header for typedef vgui 9 | // 10 | // $NoKeywords: $ 11 | //============================================================================= 12 | 13 | #ifndef VGUI2_H 14 | #define VGUI2_H 15 | 16 | #ifdef _WIN32 17 | #pragma once 18 | #endif 19 | 20 | #ifndef NULL 21 | #ifdef __cplusplus 22 | #define NULL 0 23 | #else 24 | #define NULL ((void *)0) 25 | #endif 26 | #endif 27 | 28 | #ifdef WIN32 29 | #pragma warning( disable: 4355 ) // disables 'this' : used in base member initializer list 30 | #endif 31 | 32 | #ifndef _WCHAR_T_DEFINED 33 | // DAL - wchar_t is a built in define in gcc 3.2 with a size of 4 bytes 34 | #if !defined( __x86_64__ ) && !defined( __WCHAR_TYPE__ ) 35 | typedef unsigned short wchar_t; 36 | #define _WCHAR_T_DEFINED 37 | #endif 38 | #endif 39 | 40 | namespace vgui2 41 | { 42 | // handle to an internal vgui panel 43 | // this is the only handle to a panel that is valid across dll boundaries 44 | typedef unsigned int VPANEL; 45 | 46 | // handles to vgui objects 47 | // NULL_HANDLE values signify an invalid value 48 | typedef unsigned long HScheme; 49 | typedef unsigned long HTexture; 50 | typedef unsigned long HCursor; 51 | 52 | typedef unsigned long HPanel; 53 | const HPanel INVALID_PANEL = 0xffffffff; 54 | 55 | typedef unsigned long HFont; 56 | const HFont INVALID_FONT = 0; // the value of an invalid font handle 57 | 58 | #define NULL_HANDLE 0 59 | } 60 | 61 | #endif // VGUI2_H 62 | -------------------------------------------------------------------------------- /src/external/imgui/LICENSE.txt: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014-2023 Omar Cornut 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /src/external/imgui/imgui.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /src/external/imgui/misc/README.txt: -------------------------------------------------------------------------------- 1 | 2 | misc/cpp/ 3 | InputText() wrappers for C++ standard library (STL) type: std::string. 4 | This is also an example of how you may wrap your own similar types. 5 | 6 | misc/debuggers/ 7 | Helper files for popular debuggers. 8 | With the .natvis file, types like ImVector<> will be displayed nicely in Visual Studio debugger. 9 | 10 | misc/fonts/ 11 | Fonts loading/merging instructions (e.g. How to handle glyph ranges, how to merge icons fonts). 12 | Command line tool "binary_to_compressed_c" to create compressed arrays to embed data in source code. 13 | Suggested fonts and links. 14 | 15 | misc/freetype/ 16 | Font atlas builder/rasterizer using FreeType instead of stb_truetype. 17 | Benefit from better FreeType rasterization, in particular for small fonts. 18 | 19 | misc/single_file/ 20 | Single-file header stub. 21 | We use this to validate compiling all *.cpp files in a same compilation unit. 22 | Users of that technique (also called "Unity builds") can generally provide this themselves, 23 | so we don't really recommend you use this in your projects. 24 | -------------------------------------------------------------------------------- /src/external/imgui/misc/cpp/README.txt: -------------------------------------------------------------------------------- 1 | 2 | imgui_stdlib.h + imgui_stdlib.cpp 3 | InputText() wrappers for C++ standard library (STL) type: std::string. 4 | This is also an example of how you may wrap your own similar types. 5 | 6 | imgui_scoped.h 7 | [Experimental, not currently in main repository] 8 | Additional header file with some RAII-style wrappers for common Dear ImGui functions. 9 | Try by merging: https://github.com/ocornut/imgui/pull/2197 10 | Discuss at: https://github.com/ocornut/imgui/issues/2096 11 | 12 | See more C++ related extension on Wiki 13 | https://github.com/ocornut/imgui/wiki/Useful-Extensions#cness 14 | -------------------------------------------------------------------------------- /src/external/imgui/misc/cpp/imgui_stdlib.h: -------------------------------------------------------------------------------- 1 | // dear imgui: wrappers for C++ standard library (STL) types (std::string, etc.) 2 | // This is also an example of how you may wrap your own similar types. 3 | 4 | // Changelog: 5 | // - v0.10: Initial version. Added InputText() / InputTextMultiline() calls with std::string 6 | 7 | #pragma once 8 | 9 | #include 10 | 11 | namespace ImGui 12 | { 13 | // ImGui::InputText() with std::string 14 | // Because text input needs dynamic resizing, we need to setup a callback to grow the capacity 15 | IMGUI_API bool InputText(const char* label, std::string* str, ImGuiInputTextFlags flags = 0, ImGuiInputTextCallback callback = NULL, void* user_data = NULL); 16 | IMGUI_API bool InputTextMultiline(const char* label, std::string* str, const ImVec2& size = ImVec2(0, 0), ImGuiInputTextFlags flags = 0, ImGuiInputTextCallback callback = NULL, void* user_data = NULL); 17 | IMGUI_API bool InputTextWithHint(const char* label, const char* hint, std::string* str, ImGuiInputTextFlags flags = 0, ImGuiInputTextCallback callback = NULL, void* user_data = NULL); 18 | } 19 | -------------------------------------------------------------------------------- /src/external/imgui/misc/debuggers/README.txt: -------------------------------------------------------------------------------- 1 | 2 | HELPER FILES FOR POPULAR DEBUGGERS 3 | 4 | imgui.gdb 5 | GDB: disable stepping into trivial functions. 6 | (read comments inside file for details) 7 | 8 | imgui.natstepfilter 9 | Visual Studio Debugger: disable stepping into trivial functions. 10 | (read comments inside file for details) 11 | 12 | imgui.natvis 13 | Visual Studio Debugger: describe Dear ImGui types for better display. 14 | With this, types like ImVector<> will be displayed nicely in the debugger. 15 | (read comments inside file for details) 16 | 17 | -------------------------------------------------------------------------------- /src/external/imgui/misc/debuggers/imgui.gdb: -------------------------------------------------------------------------------- 1 | # GDB configuration to aid debugging experience 2 | 3 | # To enable these customizations edit $HOME/.gdbinit (or ./.gdbinit if local gdbinit is enabled) and add: 4 | # add-auto-load-safe-path /path/to/imgui.gdb 5 | # source /path/to/imgui.gdb 6 | # 7 | # More Information at: 8 | # * https://sourceware.org/gdb/current/onlinedocs/gdb/gdbinit-man.html 9 | # * https://sourceware.org/gdb/current/onlinedocs/gdb/Init-File-in-the-Current-Directory.html#Init-File-in-the-Current-Directory 10 | 11 | # Disable stepping into trivial functions 12 | skip -rfunction Im(Vec2|Vec4|Strv|Vector|Span)::.+ 13 | -------------------------------------------------------------------------------- /src/external/imgui/misc/debuggers/imgui.natstepfilter: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | (ImVec2|ImVec4|ImStrv)::.+ 23 | NoStepInto 24 | 25 | 26 | (ImVector|ImSpan).*::operator.+ 27 | NoStepInto 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /src/external/imgui/misc/fonts/Cousine-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/src/external/imgui/misc/fonts/Cousine-Regular.ttf -------------------------------------------------------------------------------- /src/external/imgui/misc/fonts/DroidSans.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/src/external/imgui/misc/fonts/DroidSans.ttf -------------------------------------------------------------------------------- /src/external/imgui/misc/fonts/Karla-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/src/external/imgui/misc/fonts/Karla-Regular.ttf -------------------------------------------------------------------------------- /src/external/imgui/misc/fonts/ProggyClean.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/src/external/imgui/misc/fonts/ProggyClean.ttf -------------------------------------------------------------------------------- /src/external/imgui/misc/fonts/ProggyTiny.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/src/external/imgui/misc/fonts/ProggyTiny.ttf -------------------------------------------------------------------------------- /src/external/imgui/misc/fonts/Roboto-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/src/external/imgui/misc/fonts/Roboto-Medium.ttf -------------------------------------------------------------------------------- /src/external/imgui/misc/single_file/imgui_single_file.h: -------------------------------------------------------------------------------- 1 | // dear imgui: single-file wrapper include 2 | // We use this to validate compiling all *.cpp files in a same compilation unit. 3 | // Users of that technique (also called "Unity builds") can generally provide this themselves, 4 | // so we don't really recommend you use this in your projects. 5 | 6 | // Do this: 7 | // #define IMGUI_IMPLEMENTATION 8 | // Before you include this file in *one* C++ file to create the implementation. 9 | // Using this in your project will leak the contents of imgui_internal.h and ImVec2 operators in this compilation unit. 10 | #include "../../imgui.h" 11 | #ifdef IMGUI_ENABLE_FREETYPE 12 | #include "../../misc/freetype/imgui_freetype.h" 13 | #endif 14 | 15 | #ifdef IMGUI_IMPLEMENTATION 16 | #include "../../imgui.cpp" 17 | #include "../../imgui_demo.cpp" 18 | #include "../../imgui_draw.cpp" 19 | #include "../../imgui_tables.cpp" 20 | #include "../../imgui_widgets.cpp" 21 | #ifdef IMGUI_ENABLE_FREETYPE 22 | #include "../../misc/freetype/imgui_freetype.cpp" 23 | #endif 24 | #endif 25 | -------------------------------------------------------------------------------- /src/external/nlohmann/LICENSE.MIT: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2013-2022 Niels Lohmann 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /src/external/nlohmann/detail/input/position_t.hpp: -------------------------------------------------------------------------------- 1 | // __ _____ _____ _____ 2 | // __| | __| | | | JSON for Modern C++ 3 | // | | |__ | | | | | | version 3.11.2 4 | // |_____|_____|_____|_|___| https://github.com/nlohmann/json 5 | // 6 | // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann 7 | // SPDX-License-Identifier: MIT 8 | 9 | #pragma once 10 | 11 | #include // size_t 12 | 13 | #include 14 | 15 | NLOHMANN_JSON_NAMESPACE_BEGIN 16 | namespace detail 17 | { 18 | 19 | /// struct to capture the start position of the current token 20 | struct position_t 21 | { 22 | /// the total number of characters read 23 | std::size_t chars_read_total = 0; 24 | /// the number of characters read in the current line 25 | std::size_t chars_read_current_line = 0; 26 | /// the number of lines read 27 | std::size_t lines_read = 0; 28 | 29 | /// conversion to size_t to preserve SAX interface 30 | constexpr operator size_t() const 31 | { 32 | return chars_read_total; 33 | } 34 | }; 35 | 36 | } // namespace detail 37 | NLOHMANN_JSON_NAMESPACE_END 38 | -------------------------------------------------------------------------------- /src/external/nlohmann/detail/iterators/internal_iterator.hpp: -------------------------------------------------------------------------------- 1 | // __ _____ _____ _____ 2 | // __| | __| | | | JSON for Modern C++ 3 | // | | |__ | | | | | | version 3.11.2 4 | // |_____|_____|_____|_|___| https://github.com/nlohmann/json 5 | // 6 | // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann 7 | // SPDX-License-Identifier: MIT 8 | 9 | #pragma once 10 | 11 | #include 12 | #include 13 | 14 | NLOHMANN_JSON_NAMESPACE_BEGIN 15 | namespace detail 16 | { 17 | 18 | /*! 19 | @brief an iterator value 20 | 21 | @note This structure could easily be a union, but MSVC currently does not allow 22 | unions members with complex constructors, see https://github.com/nlohmann/json/pull/105. 23 | */ 24 | template struct internal_iterator 25 | { 26 | /// iterator for JSON objects 27 | typename BasicJsonType::object_t::iterator object_iterator {}; 28 | /// iterator for JSON arrays 29 | typename BasicJsonType::array_t::iterator array_iterator {}; 30 | /// generic iterator for all other types 31 | primitive_iterator_t primitive_iterator {}; 32 | }; 33 | 34 | } // namespace detail 35 | NLOHMANN_JSON_NAMESPACE_END 36 | -------------------------------------------------------------------------------- /src/external/nlohmann/detail/macro_unscope.hpp: -------------------------------------------------------------------------------- 1 | // __ _____ _____ _____ 2 | // __| | __| | | | JSON for Modern C++ 3 | // | | |__ | | | | | | version 3.11.2 4 | // |_____|_____|_____|_|___| https://github.com/nlohmann/json 5 | // 6 | // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann 7 | // SPDX-License-Identifier: MIT 8 | 9 | #pragma once 10 | 11 | // restore clang diagnostic settings 12 | #if defined(__clang__) 13 | #pragma clang diagnostic pop 14 | #endif 15 | 16 | // clean up 17 | #undef JSON_ASSERT 18 | #undef JSON_INTERNAL_CATCH 19 | #undef JSON_THROW 20 | #undef JSON_PRIVATE_UNLESS_TESTED 21 | #undef NLOHMANN_BASIC_JSON_TPL_DECLARATION 22 | #undef NLOHMANN_BASIC_JSON_TPL 23 | #undef JSON_EXPLICIT 24 | #undef NLOHMANN_CAN_CALL_STD_FUNC_IMPL 25 | #undef JSON_INLINE_VARIABLE 26 | #undef JSON_NO_UNIQUE_ADDRESS 27 | #undef JSON_DISABLE_ENUM_SERIALIZATION 28 | #undef JSON_USE_GLOBAL_UDLS 29 | 30 | #ifndef JSON_TEST_KEEP_MACROS 31 | #undef JSON_CATCH 32 | #undef JSON_TRY 33 | #undef JSON_HAS_CPP_11 34 | #undef JSON_HAS_CPP_14 35 | #undef JSON_HAS_CPP_17 36 | #undef JSON_HAS_CPP_20 37 | #undef JSON_HAS_FILESYSTEM 38 | #undef JSON_HAS_EXPERIMENTAL_FILESYSTEM 39 | #undef JSON_HAS_THREE_WAY_COMPARISON 40 | #undef JSON_HAS_RANGES 41 | #undef JSON_USE_LEGACY_DISCARDED_VALUE_COMPARISON 42 | #endif 43 | 44 | #include 45 | -------------------------------------------------------------------------------- /src/external/nlohmann/detail/meta/call_std/begin.hpp: -------------------------------------------------------------------------------- 1 | // __ _____ _____ _____ 2 | // __| | __| | | | JSON for Modern C++ 3 | // | | |__ | | | | | | version 3.11.2 4 | // |_____|_____|_____|_|___| https://github.com/nlohmann/json 5 | // 6 | // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann 7 | // SPDX-License-Identifier: MIT 8 | 9 | #pragma once 10 | 11 | #include 12 | 13 | NLOHMANN_JSON_NAMESPACE_BEGIN 14 | 15 | NLOHMANN_CAN_CALL_STD_FUNC_IMPL(begin); 16 | 17 | NLOHMANN_JSON_NAMESPACE_END 18 | -------------------------------------------------------------------------------- /src/external/nlohmann/detail/meta/call_std/end.hpp: -------------------------------------------------------------------------------- 1 | // __ _____ _____ _____ 2 | // __| | __| | | | JSON for Modern C++ 3 | // | | |__ | | | | | | version 3.11.2 4 | // |_____|_____|_____|_|___| https://github.com/nlohmann/json 5 | // 6 | // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann 7 | // SPDX-License-Identifier: MIT 8 | 9 | #pragma once 10 | 11 | #include 12 | 13 | NLOHMANN_JSON_NAMESPACE_BEGIN 14 | 15 | NLOHMANN_CAN_CALL_STD_FUNC_IMPL(end); 16 | 17 | NLOHMANN_JSON_NAMESPACE_END 18 | -------------------------------------------------------------------------------- /src/external/nlohmann/detail/meta/identity_tag.hpp: -------------------------------------------------------------------------------- 1 | // __ _____ _____ _____ 2 | // __| | __| | | | JSON for Modern C++ 3 | // | | |__ | | | | | | version 3.11.2 4 | // |_____|_____|_____|_|___| https://github.com/nlohmann/json 5 | // 6 | // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann 7 | // SPDX-License-Identifier: MIT 8 | 9 | #pragma once 10 | 11 | #include 12 | 13 | NLOHMANN_JSON_NAMESPACE_BEGIN 14 | namespace detail 15 | { 16 | 17 | // dispatching helper struct 18 | template struct identity_tag {}; 19 | 20 | } // namespace detail 21 | NLOHMANN_JSON_NAMESPACE_END 22 | -------------------------------------------------------------------------------- /src/external/nlohmann/detail/meta/std_fs.hpp: -------------------------------------------------------------------------------- 1 | // __ _____ _____ _____ 2 | // __| | __| | | | JSON for Modern C++ 3 | // | | |__ | | | | | | version 3.11.2 4 | // |_____|_____|_____|_|___| https://github.com/nlohmann/json 5 | // 6 | // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann 7 | // SPDX-License-Identifier: MIT 8 | 9 | #pragma once 10 | 11 | #include 12 | 13 | #if JSON_HAS_EXPERIMENTAL_FILESYSTEM 14 | #include 15 | NLOHMANN_JSON_NAMESPACE_BEGIN 16 | namespace detail 17 | { 18 | namespace std_fs = std::experimental::filesystem; 19 | } // namespace detail 20 | NLOHMANN_JSON_NAMESPACE_END 21 | #elif JSON_HAS_FILESYSTEM 22 | #include 23 | NLOHMANN_JSON_NAMESPACE_BEGIN 24 | namespace detail 25 | { 26 | namespace std_fs = std::filesystem; 27 | } // namespace detail 28 | NLOHMANN_JSON_NAMESPACE_END 29 | #endif 30 | -------------------------------------------------------------------------------- /src/external/nlohmann/detail/meta/void_t.hpp: -------------------------------------------------------------------------------- 1 | // __ _____ _____ _____ 2 | // __| | __| | | | JSON for Modern C++ 3 | // | | |__ | | | | | | version 3.11.2 4 | // |_____|_____|_____|_|___| https://github.com/nlohmann/json 5 | // 6 | // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann 7 | // SPDX-License-Identifier: MIT 8 | 9 | #pragma once 10 | 11 | #include 12 | 13 | NLOHMANN_JSON_NAMESPACE_BEGIN 14 | namespace detail 15 | { 16 | 17 | template struct make_void 18 | { 19 | using type = void; 20 | }; 21 | template using void_t = typename make_void::type; 22 | 23 | } // namespace detail 24 | NLOHMANN_JSON_NAMESPACE_END 25 | -------------------------------------------------------------------------------- /src/external/phnt/ntnls.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the Process Hacker project - https://processhacker.sourceforge.io/ 3 | * 4 | * You can redistribute this file and/or modify it under the terms of the 5 | * Attribution 4.0 International (CC BY 4.0) license. 6 | * 7 | * You must give appropriate credit, provide a link to the license, and 8 | * indicate if changes were made. You may do so in any reasonable manner, but 9 | * not in any way that suggests the licensor endorses you or your use. 10 | */ 11 | 12 | #ifndef _NTNLS_H 13 | #define _NTNLS_H 14 | 15 | #define MAXIMUM_LEADBYTES 12 16 | 17 | typedef struct _CPTABLEINFO 18 | { 19 | USHORT CodePage; 20 | USHORT MaximumCharacterSize; 21 | USHORT DefaultChar; 22 | USHORT UniDefaultChar; 23 | USHORT TransDefaultChar; 24 | USHORT TransUniDefaultChar; 25 | USHORT DBCSCodePage; 26 | UCHAR LeadByte[MAXIMUM_LEADBYTES]; 27 | PUSHORT MultiByteTable; 28 | PVOID WideCharTable; 29 | PUSHORT DBCSRanges; 30 | PUSHORT DBCSOffsets; 31 | } CPTABLEINFO, *PCPTABLEINFO; 32 | 33 | typedef struct _NLSTABLEINFO 34 | { 35 | CPTABLEINFO OemTableInfo; 36 | CPTABLEINFO AnsiTableInfo; 37 | PUSHORT UpperCaseTable; 38 | PUSHORT LowerCaseTable; 39 | } NLSTABLEINFO, *PNLSTABLEINFO; 40 | 41 | #if (PHNT_MODE != PHNT_MODE_KERNEL) 42 | NTSYSAPI USHORT NlsAnsiCodePage; 43 | NTSYSAPI BOOLEAN NlsMbCodePageTag; 44 | NTSYSAPI BOOLEAN NlsMbOemCodePageTag; 45 | #endif 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /src/external/phnt/ntsmss.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the Process Hacker project - https://processhacker.sourceforge.io/ 3 | * 4 | * You can redistribute this file and/or modify it under the terms of the 5 | * Attribution 4.0 International (CC BY 4.0) license. 6 | * 7 | * You must give appropriate credit, provide a link to the license, and 8 | * indicate if changes were made. You may do so in any reasonable manner, but 9 | * not in any way that suggests the licensor endorses you or your use. 10 | */ 11 | 12 | #ifndef _NTSMSS_H 13 | #define _NTSMSS_H 14 | 15 | NTSYSAPI 16 | NTSTATUS 17 | NTAPI 18 | RtlConnectToSm( 19 | _In_ PUNICODE_STRING ApiPortName, 20 | _In_ HANDLE ApiPortHandle, 21 | _In_ DWORD ProcessImageType, 22 | _Out_ PHANDLE SmssConnection 23 | ); 24 | 25 | NTSYSAPI 26 | NTSTATUS 27 | NTAPI 28 | RtlSendMsgToSm( 29 | _In_ HANDLE ApiPortHandle, 30 | _In_ PPORT_MESSAGE MessageData 31 | ); 32 | 33 | #endif 34 | -------------------------------------------------------------------------------- /src/external/soil/soil.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {ad746db9-3f4d-4bff-97ae-0b0a64a98a6a} 6 | 7 | 8 | 9 | 10 | src 11 | 12 | 13 | src 14 | 15 | 16 | src 17 | 18 | 19 | src 20 | 21 | 22 | -------------------------------------------------------------------------------- /src/external/soil/soil.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /src/external/soil/stbi_dds_aug.h: -------------------------------------------------------------------------------- 1 | /* 2 | adding DDS loading support to stbi 3 | */ 4 | 5 | #ifndef HEADER_STB_IMAGE_DDS_AUGMENTATION 6 | #define HEADER_STB_IMAGE_DDS_AUGMENTATION 7 | 8 | // is it a DDS file? 9 | extern int stbi_dds_test_memory (stbi_uc const *buffer, int len); 10 | 11 | extern stbi_uc *stbi_dds_load (char *filename, int *x, int *y, int *comp, int req_comp); 12 | extern stbi_uc *stbi_dds_load_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp); 13 | #ifndef STBI_NO_STDIO 14 | extern int stbi_dds_test_file (FILE *f); 15 | extern stbi_uc *stbi_dds_load_from_file (FILE *f, int *x, int *y, int *comp, int req_comp); 16 | #endif 17 | 18 | // 19 | // 20 | //// end header file ///////////////////////////////////////////////////// 21 | #endif // HEADER_STB_IMAGE_DDS_AUGMENTATION 22 | -------------------------------------------------------------------------------- /src/gsdecrypt/decrypt.h: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | #ifndef DECRYPT_H 29 | #define DECRYPT_H 30 | #pragma once 31 | 32 | class CDecryptProcessor 33 | { 34 | public: 35 | DECL_BASIC_CLASS(CDecryptProcessor) 36 | 37 | public: 38 | bool process_file(const std::filesystem::path& file_in, reconstructed_blob_module_info_t& info, uint32_t filesize); 39 | 40 | private: 41 | // Allocation and deallocation of the file buffer 42 | bool allocate_buffer(uint32_t size); 43 | void deallocate_buffer(); 44 | 45 | private: 46 | uint8_t* m_filebuffer = nullptr; 47 | uint32_t m_buffer_size = NULL; 48 | }; 49 | 50 | #endif -------------------------------------------------------------------------------- /src/gsdecrypt/gsdecrypt.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {ca63dc75-9cae-4c66-9408-64f4fe08281e} 6 | 7 | 8 | {dda144dd-29c0-4ee9-add0-e30e68e319d0} 9 | 10 | 11 | 12 | 13 | 14 | src 15 | 16 | 17 | src 18 | 19 | 20 | src 21 | 22 | 23 | src 24 | 25 | 26 | public 27 | 28 | 29 | 30 | 31 | 32 | src 33 | 34 | 35 | src 36 | 37 | 38 | src 39 | 40 | 41 | public 42 | 43 | 44 | src 45 | 46 | 47 | -------------------------------------------------------------------------------- /src/gsdecrypt/gsdecrypt.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /src/gsdecrypt/precompiled.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #include "precompiled.h" -------------------------------------------------------------------------------- /src/gui/color_translation.h: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #ifndef COLORTRANSLATION_H 30 | #define COLORTRANSLATION_H 31 | #pragma once 32 | 33 | #include 34 | 35 | struct gui_color_translation_t 36 | { 37 | EGUIColorId id; 38 | const char* name; 39 | }; 40 | 41 | extern gui_color_translation_t g_gui_color_translation[GUICLR_MAX]; 42 | 43 | #endif // COLORTRANSLATION_H -------------------------------------------------------------------------------- /src/gui/oxUI.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /src/gui/precompiled.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #include "precompiled.h" -------------------------------------------------------------------------------- /src/injector/injector.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /src/injector/precompiled.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #include "precompiled.h" -------------------------------------------------------------------------------- /src/loader/LoadLibraryTargetInjection.cpp: -------------------------------------------------------------------------------- 1 | #include "precompiled.h" 2 | #include "LoadLibraryTargetInjection.h" 3 | -------------------------------------------------------------------------------- /src/loader/LoaderUI.h: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | // 30 | // loaderui.h -- Loader UI implementation 31 | // 32 | 33 | #ifndef LOADERUI_H 34 | #define LOADERUI_H 35 | #pragma once 36 | 37 | class CLoaderUI 38 | { 39 | public: 40 | DECL_BASIC_CLASS(CLoaderUI); 41 | 42 | public: 43 | void render_contents(); 44 | 45 | private: 46 | void initialize(); 47 | 48 | // tabs 49 | void render_tab_main(); 50 | void render_tab_console(); 51 | void render_tab_debug(); 52 | 53 | bool m_allow_to_load_again = true; 54 | }; 55 | 56 | #endif // LOADERUI_H -------------------------------------------------------------------------------- /src/loader/loader.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/src/loader/loader.rc -------------------------------------------------------------------------------- /src/loader/loader.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | $(OutDir) 5 | WindowsLocalDebugger 6 | 7 | 8 | $(OutDir) 9 | WindowsLocalDebugger 10 | 11 | 12 | $(OutDir) 13 | WindowsLocalDebugger 14 | 15 | -------------------------------------------------------------------------------- /src/loader/precompiled.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #include "precompiled.h" -------------------------------------------------------------------------------- /src/loader/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by loader.rc 4 | // 5 | #define IDI_ICON_BIG 101 6 | #define IDI_ICON_SMALL 102 7 | -------------------------------------------------------------------------------- /src/loader/resource/loader.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/src/loader/resource/loader.rc -------------------------------------------------------------------------------- /src/loader/resource/oxware.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/src/loader/resource/oxware.ico -------------------------------------------------------------------------------- /src/loader/resource/oxware_small.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/src/loader/resource/oxware_small.ico -------------------------------------------------------------------------------- /src/loader/resource/resource.h: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | // 30 | // resource file for the loader. 31 | // 32 | 33 | #define IDI_ICON_BIG 101 34 | #define IDI_ICON_SMALL 102 35 | -------------------------------------------------------------------------------- /src/loader/winmain.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #include "precompiled.h" 30 | 31 | int WINAPI WinMain( 32 | HINSTANCE hInstance, 33 | HINSTANCE hPrevInstance, 34 | PSTR pCmdLine, 35 | int nCmdShow) 36 | { 37 | return CMainLoader::the().run(hInstance); 38 | } 39 | -------------------------------------------------------------------------------- /src/module_description.txt: -------------------------------------------------------------------------------- 1 | cheat - The dll that hooks and controls the game. 2 | gui - The graphical layer for all modules powered by ImGui 3 | util - DLL including utils that anyone can use. 4 | loader - The base executable that will inject the dll into the game and that will control everything. 5 | injector - Static library that provides functionality of injecting and managing injected dlls. 6 | tier - Static lib, similar to util however, shared within modules, without interfaces. Common shared code. 7 | gsdecrypt - Utility module for old builds that are encrypted with valve block algorithm. 8 | multiemulator - https://github.com/2010kohtep/MultiEmulator, thanks -------------------------------------------------------------------------------- /src/multiemulator/emulators/AVSMP.cpp: -------------------------------------------------------------------------------- 1 | /* bUniverse param is "y" value in "STEAM_x:y:z" */ 2 | int GenerateAVSMP(void *pDest, int nSteamID, bool bUniverse = true) 3 | { 4 | auto pTicket = (int *)pDest; 5 | 6 | pTicket[0] = 0x14; // +0, header 7 | pTicket[3] = (nSteamID << 1) | (bUniverse ? 1 : 0); // +12, SteamId, Low part 8 | pTicket[4] = 0x01100001; // +16, SteamId, High part 9 | 10 | return 28; 11 | } -------------------------------------------------------------------------------- /src/multiemulator/emulators/OldRevEmu.cpp: -------------------------------------------------------------------------------- 1 | int GenerateOldRevEmu(void* pDest, int nSteamID) 2 | { 3 | auto pTicket = (int*)pDest; 4 | auto pbTicket = (unsigned char*)pDest; 5 | 6 | pTicket[0] = 0xFFFF; // +0, header 7 | pTicket[1] = (nSteamID ^ 0xC9710266) << 1; // +4, SteamId 8 | *(short *)&pbTicket[8] = 0; // +8, unknown, in original emulator must be 0 9 | 10 | return 10; 11 | } -------------------------------------------------------------------------------- /src/multiemulator/emulators/RevEmu.cpp: -------------------------------------------------------------------------------- 1 | #include "..\Public\StrUtils.h" 2 | #include "..\Public\RevSpoofer.h" 3 | #include 4 | 5 | int GenerateRevEmu(void *pDest, int nSteamID) 6 | { 7 | char szhwid[64]; 8 | 9 | CreateRandomString(szhwid, 16); 10 | if (!RevSpoofer::Spoof(szhwid, nSteamID)) 11 | return 0; 12 | 13 | auto pTicket = (int *)pDest; 14 | auto revHash = RevSpoofer::Hash(szhwid); 15 | 16 | pTicket[0] = 'J'; // +0, header 17 | pTicket[1] = revHash; // +4, hash of string at +24 offset 18 | pTicket[2] = 'rev'; // +8, magic number 19 | pTicket[3] = 0; // +12, unknown number, must always be 0 20 | 21 | pTicket[4] = revHash << 1; // +16, SteamId, Low part 22 | pTicket[5] = 0x01100001; // +20, SteamId, High part 23 | 24 | strcpy((char *)&pTicket[6], szhwid); // +24, string for hash 25 | 26 | return 152; 27 | } -------------------------------------------------------------------------------- /src/multiemulator/emulators/RevEmu2013.cpp: -------------------------------------------------------------------------------- 1 | #include "..\Public\StrUtils.h" 2 | #include "..\Public\RevSpoofer.h" 3 | #include "..\Public\crypto\CRijndael.h" 4 | #include "..\Public\crypto\SHA.h" 5 | #include 6 | #include 7 | 8 | int GenerateRevEmu2013(void *pDest, int nSteamID) 9 | { 10 | char szhwid[64]; 11 | 12 | CreateRandomString(szhwid, 32); 13 | if (!RevSpoofer::Spoof(szhwid, nSteamID)) 14 | return 0; 15 | 16 | auto pTicket = (int *)pDest; 17 | auto pbTicket = (unsigned char *)pDest; 18 | 19 | auto revHash = RevSpoofer::Hash(szhwid); 20 | 21 | pTicket[0] = 'S'; // +0 22 | pTicket[1] = revHash; // +4 23 | pTicket[2] = 'rev'; // +8 24 | pTicket[3] = 0; // +12 25 | pTicket[4] = revHash << 1; // +16 26 | pTicket[5] = 0x01100001; // +20 27 | pTicket[6] = (int)_time64(0) + 90123; // +24 28 | pbTicket[27] = ~(pbTicket[27] + pbTicket[24]); 29 | pTicket[7] = ~(int)_time64(0); // +28 30 | pTicket[8] = revHash * 2 >> 3; // +32 31 | pTicket[9] = 0; // +36 32 | 33 | static const char c_szAESKeyRand[] = "0123456789ABCDEFGHIJKLMNOPQRSTUV"; 34 | 35 | char szAESHashRand[32]; 36 | auto AESRand = CRijndael(); 37 | AESRand.MakeKey(c_szAESKeyRand, CRijndael::sm_chain0, 32, 32); 38 | AESRand.EncryptBlock(szhwid, szAESHashRand); 39 | memcpy(&pbTicket[40], szAESHashRand, 32); 40 | 41 | static const char c_szAESKeyRev[] = "_YOU_SERIOUSLY_NEED_TO_GET_LAID_"; 42 | char AESHashRev[32]; 43 | auto AESRev = CRijndael(); 44 | AESRev.MakeKey(c_szAESKeyRev, CRijndael::sm_chain0, 32, 32); 45 | AESRev.EncryptBlock(c_szAESKeyRand, AESHashRev); 46 | memcpy(&pbTicket[72], AESHashRev, 32); 47 | 48 | char szSHAHash[32]; 49 | auto sha = CSHA(CSHA::SHA256); 50 | sha.AddData(szhwid, 32); 51 | sha.FinalDigest(szSHAHash); 52 | memcpy(&pbTicket[104], szSHAHash, 32); 53 | 54 | return 194; 55 | } -------------------------------------------------------------------------------- /src/multiemulator/emulators/SC2009.cpp: -------------------------------------------------------------------------------- 1 | #include "..\Public\StrUtils.h" 2 | #include "..\Public\RevSpoofer.h" 3 | #include "..\Public\crypto\CRijndael.h" 4 | #include "..\Public\crypto\SHA.h" 5 | #include 6 | 7 | int GenerateSC2009(void* pDest, int nSteamID) 8 | { 9 | char hwid[64]; 10 | 11 | CreateRandomString(hwid, 32); 12 | if (!RevSpoofer::Spoof(hwid, nSteamID)) 13 | return 0; 14 | 15 | auto pTicket = (int*)pDest; 16 | auto pbTicket = (byte*)pDest; 17 | 18 | auto revHash = RevSpoofer::Hash(hwid); 19 | 20 | pTicket[0] = 'S'; // +0 21 | pTicket[1] = revHash; // +4 22 | pTicket[2] = 'rev'; // +8 23 | pTicket[3] = 0; // +12 24 | pTicket[4] = revHash << 1; // +16 25 | pTicket[5] = 0x01100001; // +20 26 | 27 | /* Encrypt HWID with AESKeyRand key and save it in the ticket. */ 28 | static const char AESKeyRand[] = "0123456789ABCDEFGHIJKLMNOPQRSTUV"; 29 | char AESHashRand[32]; 30 | auto AESRand = CRijndael(); 31 | AESRand.MakeKey(AESKeyRand, CRijndael::sm_chain0, 32, 32); 32 | AESRand.EncryptBlock(hwid, AESHashRand); 33 | memcpy(&pbTicket[24], AESHashRand, 32); 34 | 35 | /* Encrypt AESKeyRand with AESKeyRev key and save it in the ticket. 36 | * AESKeyRev key is identical to the key in dproto/reunion. */ 37 | static const char AESKeyRev[] = "_YOU_SERIOUSLY_NEED_TO_GET_LAID_"; 38 | char AESHashRev[32]; 39 | auto AESRev = CRijndael(); 40 | AESRev.MakeKey(AESKeyRev, CRijndael::sm_chain0, 32, 32); 41 | AESRev.EncryptBlock(AESKeyRand, AESHashRev); 42 | memcpy(&pbTicket[56], AESHashRev, 32); 43 | 44 | /* Perform HWID hashing and save hash to the ticket. */ 45 | char SHAHash[32]; 46 | auto sha = CSHA(CSHA::SHA256); 47 | sha.AddData(hwid, 32); 48 | sha.FinalDigest(SHAHash); 49 | memcpy(&pbTicket[88], SHAHash, 32); 50 | 51 | return 178; 52 | } -------------------------------------------------------------------------------- /src/multiemulator/emulators/Setti.cpp: -------------------------------------------------------------------------------- 1 | int GenerateSetti(void *pDest) 2 | { 3 | auto pTicket = (int *)pDest; 4 | 5 | pTicket[0] = 0xD4CA7F7B; 6 | pTicket[1] = 0xC7DB6023; 7 | pTicket[2] = 0x6D6A2E1F; 8 | pTicket[5] = 0xB4C43105; 9 | 10 | return 768; 11 | } -------------------------------------------------------------------------------- /src/multiemulator/emulators/SteamEmu.cpp: -------------------------------------------------------------------------------- 1 | int GenerateSteamEmu(void *pDest, int nSteamID) 2 | { 3 | auto pTicket = (int *)pDest; 4 | 5 | pTicket[20] = -1; // +80, dproto/reunion wants this value to be -1, but if this value 6 | // does not match -1, then instead of SteamID in [21] cell 7 | // client IP address that xored with 0x25730981 number should 8 | // be used. But dproto/reunion will just skip ticket validation 9 | // in that case. 10 | 11 | pTicket[21] = nSteamID; // +84, SteamId, low part. Actually, this is just system volume serial 12 | // number, which comes from GetVolumeInformationA() function. If 13 | // function failed (returned 0), then instead of volume serial number 14 | // 777 number will be written to the ticket. 15 | 16 | return 768; 17 | } -------------------------------------------------------------------------------- /src/multiemulator/multiemulator.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /src/multiemulator/public/ExternIP.cpp: -------------------------------------------------------------------------------- 1 | #include "HTTP.h" 2 | #include 3 | 4 | #pragma comment(lib, "Ws2_32.lib") 5 | 6 | const char* g_pszHosts[] = 7 | { 8 | "http://myexternalip.com/raw", 9 | "http://api.ipify.org", 10 | "http://ipinfo.io/ip" 11 | }; 12 | 13 | /* 14 | * Extracts external IP of the current machine via internet 15 | * resources. 16 | * 17 | * @output IPv4 address as string. 18 | */ 19 | char *GetExternalIPString() 20 | { 21 | int iResSize = 0; 22 | int iRetCode = 0; 23 | void *pData = nullptr; 24 | 25 | for (auto &&host : g_pszHosts) 26 | { 27 | pData = HTTPGetRequest(host, &iResSize, &iRetCode); 28 | 29 | if (pData && iResSize && iRetCode == 200) 30 | break; 31 | } 32 | 33 | if (!pData || !iResSize || iRetCode != 200) 34 | return nullptr; 35 | 36 | static char c_szIP[256]; 37 | strcpy(c_szIP, (char *)pData); 38 | 39 | auto psz = c_szIP; 40 | char c; 41 | while (c = *psz, c != '\0') 42 | { 43 | if (c == '\n') 44 | { 45 | *psz = '\0'; 46 | break; 47 | } 48 | 49 | psz++; 50 | } 51 | free(pData); 52 | 53 | return c_szIP; 54 | } 55 | 56 | /* 57 | * Extracts external IP of the current machine via internet 58 | * resources. 59 | * 60 | * @output IPv4 address as integer. 61 | */ 62 | long GetExternalIPLong() 63 | { 64 | auto pszIP = GetExternalIPString(); 65 | return inet_addr(pszIP); 66 | } -------------------------------------------------------------------------------- /src/multiemulator/public/ExternIP.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | char *GetExternalIPString(); 4 | long GetExternalIPLong(); -------------------------------------------------------------------------------- /src/multiemulator/public/RevSpoofer.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | namespace RevSpoofer 4 | { 5 | bool Spoof(char *pszDest, int uSID); 6 | unsigned int Hash(char *pszString); 7 | } -------------------------------------------------------------------------------- /src/multiemulator/public/StrUtils.cpp: -------------------------------------------------------------------------------- 1 | #include "StrUtils.h" 2 | #include 3 | 4 | void CreateRandomString(char *pszDest, int nLength) 5 | { 6 | static const char c_szAlphaNum[] = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; 7 | 8 | for (int i = 0; i < nLength; ++i) 9 | pszDest[i] = c_szAlphaNum[rand() % (sizeof(c_szAlphaNum) - 1)]; 10 | 11 | pszDest[nLength] = '\0'; 12 | } -------------------------------------------------------------------------------- /src/multiemulator/public/StrUtils.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | void CreateRandomString(char *pszDest, int nLength); -------------------------------------------------------------------------------- /src/multiemulator/public/crypto/DoubleBuffering.h: -------------------------------------------------------------------------------- 1 | //DoubleBuffering.h Header File 2 | 3 | #ifndef __DOUBLEBUFFERING_H__ 4 | #define __DOUBLEBUFFERING_H__ 5 | 6 | //Typical DISCLAIMER: 7 | //The code in this project is Copyright (C) 2003 by George Anescu. You have the right to 8 | //use and distribute the code in any way you see fit as long as this paragraph is included 9 | //with the distribution. No warranties or claims are made as to the validity of the 10 | //information and code contained herein, so use it at your own risk. 11 | 12 | #include 13 | 14 | using namespace std; 15 | 16 | class CDoubleBuffering 17 | { 18 | public: 19 | //Constructor 20 | CDoubleBuffering(ifstream& in, char* pcBuff, int iSize, int iDataLen); 21 | //Get Next Data Buffer 22 | int GetData(char* pszDataBuf, int iDataLen=-1); 23 | 24 | private: 25 | ifstream& m_rin; 26 | int m_iSize; 27 | int m_iSize2; //m_iSize/2 28 | int m_iDataLen; 29 | //Current Position 30 | int m_iCurPos; 31 | //End Position 32 | int m_iEnd; 33 | //Which Buffer 34 | int m_iBuf; 35 | char* m_pcBuff; 36 | //EOF attained 37 | bool m_bEOF; 38 | }; 39 | 40 | #endif //__DOUBLEBUFFERING_H__ 41 | -------------------------------------------------------------------------------- /src/multiemulator/public/crypto/MessageDigest.cpp: -------------------------------------------------------------------------------- 1 | //MessageDigest.cpp 2 | 3 | #include "MessageDigest.h" 4 | #include "DoubleBuffering.h" 5 | 6 | #include 7 | #include 8 | #include 9 | 10 | using namespace std; 11 | 12 | //Digesting a Full File 13 | void IMessageDigest::DigestFile(string const& rostrFileIn, char* pcDigest) 14 | { 15 | //Is the User's responsability to ensure that pcDigest is appropriately allocated 16 | //Open Input File 17 | ifstream in(rostrFileIn.c_str(), ios::binary); 18 | if(!in) 19 | { 20 | ostrstream ostr; 21 | ostr << "FileDigest ERROR: in IMessageDigest::DigestFile(): Cannot open File " << rostrFileIn << "!" << ends; 22 | string ostrMsg = ostr.str(); 23 | ostr.freeze(false); 24 | throw runtime_error(ostrMsg); 25 | } 26 | //Resetting first 27 | Reset(); 28 | //Reading from file 29 | char szLargeBuff[BUFF_LEN+1] = {0}; 30 | char szBuff[DATA_LEN+1] = {0}; 31 | CDoubleBuffering oDoubleBuffering(in, szLargeBuff, BUFF_LEN, DATA_LEN); 32 | int iRead; 33 | while((iRead=oDoubleBuffering.GetData(szBuff)) > 0) 34 | AddData(szBuff, iRead); 35 | in.close(); 36 | //Final Step 37 | FinalDigest(pcDigest); 38 | } -------------------------------------------------------------------------------- /src/multiemulator/public/crypto/MessageDigest.h: -------------------------------------------------------------------------------- 1 | //MessageDigest.h 2 | 3 | #ifndef __MESSAGEDIGEST_H__ 4 | #define __MESSAGEDIGEST_H__ 5 | 6 | #include 7 | 8 | using namespace std; 9 | 10 | //Typical DISCLAIMER: 11 | //The code in this project is Copyright (C) 2003 by George Anescu. You have the right to 12 | //use and distribute the code in any way you see fit as long as this paragraph is included 13 | //with the distribution. No warranties or claims are made as to the validity of the 14 | //information and code contained herein, so use it at your own risk. 15 | 16 | //General Message Digest Interface 17 | class IMessageDigest 18 | { 19 | public: 20 | //CONSTRUCTOR 21 | IMessageDigest() : m_bAddData(false) {} 22 | //DESTRUCTOR 23 | virtual ~IMessageDigest() {} 24 | //Update context to reflect the concatenation of another buffer of bytes 25 | virtual void AddData(char const* pcData, int iDataLength) = 0; 26 | //Final wrapup - pad to BLOCKSIZE-byte boundary with the bit pattern 27 | //10000...(64-bit count of bits processed, MSB-first) 28 | virtual void FinalDigest(char* pcDigest) = 0; 29 | //Reset current operation in order to prepare for a new one 30 | virtual void Reset() = 0; 31 | //Digesting a Full File 32 | void DigestFile(string const& rostrFileIn, char* pcDigest); 33 | 34 | protected: 35 | enum { BLOCKSIZE=64 }; 36 | //Control Flag 37 | bool m_bAddData; 38 | //The core of the MessageDigest algorithm, this alters an existing MessageDigest hash to 39 | //reflect the addition of 64 bytes of new data 40 | virtual void Transform() = 0; 41 | 42 | private: 43 | enum { DATA_LEN=384, BUFF_LEN=1024 }; 44 | }; 45 | 46 | #endif // __MESSAGEDIGEST_H__ 47 | -------------------------------------------------------------------------------- /src/public/assets/fonts/compressed_png_data.h: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #ifndef COMPRESSEDPNGDATA_H 30 | #define COMPRESSEDPNGDATA_H 31 | #pragma once 32 | 33 | extern unsigned char g_oxware_48[76471]; 34 | 35 | #endif -------------------------------------------------------------------------------- /src/public/injection/IBaseInjector.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/src/public/injection/IBaseInjector.cpp -------------------------------------------------------------------------------- /src/public/interface/ICheatInfo.h: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #ifndef ICHEATINFO_H 30 | #define ICHEATINFO_H 31 | #pragma once 32 | 33 | class ICheatInfo : public IBaseInterface 34 | { 35 | public: 36 | // applies only for interactible UI rendering contexts 37 | virtual bool is_cheat_ui_running() = 0; 38 | 39 | virtual bool is_game_ui_running() = 0; 40 | 41 | // true if chat is opened 42 | virtual bool is_in_messagemode() = 0; 43 | }; 44 | 45 | extern ICheatInfo* g_cheat_info_i; 46 | 47 | #define ICHEATINFO_INTERFACEID "ICheatInfo" 48 | 49 | #endif // ICHEATINFO_H -------------------------------------------------------------------------------- /src/public/json.h: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #ifndef JSON_H 30 | #define JSON_H 31 | #pragma once 32 | 33 | // don't inlcude nlohmann/json directory, use this header file instead. 34 | // as a convenience, it also creates a new typedef for the json class. 35 | #include 36 | namespace nh 37 | { 38 | using namespace nlohmann; 39 | using json = nlohmann::ordered_json; 40 | // using ordered_json = nlohmann::ordered_json; 41 | } 42 | 43 | #include "custom_json_types.h" 44 | 45 | #endif // JSON_H -------------------------------------------------------------------------------- /src/public/multiemulator/multiemulator.h: -------------------------------------------------------------------------------- 1 | #ifndef MULTIEMULATOR_H 2 | #define MULTIEMULATOR_H 3 | #pragma once 4 | 5 | extern int GenerateAVSMP(void *pDest, int nSteamID, bool bUniverse = true); 6 | extern int GenerateOldRevEmu(void* pDest, int nSteamID); 7 | extern int GenerateRevEmu(void *pDest, int nSteamID); 8 | extern int GenerateRevEmu2013(void *pDest, int nSteamID); 9 | extern int GenerateSC2009(void* pDest, int nSteamID); 10 | extern int GenerateSetti(void *pDest); 11 | extern int GenerateSmartSteamEmu(void *pDest, int nSteamID); 12 | extern int GenerateSteamEmu(void *pDest, int nSteamID); 13 | 14 | #endif // MULTIEMULATOR_H -------------------------------------------------------------------------------- /src/tier/precompiled.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #include "precompiled.h" -------------------------------------------------------------------------------- /src/tier/tier.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {ca63dc75-9cae-4c66-9408-64f4fe08281e} 6 | 7 | 8 | 9 | 10 | src 11 | 12 | 13 | 14 | src 15 | 16 | 17 | src 18 | 19 | 20 | 21 | 22 | src 23 | 24 | 25 | 26 | src 27 | 28 | 29 | src 30 | 31 | 32 | -------------------------------------------------------------------------------- /src/tier/tier.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /src/util/key_translation.h: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #ifndef KEYTRANSLATION_H 30 | #define KEYTRANSLATION_H 31 | #pragma once 32 | 33 | #include 34 | 35 | #include 36 | 37 | // just random virtual codes 38 | #define VK_MWHEELDOWN 0x97 39 | #define VK_MWHEELUP 0x98 40 | 41 | struct key_t 42 | { 43 | std::string key_name; 44 | int vk, ek; // virtual and engine key 45 | }; 46 | 47 | extern const std::array g_virtual_key_translation; 48 | 49 | #endif // KEYTRANSLATION_H -------------------------------------------------------------------------------- /src/util/precompiled.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * OXWARE developed by oxiKKK 3 | * Copyright (c) 2023 4 | * 5 | * This program is licensed under the MIT license. By downloading, copying, 6 | * installing or using this software you agree to this license. 7 | * 8 | * License Agreement 9 | * 10 | * Permission is hereby granted, free of charge, to any person obtaining a 11 | * copy of this software and associated documentation files (the "Software"), 12 | * to deal in the Software without restriction, including without limitation 13 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 | * and/or sell copies of the Software, and to permit persons to whom the 15 | * Software is furnished to do so, subject to the following conditions: 16 | * 17 | * The above copyright notice and this permission notice shall be included 18 | * in all copies or substantial portions of the Software. 19 | * 20 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 26 | * IN THE SOFTWARE. 27 | */ 28 | 29 | #include "precompiled.h" -------------------------------------------------------------------------------- /src/util/util.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /util/binary_to_compressed_c.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/util/binary_to_compressed_c.exe -------------------------------------------------------------------------------- /util/lines_of_code.txt: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------ 2 | Lines of code 3 | Done by VSCodeCounter 4 | ------------------------------------------------------------ 5 | 6 | 14-03-2023: 7 | under "./src/" excluding: 8 | "./src/external/" 9 | "./src/assets/" 10 | the total is 8,479 code; 2,131 comment; 2,532 blank; 13,142 total in 102 files. 11 | 12 | 18-03-2023 13 | under "./src/" excluding: 14 | "./src/external/" 15 | "./src/assets/" 16 | the total is 9,730 code; 2,297 comment; 2,891 blank; 14,918 total in 117 files. 17 | 18 | 30-03-2023 19 | under "./src/" excluding: 20 | "./src/external/" 21 | "./src/assets/" 22 | "./src/lib/" 23 | the total is 12,456 code; 2,297 comment; 2,660 blank; 18,683 total in 145 files. 24 | 25 | 30-03-2023 26 | under "./src/" excluding: 27 | "./src/external/" 28 | "./src/assets/" 29 | "./src/lib/" 30 | the total is 14,448 code; 2,915 comment; 4,122 blank; 21,525 total in 166 files. 31 | 32 | 06-05-2023 33 | under "./src/" excluding: 34 | "./src/external/" 35 | "./src/assets/" 36 | "./src/lib/" 37 | the total is 20,618 code; 8,064 comment; 5,884 blank; 34,566 total in 203 files. 38 | 39 | 31-05-2023 40 | under "./src/" excluding: 41 | "./src/external/" 42 | "./src/assets/" 43 | "./src/lib/" 44 | the total is 30,443 code; 9,283 comment; 7,004 blank; 46,730 total in 233 files. -------------------------------------------------------------------------------- /util/oxware_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/util/oxware_16.png -------------------------------------------------------------------------------- /util/oxware_48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/util/oxware_48.png -------------------------------------------------------------------------------- /util/png2cpp.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | void write_buffer(uint8_t* buffer, uintmax_t size, const char* variable_name, const char* output_filename) 6 | { 7 | std::ofstream ofs(output_filename); 8 | 9 | if (ofs.bad()) 10 | { 11 | printf("error: failed to open output file.\n"); 12 | return; 13 | } 14 | 15 | ofs << "unsigned char " << variable_name << "[" << size + 1 << "] = \n{\n\t\""; 16 | 17 | for (uintmax_t i = 0; i < size; i++) 18 | { 19 | uint8_t byte = buffer[i]; 20 | 21 | if (i > 0 && i % 40 == 0) 22 | { 23 | ofs << "\"\n\t\""; 24 | } 25 | 26 | ofs << std::format("\\x{:02X}", byte); 27 | } 28 | 29 | ofs << "\"\n};"; 30 | 31 | ofs.close(); 32 | 33 | printf("wrote to %s\n", output_filename); 34 | } 35 | 36 | int main(int argc, char** argv) 37 | { 38 | if (argc != 4) 39 | { 40 | printf("error: invalid arguments.\n"); 41 | printf("usage: png2cpp .\n"); 42 | return 1; 43 | } 44 | 45 | std::filesystem::path png_path = argv[1]; 46 | 47 | std::ifstream ifs(png_path, std::ios_base::binary | std::ios_base::in); 48 | 49 | if (ifs.bad()) 50 | { 51 | printf("error: invalid input file.\n"); 52 | return 1; 53 | } 54 | 55 | auto filesize = std::filesystem::file_size(png_path); 56 | uint8_t* file_buffer = new uint8_t[filesize]; 57 | 58 | ifs.read((char*)file_buffer, filesize); 59 | 60 | write_buffer(file_buffer, filesize, argv[2], argv[3]); 61 | 62 | delete[] file_buffer; 63 | 64 | ifs.close(); 65 | 66 | printf("success!\n"); 67 | } 68 | -------------------------------------------------------------------------------- /util/png2cpp.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oxiKKK/oxware/eb81ecf3fe839b0ca01a19c41ae7e5381d13102d/util/png2cpp.exe -------------------------------------------------------------------------------- /util/png2cpp.ps1: -------------------------------------------------------------------------------- 1 | # png2cpp.ps1 (c) oxiKKK 2023 2 | # 3 | # Executes a script which runs png2cpp executable. Converts input png file into cpp global variable. 4 | # 5 | # Usage: ./png2cpp.ps1 png_image.png 6 | # 7 | 8 | function display_help 9 | { 10 | $filename = Split-Path $PSCommandPath -leaf 11 | Write-Output("How to use:") 12 | Write-Output($filename + " ") 13 | Write-Output("") 14 | } 15 | 16 | # check for number of parameters passed 17 | if ($args.Count -eq 0 -or $args.Count -gt 1) 18 | { 19 | Write-Error("Invalid arguments passed in.") 20 | display_help 21 | break 22 | } 23 | 24 | $input = $args[0] 25 | 26 | Write-Output("Input file: '" + $input + "'") 27 | 28 | # see if input is a string 29 | if ($input.GetType() -ne [string]) 30 | { 31 | Write-Error("Input has to be a string however, it is a '" + $input.GetType().FullName + "'.") 32 | break 33 | } 34 | 35 | # see if the input file exists 36 | if (!(Test-Path $input)) 37 | { 38 | Write-Error("The input file doesn't exist.") 39 | break 40 | } 41 | 42 | # full filename 43 | $input_file_full = $input 44 | 45 | # filename without extension 46 | $input_file = $input.Substring(0, $input.LastIndexOf('.')) 47 | 48 | $exe = "png2cpp.exe" 49 | 50 | # see if the executable exists 51 | if (!(Test-Path $exe)) 52 | { 53 | Write-Error("The executable '" + $exe + "' isn't available.") 54 | break 55 | } 56 | 57 | Write-Output("Generating a cpp file...") 58 | 59 | # execute the command 60 | $output_file = $input_file + "_c.cpp" 61 | $variable_name = "g_" + $input_file 62 | ./png2cpp.exe $input_file_full $variable_name $output_file 63 | 64 | Write-Output("Successfully wrote the result to '" + $output_file + "'!") -------------------------------------------------------------------------------- /util/python/dumps/lines_2023-06-26.txt: -------------------------------------------------------------------------------- 1 | // 2 | // File generated automatically by cntlines.py script 3 | // Generated at: 2023-06-26. 4 | // Version: 1.0 5 | // 6 | 7 | ----------------------------------------- 8 | total lines: 57610 in 281 files. 9 | 10 | Top 10 files by line count: 11 | 0: C:\Programming\oxware\util\python\..\..\src\cheat\util\vanilla_halflife_dir_file_database.cpp: 5107 lines 12 | 1: C:\Programming\oxware\util\python\..\..\src\gui\GUIWidgets.cpp: 2429 lines 13 | 2: C:\Programming\oxware\util\python\..\..\src\cheat\ui\UIMenu.cpp: 2017 lines 14 | 3: C:\Programming\oxware\util\python\..\..\src\public\vector.h: 1623 lines 15 | 4: C:\Programming\oxware\util\python\..\..\src\cheat\hook\MemoryFnDetour.cpp: 1237 lines 16 | 5: C:\Programming\oxware\util\python\..\..\src\cheat\hook\SecurityModuleHook.cpp: 1042 lines 17 | 6: C:\Programming\oxware\util\python\..\..\src\cheat\features\EnvironmentalEffects.cpp: 886 lines 18 | 7: C:\Programming\oxware\util\python\..\..\src\public\DeveloperConsole.cpp: 838 lines 19 | 8: C:\Programming\oxware\util\python\..\..\src\util\BindManager.cpp: 835 lines 20 | 9: C:\Programming\oxware\util\python\..\..\src\cheat\util\GameUtil.cpp: 713 lines 21 | -------------------------------------------------------------------------------- /util/python/dumps/lines_2023-06-27.txt: -------------------------------------------------------------------------------- 1 | // 2 | // File generated automatically by cntlines.py script 3 | // Generated at: 2023-06-27. 4 | // Version: 1.0 5 | // 6 | 7 | ----------------------------------------- 8 | total lines: 58415 in 283 files. 9 | 10 | Top 10 files by line count: 11 | 0: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\util\vanilla_halflife_dir_file_database.cpp: 5107 lines 12 | 1: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\gui\GUIWidgets.cpp: 2429 lines 13 | 2: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\ui\UIMenu.cpp: 2027 lines 14 | 3: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\public\vector.h: 1623 lines 15 | 4: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\hook\MemoryFnDetour.cpp: 1256 lines 16 | 5: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\hook\SecurityModuleHook.cpp: 1042 lines 17 | 6: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\features\EnvironmentalEffects.cpp: 902 lines 18 | 7: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\public\DeveloperConsole.cpp: 838 lines 19 | 8: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\util\BindManager.cpp: 835 lines 20 | 9: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\util\GameUtil.cpp: 713 lines 21 | -------------------------------------------------------------------------------- /util/python/dumps/lines_2023-06-29.txt: -------------------------------------------------------------------------------- 1 | // 2 | // File generated automatically by cntlines.py script 3 | // Generated at: 2023-06-29. 4 | // Version: 1.0 5 | // 6 | 7 | ----------------------------------------- 8 | total lines: 58524 in 285 files. 9 | 10 | Top 10 files by line count: 11 | 0: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\util\vanilla_halflife_dir_file_database.cpp: 5107 lines 12 | 1: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\gui\GUIWidgets.cpp: 2429 lines 13 | 2: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\ui\UIMenu.cpp: 2038 lines 14 | 3: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\public\vector.h: 1623 lines 15 | 4: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\hook\MemoryFnDetour.cpp: 1230 lines 16 | 5: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\hook\SecurityModuleHook.cpp: 1042 lines 17 | 6: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\features\EnvironmentalEffects.cpp: 842 lines 18 | 7: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\public\DeveloperConsole.cpp: 838 lines 19 | 8: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\util\BindManager.cpp: 835 lines 20 | 9: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\util\GameUtil.cpp: 713 lines 21 | -------------------------------------------------------------------------------- /util/python/dumps/lines_2023-06-30.txt: -------------------------------------------------------------------------------- 1 | // 2 | // File generated automatically by cntlines.py script 3 | // Generated at: 2023-06-30. 4 | // Version: 1.0 5 | // 6 | 7 | ----------------------------------------- 8 | total lines: 60347 in 296 files. 9 | 10 | Top 10 files by line count: 11 | 0: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\util\vanilla_halflife_dir_file_database.cpp: 5107 lines 12 | 1: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\gui\GUIWidgets.cpp: 2461 lines 13 | 2: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\ui\UIMenu.cpp: 2042 lines 14 | 3: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\public\vector.h: 1623 lines 15 | 4: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\hook\MemoryFnDetour.cpp: 1235 lines 16 | 5: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\hook\SecurityModuleHook.cpp: 1042 lines 17 | 6: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\features\EnvironmentalEffects.cpp: 842 lines 18 | 7: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\public\DeveloperConsole.cpp: 838 lines 19 | 8: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\util\BindManager.cpp: 835 lines 20 | 9: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\public\LibraryLoader.cpp: 797 lines 21 | -------------------------------------------------------------------------------- /util/python/dumps/lines_2023-07-02.txt: -------------------------------------------------------------------------------- 1 | // 2 | // File generated automatically by cntlines.py script 3 | // Generated at: 2023-07-02. 4 | // Version: 1.0 5 | // 6 | 7 | ----------------------------------------- 8 | total lines: 61664 in 304 files. 9 | 10 | Top 10 files by line count: 11 | 0: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\util\vanilla_halflife_dir_file_database.cpp: 5107 lines 12 | 1: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\gui\GUIWidgets.cpp: 2461 lines 13 | 2: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\ui\UIMenu.cpp: 2109 lines 14 | 3: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\public\vector.h: 1623 lines 15 | 4: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\hook\MemoryFnDetour.cpp: 1320 lines 16 | 5: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\hook\SecurityModuleHook.cpp: 1042 lines 17 | 6: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\features\EnvironmentalEffects.cpp: 842 lines 18 | 7: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\public\DeveloperConsole.cpp: 838 lines 19 | 8: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\util\BindManager.cpp: 835 lines 20 | 9: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\public\LibraryLoader.cpp: 797 lines 21 | -------------------------------------------------------------------------------- /util/python/dumps/lines_2023-07-10.txt: -------------------------------------------------------------------------------- 1 | // 2 | // File generated automatically by cntlines.py script 3 | // Generated at: 2023-07-10. 4 | // Version: 1.0 5 | // 6 | 7 | ----------------------------------------- 8 | total lines: 64281 in 314 files. 9 | 10 | Top 10 files by line count: 11 | 0: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\util\vanilla_halflife_dir_file_database.cpp: 5107 lines 12 | 1: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\gui\GUIWidgets.cpp: 2421 lines 13 | 2: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\public\vector.h: 1623 lines 14 | 3: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\ui\UIMenu.cpp: 1409 lines 15 | 4: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\hook\function_hooks\MemoryFnDetour.cpp: 1358 lines 16 | 5: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\hook\SecurityModuleHook.cpp: 1042 lines 17 | 6: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\features\EnvironmentalEffects.cpp: 856 lines 18 | 7: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\public\DeveloperConsole.cpp: 838 lines 19 | 8: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\util\BindManager.cpp: 835 lines 20 | 9: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\ui\rendering_contexts\menu\Menu.cpp: 808 lines 21 | -------------------------------------------------------------------------------- /util/python/dumps/lines_2023-07-16.txt: -------------------------------------------------------------------------------- 1 | // 2 | // File generated automatically by cntlines.py script 3 | // Generated at: 2023-07-16. 4 | // Version: 1.0 5 | // 6 | 7 | ----------------------------------------- 8 | total lines: 64502 in 316 files. 9 | 10 | Top 10 files by line count: 11 | 0: C:\Programming\oxware\util\python\..\..\src\cheat\util\vanilla_halflife_dir_file_database.cpp: 5107 lines 12 | 1: C:\Programming\oxware\util\python\..\..\src\gui\GUIWidgets.cpp: 2421 lines 13 | 2: C:\Programming\oxware\util\python\..\..\src\public\vector.h: 1623 lines 14 | 3: C:\Programming\oxware\util\python\..\..\src\cheat\ui\UIMenu.cpp: 1409 lines 15 | 4: C:\Programming\oxware\util\python\..\..\src\cheat\hook\function_hooks\MemoryFnDetour.cpp: 1380 lines 16 | 5: C:\Programming\oxware\util\python\..\..\src\cheat\hook\SecurityModuleHook.cpp: 1042 lines 17 | 6: C:\Programming\oxware\util\python\..\..\src\cheat\features\EnvironmentalEffects.cpp: 871 lines 18 | 7: C:\Programming\oxware\util\python\..\..\src\util\BindManager.cpp: 842 lines 19 | 8: C:\Programming\oxware\util\python\..\..\src\public\DeveloperConsole.cpp: 838 lines 20 | 9: C:\Programming\oxware\util\python\..\..\src\cheat\ui\rendering_contexts\menu\Menu.cpp: 820 lines 21 | -------------------------------------------------------------------------------- /util/python/dumps/lines_2023-07-17.txt: -------------------------------------------------------------------------------- 1 | // 2 | // File generated automatically by cntlines.py script 3 | // Generated at: 2023-07-17. 4 | // Version: 1.0 5 | // 6 | 7 | ----------------------------------------- 8 | total lines: 65330 in 319 files. 9 | 10 | Top 10 files by line count: 11 | 0: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\util\vanilla_halflife_dir_file_database.cpp: 5107 lines 12 | 1: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\gui\GUIWidgets.cpp: 2461 lines 13 | 2: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\public\vector.h: 1623 lines 14 | 3: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\ui\UIMenu.cpp: 1409 lines 15 | 4: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\hook\function_hooks\MemoryFnDetour.cpp: 1380 lines 16 | 5: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\ui\rendering_contexts\menu\Menu.cpp: 1056 lines 17 | 6: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\hook\SecurityModuleHook.cpp: 1042 lines 18 | 7: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\features\EnvironmentalEffects.cpp: 871 lines 19 | 8: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\util\BindManager.cpp: 842 lines 20 | 9: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\public\DeveloperConsole.cpp: 838 lines 21 | -------------------------------------------------------------------------------- /util/python/dumps/lines_2023-07-22.txt: -------------------------------------------------------------------------------- 1 | // 2 | // File generated automatically by cntlines.py script 3 | // Generated at: 2023-07-22. 4 | // Version: 1.0 5 | // 6 | 7 | ----------------------------------------- 8 | total lines: 70573 in 354 files. 9 | 10 | Top 10 files by line count: 11 | 0: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\util\vanilla_halflife_dir_file_database.cpp: 5107 lines 12 | 1: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\gui\GUIWidgets.cpp: 2506 lines 13 | 2: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\public\vector.h: 1623 lines 14 | 3: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\ui\UIMenu.cpp: 1409 lines 15 | 4: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\hook\function_hooks\MemoryFnDetour.cpp: 1406 lines 16 | 5: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\multiemulator\public\crypto\CRijndael.cpp: 1376 lines 17 | 6: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\ui\rendering_contexts\menu\Menu.cpp: 1077 lines 18 | 7: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\hook\SecurityModuleHook.cpp: 1042 lines 19 | 8: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\cheat\features\EnvironmentalEffects.cpp: 876 lines 20 | 9: C:\dev\projects\OXWARE\oxware\util\python\..\..\src\util\BindManager.cpp: 842 lines 21 | -------------------------------------------------------------------------------- /util/python/dumps/lines_2023-07-23.txt: -------------------------------------------------------------------------------- 1 | // 2 | // File generated automatically by cntlines.py script 3 | // Generated at: 2023-07-23. 4 | // Version: 1.0 5 | // 6 | 7 | ----------------------------------------- 8 | total lines: 71093 in 354 files. 9 | 10 | Top 10 files by line count: 11 | 0: C:\Programming\oxware\util\python\..\..\src\cheat\util\vanilla_halflife_dir_file_database.cpp: 5107 lines 12 | 1: C:\Programming\oxware\util\python\..\..\src\gui\GUIWidgets.cpp: 2513 lines 13 | 2: C:\Programming\oxware\util\python\..\..\src\public\vector.h: 1623 lines 14 | 3: C:\Programming\oxware\util\python\..\..\src\cheat\ui\UIMenu.cpp: 1409 lines 15 | 4: C:\Programming\oxware\util\python\..\..\src\cheat\hook\function_hooks\MemoryFnDetour.cpp: 1406 lines 16 | 5: C:\Programming\oxware\util\python\..\..\src\multiemulator\public\crypto\CRijndael.cpp: 1376 lines 17 | 6: C:\Programming\oxware\util\python\..\..\src\cheat\ui\rendering_contexts\menu\Menu.cpp: 1078 lines 18 | 7: C:\Programming\oxware\util\python\..\..\src\cheat\hook\SecurityModuleHook.cpp: 1042 lines 19 | 8: C:\Programming\oxware\util\python\..\..\src\cheat\features\EnvironmentalEffects.cpp: 876 lines 20 | 9: C:\Programming\oxware\util\python\..\..\src\util\BindManager.cpp: 842 lines 21 | -------------------------------------------------------------------------------- /util/python/dumps/lines_2023-07-25.txt: -------------------------------------------------------------------------------- 1 | // 2 | // File generated automatically by cntlines.py script 3 | // Generated at: 2023-07-25. 4 | // Version: 1.0 5 | // 6 | 7 | ----------------------------------------- 8 | total lines: 72283 in 363 files. 9 | 10 | Top 10 files by line count: 11 | 0: C:\Programming\oxware\util\python\..\..\src\cheat\util\vanilla_halflife_dir_file_database.cpp: 5107 lines 12 | 1: C:\Programming\oxware\util\python\..\..\src\gui\GUIWidgets.cpp: 2513 lines 13 | 2: C:\Programming\oxware\util\python\..\..\src\public\vector.h: 1623 lines 14 | 3: C:\Programming\oxware\util\python\..\..\src\cheat\hook\function_hooks\MemoryFnDetour.cpp: 1426 lines 15 | 4: C:\Programming\oxware\util\python\..\..\src\cheat\ui\UIMenu.cpp: 1409 lines 16 | 5: C:\Programming\oxware\util\python\..\..\src\multiemulator\public\crypto\CRijndael.cpp: 1376 lines 17 | 6: C:\Programming\oxware\util\python\..\..\src\cheat\ui\rendering_contexts\menu\Menu.cpp: 1078 lines 18 | 7: C:\Programming\oxware\util\python\..\..\src\cheat\hook\SecurityModuleHook.cpp: 1042 lines 19 | 8: C:\Programming\oxware\util\python\..\..\src\cheat\features\EnvironmentalEffects.cpp: 876 lines 20 | 9: C:\Programming\oxware\util\python\..\..\src\util\BindManager.cpp: 847 lines 21 | -------------------------------------------------------------------------------- /util/python/dumps/lines_2023-08-06.txt: -------------------------------------------------------------------------------- 1 | // 2 | // File generated automatically by cntlines.py script 3 | // Generated at: 2023-08-06. 4 | // Version: 1.0 5 | // 6 | 7 | ----------------------------------------- 8 | total lines: 72841 in 363 files. 9 | 10 | Top 10 files by line count: 11 | 0: C:\Programming\oxware\util\python\..\..\src\cheat\util\vanilla_halflife_dir_file_database.cpp: 5107 lines 12 | 1: C:\Programming\oxware\util\python\..\..\src\gui\GUIWidgets.cpp: 2600 lines 13 | 2: C:\Programming\oxware\util\python\..\..\src\public\vector.h: 1623 lines 14 | 3: C:\Programming\oxware\util\python\..\..\src\cheat\hook\function_hooks\MemoryFnDetour.cpp: 1426 lines 15 | 4: C:\Programming\oxware\util\python\..\..\src\cheat\ui\UIMenu.cpp: 1409 lines 16 | 5: C:\Programming\oxware\util\python\..\..\src\multiemulator\public\crypto\CRijndael.cpp: 1376 lines 17 | 6: C:\Programming\oxware\util\python\..\..\src\cheat\ui\rendering_contexts\menu\Menu.cpp: 1078 lines 18 | 7: C:\Programming\oxware\util\python\..\..\src\cheat\hook\SecurityModuleHook.cpp: 1042 lines 19 | 8: C:\Programming\oxware\util\python\..\..\src\cheat\features\EnvironmentalEffects.cpp: 876 lines 20 | 9: C:\Programming\oxware\util\python\..\..\src\public\DeveloperConsole.cpp: 849 lines 21 | -------------------------------------------------------------------------------- /util/python/file_to_cpp_bytearray.ps1: -------------------------------------------------------------------------------- 1 | # file_to_cpp_bytearray.ps1 (c) oxiKKK 2023 2 | # 3 | # Simple script to convert file data into a C++ byte array. 4 | # 5 | 6 | function display_help 7 | { 8 | $filename = Split-Path $PSCommandPath -leaf 9 | Write-Output("How to use:") 10 | Write-Output($filename + " ") 11 | Write-Output("") 12 | } 13 | 14 | # check for number of parameters passed 15 | if ($args.Count -eq 0 -or $args.Count -gt 1) 16 | { 17 | Write-Error("Invalid arguments passed in.") 18 | display_help 19 | break 20 | } 21 | 22 | $input = $args[0] 23 | 24 | Write-Output("Input file: '" + $input + "'") 25 | 26 | # see if input is a string 27 | if ($input.GetType() -ne [string]) 28 | { 29 | Write-Error("Input has to be a string however, it is a '" + $input.GetType().FullName + "'.") 30 | break 31 | } 32 | 33 | # see if the input file exists 34 | if (!(Test-Path $input)) 35 | { 36 | Write-Error("The input file doesn't exist.") 37 | break 38 | } 39 | 40 | # full filename 41 | $input_file_full = $input 42 | $input_filename = (Get-Item $input ).Basename 43 | $global_var_name = "g_" + $input_filename 44 | 45 | Write-Output("Running the script on '" + $input_file_full + "'...") 46 | 47 | # execute the command 48 | python f2b.py $input_file_full -l "C++" -s "uint8" -r 32 -n $global_var_name -------------------------------------------------------------------------------- /util/python/update_lines_readme.bat: -------------------------------------------------------------------------------- 1 | python cntlines.py ..\..\src\ -f -m 2 | pause --------------------------------------------------------------------------------