Commit Graph

35 Commits

Author SHA1 Message Date
Alexander Batalov dc90beb696 Add game mode tracking 2022-12-06 17:22:30 +03:00
Alexander Batalov a38151bf2c Reorganize control flow in gdCustomSelect
Fixes #198
2022-11-03 18:08:49 +03:00
Alexander Batalov b689b3a757 Fix combat control fields not being cleared
Closes #194
2022-11-03 17:48:34 +03:00
Alexander Batalov a4105d5826
Decouple drawing and rendering (#165) 2022-10-08 00:54:27 +03:00
Alexander Batalov ddae4df4ab Fix red dialog buttons 2022-10-07 23:31:17 +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 e1f22b8218 Review game state functions 2022-10-03 15:54:18 +03:00
Alexander Batalov fe4c125474 Fix crash when dialog speaker destroys itself
See #162
2022-10-03 15:04:30 +03:00
Alexander Batalov b5681984cd Extract mouse 2022-10-03 12:41:33 +03:00
Alexander Batalov ac0a044a32 Refactor artLockFrameData with FrmImage 2022-09-26 15:17:22 +03:00
Alexander Batalov 9bb053b3ba
Add namespace (#155) 2022-09-23 15:43:44 +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 7803378d82 Fix some warnings 2022-08-31 18:52: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 140234f40e Add game dialog fix 2022-08-12 15:03:06 +03:00
Alexander Batalov 0ec5306de5 Fix Barter button 2022-08-07 15:52:28 +03:00
Alexander Batalov ba2ae3c303 Uninline gameDialogHighlightsExit 2022-08-07 15:38:47 +03:00
Alexander Batalov 019dbbb56e Add mouse wheel support 2022-08-07 14:52:44 +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 c6bda58dce Cleanup inventory.h
See #42
2022-06-19 13:32:42 +03:00
Alexander Batalov fd69d73ec9 Cleanup combat.h
See #42
2022-06-19 12:00:14 +03:00
k3tamina 7d4d2af1d2
Cleanup game_dialog.h (#52) 2022-06-19 10:59:36 +03:00
Alexander Batalov 2c05b8683d Fix dialog display centering 2022-06-07 23:41:24 +03:00
Alexander Batalov a3390819d1 Reconcile with reference edition 2022-06-05 01:01:49 +03:00
Wipe dd20063a2e
Fix dialog caps not rendered after exiting barter (#31) 2022-06-04 13:14:53 +03:00
Jan Šimek 14aa86c4b7
Reorganize variables scope for goto (#23)
Co-authored-by: Alexander Batalov <alex.batalov@gmail.com>
2022-05-29 16:40:49 +03:00
Alexander Batalov 119cfe8212 Remove static assertions
They were aid to decompilation, now they are source of complaints when compiling for x64.
2022-05-28 07:34:29 +03:00
Alexander Batalov 98c6acbf11 Convert to C++ 2022-05-21 18:22:03 +03:00
Renamed from src/game_dialog.c (Browse further)