Commit Graph

365 Commits

Author SHA1 Message Date
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 fff036d81f Merge branch 'main' of https://github.com/arnaud-jamin/Cog 2025-01-25 21:50:23 -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 c345235e96 CogSample: const and typo fix 2025-01-25 21:37:29 -05:00
Arnaud Jamin b4c140d6a6 Update README.md 2025-01-24 11:56:13 -05:00
Arnaud Jamin 0b22411bc2 Update README.md 2025-01-24 11:55:55 -05:00
Arnaud Jamin b85edb4e53 Update README.md 2025-01-24 11:51:32 -05:00
Arnaud Jamin d057cab768 Update README.md 2025-01-24 11:51:02 -05:00
Arnaud Jamin 9fecf82663 Merge branch 'main' of https://github.com/arnaud-jamin/Cog 2025-01-24 11:43:14 -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 cf027e4074 Remove unused includes 2025-01-24 11:41:25 -05:00
Arnaud Jamin a24deacce3 Fix usage of raw pointers on UProperties 2025-01-24 11:41:01 -05:00
Arnaud Jamin 6ea7c73a44 Update README.md 2025-01-24 11:32:04 -05:00
Arnaud Jamin d7f0742170 Update .gitignore 2025-01-24 01:20:25 -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 980fe16f6e CogSample: Add invisibility cheat 2025-01-24 00:59:59 -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 24cc2971c8 CogSample: Fix walk animation not playing 2025-01-16 07:43:17 -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 f706ed6637 CogSample: change cast notification to be instant 2025-01-14 23:41:40 -05:00
Arnaud Jamin 96bed06f28 CogSample: Add asset search plugin 2025-01-14 23:40:49 -05:00
Arnaud Jamin 392c015d2e CogSample: Add new attribute sets to test having the same attribute name in different attribute sets. 2025-01-14 23:40:02 -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 469aab67d3 CogSample: Fix warning and abilities not receiving input release 2025-01-08 16:21:05 -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