mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
Merge pull request #199 from YesseYesseY/master
This commit is contained in:
29
.clangd
Normal file
29
.clangd
Normal file
@@ -0,0 +1,29 @@
|
||||
# NOTE: replace /home/yes with your home folder, it won't recognize ~ as the home folder
|
||||
# I also have no idea what most flags after Wno-prgma-pack does. i kinda just built it in visual studio then copied flags
|
||||
|
||||
CompileFlags:
|
||||
Compiler: clang-cl
|
||||
Add:
|
||||
- "-I/home/yes/msvc/Windows Kits/10/Include/10.0.22621.0/um"
|
||||
- "-I/home/yes/msvc/Windows Kits/10/Include/10.0.22621.0/shared"
|
||||
- "-I/home/yes/msvc/Windows Kits/10/Include/10.0.22621.0/ucrt"
|
||||
- "-I/home/yes/msvc/Windows Kits/10/Include/10.0.22621.0/winrt"
|
||||
- "-I/home/yes/msvc/Windows Kits/10/Include/10.0.22621.0/km"
|
||||
- "-I/home/yes/msvc/VC/Tools/MSVC/14.43.34808/atlmfc/include/"
|
||||
- "-I/home/yes/msvc/VC/Tools/MSVC/14.43.34808/include/"
|
||||
- "-I../vendor"
|
||||
- "/std:c++latest"
|
||||
- "-ferror-limit=0"
|
||||
- "-Wno-pragma-pack"
|
||||
- "/permissive-"
|
||||
- "/EHsc"
|
||||
- "/MT"
|
||||
- "/GS"
|
||||
- "/Gy"
|
||||
- "Gm-"
|
||||
- "/D _UNICODE"
|
||||
- "/D UNICODE"
|
||||
- "/fp:precise"
|
||||
- "/Zc:wchar_t"
|
||||
- "/Zc:forScope"
|
||||
- "/Zc:inline"
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -385,3 +385,4 @@ Project Reboot 3.0/x64/Release/Project Reboot 3.0.iobj
|
||||
*.tlog
|
||||
*.ifc
|
||||
*.pdb
|
||||
Build/
|
||||
|
||||
@@ -53,7 +53,7 @@ public:
|
||||
float& GetMinNetUpdateFrequency();
|
||||
const AActor* GetNetOwner() const;
|
||||
void GetActorEyesViewPoint(FVector* OutLocation, FRotator* OutRotation) const;
|
||||
AActor* GetClosestActor(UClass* ActorClass, float DistMax, std::function<bool(AActor*)> AdditionalCheck = [&](AActor*) { return true; });
|
||||
AActor* GetClosestActor(UClass* ActorClass, float DistMax, std::function<bool(AActor*)> AdditionalCheck = [](AActor*) { return true; });
|
||||
|
||||
bool IsRelevancyOwnerFor(const AActor* ReplicatedActor, const AActor* ActorOwner, const AActor* ConnectionActor) const
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "Actor.h"
|
||||
#include "TSubClassOf.h"
|
||||
#include "TSubclassOf.h"
|
||||
|
||||
class APawn : public AActor
|
||||
{
|
||||
|
||||
@@ -36,7 +36,8 @@ template <typename SetType>
|
||||
class TSet
|
||||
{
|
||||
private:
|
||||
friend TSparseArray;
|
||||
template <typename>
|
||||
friend class TSparseArray;
|
||||
|
||||
public:
|
||||
typedef TSetElement<SetType> ElementType;
|
||||
|
||||
@@ -819,6 +819,9 @@ static inline uint64 FindCompletePickupAnimation()
|
||||
{
|
||||
auto addr = Memcury::Scanner::FindPattern("48 89 5C 24 ? 48 89 74 24 ? 55 57 41 57 48 8D AC 24 ? ? ? ? 48 81 EC ? ? ? ? 48 8B 05 ? ? ? ? 48 33 C4 48 89 85 ? ? ? ? 48 8B B9", false).Get(); // 19.10;
|
||||
|
||||
if (!addr)
|
||||
addr = Memcury::Scanner::FindPattern("48 89 5C 24 ? 48 89 74 24 ? 55 57 41 54 48 8D AC 24 ? ? ? ? 48 81 EC A0 01 00 00", false).Get(); // 19.01
|
||||
|
||||
if (!addr)
|
||||
addr = Memcury::Scanner::FindPattern("48 8B C4 48 89 58 10 48 89 70 18 48 89 78 20 55 41 54 41 55 41 56 41 57 48 8D A8 ? ? ? ? 48 81 EC ? ? ? ? 48 8B 05 ? ? ? ? 48 33 C4 48 89 85 ? ? ? ? 48 8B B9 ? ? ? ? 45 33 E4 48 8B D9 48 85 FF 74 0F").Get(); // 20.40
|
||||
|
||||
|
||||
6
build-linux.sh
Executable file
6
build-linux.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
# To run this you need to setup msvc for wine https://github.com/mstorsjo/msvc-wine
|
||||
# I haven't setup the .clangd file yet so it's gonna be a pain to program in if you're using clangd tho
|
||||
|
||||
msbuild "./Project Reboot 3.0/Project Reboot 3.0.vcxproj" /p:configuration=Release /p:platform=x64 /p:OutDir=../Build
|
||||
Reference in New Issue
Block a user