Commit Graph

25 Commits

Author SHA1 Message Date
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 caa0f015d4 CogImgui: Fix imgui windows not correctly placed at startup when using imgui viewports 2023-12-03 23:56:15 -05:00
Arnaud Jamin 3eaf54c64c Fix build: missing includes 2023-11-29 11:42:49 -05:00
Arnaud Jamin d1a4c8027f CogImGui: Rework input mangement. 2023-11-29 01:27:41 -05:00
Arnaud Jamin a385e15f64 CogImGui: Add imgui viewport support 2023-11-28 01:28:09 -05:00
Arnaud Jamin ecddecf3e5 Use InputProcessor to support shared mouse 2023-11-24 09:46:03 -05:00
Arnaud Jamin 1daa073713 CogImGui: Use an InputProcessor to support shared mouse between ImGui and the game 2023-11-23 23:59:55 -05:00
Arnaud Jamin de923e949c CogImGui: rework imgui lib integration 2023-11-23 09:50:09 -05:00
Arnaud Jamin ad43e039f9 move layout menu items into its own window 2023-11-10 15:45:13 -05:00
Arnaud Jamin fca5b27fb9 Start to implement input sharing (mouse not supported yet) 2023-11-10 15:23:54 -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 31d5fa9db8 CogWindow: Widgets can now be chosen and ordered by the user 2023-11-03 21:08:54 -04:00
Arnaud Jamin 7f88f5d53a CogWindow: Rename CreateWindow to AddWindow to prevent name conflict with windows headers
CogSample : Projectile progress
2023-10-30 23:44:24 -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
Arnaud Jamin 4c9f731475 CogImGui: Fix crash when restating level 2023-10-21 20:20:25 -04:00
Arnaud Jamin f2d8311c90 CogWindow: Add shortcuts text for some menu items 2023-10-21 00:31:14 -04:00
Arnaud Jamin 804f7c6ba5 CogWindow: Move Registering of default command bindings to WindowManager 2023-10-19 23:31:42 -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 da02827408 improve inspector 2023-10-16 00:00:05 -04:00
Arnaud Jamin 63f4a8b92f Add Inspector window
Add Inspector window
Hide main menu widgets when the width gets too small
Add log category description
Renaming
2023-10-13 23:35:16 -04:00
Arnaud Jamin 5b50d97cbd Move most modules in the same Cog plugin 2023-10-13 14:59:53 -04:00