Ivan Sokolov
2d88189b4c
Clear input envents on combat turn
...
Issue: if a user skips turn by clicking end a combat turn button
the cursor becomes frozen in "watch" mode but all input events are queued.
If a user clicked while the AI turn is not ended then the next user's turn is skipped.
Fix: clear input queue each time before user's turn.
2023-06-16 18:16:53 +08:00
Alexander Batalov
89839be3af
Add global scripts ( #294 )
2023-05-31 21:48:44 +03:00
Alexander Batalov
540cc1e08b
Add combat opcodes
2023-04-19 10:03:04 +03:00
Alexander Batalov
47f5be8340
Fix HP being used as AP
2023-01-20 14:16:43 +03:00
Alexander Batalov
6cac53d20b
Rename critter maneuver flags
2023-01-16 16:49:50 +03:00
Alexander Batalov
feb3821565
Fix multiple knockout effects
2022-12-13 23:59:45 +03:00
Alexander Batalov
0fe6d88a3a
Review combatLoad
2022-12-13 23:03:42 +03:00
Alexander Batalov
7596d4d721
Fix combat_is_shot_blocked
2022-12-13 22:18:12 +03:00
Alexander Batalov
e6fddd6905
Rename window flags
2022-12-13 10:04:05 +03:00
Alexander Batalov
6de4ac87df
Use snprintf
2022-12-08 23:05:50 +03:00
Alexander Batalov
dc90beb696
Add game mode tracking
2022-12-06 17:22:30 +03:00
drjfaust
d49869f45c
Fix several combat bugs ( #204 )
2022-12-06 12:17:11 +03:00
Alexander Batalov
fe9ba9171e
Add custom message lists support
...
Closes #130
See #200
2022-11-10 18:07:23 +03:00
Alexander Batalov
fa475c754e
Add opReadByte
...
See #200
2022-11-09 13:09:56 +03:00
Alexander Batalov
b23d05f850
Fix called shot window freeze
...
See #165
2022-10-10 11:42:10 +03:00
Alexander Batalov
a4105d5826
Decouple drawing and rendering ( #165 )
2022-10-08 00:54:27 +03:00
Alexander Batalov
54d230432b
Refactor game config with Settings ( #164 )
2022-10-06 16:32:46 +03:00
Alexander Batalov
8754a5d6c9
Rename critter flags
2022-10-05 13:06:49 +03:00
Alexander Batalov
65f43804b3
Rename core
2022-10-05 10:35:05 +03:00
Alexander Batalov
9b150257fb
Rename some input functions
2022-10-05 10:11:47 +03:00
Alexander Batalov
1c73fb7240
Extract input
2022-10-05 09:23:27 +03:00
Alexander Batalov
0264c00ab8
Extract keyboard
2022-10-03 16:42:34 +03:00
Alexander Batalov
f203cfcc83
Refactor artLockFrameData with FrmImage
2022-09-24 17:31:13 +03:00
Alexander Batalov
9bb053b3ba
Add namespace ( #155 )
2022-09-23 15:43:44 +03:00
Alexander Batalov
3168c2ec09
Improve some combat functions readability
2022-09-23 14:01:39 +03:00
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
916bf40602
Add CombatBadShot enum
2022-08-31 18:29:46 +03:00
Alexander Batalov
1b69c97ce4
Improve aiAttemptWeaponReload
2022-08-31 10:05:00 +03:00
Alexander Batalov
21d550ad1e
Fix attackDetermineToHit
2022-08-19 18:58:18 +03:00
Alexander Batalov
a41780caa2
Rename some item functions
2022-08-18 08:41:15 +03:00
Alexander Batalov
df4382f2e0
Fix Silent Death bonus for critical hits
2022-08-14 22:46:28 +03:00
Alexander Batalov
52af5cfc1f
Fix object search when loading game in combat mode
2022-08-14 22:07:22 +03:00
Alexander Batalov
b10c580d6f
Fix displaying xp gained with Swift Learner bonus
2022-08-14 18:46:02 +03:00
Alexander Batalov
d86a887cf9
Add damage mod ( #29 )
2022-08-12 13:54:18 +03:00
Alexander Batalov
87289a34c0
Add unarmed hits improvements ( #29 )
2022-08-10 20:46:09 +03:00
Alexander Batalov
43ad927817
Fix dead critters reload weapons when combat ends
2022-08-06 20:12:23 +03:00
Alexander Batalov
02e83a1989
Fix Sharshooter bonus
2022-08-06 17:07:07 +03:00
Alexander Batalov
5170948588
Add explosions improvements ( #29 )
2022-08-05 17:43:00 +03:00
Alexander Batalov
3ccb087d20
Add burst mod ( #29 )
2022-08-03 17:23:24 +03:00
Alexander Batalov
64627ddde9
Fix sprintf_s
2022-08-02 19:46:44 +03:00
Alexander Batalov
63bcb2d009
Add critical hits improvements ( #29 )
2022-08-02 19:37:31 +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
c562d83020
Rename animation sad
2022-07-07 11:28:21 +03:00
Alexander Batalov
f66b8df39b
Group damage flags
2022-07-06 14:23:06 +03:00
Alexander Batalov
fd69d73ec9
Cleanup combat.h
...
See #42
2022-06-19 12:00:14 +03:00
Jan Šimek
e27f72f52b
Rename object flags according to Sfall ( #37 )
2022-06-08 20:38:46 +03:00
Alexander Batalov
24fdfc065f
Add missing includes
2022-05-29 22:00:50 +03:00