258 Commits

Author SHA1 Message Date
ed b58f73da28 Got Cog jailbroken from the game viewport (a UCogEditorSubsystem instance can be within the editor's main frame now) 2025-05-18 22:16:00 -04:00
ed 7acdda3679 remove imgui_widgets.cpp
Its handled in UE_Imgui repo
2025-05-16 21:30:28 -04:00
ed 8303186775 Fixes for building as an engine plugin with latest merge 2025-05-16 21:08:29 -04:00
ed 510769f3d8 Merge remote-tracking branch 'arnaud-jamin/main'
# Conflicts:
#	.gitignore
#	Plugins/Cog/Source/CogEngine/Public/CogEngineCollisionTester.h
#	Plugins/Cog/Source/ThirdParty/ImGui/imgui_widgets.cpp
2025-05-16 19:24:15 -04:00
Arnaud Jamin 5077ab47d9 missing file modification 2025-05-14 16:02:57 -04:00
Arnaud Jamin 539a4ba9e8 Cheat command fallback to PIE 1 actor selection 2025-05-14 15:21:44 -04:00
Arnaud Jamin 13caff8dbe unused field 2025-05-14 15:21:00 -04:00
Arnaud Jamin 79534d691b Fix saving of cog window visible state 2025-05-14 15:20:29 -04:00
Arnaud Jamin 4c615ae10d Mutiple fixes
Fix shipping build by reworking Cog integration (now use a subsystem)
Fix crash when stopping and restarting in the editor
2025-05-13 13:30:21 -04:00
Arnaud Jamin ac000a37c6 CogSubsystem: prevent creating multiple input component when having multiple player controller.
Typically when entering debug camera.
2025-03-30 23:24:31 -04:00
Arnaud Jamin bebc05d4fa Improve Collision Tester
Properly filter trace and objects type
2025-03-23 01:12:53 -04:00
Arnaud Jamin 67b2676c15 Move back toggle selection shortcut in selection window 2025-03-22 21:24:43 -04:00
Arnaud Jamin 3cdb23544b Minor refactor 2025-03-22 21:09:29 -04:00
Arnaud Jamin 25690a4103 CogInput windows fixes
Fix CogInputWindow_Action reset button
Fix CogInputWindow_Gamepad LockPosition option
2025-03-20 13:42:52 -04:00
Arnaud Jamin be907e6c51 Fix includes 2025-03-20 10:33:12 -04:00
Arnaud Jamin 810c51ac13 Rework how replicators are spawned to simplify Cog integration
- Replicators are now automatically spawned
- Rework input management.
- Add input shortcuts in the TimeScale window to change the time scale.
2025-03-19 12:59:37 -04:00
Arnaud Jamin 3c2428ca8f Add build info separator 2025-02-24 23:05:50 -05:00
Arnaud Jamin 2fc8a64173 Fix plotted event not correctly rendered when not the event is not ended 2025-02-24 23:05:13 -05:00
Arnaud Jamin f8e1f98e37 CogInput - GamePad - The window can now be aligned on screen borders. 2025-02-17 13:12:50 -05:00
Arnaud Jamin ae19f27674 constraint game pad window aspect ratio 2025-02-13 01:34:45 -05:00
Arnaud Jamin 1d8f9b5368 Remove debug menu item 2025-02-13 00:52:20 -05:00
Arnaud Jamin 30ecbefd10 Retake the focus when loosing it while ImGui has the input 2025-02-13 00:51:44 -05:00
Arnaud Jamin 2906837026 Re-enable the reset Configs on load to make sure they get their default values 2025-02-13 00:51:01 -05:00
Arnaud Jamin bf6c7cb371 Fix Cog module name 2025-02-13 00:50:00 -05:00
Arnaud Jamin 32ca4dc2ba Rename CogWindow plugin to Cog.
Fix Config saving not working
2025-02-12 13:56:06 -05:00
Arnaud Jamin 6d9494b685 Major Change - Rework how Cog gets integrated
Cog integration has been reworked to make it easier,  to keep Cog available between level loadings, and to properly tick ImGui while the game is paused.
Cog 's WindowManager is now a GameInstanceSubsystem.
The WindowManager ticks ImGui and the windows during the OnWorldPostActorTick delegate.
(If this is not working for your project, don't hesitate to open an issue.)

Check the readme to see how to integrate Cog.

The Plot debug functions (displayed by the Engine/Plot window) have been reworked as they were not properly working in Multi PIE in Single Process.

API changes:
- use FCogDebug::Plot instead of FCogDebugPlot::PlotValue
- use FCogDebug::InstantEvent  instead of FCogDebugPlot::PlotEventInstant
- use FCogDebug::StartEvent instead of FCogDebugPlot::PlotEventStart
- use FCogDebug::StopEvent instead of FCogDebugPlot::PlotEventStop
2025-02-11 13:29:12 -05:00
Arnaud Jamin 357bd9974e Console: completion use Contains instead of StartWith 2025-02-09 17:03:24 -05:00
Arnaud Jamin 319a870522 CogEngine: Levels window: Remove the loading of assets by default. 2025-02-09 16:44:10 -05:00
Arnaud Jamin 8b650632a7 CogEngine: Add Levels window to load a specific level
CogSample: fix server target not excluding cog
2025-02-09 01:18:27 -05:00
Arnaud Jamin f13ef84dab Fix shipping target 2025-02-08 01:57:55 -05:00
Arnaud Jamin 160a09d7c5 Merge branch 'main' into pr/48 2025-02-08 00:54:57 -05:00
Arnaud Jamin 7e69b9cfbb Merge pull request #49 from jakobbouchard/fix-typos
Fix typo in Show Borders
2025-02-08 00:49:54 -05:00
Arnaud Jamin 2befda814b Merge pull request #47 from jakobbouchard/add-utf8-inspector
Use TCHAR_TO_UTF8 in Inspector window for some properties
2025-02-08 00:33:04 -05:00
Arnaud Jamin 157d8bae84 Merge branch 'main' into pr/50 2025-02-08 00:01:50 -05:00
Arnaud Jamin a49857c7a8 Add missing dependency 2025-02-07 23:54:06 -05:00
Arnaud Jamin 7ba2e5221f Fix crash in CogDebugDrawImGui 2025-02-07 23:51:04 -05:00
Arnaud Jamin 2cc42bf196 CogEngine: Add BuildInfo window to display the build changelist, target, and so on. 2025-02-07 23:50:25 -05:00
Arnaud Jamin 254a1c2ce5 API change for CogWindow
FCogWindow::PreRender Renamed to PreBegin
FCogWindow::PostRender Renamed to PostEnd
Add FCogWindow::PostBegin
Remove FCogWindow bNoPadding field. Instead implement PreBegin/PostBegin to push the desired styles

Improve Notifications usability
2025-02-07 23:49:30 -05:00
Arnaud Jamin 6a1a3901d4 CogEngine: Fix crash related to log and notification 2025-02-07 09:41:17 -05:00
Jakob Bouchard 9fe19c862a Merge branch 'main' into add-map-set-inspector 2025-02-06 16:09:47 -05:00
Arnaud Jamin 1e27fc0c13 Code analysis pass 2025-02-06 15:46:34 -05:00
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
Jakob Bouchard b1920a3dc8 Fix inspected object tooltip being overridden 2025-02-06 14:29:34 -05:00
Jakob Bouchard 87c093277c Fix typo in Show Borders 2025-02-06 14:28:59 -05:00
Jakob Bouchard 5f923d37a0 Use TCHAR_TO_UTF8 for FText, categories, tooltips and display names 2025-02-06 14:25:54 -05:00
Jakob Bouchard 7d76db3872 Add setting for transparent mode 2025-02-06 14:22:15 -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