Commit Graph

206 Commits

Author SHA1 Message Date
Jakob Bouchard 5c19a41cfe Add render function for TMap and TSet 2025-02-06 14:30:47 -05:00
Jakob Bouchard 68a2c4c66d Fix struct name rendering 2025-02-06 14:30:24 -05:00
Arnaud Jamin 82fbf9caaf CogEngine: Fix command list of console widget staying when deactivating imgui input 2025-02-06 11:39:16 -05:00
Arnaud Jamin cf3bcf9612 CogWindow: Fix Push Pop ID in main menu bar 2025-02-06 11:27:10 -05:00
Arnaud Jamin 27ad15488d CogEngine: Fix crash when the CogEngine data asset is not present
Fix cheat colors always overriding the user color
2025-02-06 10:21:31 -05:00
Arnaud Jamin c8f5aa1521 Remove the Selection window runtime setter for the raycast. Replace it with settings defined in the CogEngine asset. 2025-02-06 02:18:33 -05:00
Arnaud Jamin b2d1d312f8 CogEngine: Fix crash 2025-02-06 01:50:57 -05:00
Arnaud Jamin cee4787d9a Notification Window: Improve usability 2025-02-06 00:21:02 -05:00
Arnaud Jamin 816889ba7c CogEngine: First iteration on notification window 2025-02-05 17:09:25 -05:00
Arnaud Jamin 882605ab2b Console Window: Add Shift+Tab shirtcut, similar to Up arrow 2025-02-04 23:39:16 -05:00
Arnaud Jamin 74dd726c2c CogEngine: Make the Cheat Execution implementable in blueprint
- Deprecate CogAbilityWindow_Cheats as it is now replaced with CogEngineWindow_Cheats
- Add CogAbilityCheat_Execution_ActivateAbility for cheats that rely on an ability
- CogSample: Add new cheats
2025-02-04 21:52:53 -05:00
Arnaud Jamin 27c309ad87 CogEngine: Selection Window - Fix Pickup button not scaling with DPI 2025-02-04 15:21:04 -05:00
Arnaud Jamin 9bf32b2d86 CogEngine: Improve various windows widgets usability
- Implement ImGui Copy Paste, and OpenInShell backend.
- Fix ColorEdit4
- Fix Hand and NotAllowed cursors
- Make the reset of windows configuration automatic (but optional) when getting a config.
- Console Window: Improve usability
- Stat Window: Add configuration of of MaxFPS, Pings, and PacketLoss. Improve widget usability.
- Time Scale Window: Add configuration of time scale. Improve widget usability.
- Output Log Window: Fix the Copy.
- Selection Window: The Pick button now uses an icon
2025-02-04 01:26:19 -05:00
Arnaud Jamin cb758450be CogEngine: Fix Console window context menu appearing when it shouldn't 2025-02-02 00:22:17 -05:00
Arnaud Jamin 597db17f9c CogEngine: Console improvements 2025-02-01 02:40:56 -05:00
Arnaud Jamin 0429a7b313 CogEngine: console window improvements 2025-01-31 23:33:22 -05:00
Arnaud Jamin 2ede6b4cf9 CogEngine: progress on console window 2025-01-31 15:52:58 -05:00
Arnaud Jamin b56d7bf4a9 CogEngine: Add first iteration on a Console window 2025-01-30 13:16:17 -05:00
Arnaud Jamin 1cecf93841 CogWindow: simplify how CogWidgets are rendered
Remove the need to specify the widgets width to be able to right them.
Instead widgets are rendered in a table which left/center/right align automatically.
2025-01-30 13:15:25 -05:00
Arnaud Jamin c9918da4f1 CogCommonUI: Add a new plugin to fix CommonUI blocking cog shortcuts (F1, F2, ...)
Reference this plugin where other cog modules are added.
This plugin uses a CommonUI ActionRouter to let Cog receives the shortcuts it needs.
If you already have an Action Router, you can call FCogImguiInputHelper::IsTopPriorityKey to know if the key event to should handled or not.
2025-01-25 21:50:19 -05:00
Arnaud Jamin b08c8768c7 Fix toggle imgui input shortcut not working when input is enabled (happening in Lyra) 2025-01-24 11:43:00 -05:00
Arnaud Jamin a24deacce3 Fix usage of raw pointers on UProperties 2025-01-24 11:41:01 -05:00
Arnaud Jamin 4f8d969ce5 CogWindow: Change the way Cog shortcuts are treated
Shortcuts to enable imgui (F1), enable actor selection (F5), loading and saving layouts, used to be handled by registering console commands with shortcuts. Now console commands can still be executed, but the shortcuts are handled by directly checking if the corresponding key is pressed from the UPlayerInput when imgui do not need Text input.
This should fix cases where the console shortcuts were not executed (typically with CommonUI menus)
2025-01-24 01:19:18 -05:00
Arnaud Jamin aca54cbe9d CogEngine: Improve Plot window
- Save plotted entries between sessions
- Add more options (autofit padding, num recorded values, record values when paused
- Fix dragging the mouse on a different window over the graph pausing the graph
2025-01-24 00:57:24 -05:00
Arnaud Jamin f7e63c3823 CogEngine: Plot window Add number of Y axis configuration 2025-01-17 13:10:52 -05:00
Arnaud Jamin d7bd68618f CogAbility: Plot Window minor UI tweak 2025-01-17 11:27:17 -05:00
Arnaud Jamin 6d8f7cb975 CogEngine: Plot window tweaks 2025-01-17 02:03:51 -05:00
Arnaud Jamin 4451e6bc50 CogAbility: Minor UI tweaks 2025-01-16 19:32:00 -05:00
Arnaud Jamin 76960d2df1 CogAbility: Improve Attribute Window
Can now open the details of an attribute
Improve the drawing of the attribute modifiers
2025-01-16 19:31:29 -05:00
Arnaud Jamin dcce0f1b47 CogEngine: improve plot events automatic row manangement
CogSample: plot Ability Activate/End event
2025-01-16 19:30:12 -05:00
Arnaud Jamin 4491614a0d CogEngine: Fix crash with new cheat window when no asset defined
minor: rework cheat filters
2025-01-16 19:28:20 -05:00
Arnaud Jamin cde200829f Fix package compilation 2025-01-16 08:07:43 -05:00
Arnaud Jamin d7ab3f18b9 CogAbility: Add open asset button on effect and abilities context menu 2025-01-16 07:56:28 -05:00
Arnaud Jamin 4a5f7294e1 CogAbility: UI improvements
Attribute Window:
 - Fix ID conflicts
 - Add attribute set column (hidden by default)
 - Improve indentation when displaying attribute set or categories
2025-01-14 23:47:24 -05:00
Arnaud Jamin e118785e1e imgui update to v1.91.7 2025-01-14 23:38:40 -05:00
Arnaud Jamin 5ee9a4ae13 CogEngine: fix skeleton window tree node overlapping checkboxes 2025-01-14 23:37:43 -05:00
Arnaud Jamin 5eee7c9903 CogEngine: Improve plot window UI
Make docking of plots optional
2025-01-14 23:36:41 -05:00
Arnaud Jamin c561f4b92d CogEngine: fix imgui ID conflict in Inspector window 2025-01-14 23:34:30 -05:00
Arnaud Jamin c6881534b8 CogAbility: Fix imgui ID assert 2025-01-13 03:07:25 -05:00
Arnaud Jamin b2f71aedc1 CogWindow: show menu by default 2025-01-13 03:06:55 -05:00
Arnaud Jamin a05d8cc9a4 Replace CogAbilityCheat window with CogEngineCheat window
CogEngineCheat window relies on an Execution to execute the cheat which can be extended. One implementation is implemented in CogAbility which applies an effect on the selected target (same logic as the previous CogAbilityCheat window)
2025-01-13 03:06:41 -05:00
Arnaud Jamin c3100d59b5 CogWindow: Save the windows "Show Menu" state (used to be called "Hide Menu") 2025-01-13 02:07:11 -05:00
Arnaud Jamin 37b041051b CogEngine: Fix selection widget not updating the selection after clicking on the actor name 2025-01-13 02:05:14 -05:00
Arnaud Jamin 2f1361a412 CogEngine: Fix and improve Plot window
CogEngine: Fix and improve the Plot window
- Fix ImPlot assert
- Improve UI

CogSample:
-  Add Inputs and AnimNotify plot events
- Fix ability system warning
2025-01-11 00:31:53 -05:00
Arnaud Jamin 269f8ae469 CogInput: UI tweaks 2025-01-09 15:15:42 -05:00
Arnaud Jamin cb98140f1d CogInput: Improve CogWindow_Actions
- Remove the need of the Input DataAsset used to identify the input mapping context
- Display the Input Contexts in priority order
- Cleanup the UI
2025-01-09 00:54:26 -05:00
Arnaud Jamin 6fe4806b02 Improve debug draw collision function to draw each hit bones in a skeletal mesh. Was previously drawing a box around the hit actor for each bone. 2025-01-08 16:09:47 -05:00
Arnaud Jamin b20d196c57 improve netimgui auto connection 2025-01-07 13:57:21 -05:00
Arnaud Jamin af565bf70d Fix cheat window not working on dedicated game server (when using netimgui)
Also add cheat commands: Cog.Cheat <CheatName> -Allies -Enemies -Controlled
2025-01-07 00:38:44 -05:00
Arnaud Jamin 28f0bead74 fix compilation errors on Linux 2025-01-06 21:42:12 -05:00