Commit Graph

43 Commits

Author SHA1 Message Date
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
Alexander Batalov a4105d5826
Decouple drawing and rendering (#165) 2022-10-08 00:54:27 +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 b5681984cd Extract mouse 2022-10-03 12:41:33 +03:00
Alexander Batalov 16ab9cb958 Fix lock check 2022-10-03 09:38:43 +03:00
Alexander Batalov 67f966f7a9 Refactor artLockFrameData with FrmImage 2022-09-24 22:53:25 +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 b89d6dfd72 Fix crash when opening bag on the bartering table 2022-08-19 19:54:39 +03:00
Alexander Batalov 3878be0d09 Fix items disappearing when using bag 2022-08-19 19:42:21 +03:00
Alexander Batalov 134ab451e3 Fix item name separator position 2022-08-19 18:07:12 +03:00
Alexander Batalov a41780caa2 Rename some item functions 2022-08-18 08:41:15 +03:00
Alexander Batalov bee34bfdf4 Add items weight summary 2022-08-16 23:06:40 +03:00
Alexander Batalov d31e367870 Tweak inventory scroller positions 2022-08-16 22:19:23 +03:00
Alexander Batalov 16f0be1a45 Add more inventory UI constants 2022-08-16 21:08:04 +03:00
Alexander Batalov ebba548206 Use inventory slot size constants 2022-08-16 16:26:21 +03:00
Alexander Batalov c9fa9a4765 Fix inventory defines misuse 2022-08-16 16:09:13 +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 5b2a1d13a1 Fix displaying secondary weapon mode stats 2022-08-11 14:30:06 +03:00
Alexander Batalov 87289a34c0 Add unarmed hits improvements (#29) 2022-08-10 20:46:09 +03:00
Alexander Batalov 8ba4fa309d Add shortcuts to close game windows 2022-08-07 21:49:53 +03:00
Alexander Batalov 019dbbb56e Add mouse wheel support 2022-08-07 14:52:44 +03:00
Alexander Batalov 5170948588 Add explosions improvements (#29) 2022-08-05 17:43:00 +03:00
Alexander Batalov 2c69834a12 Fix unequipped armor flags
Closes #108
2022-08-01 07:17:01 +03:00
Alexander Batalov e41a4b8e16
Reconcile with reference edition (#100) 2022-07-29 16:04:05 +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
Jan Šimek 7872d4d3cb
Fix inventory context menu and mouse position (#44)
See #3

Co-authored-by: Alexander Batalov <alex.batalov@gmail.com>
2022-06-12 12:30:05 +03:00
Alexander Batalov a3390819d1 Reconcile with reference edition 2022-06-05 01:01:49 +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 14ce3994ce Replace min/max macro
See #17
2022-05-28 14:45:48 +03:00
Alexander Batalov b1216967c0 Replace MAX_PATH with COMPAT_MAX_PATH 2022-05-28 12:34: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 be81049ff5 Fix inventory window position
See #3
2022-05-22 13:33:41 +03:00
Alexander Batalov 98c6acbf11 Convert to C++ 2022-05-21 18:22:03 +03:00
Renamed from src/inventory.c (Browse further)