Elhoussine Mehnik
8fa5bdeb33
Revert "Fix build : missing change"
...
This reverts commit 719a956d29 .
2023-12-19 17:56:45 +01:00
Elhoussine Mehnik
74b70a50e4
Merge branch 'main' of https://github.com/HoussineMehnik/Cog
2023-12-19 17:54:37 +01:00
Elhoussine Mehnik
719a956d29
Fix build : missing change
2023-12-19 17:54:27 +01:00
Elhoussine Mehnik
ac2834dcf0
Merge branch 'arnaud-jamin:main' into main
2023-12-19 11:46:59 -05:00
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
829be00034
CogImGui: Fix key down/up not properly sent to imgui
2023-12-18 12:47:38 -05:00
Arnaud Jamin
85a903a341
Various null checks, const correctness, remove unused headers
2023-12-17 01:02:05 -05:00
Ondrej Hrusovsky
7fa0f267b2
Fix space at the end of file
2023-12-13 15:39:06 +01:00
Ondrej Hrusovsky
a9956ae45a
Fix space at the end of file
2023-12-13 15:38:35 +01:00
Ondrej Hrusovsky
5e7cdaad66
Update CogInputWindow_Actions.cpp
2023-12-13 15:24:53 +01:00
Ondrej Hrusovsky
10574f9db3
Fix possible crash when GetPlayerInput() is nullptr on startup
2023-12-13 15:22:20 +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