mirror of
https://github.com/sfall-team/int2ssl.git
synced 2026-07-27 16:52:42 -07:00
Added new opcodes sfall_func7 and sfall_func8
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
int2ssl
|
||||
=====
|
||||
#### 8.4.6
|
||||
- Added support for additional universal opcodes `sfall_func7` and `sfall_func8`
|
||||
|
||||
#### 8.4.5
|
||||
- Added new logical operators `AndAlso`, `OrElse`
|
||||
- Added support for new `div` operator (unsigned integer division)
|
||||
|
||||
@@ -765,6 +765,9 @@ public:
|
||||
O_TS_REGISTER_HOOK_PROC2,
|
||||
O_TS_REG_ANIM_CALLBACK,
|
||||
O_TS_DIV,
|
||||
|
||||
O_TS_SFALL_METARULE7,
|
||||
O_TS_SFALL_METARULE8,
|
||||
//sfall end
|
||||
|
||||
O_END_OP
|
||||
|
||||
@@ -806,6 +806,9 @@ COpcode::CF2OpcodeAttributesMap::CF2OpcodeAttributesMap()
|
||||
SetAt(O_TS_REG_ANIM_CALLBACK, COpcodeAttributes("O_TS_REG_ANIM_CALLBACK", "reg_anim_callback", 1, COpcodeAttributes::TYPE_STATEMENT, COpcodeAttributes::CATEGORY_PREFIX, &procArgs[0], 1));
|
||||
// sfall 4.2.3/3.8.23
|
||||
SetAt(O_TS_DIV, COpcodeAttributes("O_TS_DIV", "div", 2, expression, infix)); // the operator for unsigned division
|
||||
// sfall 4.2.9/3.8.29
|
||||
SetAt(O_TS_SFALL_METARULE7, COpcodeAttributes("O_TS_SFALL_METARULE7", "sfall_func7", 8, expression));
|
||||
SetAt(O_TS_SFALL_METARULE8, COpcodeAttributes("O_TS_SFALL_METARULE8", "sfall_func8", 9, expression));
|
||||
// sfall end
|
||||
|
||||
SetAt(O_STRINGOP, COpcodeAttributes("O_STRINGOP", "", 0, expression));
|
||||
|
||||
@@ -41,7 +41,7 @@ bool ProcessCommandLine(int argc, char* argv[]);
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
std::cout << "Fallout script decompiler, version 8.4.5 (sfall edition)" << std::endl
|
||||
std::cout << "Fallout script decompiler, version 8.4.6 (sfall edition)" << std::endl
|
||||
<< "Copyright (C) Anchorite (TeamX), 2005-2009" << std::endl
|
||||
<< "anchorite2001@yandex.ru" << std::endl
|
||||
<< "Continued by Nirran, phobos2077, Mr.Stalin (2014-2020)" << std::endl
|
||||
|
||||
Reference in New Issue
Block a user