Commit Graph

36 Commits

Author SHA1 Message Date
Vlad ffe90eef49
Improve code readability (#315) 2023-07-13 13:35:26 +03:00
Alexander Batalov c4c2806071
Fix game time calculations (#307) 2023-07-13 13:04:31 +03:00
Alexander Batalov 89839be3af
Add global scripts (#294) 2023-05-31 21:48:44 +03:00
Vasilii Rogin fe0d767521
Add SFall arrays (#269)
Co-authored-by: Alexander Batalov <alex.batalov@gmail.com>
2023-05-30 09:06:55 +03:00
Vasilii Rogin 99bc14cf3a
Add sFall movie timer options (#261) 2023-04-14 19:03:21 +03:00
Alexander Batalov ba49abcea6 Fix some scripts not being properly removed
Closes #224
2023-01-21 13:15:18 +03:00
Alexander Batalov b36ac50425 Review windowShow 2022-12-13 10:37:52 +03:00
Alexander Batalov 6de4ac87df Use snprintf 2022-12-08 23:05:50 +03:00
Alexander Batalov 510d7bfe95 Reorganize includes 2022-12-08 19:18:39 +03:00
Alexander Batalov fe9ba9171e Add custom message lists support
Closes #130
See #200
2022-11-10 18:07:23 +03:00
Alexander Batalov fa11122f87 Make spatial script finders public 2022-11-08 22:45:30 +03:00
Alexander Batalov 4e98093d6c Fix crash when removing all scripts 2022-10-30 09:03:24 +03:00
Alexander Batalov 65f43804b3 Rename core 2022-10-05 10:35:05 +03:00
Alexander Batalov 1c73fb7240 Extract input 2022-10-05 09:23:27 +03:00
Alexander Batalov e1f22b8218 Review game state functions 2022-10-03 15:54:18 +03:00
Alexander Batalov 9bb053b3ba
Add namespace (#155) 2022-09-23 15:43:44 +03:00
Alexander Batalov c521dcaf57 Fix storing pointers in map local variables
Closes #152
2022-09-22 12:45:58 +03:00
Alexander Batalov 1b6e29acc0 Reorder includes 2022-09-15 12:38:23 +03:00
Alexander Batalov e5992779f3 Reconcile worldmap.cc 2022-09-15 11:42:02 +03:00
Alexander Batalov d7bc8e4176 Rename worldmap.cc 2022-09-15 09:00:11 +03:00
Alexander Batalov 629978d7a6 Reconcile with reference edition 2022-09-01 18:41:37 +03:00
Alexander Batalov cac96bfc13 Add gender-specific text improvements (#130) 2022-08-14 13:06:51 +03:00
Alexander Batalov c3bffa6777 Increase script message lists capacity 2022-08-12 15:49:43 +03:00
Alexander Batalov e41a4b8e16
Reconcile with reference edition (#100) 2022-07-29 16:04:05 +03:00
Alexander Batalov a60382e044 Fix type 2022-07-25 00:02:54 +03:00
Alexander Batalov ebee02e196 Cleanup scripts.h
See #42
2022-06-19 14:56:00 +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
Alexander Batalov 9e817304d1 Get rid of saving pointers 2022-06-11 23:49:05 +03:00
Jan Šimek e27f72f52b
Rename object flags according to Sfall (#37) 2022-06-08 20:38:46 +03:00
Alexander Batalov 9cad93c764 Reconcile script fixes from reference edition 2022-06-08 20:35:51 +03:00
Alexander Batalov c7397826cc Add missing includes
See #17
2022-05-30 00:29:05 +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 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/scripts.c (Browse further)