Commit Graph

24 Commits

Author SHA1 Message Date
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 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
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 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 7009b3f2e7 Fix plugins have empty content folders showing 2024-01-09 21:18:07 -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
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 3eaf54c64c Fix build: missing includes 2023-11-29 11:42:49 -05:00
Arnaud Jamin de923e949c CogImGui: rework imgui lib integration 2023-11-23 09:50:09 -05: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 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 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 812f4fa91f Start to add path following debug 2023-10-20 09:02:11 -04:00
Arnaud Jamin 1b5d63b0af Rework how ImGui input toggle is triggered
Add a new window CommandBindings to configure the shortcuts of console commands
The first time it is created, this window add the bindings to control cog:

[Tab]  Cog.ToggleInput
[F1]   Cog.LoadLayout 1
[F2]   Cog.LoadLayout 2
[F3]   Cog.LoadLayout 3
[F4]   Cog.LoadLayout 4
[F5]   Cog.ToggleSelectionMode

The selection window can now uses the Actor Label instead of Name (simpler to read)
Fix Blackboard sorting
2023-10-19 17:28:42 -04:00
Arnaud Jamin c8c68ee2b4 Improve behavior tree
add hover feedback on gamepad buttons
2023-10-17 17:18:56 -04:00
Arnaud Jamin ead94dffe6 Add runtime values in the behavior tree window
Sort blackboard by name
2023-10-17 12:35:56 -04:00
Arnaud Jamin 8fd05218ca improve behavior tree window 2023-10-17 00:05:49 -04:00
Arnaud Jamin 95d24ae767 Add behavior tree window 2023-10-16 17:04:32 -04:00
Arnaud Jamin 283608e6ff blackboard window now display key and values 2023-10-16 12:14:46 -04:00
Arnaud Jamin fc5abf7e8f starting to add AI windows 2023-10-16 02:51:44 -04:00