Commit Graph

95 Commits

Author SHA1 Message Date
Elhoussine Mehnik ea100dbf77 Changed TObjectPtr<FCogImguiContext> to FCogImguiContext* as TObjectPtr should be used with UObject dervied classes only 2023-12-19 17:44:16 +01:00
Arnaud Jamin 37ec60e7fe Move cog include into #if ENABLE_COG 2023-12-09 17:02:04 -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 cf07a05424 CogImGui: Rework input with viewports (still wip) 2023-11-28 17:08:17 -05:00
Arnaud Jamin 4df4df3ee7 CogImgui: Change default settings 2023-11-28 13:01:02 -05:00
Arnaud Jamin 76b768d0bd CogImGui: Change default settings 2023-11-28 12:55:10 -05:00
Arnaud Jamin 69c4def0aa CogImgui: Remove debug draw 2023-11-28 01:45:34 -05:00
Arnaud Jamin a385e15f64 CogImGui: Add imgui viewport support 2023-11-28 01:28:09 -05:00
Arnaud Jamin 463e943890 CogImGui: remove the scale widget containing the imgui widget 2023-11-24 12:57:59 -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 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 26ad291d01 Remove old enum 2023-11-10 16:23:48 -05:00
Arnaud Jamin eddfc833a8 Fix unity build 2023-11-10 16:06:40 -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
klechenov ae608ff700 Avoided ENSURE_ABILITY_IS_INSTANTIATED in GetCurrentAbilitySpec() 2023-11-09 19:47:19 +01:00
Arnaud Jamin 2babdf04c6 Merge branch 'main' of https://github.com/arnaud-jamin/Cog 2023-11-07 01:36:00 -05:00
Arnaud Jamin 294cb56610 CogImGui: Let the click pass through when imgui input is disabled.
CogSample: Add Start/Escape menu
2023-11-07 01:35:57 -05:00
klechenov 9c616d4a61 Fixed C4596 compiler warning 2023-11-06 16:50:11 +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 860c9be349 CogEngine: Plot window improvements. 2023-11-04 23:20:21 -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 31d5fa9db8 CogWindow: Widgets can now be chosen and ordered by the user 2023-11-03 21:08:54 -04:00
Arnaud Jamin 4e13413dab CogInput: Improve gamepad window
can control that stick by dragging it
2023-11-03 14:04:57 -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 f876862d12 CogCommon: Better debug formating
CogSample: Projectile Progress
CogSample: Disable Character Mesh collision on dedicated server
2023-10-31 00:44:59 -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 315782183d CogSample: progress on projectiles 2023-10-30 01:11:48 -04:00
Arnaud Jamin b147b4b05f minor fixes 2023-10-27 10:17:25 -04:00
Arnaud Jamin 9a1fe2a348 Fix the build in no unity 2023-10-27 02:56:10 -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 a39c8b277d CogInput: Add multiple IMC on the input data asset. Maybe propose a current imc 2023-10-22 23:16:00 -04:00
Arnaud Jamin 6f54b429f0 CogAbility: Apply tweaks at start and when an new actor is spawned
The data asset is now loaded directly by the windows.
2023-10-22 01:37:26 -04:00
Arnaud Jamin 4c9f731475 CogImGui: Fix crash when restating level 2023-10-21 20:20:25 -04:00
Arnaud Jamin 9f5431465b Fix garbage collection unloading cog assets 2023-10-21 01:28:54 -04:00
Arnaud Jamin f2d8311c90 CogWindow: Add shortcuts text for some menu items 2023-10-21 00:31:14 -04:00
Arnaud Jamin a200c40bed CogEngine: Selection prioritize another actor than the selected actor unless only touching the selected actor. 2023-10-20 16:25:01 -04:00
Arnaud Jamin ac90ba6ab6 CogPackage: fix Gameplay Cues not cooked
CogSample: Add area of effect
CogSample: Add "Easy" cheat
CogWindow: Fix some tooltips
CogEngine: Spawns now spawn the default controller
CogDebug: Early out on DebugDraw if WorldContextObject is null
2023-10-20 15:47:57 -04:00
Arnaud Jamin 812f4fa91f Start to add path following debug 2023-10-20 09:02:11 -04:00
Arnaud Jamin 804f7c6ba5 CogWindow: Move Registering of default command bindings to WindowManager 2023-10-19 23:31:42 -04:00