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
PixieCore
c614d75a4f
Removed ConVar string deletion.
...
* This will crash due to the string not being allocated with alloc.
Even if the source engine would allocate it, it would use CStdMemAlloc and it would crash anyway.
But it doesn't so we can just leave that out!
2022-06-29 17:07:06 +02:00
PixieCore
f414c2753d
Commented un-used hook
2022-06-29 16:52:31 +02:00
PixieCore
7eb6952df0
Use const in memaddr.cpp where its supposed to be.
2022-06-29 16:32:40 +02:00
Kawe Mazidjatari
a20d6a163e
Work-in-progress pylon master server implementation
...
Still in development.
Implemented new fields provided by pylon-ms.
2022-06-28 00:47:01 +02:00
Kawe Mazidjatari
2e4c3f5fde
Remove comment
...
Forgotten.
2022-06-27 16:57:11 +02:00
Kawe Mazidjatari
2a5cbf9b22
Switch to uint32_t for script checksums
...
Crc32 is unsigned int (32-bit).
2022-06-27 16:56:20 +02:00
Kawe Mazidjatari
1d7b32b789
Preparation work for pylon master server implementation
2022-06-27 16:54:40 +02:00
Kawe Mazidjatari
838c183b10
Use highlighted tab bars in server browser
2022-06-27 15:01:39 +02:00
Kawe Mazidjatari
3323c3fadb
Small ImGui theme adjustments
2022-06-27 14:48:03 +02:00
Kawe Mazidjatari
374a44f29e
Rename PatternToBytesAndMask to PatternToMaskedBytes
2022-06-26 17:45:54 +02:00
Kawe Mazidjatari
98c43fd6c1
Rename CConLog to ConLog_t
2022-06-26 17:40:02 +02:00
Kawe Mazidjatari
2da11d2d32
Disable undo/redo in command input
...
Currently causes undefined behavior, though it rarely crashes (I couldn't reproduce the crash, but do get undefined behavior by having random memory end up in the input field, or similar)
Problem probably is because we don't store any undo/redo buffer.
For now disabled, will revisit in the future.
2022-06-26 17:14:32 +02:00
Kawe Mazidjatari
5480d450a2
Update imgui_logger.cpp
2022-06-26 17:10:52 +02:00