485 Commits

Author SHA1 Message Date
Arnaud Jamin 829be00034 CogImGui: Fix key down/up not properly sent to imgui 2023-12-18 12:47:38 -05:00
Arnaud Jamin 751761d176 Adding collision tester 2023-12-17 16:40:59 -05:00
Arnaud Jamin 85a903a341 Various null checks, const correctness, remove unused headers 2023-12-17 01:02:05 -05:00
Arnaud Jamin a90881555b Merge pull request #18 from Skylonxe/patch-1
Fix possible crash when GetPlayerInput() is nullptr on startup
2023-12-13 09:46:36 -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 54ca8072c0 Update CogInputWindow_Actions.cpp 2023-12-13 15:25:51 +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 18283d4187 Fix shipping build 2023-12-09 17:07:31 -05: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 4857b23be3 Merge branch 'main' of https://github.com/arnaud-jamin/Cog 2023-11-24 12:58:02 -05:00
Arnaud Jamin 463e943890 CogImGui: remove the scale widget containing the imgui widget 2023-11-24 12:57:59 -05:00
Arnaud Jamin 3481d10480 Update README.md 2023-11-24 09:47:02 -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 988b048bde CogSample: improve shooting ability (still wip) 2023-11-11 00:47:43 -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 dacbaf2bea CogSample: start to add a shooting ability 2023-11-05 23:22:59 -05:00
Arnaud Jamin 0bae72015a Update TODO.txt 2023-11-05 13:05:11 -05:00
Arnaud Jamin 34e08a9e2a CogSample: Add a window with the Team of the selection. 2023-11-05 01:10:22 -04: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 4393709bbc Merge branch 'main' of https://github.com/arnaud-jamin/Cog 2023-11-03 14:05:00 -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 dad10459f1 Update README.md 2023-11-03 12:31:16 -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