mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 06:53:40 +00:00
- Fixed: PrintAlias passed FString objects directly to Printf.
- Added bitwise not (~) operator to ACS. SVN r352 (trunk)
This commit is contained in:
parent
3dabd38359
commit
92c3a89255
5 changed files with 13 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
October 7, 2006 (Changes by Graf Zahl)
|
||||
- Fixed: PrintAlias passed FString objects directly to Printf.
|
||||
- Added bitwise not (~) operator to ACS.
|
||||
|
||||
October 6, 2006 (Changes by Graf Zahl)
|
||||
- Fixed: Hires texture replacements must call AddPatch if the texture
|
||||
isn't defined yet in order to replace lumps that are not in the
|
||||
|
|
|
@ -993,11 +993,11 @@ void FConsoleAlias::PrintAlias ()
|
|||
{
|
||||
if (m_Command[0])
|
||||
{
|
||||
Printf (TEXTCOLOR_YELLOW "%s : %s\n", m_Name, m_Command[0]);
|
||||
Printf (TEXTCOLOR_YELLOW "%s : %s\n", m_Name, m_Command[0].GetChars());
|
||||
}
|
||||
if (m_Command[1])
|
||||
{
|
||||
Printf (TEXTCOLOR_ORANGE "%s : %s\n", m_Name, m_Command[1]);
|
||||
Printf (TEXTCOLOR_ORANGE "%s : %s\n", m_Name, m_Command[1].GetChars());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
// cmdlib.c (mostly borrowed from the Q2 source)
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <direct.h>
|
||||
#endif
|
||||
#include "doomtype.h"
|
||||
#include "cmdlib.h"
|
||||
#include "i_system.h"
|
||||
|
|
|
@ -3524,6 +3524,10 @@ int DLevelScript::RunScript ()
|
|||
STACK(1) = !STACK(1);
|
||||
break;
|
||||
|
||||
case PCD_NEGATEBINARY:
|
||||
STACK(1) = ~STACK(1);
|
||||
break;
|
||||
|
||||
case PCD_LSHIFT:
|
||||
STACK(2) = (STACK(2) << STACK(1));
|
||||
sp--;
|
||||
|
|
|
@ -535,7 +535,7 @@ public:
|
|||
PCD_CHANGELEVEL,
|
||||
PCD_SECTORDAMAGE,
|
||||
PCD_REPLACETEXTURES,
|
||||
/*330*/
|
||||
/*330*/ PCD_NEGATEBINARY,
|
||||
|
||||
PCODE_COMMAND_COUNT
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue