Commit Graph

195 Commits

Author SHA1 Message Date
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
Arnaud Jamin 6f45f48036 Add collision debug draw functions 2025-01-06 14:23:56 -05:00
Arnaud Jamin 934ef438f8 Update to ImGui v1.91.6
Update ImPlot
Fix misc compilation errors
2025-01-06 14:23:18 -05:00
Arnaud Jamin 9a1cd48434 Option to replicate client selection to server. 2025-01-06 13:41:46 -05:00
Arnaud Jamin c58126d244 Fix assert when disconnecting 2025-01-06 02:40:38 -05:00
Arnaud Jamin 78508fda24 Add the removal of an active gameplay effect 2025-01-06 02:03:07 -05:00
Arnaud Jamin e4001c2399 missing file 2025-01-06 00:56:48 -05:00
Arnaud Jamin 01e6619e86 improve NetImgui integration 2025-01-06 00:55:39 -05:00
Arnaud Jamin 9a0c32c4b8 Support NetImgui on dedicated server
Support the creation of ImGui context on dedicated server (remove the requirements on the game viewport and slate application)
Add an option to auto connect to the netimgui server when running on a dedicated game server. On by default.
2025-01-02 22:44:19 -05:00
Arnaud Jamin 123ae5b68f Initial integration of NetImgui. The engine/netimgui window can be used to connect to the NetImgui server. 2025-01-01 15:46:19 -05:00
Arnaud Jamin b07213cd0f Fix ECogDebugRecolorMode not an enum class 2024-12-31 22:08:14 -05:00
Arnaud Jamin 19d88558cb Support Unreal 5.5. Fix Multi PIE not working when running under one process. 2024-12-31 01:11:11 -05:00