Files
int2ssl/FalloutScriptDefObject.cpp
T
2015-02-15 21:30:47 +03:00

31 lines
743 B
C++

/**
*
* Copyright (c) 2005-2009 Anchorite (TeamX), <anchorite2001@yandex.ru>
* Copyright (c) 20014-2015 Nirran, phobos2077
* Copyright (c) 20015 alexeevdv <mail@alexeevdv.ru>
* Distributed under the GNU GPL v3. For full terms see the file license.txt
*
*/
// C++ standard includes
// int2ssl includes
#include "FalloutScript.h"
// Third party includes
CFalloutScript::CDefObject::CDefObject(ObjectType type, uint32_t ulAttributes, uint32_t ulObjectData)
{
m_ulAttributes = ulAttributes;
switch(m_ObjectType = type)
{
case OBJECT_VARIABLE:
m_ulVarValue = ulObjectData;
break;
case OBJECT_PROCEDURE:
m_ulProcIndex = ulObjectData;
}
}