Commit Graph
21 Commits
Author SHA1 Message Date
whoswhip d8a71f9d91 fix(logs): optimize log entry retrieval
Refactor the log entry retrieval in Renderer.cs to use the
LogManager's LogEntries collection directly instead of
converting it to a list. This change improves performance
by reducing overhead, especially for larger collections.
2025-07-19 07:56:39 -04:00
whoswhip c4075c4894 feat: replace POINT struct and add trigger bot feature
Refactor `InputManager.cs` to use the built-in `Point` struct for improved readability. Introduced a new `ClickMouse` method to manage mouse click events based on the current position and trigger bot functionality. Updated `Renderer.cs` to add a checkbox for enabling/disabling the trigger bot in the user interface.
2025-07-19 07:56:24 -04:00
whoswhip 07de8e3012 Merge branch 'master' of https://github.com/whoswhip/Spectrum 2025-07-17 20:01:15 -04:00
whoswhip dce1f835f0 feat(config): add MenuKey for dynamic menu toggling
- Introduced `MenuKey` property in `Config.cs` for user-defined menu toggling.
- Updated key state checks in `Program.cs` to utilize `MenuKey`.
- Refactored keybind handling in `Renderer.cs` to use dictionaries for "Aiming" and "Menu Key".
- Enhanced UI to allow dynamic keybind setting and listening.
- Changed tab item name from "Misc." to "Settings".
2025-07-17 20:00:44 -04:00
whoswhip 3ff7bee7c7 Update README.md 2025-07-17 19:59:48 -04:00
whoswhip f89fd135b4 feat: enhance color management and detection options 2025-07-17 19:46:53 -04:00
whoswhip 51744ca9c7 fix(renderer): improve child window layout in logs
Updated the `ImGui.BeginChild` call to include the
`ImGuiChildFlags.AlwaysUseWindowPadding` flag for better
layout behavior. Removed unnecessary indentation
operations for log entries, streamlining the rendering
process.
2025-07-16 23:00:42 -04:00
whoswhip 4b4cebd517 fix: create directories before loading configs 2025-07-16 22:57:24 -04:00
whoswhip 55bc1e9c3a feat: use imgui for UI and refactor configurations
- Updated `AutoLabeling.cs` to use `LogManager` for error logging and a new `mainConfig` object for configuration settings.
- Transformed `Config.cs` into a generic `ConfigManager<T>` class, encapsulating settings in a new `ConfigData` class for better organization.
- Enhanced `InputManager.cs` to utilize the new configuration structure and added smoothing functionality for mouse movement.
- Modified `Program.cs` to initialize `mainConfig` and `colorConfig`, improving key event handling.
- Updated `Spectrum.csproj` to target `net8.0-windows` and added new package references.
- Created `FodyWeavers.xml` to include the `Costura` weaver for dependency embedding.
- Introduced `LogManager.cs` for centralized logging functionality.
- Added `Renderer.cs` for rendering overlays with ImGui, integrating with the new configuration system.
v2.0
2025-07-16 22:52:02 -04:00
whoswhip 859e2e1b43 Update README.md 2025-07-07 02:42:09 -04:00
whoswhip dd13b99249 Clean up code 2025-06-18 13:41:31 -04:00
whoswhip f8b90d7b63 Optimizations and fix memory leak/build up by disposing the mats 2025-06-17 21:11:01 -04:00
whoswhip 8b529af9c4 Merge branch 'master' of https://github.com/whoswhip/Spectrum v1.1.0 2025-06-16 21:43:33 -04:00
whoswhip aed83ebacd added new movement path 2025-06-16 21:43:28 -04:00
whoswhip 206135368a Update README.md 2025-06-16 21:31:30 -04:00
whoswhip 77d4b5d21b Update README.md 2025-06-16 21:29:12 -04:00
whoswhip 6a6fb2e2ee Fix config saving 2025-06-16 21:02:42 -04:00
whoswhip 6bb49b90b7 Add another mouse movement path, make the config file more readable, added config file watching (update config on file save), more console key commands 2025-06-16 20:59:13 -04:00
whoswhip 2adfa5d8f8 Add readme, change folder name v1.0 2025-06-16 19:16:45 -04:00
whoswhip f21fb431e9 Add project files. 2025-06-16 19:10:19 -04:00
whoswhip 34ba7f9a5f Add .gitattributes, .gitignore, and LICENSE.txt. 2025-06-16 19:10:18 -04:00