75 Commits

Author SHA1 Message Date
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 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 32ca4dc2ba Rename CogWindow plugin to Cog.
Fix Config saving not working
2025-02-12 13:56:06 -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 1e27fc0c13 Code analysis pass 2025-02-06 15:46:34 -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 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 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 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
ed 9c5ca1a55d Fixes to Cog for building on engine side, deleted NetImGui from this repo
NetImGui hosted at https://github.com/Ed94/UE_ImGui/tree/Main

Eventually I just want the thirdparty module on its own repo...
2025-01-17 20:46:45 -05:00
ed 2a4c67f680 Merge remote-tracking branch 'arnaud-jamin/main'
# Conflicts:
#	Plugins/Cog/Source/CogDebug/Private/CogDebugDrawHelper.cpp
#	Plugins/Cog/Source/CogDebug/Private/CogDebugLog.cpp
#	Plugins/Cog/Source/CogWindow/Private/CogWindowManager.cpp
#	Plugins/Cog/Source/CogWindow/Private/CogWindow_Settings.cpp
#	Plugins/Cog/Source/ThirdParty/ImGui/imconfig.h
#	Plugins/Cog/Source/ThirdParty/ImGui/imgui.cpp
#	Plugins/Cog/Source/ThirdParty/ImGui/imgui.h
#	Plugins/Cog/Source/ThirdParty/ImGui/imgui_demo.cpp
#	Plugins/Cog/Source/ThirdParty/ImGui/imgui_draw.cpp
#	Plugins/Cog/Source/ThirdParty/ImGui/imgui_internal.h
#	Plugins/Cog/Source/ThirdParty/ImGui/imgui_tables.cpp
#	Plugins/Cog/Source/ThirdParty/ImGui/imgui_widgets.cpp
#	Plugins/Cog/Source/ThirdParty/ImGui/imstb_textedit.h
#	Plugins/Cog/Source/ThirdParty/ImGui/imstb_truetype.h
#	Plugins/Cog/Source/ThirdParty/ImPlot/README.md
#	Plugins/Cog/Source/ThirdParty/ImPlot/TODO.md
#	Plugins/Cog/Source/ThirdParty/ImPlot/implot.cpp
#	Plugins/Cog/Source/ThirdParty/ImPlot/implot.h
#	Plugins/Cog/Source/ThirdParty/ImPlot/implot_demo.cpp
#	Plugins/Cog/Source/ThirdParty/ImPlot/implot_internal.h
#	Plugins/Cog/Source/ThirdParty/ImPlot/implot_items.cpp
#	Plugins/CogInput/Source/CogInput/Public/CogInputDataAsset.h
2025-01-17 16:11:13 -05:00
Arnaud Jamin d7bd68618f CogAbility: Plot Window minor UI tweak 2025-01-17 11:27:17 -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 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 c6881534b8 CogAbility: Fix imgui ID assert 2025-01-13 03:07:25 -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 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 78508fda24 Add the removal of an active gameplay effect 2025-01-06 02:03:07 -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
ed 66caf73df9 Merge remote-tracking branch 'arnaud-jamin/main'
# Conflicts:
#	Plugins/Cog/Source/CogCommon/Public/CogCommonLogCategory.h
2024-10-08 17:38:02 -04:00
Arnaud Jamin 5e2ff8b918 Move the window config base class in CogCommon for projects that want to have their own configs, 2024-05-10 22:34:53 -04:00
Arnaud Jamin c4af1f304d Make the ability window more easily overridable in case a project wants to add more ability debug 2024-05-10 11:56:41 -04:00
Arnaud Jamin 69ef005a1e Display inhibition of gameplay effects 2024-05-10 00:57:19 -04:00
Arnaud Jamin 5cd88b2f86 Add required tags in gameplay ability window 2024-05-02 12:45:03 -04:00
Arnaud Jamin 87dd681624 Add gameplay tasks window. Add blocking tags in the gameplay ability window. 2024-04-26 11:59:12 -04:00
ed 1bf26e3ecb Updates for compilation in 5.4 as an engine plugin 2024-04-09 15:28:56 -04:00
Arnaud Jamin 14ca7e035e Switch to unreal 5.3 (Fix warning) 2024-02-27 23:07:09 -05:00
Arnaud Jamin 7009b3f2e7 Fix plugins have empty content folders showing 2024-01-09 21:18:07 -05:00
Arnaud Jamin 4434b72835 Fix includes 2024-01-08 16:10:47 -05:00
Arnaud Jamin ee42b2a238 CogAbility: Change the way CogAbilityReplicator apply the tweaks to newly spawned actor. Now needs to be called manually. 2024-01-08 14:18:53 -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 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
Arnaud Jamin de923e949c CogImGui: rework imgui lib integration 2023-11-23 09:50:09 -05:00
Arnaud Jamin a4362bfbb0 Merge pull request #15 from klechenov/ensure-fix
Avoided ENSURE_ABILITY_IS_INSTANTIATED in GetCurrentAbilitySpec()
2023-11-10 16:25:41 -05:00
Arnaud Jamin 399b577f0e Fix tabs 2023-11-10 16:25:03 -05:00
Arnaud Jamin eddfc833a8 Fix unity build 2023-11-10 16:06:40 -05:00
klechenov ae608ff700 Avoided ENSURE_ABILITY_IS_INSTANTIATED in GetCurrentAbilitySpec() 2023-11-09 19:47:19 +01:00
Arnaud Jamin c44171b113 CogWindow: Add an option to have no padding on windows (used by CogAbilityWindow_Abilities, Effects, Tags, ...) 2023-11-05 00:32:25 -04:00
Arnaud Jamin 9d3143298b CogAbility: Add blocked ability tags 2023-11-04 00:20:18 -04:00
Arnaud Jamin 429123dbd3 CogAbility: Add menu to sort and filter Tags window 2023-11-03 23:38:53 -04:00
Arnaud Jamin 29e8fa4522 CogAbility: Improve Effects Ability and Attribute window
CogAbility:
- Add sorting on Effects and Ability
- Add search on Effects and Ability
- Colors are now per user config
- Add blocking info in ability window and change its color when blocked
- Add separate windows for Effects
CogEnine: Change the command binding key widget
2023-11-03 02:40:38 -04:00
Arnaud Jamin 7e8ba3e092 CogAbility: Fix cheats not correctly saved when connected to a server
CogSample: Projectile progress
2023-10-31 23:50:41 -04:00
Arnaud Jamin e72504b47a CogWindow: CogWindows are not UObject anymore
CogWindows are now normal object because we want to be able to Ifdef them, and UObject cannot be ifdef. CogWindows were UObject mainly for saving their config. The configs have been moved in separated class, which are UObject.
2023-10-27 02:39:33 -04:00
Arnaud Jamin 42ca1afc6a Cog Sample: Adding more gameplay
Cog Sample: Make Area a component instead of an actor
Cog Sample: Add Basic actor for Projectiles, Areas, etc...
Cog Sample: Start to add Projectile
Cog Sample: Start to add SpawnPrediction
2023-10-26 12:33:50 -04:00