15 Commits

Author SHA1 Message Date
Andreas Maerten
cba19d0c33
refactor!: Rewrite of the old notification service (#2866)
The main goal was improving the readability of the original code however some ugliness remains.

- Swapped from pointer singleton to instance singleton
- Actually make use of the alpha logic that used to be present
- Added a counter to notifications to indicate if something is being spammed
- Notification timeouts reset if they're sent to the queue again
2024-03-23 00:04:49 +01:00
gir489
3b9413db92
Input sanitation for Debug Locals (#2505) 2023-12-12 09:19:51 +01:00
gir489
b9b49790e7
Various Debug Locals fixes. (#2426)
* Fixed Debug -> Locals crashing if the user added an invalid Local Read.
Fixed Debug Local addendum being way too wide on the page.

* Added the same boundary check for Debug -> Globals.
2023-11-19 22:46:44 +01:00
gir489
48e83d9d5d
Clone Debug Globals into Debug Locals (#2419)
* Copied code from Debug Globals to Debug Locals.
Redesigned components::input_text to return the InputText result, and add an overloaded method to take a std::string.
Fixed Debug Globals having static text and not using components::input_text to prevent sending the input to the game.
Fixed view_debug_threads::thread_states not properly ending its string causing ImGui to read more than it should from memory.
Made Debug Globals cap the input index to UINT32, as the user could potentially overflow the get_ptr function and cause the game to crash.

* Removed extraneous does_thread_exist deceleration.
2023-11-16 14:17:46 +01:00
gir489
37468ca7b0
Converted all static strings to translation keys. (#2284) 2023-10-20 18:24:44 +02:00
gir489
42d7714d48
Fixed Debug Locals using improper casting for the float scenario. (#1823) 2023-07-23 19:54:01 +02:00
gir489
65a5dbd88e
Fixed typo in view_debug_locals that caused freezing floats to inject garbage. (#1820) 2023-07-23 18:38:22 +02:00
gir489
81bd1f9dc7
Fixed Debug Globals displaying value as a 64-bit integer and not a 32-bit integer. (#1761)
Resolves #1760.
2023-07-18 20:46:38 +02:00
DayibBaba
530a798d62
Improved does_script_exist() and local editor (#1265) 2023-04-20 20:07:16 +01:00
maybegreat48
3c2245f780
General fixes (#1251) 2023-04-16 19:28:49 +01:00
DayibBaba
31d2db48df
Locals editor (#1211) 2023-04-11 20:36:43 +01:00
maybegreat48
9ccb77e8eb
Add more spoofing options and added clang-format (#1020)
* feat(Spoofing): add spoofing
* feat(Spoofing): prepare code for player attach
* remove(PlayerAttach): isn't going to work due to netsync architecture
* fix(GUI): fix scaling
* feat(Project): add clang-format file
* feat(Classes): update classes
* fix(BlackHole): remove unnecessary cleanup
* fix(Formatting): fix formatting for initializer lists
* feat(clang-format): Set tab width and 1 space before comment

Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
2023-03-01 21:27:15 +00:00
Yimura
d4f2960c77
feat: Translation Service (#844)
Co-authored-by: mrwoowoo <github@hiqaq.com>
Co-authored-by: LiamD-Flop <40887493+LiamD-Flop@users.noreply.github.com>
2023-02-01 18:46:33 +00:00
TheGreenBandit
2ce44e8d98
Feat(Debug Misc): Added Options (#883) 2023-01-23 11:56:21 +01:00
tupoy-ya
1087146e56
refactor!: Replace premake5 with CMake. (#551)
Co-authored-by: tupoy-ya <tupoy-ya@users.noreply.github.com>
2022-11-08 21:08:58 +00:00