Commit Graph

27 Commits

Author SHA1 Message Date
Alexander Batalov 1b6e29acc0 Reorder includes 2022-09-15 12:38:23 +03:00
Alexander Batalov 629978d7a6 Reconcile with reference edition 2022-09-01 18:41:37 +03:00
Alexander Batalov 2a17a07784 Fix AI behaviour for Snipe distance preference 2022-08-31 22:02:08 +03:00
Alexander Batalov 56d35bef0d Add more checks for AI to pick secondary hit mode 2022-08-31 20:25:40 +03:00
Alexander Batalov 676098dc5f Fix weapon safety check 2022-08-31 19:56:09 +03:00
Alexander Batalov 857d3902bb Fix AI weapon switching 2022-08-31 19:53:12 +03:00
Alexander Batalov 893a116fb4 Fix getting random target 2022-08-31 18:31:23 +03:00
Alexander Batalov 916bf40602 Add CombatBadShot enum 2022-08-31 18:29:46 +03:00
Alexander Batalov 40d6348b09 Fix incorrect AP cost when AI reloads a weapon 2022-08-31 17:41:50 +03:00
Alexander Batalov 1e5047cd48 Improve aiHaveAmmo 2022-08-31 12:05:56 +03:00
Alexander Batalov 7750006127 Fix warnings 2022-08-31 10:11:01 +03:00
Alexander Batalov 1b69c97ce4 Improve aiAttemptWeaponReload 2022-08-31 10:05:00 +03:00
Alexander Batalov a41780caa2 Rename some item functions 2022-08-18 08:41:15 +03:00
Alexander Batalov 7096116296 Fix best weapon calculations 2022-08-14 17:48:59 +03:00
Alexander Batalov d482f0e610 Add healing items improvements (#29) 2022-08-14 12:42:18 +03:00
Alexander Batalov df5bceaf2a Reconcile with reference edition 2022-08-02 13:31:26 +03:00
Alexander Batalov 28a433ea76 Fix parentesis warnings 2022-08-01 19:47:09 +03:00
Alexander Batalov e41a4b8e16
Reconcile with reference edition (#100) 2022-07-29 16:04:05 +03:00
Alexander Batalov 158826ed63 Fix some msvc x86 warnings 2022-07-07 10:52:54 +03:00
Alexander Batalov f66b8df39b Group damage flags 2022-07-06 14:23:06 +03:00
Alexander Batalov c6bda58dce Cleanup inventory.h
See #42
2022-06-19 13:32:42 +03:00
Alexander Batalov 2325c0ec65 Cleanup combat_ai.h
See #42
2022-06-19 11:32:07 +03:00
Jan Šimek e27f72f52b
Rename object flags according to Sfall (#37) 2022-06-08 20:38:46 +03:00
Alexander Batalov ca68373e74 Wrap DirectSound
See #17, #24
2022-05-29 20:07:43 +03:00
Alexander Batalov b1216967c0 Replace MAX_PATH with COMPAT_MAX_PATH 2022-05-28 12:34:49 +03:00
Alexander Batalov 4bac829739 Add string functions compatibility layer
See #17
2022-05-28 11:57:32 +03:00
Alexander Batalov 98c6acbf11 Convert to C++ 2022-05-21 18:22:03 +03:00
Renamed from src/combat_ai.c (Browse further)