mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-05-31 08:50:54 +00:00
Flash bytecode to Lua
This commit is contained in:
parent
71e339a83b
commit
21de748801
7 changed files with 391 additions and 119 deletions
|
@ -292,7 +292,11 @@ idStr idSWFScriptVar::ToString() const
|
|||
return idStrId( value.i ).GetLocalizedString();
|
||||
case SWF_VAR_STRING:
|
||||
return *value.string;
|
||||
|
||||
// RB begin
|
||||
case SWF_VAR_RESULT:
|
||||
return *value.string;
|
||||
// RB end
|
||||
|
||||
case SWF_VAR_FLOAT:
|
||||
return va( "%g", value.f );
|
||||
case SWF_VAR_BOOL:
|
||||
|
@ -521,7 +525,11 @@ const char* idSWFScriptVar::TypeOf() const
|
|||
return "stringid";
|
||||
case SWF_VAR_STRING:
|
||||
return "string";
|
||||
|
||||
// RB begin
|
||||
case SWF_VAR_RESULT:
|
||||
return "result";
|
||||
// RB end
|
||||
|
||||
case SWF_VAR_FLOAT:
|
||||
return "number";
|
||||
case SWF_VAR_BOOL:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue