Commit Graph
81 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 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 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 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 d7ab3f18b9 CogAbility: Add open asset button on effect and abilities context menu 2025-01-16 07:56:28 -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 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 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 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 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 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
Arnaud Jamin 3539881135 Fix includes
Fix collision draw functions not using draw settings
2024-06-05 09:39:05 -04:00
Arnaud Jamin 1690b802ed Add Vlog on server debug shape
Add more debug recolor option
2024-05-16 10:59:53 -04:00
Eduardo Valencia 7543b49ef7 Updated to 5.3.x, renamed interface function, and more
In CogSampleSpawnPredictionComponent.cpp, lines 299 through 302 have return statements of FColor::FColor, these have been updated to a single FColor return statement
In CogSampleTargetableInterface.h, the GetTargetLocation function does not compile against Linux. Reason being that it interferes with built in functions that share the same name (notably within the AIController class). This has been changed to GetTargetActorLocation to maintain a similar name. Recommend adding comments when possible.

Additionaly, the sample project and the editor have had their IncludeOrderVersion updated to 5.2. This was done to clear the warning listing that 5.1 will be deprecated in the next major version release.

The project compiles against Windows and Linux (likely other platforms too, unable to check)
Happy to help! :)
2024-02-15 18:59:25 -05:00
Arnaud Jamin 8cbecf504b Add a CogAll module to ease the integration for projects that want all windows 2024-01-09 01:12:31 -05:00
Arnaud Jamin 4434b72835 Fix includes 2024-01-08 16:10:47 -05:00
Arnaud Jamin 56bb628792 Merge branch 'main' of https://github.com/arnaud-jamin/Cog 2024-01-08 01:50:30 -05:00
Arnaud Jamin 5e0976a902 CogImGui: rework share mouse mode. Add widget that act as a input catcher below the UI widgets 2024-01-08 01:50:26 -05:00
Arnaud Jamin c959ccab81 CogEngine: refactor Selection window to share the actor list with other windows such as the Collision Tester window 2024-01-08 01:36:25 -05:00
Arnaud Jamin 78ec4d06fa Merge branch 'new-windows' of https://github.com/arnaud-jamin/Cog into new-windows 2024-01-03 19:20:43 -05:00
Arnaud Jamin 0f130f7dff Fix bad refactor 2024-01-03 19:20:12 -05:00
Arnaud Jamin 057b556d54 Merge branch 'main' into new-windows 2024-01-03 19:00:21 -05:00
Arnaud Jamin 11022f7311 CogEngine: Improve collision tester and viewer
Replace usage of engine asset by debug config for the colors of collision channels
2024-01-03 03:56:47 -05:00
Arnaud Jamin 7dd4922b01 CogEngine: move CollisionTester logic inside an actor 2024-01-02 00:57:02 -05:00
Arnaud Jamin 65bd2150de CogDebug: improve gizmo 2023-12-31 03:13:10 -05:00
Arnaud Jamin dd20cff959 CogEngine: improve collision tester 2023-12-30 01:28:01 -05:00
Arnaud Jamin 81fc6269ad CogDebug: improving transform gizmos and collision tester (WIP) 2023-12-29 03:08:15 -05:00
Arnaud Jamin bd29211013 CogDebug: Refactor debug settings for easier serialization
CogDebug: Move DebugGizmo to CogDebug
2023-12-19 01:08:26 -05:00
Arnaud Jamin 751761d176 Adding collision tester 2023-12-17 16:40:59 -05:00
Arnaud Jamin 85a903a341 Various null checks, const correctness, remove unused headers 2023-12-17 01:02:05 -05:00
Arnaud Jamin d5fd488b6a Formating
sort headers and remove tabs
2023-12-09 16:58:32 -05:00
Elhoussine Mehnik 3e73c486a4 Fix compling errors on various platforms/consoles
- Fixed some include paths case sensitive
- Fixed CogImguiInputHelper.h including itself
- Added missing includes
- Added missing forward declarations
- Fixed enums forward declarations
- Fixed "TCHAR_TO_ANSI" and const char* formatting issues
- Fixed "sscanf" on Linux
2023-12-09 04:38:02 +01:00