PixieCore
2be140f09d
Update rtech_utils.cpp
2022-07-10 13:24:48 +02:00
PixieCore
afc312d86d
Removed s_pBitsPerPixelWord and implemented it properly.
2022-07-10 13:11:48 +02:00
PixieCore
0eec5c6361
Updated RTech.
...
* Further cleanup of RTech::CreateDXTexture.
* New field in RTechTextureInfo_t which counts the total streamed mips.
* Added a few comments.
2022-07-09 10:41:02 +02:00
Kawe Mazidjatari
59eeec656a
Guard RTech::CreateDXTexture out for S0/S1
2022-07-08 23:50:38 +02:00
Kawe Mazidjatari
e14934d244
Fix persistence state for s0/s1 builds
...
CVEngineServer::IsPersistenceAvailable() is inline with Persistence_SetXP in S0 and S1. the virtual function never gets fired.
The approach for S0/S1 will call CVEngineServer::IsPersistenceAvailable() when Persistence_SetXP() is ran (the first function to ever use pClient->m_nPersistenceState after the SendServerInfo query).
2022-07-08 23:42:28 +02:00
PixieCore
c4977a39aa
Add field to RTechTextureInfo_t.
2022-07-08 23:38:33 +02:00
rexx
d64079fd6b
enable CreateDXTexture hook
2022-07-08 22:33:43 +01:00
PixieCore
931670e0ac
Moved dxgiFormat further down.
2022-07-08 23:19:53 +02:00
PixieCore
d51ceddf38
RTech::CreateDXTexture cleanup.
...
* Separated RPakTextureHeader_t and made an RTech version.
* Fixed up RTechTextureInfo_t struct.
* Still needs testing with 4K textures.
2022-07-08 23:18:15 +02:00
PixieCore
6d916ae2c9
Merge branch 'indev' of https://github.com/Mauler125/r5sdk into indev
2022-07-08 20:31:33 +02:00
PixieCore
ff7ae51718
RTech::CreateDXTexture works now.
...
* Will clean up the function next.
2022-07-08 20:31:27 +02:00
Kawe Mazidjatari
6b7a1f62e6
Fix declaration
...
Add missing optimizations belonging to previous commit.
2022-07-08 20:18:40 +02:00
Kawe Mazidjatari
bbf7896218
Move GetBoxCorners to mathlib
...
Renamed to 'PointsFromAngledBox' (no longer adds origin by default).
2022-07-08 20:17:30 +02:00
Kawe Mazidjatari
75abedc711
New custom math functions
...
* AngleCompose (compose angle from 2 angles).
* AngleLerp (linearly interpolate first angle to second).
* AngleInverse (invert input angle).
2022-07-08 16:25:20 +02:00
Kawe Mazidjatari
86c9ac5292
Upgrade mathlib to latest
...
Latest SourceSDK MathLib with minor modifications.
2022-07-08 00:55:01 +02:00
Kawe Mazidjatari
d8a45ae563
Overlay improvements
...
* Move render utils to dedicated file.
* Implement more render/mesh utils.
* Added structure for OverlayTriangle_t, OverlaySweptBox_t and OverlayCapsule_t.
OverlayCapsule_t has been modified to accommodate the size in r5 (2 new vectors).
2022-07-07 21:31:00 +02:00
PixieCore
0463647268
Do proper checks if Client Instance is valid
2022-07-07 20:35:49 +02:00
PixieCore
ac55e6c142
Fix debug compile
2022-07-06 21:57:00 +02:00
Kawe Mazidjatari
7d89a42b56
Mathlib implementation
...
SourceSDK mathlib port with light modifications.
Renamed Vector to Vector3D (to avoid confusion with std::vector (declared as vector) and Vector2D/Vector4D).
2022-07-06 21:11:32 +02:00
Kawe Mazidjatari
2af10efe23
Temporary RenderBox
2022-07-06 14:41:34 +02:00
Kawe Mazidjatari
e04c165d17
Return size_t for 'con_suggestion_limit' in 'CConsole::FindFromPartial'
2022-07-06 11:42:12 +02:00
Kawe Mazidjatari
e45cba48be
Box overlay progress
2022-07-06 11:22:37 +02:00
PixieCore
1b2c0cecd0
CShaderGlue changes and RTech implementation.
...
* Added RTech::LoadShaderSet for the asset load routine
* Grabbing CShaderGlue::SetupShader and CShaderGlue::m_pVTable dynamically now
* Everything verified for every season, cross-compatible!
2022-07-04 22:52:10 +02:00
Amos
fb0795c789
Fix dedicated compile
2022-07-04 01:08:36 +02:00
PixieCore
8860d9b1b8
fix compilation
2022-07-03 22:57:07 +02:00
PixieCore
2b1374cff8
Added CShaderGlue VTable context
2022-07-03 22:44:25 +02:00
PixieCore
1e2bfe6dd2
90% Fully reversed CShaderGlue
2022-07-03 21:55:35 +02:00
Kawe Mazidjatari
becf8eb6a5
Use size_t for SDK_ARRAYSIZE instead
...
sizeof() returns a size_t.
2022-07-03 19:18:23 +02:00
Kawe Mazidjatari
b075977dd7
Add new member to SQVM struct
...
'_nnativecalls' used in 'SQVM::CallNative()' [r5apex.exe+10A05F0].
2022-07-03 15:57:58 +02:00
PixieCore
6a90314fc1
Update cshaderglue.h
2022-07-03 13:57:24 +02:00
PixieCore
540b282998
Remove redundant function.
2022-07-03 13:05:14 +02:00
Kawe Mazidjatari
4323f0273d
Dynamically get Rui debug font face
...
No longer hardcoded to ArameMono (default cfg's are set to ArameMono still).
2022-07-03 11:33:42 +02:00
Kawe Mazidjatari
e05c9c787d
Draw the actual simulation tick on overlay
2022-07-03 11:03:25 +02:00
PixieCore
f614ed5140
New CMemory function and vgui comments.
...
* CMemory::FindAllCallReferences: Get all function calls to a function from the supplied sectioBase and sectionSize, useful to mass patch calls to a function.
2022-07-02 19:08:35 +02:00
rexx
6f4d69a776
fix crash from pixel's merge
2022-07-01 22:52:55 +01:00
Kawe Mazidjatari
eca293e551
Flip order between GetServerMap and GetServerPlaylist
2022-07-01 23:37:27 +02:00
Kawe Mazidjatari
1ce2a920db
Merge branch 'indev' of https://github.com/Mauler125/r5sdk into indev
2022-07-01 23:33:59 +02:00
rexx
bd79e805b5
material debug info overlay ( #70 )
...
* material debug info overlay
* add x/y offset convars
* change flags to signature
flags is static?
* Update vgui_debugpanel.cpp
Co-authored-by: PixieCore <41352111+IcePixelx@users.noreply.github.com>
2022-07-01 23:33:48 +02:00
Kawe Mazidjatari
6b48d42609
Adapt new master server features to SQVM
...
* Adapted current/max players to SQVM.
* Improved exception handling in SQVM.
2022-07-01 23:33:47 +02:00
PixieCore
3efd7ece3b
Changed a datatype in CShaderGlue
2022-07-01 22:53:46 +02:00
PixieCore
2e559863a8
CMaterialGlue and CShaderGlue
...
* Cleaned up CMaterialGlue
* Added slight implementation of CShaderGlue
2022-07-01 22:50:22 +02:00
Kawe Mazidjatari
158ec96d55
Move SSE/SSE2 tests to end of query
...
If the test fails we could still see the hardware.
2022-07-01 19:51:43 +02:00
Kawe Mazidjatari
cdcc87b54b
Renamed master server related stuff
2022-07-01 10:29:27 +02:00
Kawe Mazidjatari
d417b60e69
Near finished master server improvements
...
* Added working players/maxplayers fields for master server.
* Fixed popstylevar assert in CBrowser (SetStyleVar and the corresponding PopStyleVar where not within the same scope).
2022-07-01 02:20:47 +02:00
Kawe Mazidjatari
59f43d0157
Slight cleanup/improvements for CSocketCreator
2022-06-30 20:21:15 +02:00
Kawe Mazidjatari
fd64556462
Find pattern instead of using offsets
2022-06-30 20:20:32 +02:00
Kawe Mazidjatari
e17d72571d
Merge branch 'indev' into pylon_new
2022-06-30 20:19:13 +02:00
Amos
1186533652
Use Squirrel type alias
2022-06-30 11:30:11 +02:00
Amos
69b385a21a
Change type to int in for loop
...
Tests against int, not size_t.
2022-06-30 11:29:36 +02:00
PixieCore
a2cb0b62c8
Macro for ArraySizes and CFactory Methods are virtual now for later usage.
2022-06-29 18:25:44 +02:00