Browse Source

Initial code commit.

master
atom0s 8 years ago
commit
ffecc4ddaf
  1. 221
      .gitignore
  2. 28
      No-ckback.sln
  3. 219
      No-ckback/DSP-Utils.h
  4. 5
      No-ckback/Exports.def
  5. 74
      No-ckback/Main.cpp
  6. 27
      No-ckback/No-ckback.h
  7. 169
      No-ckback/No-ckback.vcxproj
  8. 35
      No-ckback/No-ckback.vcxproj.filters
  9. 1
      README.md

221
.gitignore vendored

@ -0,0 +1,221 @@
# ---> VisualStudio
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
# User-specific files
*.suo
*.user
*.userosscache
*.sln.docstates
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
build/
bld/
[Bb]in/
[Oo]bj/
# Visual Studio 2015 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
# NUNIT
*.VisualState.xml
TestResult.xml
# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c
# DNX
project.lock.json
artifacts/
*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc
# Chutzpah Test files
_Chutzpah*
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile
# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap
# TFS 2012 Local Workspace
$tf/
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
# JustCode is a .NET coding add-in
.JustCode
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# NCrunch
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*
# MightyMoose
*.mm.*
AutoTest.Net/
# Web workbench (sass)
.sass-cache/
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# TODO: Comment the next line if you want to checkin your web deploy settings
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
# NuGet Packages
*.nupkg
# The packages folder can be ignored because of Package Restore
**/packages/*
# except build/, which is used as an MSBuild target.
!**/packages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/packages/repositories.config
# Windows Azure Build Output
csx/
*.build.csdef
# Windows Store app package directory
AppPackages/
# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!*.[Cc]ache/
# Others
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.pfx
*.publishsettings
node_modules/
orleans.codegen.cs
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
# SQL Server files
*.mdf
*.ldf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
# Microsoft Fakes
FakesAssemblies/
# Node.js Tools for Visual Studio
.ntvs_analysis.dat
# Visual Studio 6 build log
*.plg
# Visual Studio 6 workspace options file
*.opt
# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
**/*.DesktopClient/ModelManifest.xml
**/*.Server/GeneratedArtifacts
**/*.Server/ModelManifest.xml
_Pvt_Extensions
/Ashita.exp
/Ashita.lib

28
No-ckback.sln

@ -0,0 +1,28 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "No-ckback", "No-ckback\No-ckback.vcxproj", "{9430017C-9E01-4954-B378-81CB23EB8C31}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{9430017C-9E01-4954-B378-81CB23EB8C31}.Debug|x64.ActiveCfg = Debug|x64
{9430017C-9E01-4954-B378-81CB23EB8C31}.Debug|x64.Build.0 = Debug|x64
{9430017C-9E01-4954-B378-81CB23EB8C31}.Debug|x86.ActiveCfg = Debug|Win32
{9430017C-9E01-4954-B378-81CB23EB8C31}.Debug|x86.Build.0 = Debug|Win32
{9430017C-9E01-4954-B378-81CB23EB8C31}.Release|x64.ActiveCfg = Release|x64
{9430017C-9E01-4954-B378-81CB23EB8C31}.Release|x64.Build.0 = Release|x64
{9430017C-9E01-4954-B378-81CB23EB8C31}.Release|x86.ActiveCfg = Release|Win32
{9430017C-9E01-4954-B378-81CB23EB8C31}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

219
No-ckback/DSP-Utils.h

@ -0,0 +1,219 @@
#define RBUFP(p,pos) (((uint8_t*)(p)) + (pos))
#define RBUFB(p,pos) (*(uint8_t*)RBUFP((p),(pos)))
#define RBUFW(p,pos) (*(uint16_t*)RBUFP((p),(pos)))
#define RBUFL(p,pos) (*(uint32_t*)RBUFP((p),(pos)))
#define RBUFF(p,pos) (*(float*)RBUFP((p),(pos)))
#define WBUFP(p,pos) (((uint8_t*)(p)) + (pos))
#define WBUFB(p,pos) (*(uint8_t*)WBUFP((p),(pos)))
#define WBUFW(p,pos) (*(uint16_t*)WBUFP((p),(pos)))
#define WBUFL(p,pos) (*(uint32_t*)WBUFP((p),(pos)))
#define WBUFF(p,pos) (*(float*)WBUFP((p),(pos)))
#include <stdint.h>
uint32_t packBitsBE(uint8_t* target, uint64_t value, int32_t byteOffset, int32_t bitOffset, uint8_t lengthInBit)
{
byteOffset += (bitOffset >> 3); //correct bitOffsets>=8
bitOffset %= 8;
uint64_t bitmask = 0xFFFFFFFFFFFFFFFFLL; //Generate bitmask
bitmask >>= (64 - lengthInBit);
bitmask <<= bitOffset;
value <<= bitOffset; //shift value
value &= bitmask;
bitmask ^= 0xFFFFFFFFFFFFFFFFLL; //invert bitmask
if ((lengthInBit + bitOffset) <= 8) //write shifted value to target
{
uint8_t* dataPointer = (uint8_t*)&target[byteOffset];
uint8_t bitmaskUC = (uint8_t)bitmask;
uint8_t valueUC = (uint8_t)value;
*dataPointer &= bitmaskUC;
*dataPointer |= valueUC;
}
else if ((lengthInBit + bitOffset) <= 16)
{
uint16_t* dataPointer = (uint16_t*)&target[byteOffset];
uint16_t bitmaskUC = (uint16_t)bitmask;
uint16_t valueUC = (uint16_t)value;
*dataPointer &= bitmaskUC;
*dataPointer |= valueUC;
}
else if ((lengthInBit + bitOffset) <= 32)
{
uint32_t* dataPointer = (uint32_t*)&target[byteOffset];
uint32_t bitmaskUC = (uint32_t)bitmask;
uint32_t valueUC = (uint32_t)value;
*dataPointer &= bitmaskUC;
*dataPointer |= valueUC;
}
else if ((lengthInBit + bitOffset) <= 64)
{
uint64_t* dataPointer = (uint64_t*)&target[byteOffset];
*dataPointer &= bitmask;
*dataPointer |= value;
}
else
{
//ShowError("Pack Bits Error: packBitsBE(...) not implemented for targetsizes above 64 bits.\n Targetsize: %d\n", (lengthInBit + bitOffset));
}
return ((byteOffset << 3) + bitOffset + lengthInBit);
}
uint32_t packBitsBE(uint8_t* target, uint64_t value, int32_t bitOffset, uint8_t lengthInBit)
{
return packBitsBE(target, value, 0, bitOffset, lengthInBit);
}
uint64_t unpackBitsBE(uint8_t* target, int32_t byteOffset, int32_t bitOffset, uint8_t lengthInBit)
{
byteOffset += (bitOffset >> 3);
bitOffset %= 8;
uint64_t bitmask = 0xFFFFFFFFFFFFFFFFLL;
bitmask >>= (64 - lengthInBit);
bitmask <<= bitOffset;
uint64_t retVal;
if ((lengthInBit + bitOffset) <= 8)
{
uint8_t* dataPointer = (uint8_t*)&target[byteOffset];
retVal = ((*dataPointer)&(uint8_t)bitmask) >> bitOffset;
}
else if ((lengthInBit + bitOffset) <= 16)
{
uint16_t* dataPointer = (uint16_t*)&target[byteOffset];
retVal = ((*dataPointer)&(uint16_t)bitmask) >> bitOffset;
}
else if ((lengthInBit + bitOffset) <= 32)
{
uint32_t* dataPointer = (uint32_t*)&target[byteOffset];
retVal = ((*dataPointer)&(uint32_t)bitmask) >> bitOffset;
}
else if ((lengthInBit + bitOffset) <= 64)
{
uint64_t* dataPointer = (uint64_t*)&target[byteOffset];
retVal = ((*dataPointer)&(uint64_t)bitmask) >> bitOffset;
}
else
{
//ShowError("Unpack Bits Error: unpackBits(...) not implemented for targetsizes above 64 bits.\n Targetsize: %d\n", (lengthInBit + bitOffset));
return 0;
}
return retVal;
}
uint64_t unpackBitsBE(uint8_t* target, int32_t bitOffset, uint8_t lengthInBit)
{
return unpackBitsBE(target, 0, bitOffset, lengthInBit);
}
uint32_t packBitsLE(uint8_t* target, uint64_t value, int32_t byteOffset, int32_t bitOffset, uint8_t lengthInBit)
{
byteOffset += (bitOffset >> 3); //correct bitOffsets >= 8
bitOffset %= 8;
uint8_t bytesNeeded; //calculate how many bytes are needed
if ((bitOffset + lengthInBit) <= 8)
bytesNeeded = 1;
else if ((bitOffset + lengthInBit) <= 16)
bytesNeeded = 2;
else if ((bitOffset + lengthInBit) <= 32)
bytesNeeded = 4;
else if ((bitOffset + lengthInBit) <= 64)
bytesNeeded = 8;
else
{
//ShowError("Pack Bits Error: packBitsLE(...) not implemented for targetsizes above 64 bits.\n Targetsize: %d\n", (lengthInBit + bitOffset));
return 0;
}
uint8_t* modifiedTarget = new uint8_t[bytesNeeded]; //convert byteOrder to Big Endian
for (uint8_t curByte = 0; curByte < bytesNeeded; ++curByte)
{
modifiedTarget[curByte] = target[byteOffset + (bytesNeeded - 1) - curByte];
}
int32_t newBitOffset = (bytesNeeded << 3) - (bitOffset + lengthInBit); //calculate new bitOffset
packBitsBE(&modifiedTarget[0], value, 0, newBitOffset, lengthInBit); //write data to modified array
for (uint8_t curByte = 0; curByte < bytesNeeded; ++curByte) //copy back to target
{
target[byteOffset + (bytesNeeded - 1) - curByte] = modifiedTarget[curByte];
}
if (modifiedTarget) delete[] modifiedTarget;
return ((byteOffset << 3) + bitOffset + lengthInBit);
}
uint32_t packBitsLE(uint8_t* target, uint64_t value, int32_t bitOffset, uint8_t lengthInBit)
{
return packBitsLE(target, value, 0, bitOffset, lengthInBit);
}
uint64_t unpackBitsLE(uint8_t* target, int32_t byteOffset, int32_t bitOffset, uint8_t lengthInBit)
{
byteOffset += (bitOffset >> 3);
bitOffset %= 8;
uint8_t bytesNeeded;
if ((bitOffset + lengthInBit) <= 8)
bytesNeeded = 1;
else if ((bitOffset + lengthInBit) <= 16)
bytesNeeded = 2;
else if ((bitOffset + lengthInBit) <= 32)
bytesNeeded = 4;
else if ((bitOffset + lengthInBit) <= 64)
bytesNeeded = 8;
else
{
//ShowError("Unpack Bits Error: packBitsLE(...) not implemented for targetsizes above 64 bits.\n Targetsize: %d\n", (lengthInBit + bitOffset));
return 0;
}
uint64_t retVal;
uint8_t* modifiedTarget = new uint8_t[bytesNeeded];
for (uint8_t curByte = 0; curByte < bytesNeeded; ++curByte)
{
modifiedTarget[curByte] = target[byteOffset + (bytesNeeded - 1) - curByte];
}
if (bytesNeeded == 1)
{
uint8_t bitmask = 0xFF >> bitOffset;
retVal = (modifiedTarget[0] & bitmask) >> (8 - (lengthInBit + bitOffset));
}
else
{
int32_t newBitOffset = (bytesNeeded * 8) - (bitOffset + lengthInBit);
retVal = unpackBitsBE(&modifiedTarget[0], 0, newBitOffset, lengthInBit);
}
if (modifiedTarget) delete[]modifiedTarget;
return retVal;
}
uint64_t unpackBitsLE(uint8_t* target, int32_t bitOffset, uint8_t lengthInBit)
{
return unpackBitsLE(target, 0, bitOffset, lengthInBit);
}

5
No-ckback/Exports.def

@ -0,0 +1,5 @@
LIBRARY "No-ckback"
EXPORTS
GetInterfaceVersion
CreatePluginInfo
CreatePlugin

74
No-ckback/Main.cpp

@ -0,0 +1,74 @@
#include "No-ckback.h"
#include "DSP-Utils.h"
#include <windows.h>
#include <stdio.h>
plugininfo_t* g_PluginInfo;
bool Nockback::Initialize(IAshitaCore* core, ILogManager* log, uint32_t id)
{
this->m_AshitaCore = core;
this->m_PluginId = id;
this->m_LogManager = log;
return true;
}
void Nockback::Release()
{
}
plugininfo_t Nockback::GetPluginInfo()
{
return *g_PluginInfo;
}
bool Nockback::HandleIncomingPacket(uint16_t id, uint32_t size, void* data, void* modified, bool blocked)
{
if (id == 0x28)
{
uint8_t actionType = (uint8_t)(unpackBitsBE((unsigned char*)data, 82, 4));
if (actionType == 11)
{
uint8_t targetNum = RBUFB(data, 0x09);
uint16_t startBit = 150;
for (int i = 0; i < targetNum; i++)
{
packBitsBE((unsigned char*)data, 0, startBit + 60, 3);
if (unpackBitsBE((unsigned char*)data, startBit + 121, 1) & 0x1)
{
startBit += 37;
}
if (unpackBitsBE((unsigned char*)data, startBit + 122, 1) & 0x1)
{
startBit += 34;
}
startBit += 123;
}
}
}
return false;
}
__declspec(dllexport) double __stdcall GetInterfaceVersion(void)
{
return ASHITA_INTERFACE_VERSION;
}
__declspec(dllexport) void __stdcall CreatePluginInfo(plugininfo_t* Data)
{
g_PluginInfo = Data;
g_PluginInfo->PluginVersion = 1.05;
g_PluginInfo->InterfaceVersion = ASHITA_INTERFACE_VERSION;
g_PluginInfo->Priority = 0;
strncpy_s(g_PluginInfo->Name, "No-ckback", 256);
strncpy_s(g_PluginInfo->Author, "kjLotus", 256);
}
__declspec(dllexport) IPlugin* __stdcall CreatePlugin(void)
{
return (IPlugin*)new Nockback();
}

27
No-ckback/No-ckback.h

@ -0,0 +1,27 @@
#include "C:\Ashita 3\plugins\ADK\Ashita.h"
#include <stdint.h>
class Nockback : public IPlugin
{
private:
IAshitaCore* m_AshitaCore;
ILogManager* m_LogManager;
DWORD m_PluginId;
IDirect3DDevice8* m_Direct3DDevice;
public:
Nockback() {}
virtual ~Nockback() {}
bool Initialize(IAshitaCore* core, ILogManager* log, uint32_t id);
void Release();
plugininfo_t GetPluginInfo();
bool HandleIncomingPacket(uint16_t id, uint32_t size, void* data, void* modified, bool blocked);
};
//Exports
__declspec(dllexport) double __stdcall GetInterfaceVersion(void);
__declspec(dllexport) void __stdcall CreatePluginInfo(plugininfo_t* lpPluginData);
__declspec(dllexport) IPlugin* __stdcall CreatePlugin(void);

169
No-ckback/No-ckback.vcxproj

@ -0,0 +1,169 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{9430017C-9E01-4954-B378-81CB23EB8C31}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>Nockback</RootNamespace>
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140_xp</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>..\..\..\..\..\..\..\..\Ashita 3\plugins</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;NOCKBACK_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ModuleDefinitionFile>Exports.def</ModuleDefinitionFile>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_DEBUG;_WINDOWS;_USRDLL;NOCKBACK_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ModuleDefinitionFile>Exports.def</ModuleDefinitionFile>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>Full</Optimization>
<FunctionLevelLinking>false</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;NOCKBACK_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<StringPooling>true</StringPooling>
<ExceptionHandling>Async</ExceptionHandling>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ModuleDefinitionFile>Exports.def</ModuleDefinitionFile>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;NOCKBACK_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ModuleDefinitionFile>Exports.def</ModuleDefinitionFile>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<None Include="Exports.def" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="Main.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="DSP-Utils.h" />
<ClInclude Include="No-ckback.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

35
No-ckback/No-ckback.vcxproj.filters

@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<None Include="Exports.def">
<Filter>Source Files</Filter>
</None>
</ItemGroup>
<ItemGroup>
<ClCompile Include="Main.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="No-ckback.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="DSP-Utils.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
</Project>

1
README.md

@ -0,0 +1 @@
# No-ckback
Loading…
Cancel
Save