change to vs
2
.gitignore
vendored
@ -4,3 +4,5 @@ build/
|
|||||||
.gitignore
|
.gitignore
|
||||||
.vscode/BROWSE.VC.DB
|
.vscode/BROWSE.VC.DB
|
||||||
CheatMenu/json/versioninfo.json
|
CheatMenu/json/versioninfo.json
|
||||||
|
/Release
|
||||||
|
/CheatMenu/.obj/GTASA/Release
|
||||||
|
36
.vscode/c_cpp_properties.json
vendored
@ -1,36 +0,0 @@
|
|||||||
{
|
|
||||||
"configurations": [
|
|
||||||
{
|
|
||||||
"name": "Win32",
|
|
||||||
"includePath": [
|
|
||||||
"${workspaceFolder}/src/",
|
|
||||||
"${DIRECTX9_SDK_DIR}/Include",
|
|
||||||
"${PLUGIN_SDK_DIR}/plugin_sa",
|
|
||||||
"${PLUGIN_SDK_DIR}/plugin_sa/game_sa",
|
|
||||||
"${PLUGIN_SDK_DIR}/shared",
|
|
||||||
"${PLUGIN_SDK_DIR}/shared/game"
|
|
||||||
],
|
|
||||||
"defines": [
|
|
||||||
"CONSOLE=std::cout",
|
|
||||||
"GTASA",
|
|
||||||
"_DEBUG",
|
|
||||||
"UNICODE",
|
|
||||||
"_UNICODE",
|
|
||||||
"_CRT_SECURE_NO_WARNINGS",
|
|
||||||
"_CRT_NON_CONFORMING_SWPRINTFS;",
|
|
||||||
"GTASA;",
|
|
||||||
"_DX9_SDK_INSTALLED",
|
|
||||||
"PLUGIN_SGV_10US",
|
|
||||||
"_MBCS",
|
|
||||||
"IS_PLATFORM_WIN"
|
|
||||||
],
|
|
||||||
"windowsSdkVersion": "10.0.10240.0",
|
|
||||||
"compilerPath": "cl.exe",
|
|
||||||
"cStandard": "c99",
|
|
||||||
"cppStandard": "c++20",
|
|
||||||
"intelliSenseMode": "msvc-x86",
|
|
||||||
"configurationProvider": "ms-vscode.cmake-tools"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"version": 4
|
|
||||||
}
|
|
14
.vscode/launch.json
vendored
@ -1,14 +0,0 @@
|
|||||||
{
|
|
||||||
// Use IntelliSense to learn about possible attributes.
|
|
||||||
// Hover to view descriptions of existing attributes.
|
|
||||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
||||||
"version": "0.2.0",
|
|
||||||
"configurations": [
|
|
||||||
{
|
|
||||||
"name": "Attach",
|
|
||||||
"type": "cppvsdbg",
|
|
||||||
"request": "attach",
|
|
||||||
"processId": "${command:pickProcess}"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
86
.vscode/settings.json
vendored
@ -1,86 +0,0 @@
|
|||||||
{
|
|
||||||
"files.associations": {
|
|
||||||
"iosfwd": "cpp",
|
|
||||||
"xlocbuf": "cpp",
|
|
||||||
"filesystem": "cpp",
|
|
||||||
"xlocale": "cpp",
|
|
||||||
"xstring": "cpp",
|
|
||||||
"xutility": "cpp",
|
|
||||||
"ostream": "cpp",
|
|
||||||
"algorithm": "cpp",
|
|
||||||
"array": "cpp",
|
|
||||||
"cctype": "cpp",
|
|
||||||
"chrono": "cpp",
|
|
||||||
"clocale": "cpp",
|
|
||||||
"cmath": "cpp",
|
|
||||||
"codecvt": "cpp",
|
|
||||||
"cstddef": "cpp",
|
|
||||||
"cstdint": "cpp",
|
|
||||||
"cstdio": "cpp",
|
|
||||||
"cstdlib": "cpp",
|
|
||||||
"cstring": "cpp",
|
|
||||||
"ctime": "cpp",
|
|
||||||
"cwchar": "cpp",
|
|
||||||
"exception": "cpp",
|
|
||||||
"forward_list": "cpp",
|
|
||||||
"fstream": "cpp",
|
|
||||||
"functional": "cpp",
|
|
||||||
"initializer_list": "cpp",
|
|
||||||
"ios": "cpp",
|
|
||||||
"istream": "cpp",
|
|
||||||
"iterator": "cpp",
|
|
||||||
"limits": "cpp",
|
|
||||||
"list": "cpp",
|
|
||||||
"locale": "cpp",
|
|
||||||
"map": "cpp",
|
|
||||||
"memory": "cpp",
|
|
||||||
"new": "cpp",
|
|
||||||
"numeric": "cpp",
|
|
||||||
"ratio": "cpp",
|
|
||||||
"sstream": "cpp",
|
|
||||||
"stdexcept": "cpp",
|
|
||||||
"streambuf": "cpp",
|
|
||||||
"string": "cpp",
|
|
||||||
"system_error": "cpp",
|
|
||||||
"tuple": "cpp",
|
|
||||||
"type_traits": "cpp",
|
|
||||||
"typeinfo": "cpp",
|
|
||||||
"unordered_map": "cpp",
|
|
||||||
"utility": "cpp",
|
|
||||||
"valarray": "cpp",
|
|
||||||
"vector": "cpp",
|
|
||||||
"xfacet": "cpp",
|
|
||||||
"xfunctional": "cpp",
|
|
||||||
"xhash": "cpp",
|
|
||||||
"xiosbase": "cpp",
|
|
||||||
"xlocinfo": "cpp",
|
|
||||||
"xlocmes": "cpp",
|
|
||||||
"xlocmon": "cpp",
|
|
||||||
"xlocnum": "cpp",
|
|
||||||
"xloctime": "cpp",
|
|
||||||
"xmemory": "cpp",
|
|
||||||
"xmemory0": "cpp",
|
|
||||||
"xstddef": "cpp",
|
|
||||||
"xtr1common": "cpp",
|
|
||||||
"xtree": "cpp",
|
|
||||||
"iomanip": "cpp",
|
|
||||||
"*.def": "cpp",
|
|
||||||
"atomic": "cpp",
|
|
||||||
"compare": "cpp",
|
|
||||||
"concepts": "cpp",
|
|
||||||
"charconv": "cpp",
|
|
||||||
"condition_variable": "cpp",
|
|
||||||
"mutex": "cpp",
|
|
||||||
"optional": "cpp",
|
|
||||||
"shared_mutex": "cpp",
|
|
||||||
"thread": "cpp",
|
|
||||||
"trampoline.h": "c",
|
|
||||||
"minhook.h": "c",
|
|
||||||
"*.rh": "cpp",
|
|
||||||
"bit": "cpp",
|
|
||||||
"stop_token": "cpp",
|
|
||||||
"iostream": "cpp"
|
|
||||||
},
|
|
||||||
"C_Cpp.errorSquiggles": "Enabled",
|
|
||||||
"C_Cpp.intelliSenseEngineFallback": "Enabled"
|
|
||||||
}
|
|
196
CMakeLists.txt
@ -1,196 +0,0 @@
|
|||||||
cmake_minimum_required(VERSION 3.16 FATAL_ERROR)
|
|
||||||
set(PROJECT_NAME CheatMenu)
|
|
||||||
project(${PROJECT_NAME} CXX)
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# Configure paths
|
|
||||||
################################################################################
|
|
||||||
set(GTA_SA_DIR F:/GTASanAndreas)
|
|
||||||
|
|
||||||
# Can ignore the below paths if you got them in system paths
|
|
||||||
set(PLUGIN_SDK_DIR $ENV{PLUGIN_SDK_DIR})
|
|
||||||
set(DIRECTX9_SDK_DIR $ENV{DIRECTX9_SDK_DIR})
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# Required projects
|
|
||||||
################################################################################
|
|
||||||
add_subdirectory(deps)
|
|
||||||
add_subdirectory(tests)
|
|
||||||
add_subdirectory(tools)
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# Source groups
|
|
||||||
################################################################################
|
|
||||||
set(src_files
|
|
||||||
"src/Animation.cpp"
|
|
||||||
"src/Animation.h"
|
|
||||||
"src/CheatMenu.cpp"
|
|
||||||
"src/CheatMenu.h"
|
|
||||||
"src/Game.cpp"
|
|
||||||
"src/Game.h"
|
|
||||||
"src/Hook.cpp"
|
|
||||||
"src/Hook.h"
|
|
||||||
"src/Json.cpp"
|
|
||||||
"src/Json.h"
|
|
||||||
"src/Menu.cpp"
|
|
||||||
"src/Menu.h"
|
|
||||||
"src/MenuInfo.h"
|
|
||||||
"src/MoreEvents.cpp"
|
|
||||||
"src/MoreEvents.h"
|
|
||||||
"src/Neon.cpp"
|
|
||||||
"src/Neon.h"
|
|
||||||
"src/Paint.cpp"
|
|
||||||
"src/Paint.h"
|
|
||||||
"src/pch.cpp"
|
|
||||||
"src/pch.h"
|
|
||||||
"src/Ped.cpp"
|
|
||||||
"src/Ped.h"
|
|
||||||
"src/Player.cpp"
|
|
||||||
"src/Player.h"
|
|
||||||
"src/Teleport.cpp"
|
|
||||||
"src/Teleport.h"
|
|
||||||
"src/Ui.cpp"
|
|
||||||
"src/Ui.h"
|
|
||||||
"src/Updater.h"
|
|
||||||
"src/Updater.cpp"
|
|
||||||
"src/Util.cpp"
|
|
||||||
"src/Util.h"
|
|
||||||
"src/Vehicle.cpp"
|
|
||||||
"src/Vehicle.h"
|
|
||||||
"src/Visual.cpp"
|
|
||||||
"src/Visual.h"
|
|
||||||
"src/VKeys.h"
|
|
||||||
"src/Weapon.cpp"
|
|
||||||
"src/Weapon.h"
|
|
||||||
)
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# Target
|
|
||||||
################################################################################
|
|
||||||
add_library(${PROJECT_NAME} SHARED ${src_files})
|
|
||||||
|
|
||||||
target_precompile_headers(${PROJECT_NAME} PUBLIC "src/pch.h")
|
|
||||||
|
|
||||||
string(CONCAT "MSVC_RUNTIME_LIBRARY_STR"
|
|
||||||
$<$<CONFIG:Release>:
|
|
||||||
MultiThreaded
|
|
||||||
>
|
|
||||||
$<$<CONFIG:Debug>:
|
|
||||||
MultiThreadedDebug
|
|
||||||
>
|
|
||||||
)
|
|
||||||
|
|
||||||
set_target_properties(${PROJECT_NAME} PROPERTIES
|
|
||||||
RUNTIME_OUTPUT_DIRECTORY "${GTA_SA_DIR}/$<0:>/"
|
|
||||||
SUFFIX ".asi"
|
|
||||||
MSVC_RUNTIME_LIBRARY ${MSVC_RUNTIME_LIBRARY_STR}
|
|
||||||
)
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# Include directories
|
|
||||||
################################################################################
|
|
||||||
include_directories(
|
|
||||||
"${PLUGIN_SDK_DIR}/plugin_sa"
|
|
||||||
"${PLUGIN_SDK_DIR}/plugin_sa/game_sa"
|
|
||||||
"${PLUGIN_SDK_DIR}/shared"
|
|
||||||
"${PLUGIN_SDK_DIR}/shared/game"
|
|
||||||
"${DIRECTX9_SDK_DIR}/include"
|
|
||||||
"deps"
|
|
||||||
)
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# Compile definitions
|
|
||||||
################################################################################
|
|
||||||
target_compile_definitions(${PROJECT_NAME} PRIVATE
|
|
||||||
"$<$<CONFIG:Release>:"
|
|
||||||
"_NDEBUG"
|
|
||||||
">"
|
|
||||||
"$<$<CONFIG:Debug>:"
|
|
||||||
"_DEBUG"
|
|
||||||
">"
|
|
||||||
"_CRT_SECURE_NO_WARNINGS;"
|
|
||||||
"_CRT_NON_CONFORMING_SWPRINTFS;"
|
|
||||||
"GTASA;"
|
|
||||||
"_LA_SUPPORT;"
|
|
||||||
"_DX9_SDK_INSTALLED;"
|
|
||||||
"PLUGIN_SGV_10US;"
|
|
||||||
"_MBCS"
|
|
||||||
"IS_PLATFORM_WIN"
|
|
||||||
)
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# Compile and link options
|
|
||||||
################################################################################
|
|
||||||
if(MSVC)
|
|
||||||
target_compile_options(${PROJECT_NAME} PRIVATE
|
|
||||||
$<$<CONFIG:Release>:
|
|
||||||
/O2;
|
|
||||||
/Oi;
|
|
||||||
/Gy
|
|
||||||
>
|
|
||||||
$<$<CONFIG:Debug>:
|
|
||||||
/Od
|
|
||||||
/DEBUG:FULL
|
|
||||||
>
|
|
||||||
$<$<COMPILE_LANGUAGE:CXX>:/std:c++latest>
|
|
||||||
/sdl-;
|
|
||||||
/W3;
|
|
||||||
${DEFAULT_CXX_DEBUG_INFORMATION_FORMAT};
|
|
||||||
${DEFAULT_CXX_EXCEPTION_HANDLING}
|
|
||||||
/w44005
|
|
||||||
)
|
|
||||||
string(CONCAT FILE_CL_OPTIONS
|
|
||||||
"/Y-"
|
|
||||||
)
|
|
||||||
target_link_options(${PROJECT_NAME} PRIVATE
|
|
||||||
$<$<CONFIG:Release>:
|
|
||||||
/OPT:REF;
|
|
||||||
/LTCG;
|
|
||||||
/OPT:ICF;
|
|
||||||
>
|
|
||||||
$<$<CONFIG:Debug>:
|
|
||||||
/DEBUG:FULL;
|
|
||||||
/SAFESEH:NO;
|
|
||||||
>
|
|
||||||
/SUBSYSTEM:WINDOWS
|
|
||||||
)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# Pre build events
|
|
||||||
################################################################################
|
|
||||||
add_custom_command(
|
|
||||||
TARGET ${PROJECT_NAME}
|
|
||||||
PRE_BUILD
|
|
||||||
COMMAND taskkill /f /fi "imagename eq gta_sa.exe"
|
|
||||||
)
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# Dependencies
|
|
||||||
################################################################################
|
|
||||||
target_link_libraries(${PROJECT_NAME} PUBLIC
|
|
||||||
optimized plugin
|
|
||||||
debug plugin_d
|
|
||||||
d3d9
|
|
||||||
d3dx9
|
|
||||||
d3d11
|
|
||||||
d3dx11
|
|
||||||
XInput9_1_0
|
|
||||||
urlmon
|
|
||||||
Depend
|
|
||||||
)
|
|
||||||
|
|
||||||
target_link_directories(${PROJECT_NAME} PUBLIC
|
|
||||||
"${PLUGIN_SDK_DIR}/output/lib/"
|
|
||||||
"${DIRECTX9_SDK_DIR}/lib/x86/"
|
|
||||||
"$<$<CONFIG:Release>:"
|
|
||||||
"deps/Release/"
|
|
||||||
">"
|
|
||||||
"$<$<CONFIG:Debug>:"
|
|
||||||
"deps/Debug/"
|
|
||||||
">"
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
62
CheatMenu.sln
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 16
|
||||||
|
VisualStudioVersion = 16.0.31129.286
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Depend", "Depend\Depend.vcxproj", "{C1AF1B92-52FA-42FF-9101-443D6B75F2A5}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CheatMenu", "CheatMenu\CheatMenu.vcxproj", "{B212DDA4-2A8E-45B2-914D-7BEEB31D06B1}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{C1AF1B92-52FA-42FF-9101-443D6B75F2A5} = {C1AF1B92-52FA-42FF-9101-443D6B75F2A5}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|x64 = Debug|x64
|
||||||
|
Debug|x86 = Debug|x86
|
||||||
|
GTASA Release|x64 = GTASA Release|x64
|
||||||
|
GTASA Release|x86 = GTASA Release|x86
|
||||||
|
GTASA zDebug|x64 = GTASA zDebug|x64
|
||||||
|
GTASA zDebug|x86 = GTASA zDebug|x86
|
||||||
|
Release|x64 = Release|x64
|
||||||
|
Release|x86 = Release|x86
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{C1AF1B92-52FA-42FF-9101-443D6B75F2A5}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{C1AF1B92-52FA-42FF-9101-443D6B75F2A5}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{C1AF1B92-52FA-42FF-9101-443D6B75F2A5}.Debug|x86.ActiveCfg = Debug|Win32
|
||||||
|
{C1AF1B92-52FA-42FF-9101-443D6B75F2A5}.Debug|x86.Build.0 = Debug|Win32
|
||||||
|
{C1AF1B92-52FA-42FF-9101-443D6B75F2A5}.GTASA Release|x64.ActiveCfg = Release|x64
|
||||||
|
{C1AF1B92-52FA-42FF-9101-443D6B75F2A5}.GTASA Release|x64.Build.0 = Release|x64
|
||||||
|
{C1AF1B92-52FA-42FF-9101-443D6B75F2A5}.GTASA Release|x86.ActiveCfg = Release|Win32
|
||||||
|
{C1AF1B92-52FA-42FF-9101-443D6B75F2A5}.GTASA Release|x86.Build.0 = Release|Win32
|
||||||
|
{C1AF1B92-52FA-42FF-9101-443D6B75F2A5}.GTASA zDebug|x64.ActiveCfg = Debug|x64
|
||||||
|
{C1AF1B92-52FA-42FF-9101-443D6B75F2A5}.GTASA zDebug|x64.Build.0 = Debug|x64
|
||||||
|
{C1AF1B92-52FA-42FF-9101-443D6B75F2A5}.GTASA zDebug|x86.ActiveCfg = Debug|Win32
|
||||||
|
{C1AF1B92-52FA-42FF-9101-443D6B75F2A5}.GTASA zDebug|x86.Build.0 = Debug|Win32
|
||||||
|
{C1AF1B92-52FA-42FF-9101-443D6B75F2A5}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{C1AF1B92-52FA-42FF-9101-443D6B75F2A5}.Release|x64.Build.0 = Release|x64
|
||||||
|
{C1AF1B92-52FA-42FF-9101-443D6B75F2A5}.Release|x86.ActiveCfg = Release|Win32
|
||||||
|
{C1AF1B92-52FA-42FF-9101-443D6B75F2A5}.Release|x86.Build.0 = Release|Win32
|
||||||
|
{B212DDA4-2A8E-45B2-914D-7BEEB31D06B1}.Debug|x64.ActiveCfg = GTASA Release|Win32
|
||||||
|
{B212DDA4-2A8E-45B2-914D-7BEEB31D06B1}.Debug|x64.Build.0 = GTASA Release|Win32
|
||||||
|
{B212DDA4-2A8E-45B2-914D-7BEEB31D06B1}.Debug|x86.ActiveCfg = GTASA zDebug|Win32
|
||||||
|
{B212DDA4-2A8E-45B2-914D-7BEEB31D06B1}.Debug|x86.Build.0 = GTASA zDebug|Win32
|
||||||
|
{B212DDA4-2A8E-45B2-914D-7BEEB31D06B1}.GTASA Release|x64.ActiveCfg = GTASA Release|Win32
|
||||||
|
{B212DDA4-2A8E-45B2-914D-7BEEB31D06B1}.GTASA Release|x86.ActiveCfg = GTASA Release|Win32
|
||||||
|
{B212DDA4-2A8E-45B2-914D-7BEEB31D06B1}.GTASA Release|x86.Build.0 = GTASA Release|Win32
|
||||||
|
{B212DDA4-2A8E-45B2-914D-7BEEB31D06B1}.GTASA zDebug|x64.ActiveCfg = GTASA zDebug|Win32
|
||||||
|
{B212DDA4-2A8E-45B2-914D-7BEEB31D06B1}.GTASA zDebug|x86.ActiveCfg = GTASA zDebug|Win32
|
||||||
|
{B212DDA4-2A8E-45B2-914D-7BEEB31D06B1}.GTASA zDebug|x86.Build.0 = GTASA zDebug|Win32
|
||||||
|
{B212DDA4-2A8E-45B2-914D-7BEEB31D06B1}.Release|x64.ActiveCfg = GTASA Release|Win32
|
||||||
|
{B212DDA4-2A8E-45B2-914D-7BEEB31D06B1}.Release|x64.Build.0 = GTASA Release|Win32
|
||||||
|
{B212DDA4-2A8E-45B2-914D-7BEEB31D06B1}.Release|x86.ActiveCfg = GTASA Release|Win32
|
||||||
|
{B212DDA4-2A8E-45B2-914D-7BEEB31D06B1}.Release|x86.Build.0 = GTASA Release|Win32
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {5A46C62F-6D31-466C-B1B8-E866BA5176F3}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
150
CheatMenu/CheatMenu.vcxproj
Normal file
@ -0,0 +1,150 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="16.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="GTASA Release|Win32">
|
||||||
|
<Configuration>GTASA Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="GTASA zDebug|Win32">
|
||||||
|
<Configuration>GTASA zDebug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{B212DDA4-2A8E-45B2-914D-7BEEB31D06B1}</ProjectGuid>
|
||||||
|
<IgnoreWarnCompileDuplicatedFilename>true</IgnoreWarnCompileDuplicatedFilename>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>CheatMenu</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='GTASA Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v142</PlatformToolset>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='GTASA zDebug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<PlatformToolset>v142</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='GTASA 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)'=='GTASA zDebug|Win32'">
|
||||||
|
<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)'=='GTASA Release|Win32'">
|
||||||
|
<OutDir>$(GTA_SA_DIR)\</OutDir>
|
||||||
|
<IntDir>$(ProjectDir).obj\GTASA\Release\</IntDir>
|
||||||
|
<TargetName>CheatMenu</TargetName>
|
||||||
|
<TargetExt>.asi</TargetExt>
|
||||||
|
<IncludePath>$(IncludePath);$(DIRECTX9_SDK_DIR)\Include\</IncludePath>
|
||||||
|
<LibraryPath>$(LibraryPath);$(DIRECTX9_SDK_DIR)\Lib\x86\</LibraryPath>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='GTASA zDebug|Win32'">
|
||||||
|
<OutDir>$(GTA_SA_DIR)\</OutDir>
|
||||||
|
<IntDir>$(ProjectDir).obj\GTASA\Debug\</IntDir>
|
||||||
|
<TargetName>CheatMenu_d</TargetName>
|
||||||
|
<TargetExt>.asi</TargetExt>
|
||||||
|
<IncludePath>$(IncludePath);$(DIRECTX9_SDK_DIR)\Include\</IncludePath>
|
||||||
|
<LibraryPath>$(LibraryPath);$(DIRECTX9_SDK_DIR)\Lib\x86\</LibraryPath>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='GTASA Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<SDLCheck>false</SDLCheck>
|
||||||
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<AdditionalIncludeDirectories>$(PLUGIN_SDK_DIR)\plugin_sa\;$(PLUGIN_SDK_DIR)\plugin_sa\game_sa\;$(PLUGIN_SDK_DIR)\shared\;$(PLUGIN_SDK_DIR)\shared\game\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_NDEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_NON_CONFORMING_SWPRINTFS;GTASA;GTAGAME_NAME="San Andreas";GTAGAME_ABBR="SA";GTAGAME_ABBRLOW="sa";GTAGAME_PROTAGONISTNAME="CJ";GTAGAME_CITYNAME="San Andreas";_DX9_SDK_INSTALLED;PLUGIN_SGV_10US;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<LanguageStandard>stdcpplatest</LanguageStandard>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<GenerateDebugInformation>No</GenerateDebugInformation>
|
||||||
|
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
|
||||||
|
<AdditionalLibraryDirectories>$(PLUGIN_SDK_DIR)\output\lib\;$(SolutionDir)\Release\;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>urlmon.lib;plugin.lib;d3d9.lib;d3dx9.lib;d3d11.lib;d3dx11.lib;XInput9_1_0.lib;Depend.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<IgnoreAllDefaultLibraries>
|
||||||
|
</IgnoreAllDefaultLibraries>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='GTASA zDebug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<SDLCheck>false</SDLCheck>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<AdditionalIncludeDirectories>$(PLUGIN_SDK_DIR)\plugin_sa\;$(PLUGIN_SDK_DIR)\plugin_sa\game_sa\;$(PLUGIN_SDK_DIR)\shared\;$(PLUGIN_SDK_DIR)\shared\game\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;_CRT_SECURE_NO_WARNINGS;_CRT_NON_CONFORMING_SWPRINTFS;GTASA;GTAGAME_NAME="San Andreas";GTAGAME_ABBR="SA";GTAGAME_ABBRLOW="sa";GTAGAME_PROTAGONISTNAME="CJ";GTAGAME_CITYNAME="San Andreas";_DX9_SDK_INSTALLED;PLUGIN_SGV_10US;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<LanguageStandard>stdcpplatest</LanguageStandard>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<GenerateDebugInformation>Debug</GenerateDebugInformation>
|
||||||
|
<LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>
|
||||||
|
<AdditionalLibraryDirectories>$(SolutionDir)\Debug\;$(PLUGIN_SDK_DIR)\output\lib\;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>urlmon.lib;plugin_d.lib;d3d9.lib;d3dx9.lib;Depend.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="Animation.cpp" />
|
||||||
|
<ClCompile Include="CheatMenu.cpp" />
|
||||||
|
<ClCompile Include="Game.cpp" />
|
||||||
|
<ClCompile Include="Hook.cpp" />
|
||||||
|
<ClCompile Include="Json.cpp" />
|
||||||
|
<ClCompile Include="Menu.cpp" />
|
||||||
|
<ClCompile Include="MoreEvents.cpp" />
|
||||||
|
<ClCompile Include="Neon.cpp" />
|
||||||
|
<ClCompile Include="Paint.cpp" />
|
||||||
|
<ClCompile Include="pch.cpp" />
|
||||||
|
<ClCompile Include="Ped.cpp" />
|
||||||
|
<ClCompile Include="Player.cpp" />
|
||||||
|
<ClCompile Include="Teleport.cpp" />
|
||||||
|
<ClCompile Include="Ui.cpp" />
|
||||||
|
<ClCompile Include="Updater.cpp" />
|
||||||
|
<ClCompile Include="Util.cpp" />
|
||||||
|
<ClCompile Include="Vehicle.cpp" />
|
||||||
|
<ClCompile Include="Visual.cpp" />
|
||||||
|
<ClCompile Include="Weapon.cpp" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="Animation.h" />
|
||||||
|
<ClInclude Include="CheatMenu.h" />
|
||||||
|
<ClInclude Include="Game.h" />
|
||||||
|
<ClInclude Include="Hook.h" />
|
||||||
|
<ClInclude Include="Json.h" />
|
||||||
|
<ClInclude Include="Menu.h" />
|
||||||
|
<ClInclude Include="MenuInfo.h" />
|
||||||
|
<ClInclude Include="MoreEvents.h" />
|
||||||
|
<ClInclude Include="Neon.h" />
|
||||||
|
<ClInclude Include="Paint.h" />
|
||||||
|
<ClInclude Include="pch.h" />
|
||||||
|
<ClInclude Include="Ped.h" />
|
||||||
|
<ClInclude Include="Player.h" />
|
||||||
|
<ClInclude Include="Teleport.h" />
|
||||||
|
<ClInclude Include="TimeCycle.h" />
|
||||||
|
<ClInclude Include="Ui.h" />
|
||||||
|
<ClInclude Include="Updater.h" />
|
||||||
|
<ClInclude Include="Util.h" />
|
||||||
|
<ClInclude Include="VehExtender.h" />
|
||||||
|
<ClInclude Include="Vehicle.h" />
|
||||||
|
<ClInclude Include="Visual.h" />
|
||||||
|
<ClInclude Include="VKeys.h" />
|
||||||
|
<ClInclude Include="Weapon.h" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
49
CheatMenu/CheatMenu.vcxproj.filters
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="CheatMenu.cpp" />
|
||||||
|
<ClCompile Include="Animation.cpp" />
|
||||||
|
<ClCompile Include="Game.cpp" />
|
||||||
|
<ClCompile Include="Hook.cpp" />
|
||||||
|
<ClCompile Include="Json.cpp" />
|
||||||
|
<ClCompile Include="Menu.cpp" />
|
||||||
|
<ClCompile Include="MoreEvents.cpp" />
|
||||||
|
<ClCompile Include="Neon.cpp" />
|
||||||
|
<ClCompile Include="Paint.cpp" />
|
||||||
|
<ClCompile Include="pch.cpp" />
|
||||||
|
<ClCompile Include="Ped.cpp" />
|
||||||
|
<ClCompile Include="Player.cpp" />
|
||||||
|
<ClCompile Include="Teleport.cpp" />
|
||||||
|
<ClCompile Include="Ui.cpp" />
|
||||||
|
<ClCompile Include="Updater.cpp" />
|
||||||
|
<ClCompile Include="Util.cpp" />
|
||||||
|
<ClCompile Include="Vehicle.cpp" />
|
||||||
|
<ClCompile Include="Visual.cpp" />
|
||||||
|
<ClCompile Include="Weapon.cpp" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="Animation.h" />
|
||||||
|
<ClInclude Include="CheatMenu.h" />
|
||||||
|
<ClInclude Include="Game.h" />
|
||||||
|
<ClInclude Include="Hook.h" />
|
||||||
|
<ClInclude Include="Json.h" />
|
||||||
|
<ClInclude Include="Menu.h" />
|
||||||
|
<ClInclude Include="MenuInfo.h" />
|
||||||
|
<ClInclude Include="MoreEvents.h" />
|
||||||
|
<ClInclude Include="Neon.h" />
|
||||||
|
<ClInclude Include="Paint.h" />
|
||||||
|
<ClInclude Include="pch.h" />
|
||||||
|
<ClInclude Include="Ped.h" />
|
||||||
|
<ClInclude Include="Player.h" />
|
||||||
|
<ClInclude Include="Teleport.h" />
|
||||||
|
<ClInclude Include="TimeCycle.h" />
|
||||||
|
<ClInclude Include="Ui.h" />
|
||||||
|
<ClInclude Include="Updater.h" />
|
||||||
|
<ClInclude Include="Util.h" />
|
||||||
|
<ClInclude Include="VehExtender.h" />
|
||||||
|
<ClInclude Include="Vehicle.h" />
|
||||||
|
<ClInclude Include="Visual.h" />
|
||||||
|
<ClInclude Include="VKeys.h" />
|
||||||
|
<ClInclude Include="Weapon.h" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
4
CheatMenu/CheatMenu.vcxproj.user
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup />
|
||||||
|
</Project>
|
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 9.6 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 9.5 KiB After Width: | Height: | Size: 9.5 KiB |
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 7.8 KiB |
Before Width: | Height: | Size: 9.4 KiB After Width: | Height: | Size: 9.4 KiB |
Before Width: | Height: | Size: 8.4 KiB After Width: | Height: | Size: 8.4 KiB |
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 7.8 KiB |
Before Width: | Height: | Size: 8.7 KiB After Width: | Height: | Size: 8.7 KiB |
Before Width: | Height: | Size: 9.4 KiB After Width: | Height: | Size: 9.4 KiB |
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.0 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 6.1 KiB |
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 6.2 KiB |
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 6.1 KiB |
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 6.1 KiB |
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 5.5 KiB |
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.0 KiB |
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.0 KiB |
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 6.9 KiB |
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 6.6 KiB |
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |