mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-03 04:20:30 +00:00
initial port of the new interpreter
This commit is contained in:
parent
5d2654b1ba
commit
35500a87c6
47 changed files with 3675 additions and 5839 deletions
|
|
@ -319,7 +319,7 @@ void GuiControl::initPersistFields()
|
|||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
bool GuiControl::processArguments(S32 argc, ConsoleValueRef *argv)
|
||||
bool GuiControl::processArguments(S32 argc, ConsoleValue *argv)
|
||||
{
|
||||
// argv[0] - The GuiGroup to add this control to when it's created.
|
||||
// this is an optional parameter that may be specified at
|
||||
|
|
|
|||
|
|
@ -341,7 +341,7 @@ class GuiControl : public SimGroup
|
|||
|
||||
GuiControl();
|
||||
virtual ~GuiControl();
|
||||
virtual bool processArguments(S32 argc, ConsoleValueRef *argv);
|
||||
virtual bool processArguments(S32 argc, ConsoleValue *argv);
|
||||
|
||||
static void initPersistFields();
|
||||
static void consoleInit();
|
||||
|
|
|
|||
|
|
@ -2858,17 +2858,17 @@ void WorldEditor::initPersistFields()
|
|||
//------------------------------------------------------------------------------
|
||||
// These methods are needed for the console interfaces.
|
||||
|
||||
void WorldEditor::ignoreObjClass( U32 argc, ConsoleValueRef *argv )
|
||||
void WorldEditor::ignoreObjClass( U32 argc, ConsoleValue *argv )
|
||||
{
|
||||
for(S32 i = 2; i < argc; i++)
|
||||
{
|
||||
ClassInfo::Entry * entry = getClassEntry(argv[i]);
|
||||
ClassInfo::Entry * entry = getClassEntry(argv[i].getString());
|
||||
if(entry)
|
||||
entry->mIgnoreCollision = true;
|
||||
else
|
||||
{
|
||||
entry = new ClassInfo::Entry;
|
||||
entry->mName = StringTable->insert(argv[i]);
|
||||
entry->mName = StringTable->insert(argv[i].getString());
|
||||
entry->mIgnoreCollision = true;
|
||||
if(!addClassEntry(entry))
|
||||
delete entry;
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ class WorldEditor : public EditTSCtrl
|
|||
Point3F p2;
|
||||
};
|
||||
|
||||
void ignoreObjClass(U32 argc, ConsoleValueRef* argv);
|
||||
void ignoreObjClass(U32 argc, ConsoleValue* argv);
|
||||
void clearIgnoreList();
|
||||
|
||||
static bool setObjectsUseBoxCenter( void *object, const char *index, const char *data ) { static_cast<WorldEditor*>(object)->setObjectsUseBoxCenter( dAtob( data ) ); return false; };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue