Commit Graph

32 Commits

Author SHA1 Message Date
Vlad ffe90eef49
Improve code readability (#315) 2023-07-13 13:35:26 +03:00
Alexander Batalov cf5f865a23
Add load/save global vars (#296) 2023-06-03 08:06:49 +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
Alexander Batalov 62c5c4757c Fix comparing pointers and integers
See #189
2023-05-24 21:52:50 +03:00
Vlad 61293bd39c
Fix ruined stack in rm_mult_objs_from_inven and name remaining opcodes (#289) 2023-05-23 23:45:18 +03:00
Alexander Batalov ecc6a8679b Add math opcodes 2023-04-20 09:53:50 +03:00
Alexander Batalov c14f671a0d Add object and string concatenation
Fixes #232
2023-02-10 09:27:10 +03:00
Alexander Batalov 6de4ac87df Use snprintf 2022-12-08 23:05:50 +03:00
Alexander Batalov 9c6286f94a Increase number of opcodes 2022-11-07 19:06:37 +03:00
Alexander Batalov ad9b8586e9 Fix testing pointers for nulls in Nevada
Closes #178
2022-10-25 09:57:13 +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 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 1128813bf0 Fix testing pointers for nulls in Sonora 2022-08-16 11:35:21 +03:00
Alexander Batalov 5c8f7c4b00 Fix negate operator 2022-08-06 16:57:43 +03:00
Alexander Batalov 17382d7c7e Fix poping uninitialized pointer
Closes #113
2022-08-06 12:46:05 +03:00
Alexander Batalov b7ac80e684 Fix floating point division
Closes #103
2022-07-31 12:03:43 +03:00
Alexander Batalov e41a4b8e16
Reconcile with reference edition (#100) 2022-07-29 16:04:05 +03:00
Alexander Batalov 757330bff4 Add pointer vs int equality check 2022-07-23 07:42:33 +03:00
Alexander Batalov f3869e0acf Fix pointer comparison
See #82
2022-07-23 07:25:39 +03:00
Alexander Batalov cee3af7cc4 Fix opAdd concatenating string and pointer
Closes #78
2022-07-22 16:43:40 +03:00
Alexander Batalov 158826ed63 Fix some msvc x86 warnings 2022-07-07 10:52:54 +03:00
Alexander Batalov 8e1291b1d1
Provide x64 compatibility (#62) 2022-07-05 11:00:55 +03:00
Alexander Batalov ead439335e Cleanup interpreter.h
See #42
2022-06-20 08:50:13 +03:00
Alexander Batalov 24fdfc065f Add missing includes 2022-05-29 22:00:50 +03:00
Alexander Batalov 4bac829739 Add string functions compatibility layer
See #17
2022-05-28 11:57:32 +03:00
Alexander Batalov 7a1119bac0 Use C++ noreturn attribute 2022-05-28 07:26:08 +03:00
Alexander Batalov 98c6acbf11 Convert to C++ 2022-05-21 18:22:03 +03:00
Renamed from src/interpreter.c (Browse further)