Commit 0cbb9112 authored by cutealien's avatar cutealien

_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX removed.

This was a bugfix for VS2003 (in combination with .NET) which we haven't supported in a while.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5050 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 2cec5282
--------------------------
Changes in 1.9 (not yet released)
- _IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX removed. This was a bugfix for VS2003 (in combination with .NET) which we haven't supported in a while.
- VS 2005 support removed in svn revision 5048.
- WinCE 6 supported removed in svn revision 5046.
- NVidia CG support removed in svn revision 5045 due to lack of maintenance. NVidia has also stopped supporting this.
......
......@@ -150,7 +150,6 @@ namespace scene
//! Checks if a camera is orthogonal.
virtual bool isOrthogonal() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return IsOrthogonal;
}
......
......@@ -342,7 +342,6 @@ public:
//! Returns true if element is visible.
virtual bool isVisible() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return IsVisible;
}
......@@ -351,7 +350,6 @@ public:
false if this or any parent element is invisible. */
virtual bool isTrulyVisible() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
if(!IsVisible)
return false;
......@@ -371,7 +369,6 @@ public:
//! Returns true if this element was created as part of its parent control
virtual bool isSubElement() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return IsSubElement;
}
......@@ -397,7 +394,6 @@ public:
//! Returns true if this element can be focused by navigating with the tab key
bool isTabStop() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return IsTabStop;
}
......@@ -451,7 +447,6 @@ public:
//! Returns true if this element is a tab group.
bool isTabGroup() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return IsTabGroup;
}
......@@ -478,7 +473,6 @@ public:
if ( isSubElement() && IsEnabled && getParent() )
return getParent()->isEnabled();
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return IsEnabled;
}
......@@ -554,7 +548,6 @@ public:
}
}
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return false;
}
......@@ -576,7 +569,6 @@ public:
}
}
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return false;
}
......@@ -628,7 +620,7 @@ public:
} while (child->Parent && child != this);
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return child == this;
}
......@@ -711,13 +703,11 @@ public:
// search within children
if ((*it)->getNextElement(startOrder, reverse, group, first, closest))
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return true;
}
}
++it;
}
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return false;
}
......
......@@ -242,7 +242,6 @@ namespace scene
visible (if all parents are also visible). */
virtual bool isVisible() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return IsVisible;
}
......@@ -251,7 +250,6 @@ namespace scene
false if this or any parent node is invisible. */
virtual bool isTrulyVisible() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
if(!IsVisible)
return false;
......@@ -328,7 +326,6 @@ namespace scene
return true;
}
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return false;
}
......@@ -595,7 +592,6 @@ namespace scene
\return If this node is a debug object, true is returned. */
bool isDebugObject() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return IsDebugObject;
}
......
......@@ -54,43 +54,36 @@ class map
const ValueTypeRB& getValue() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return Value;
}
ValueTypeRB& getValue()
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return Value;
}
const KeyTypeRB& getKey() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return Key;
}
bool isRoot() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return Parent==0;
}
bool isLeftChild() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return (Parent != 0) && (Parent->getLeftChild()==this);
}
bool isRightChild() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return (Parent!=0) && (Parent->getRightChild()==this);
}
bool isLeaf() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return (LeftChild==0) && (RightChild==0);
}
......@@ -105,13 +98,11 @@ class map
bool isRed() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return IsRed;
}
bool isBlack() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return !IsRed;
}
......@@ -162,7 +153,6 @@ class map
bool atEnd() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return Cur==0;
}
......@@ -311,7 +301,6 @@ class map
bool atEnd() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return Cur==0;
}
......@@ -456,7 +445,6 @@ class map
bool atEnd() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return Cur==0;
}
......@@ -556,7 +544,6 @@ class map
bool atEnd() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return Cur==0;
}
......@@ -654,7 +641,6 @@ class map
// Not found
_IRR_DEBUG_BREAK_IF(node==0) // access violation
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return node->getValue();
}
......@@ -693,7 +679,6 @@ class map
if (!insert(newNode))
{
delete newNode;
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return false;
}
......@@ -832,7 +817,6 @@ class map
{
if (p == 0)
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return false;
}
......@@ -888,7 +872,6 @@ class map
//! \return Returns true if empty, false if not
bool empty() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return Root == 0;
}
......@@ -1073,7 +1056,6 @@ class map
++Size;
}
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return result;
}
......
......@@ -209,19 +209,6 @@ virtual void somefunc() _IRR_OVERRIDE_;
#define _IRR_OVERRIDE_
#endif
//! Defines a small statement to work around a microsoft compiler bug.
/** The microsoft compiler 7.0 - 7.1 has a bug:
When you call unmanaged code that returns a bool type value of false from managed code,
the return value may appear as true. See
http://support.microsoft.com/default.aspx?kbid=823071 for details.
Compiler version defines: VC6.0 : 1200, VC7.0 : 1300, VC7.1 : 1310, VC8.0 : 1400*/
#if defined(_IRR_WINDOWS_API_) && defined(_MSC_VER) && (_MSC_VER > 1299) && (_MSC_VER < 1400)
#define _IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX __asm mov eax,100
#else
#define _IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX
#endif // _IRR_MANAGED_MARSHALLING_BUGFIX
// memory debugging
#if defined(_DEBUG) && defined(IRRLICHT_EXPORTS) && defined(_MSC_VER) && \
(_MSC_VER > 1299) && !defined(_IRR_DONT_DO_MEMORY_DEBUGGING_HERE) && !defined(_WIN32_WCE)
......
......@@ -645,7 +645,6 @@ bool CAttributes::getAttributeAsBool(s32 index)
if ((u32)index < Attributes.size())
ret = Attributes[index]->getBool();
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return ret;
}
......
......@@ -50,7 +50,6 @@ void CCameraSceneNode::setInputReceiverEnabled(bool enabled)
//! Returns if the input receiver of the camera is currently enabled.
bool CCameraSceneNode::isInputReceiverEnabled() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return InputReceiverEnabled;
}
......
......@@ -107,7 +107,6 @@ bool CFileList::isDirectory(u32 index) const
if (index < Files.size())
ret = Files[index].IsDirectory;
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return ret;
}
......
......@@ -315,7 +315,6 @@ bool CFileSystem::addFileArchive(const io::path& filename, bool ignoreCase,
os::Printer::log("Could not create archive for", filename, ELL_ERROR);
}
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return ret;
}
......@@ -433,7 +432,6 @@ bool CFileSystem::addFileArchive(IFileArchive* archive)
{
if (archive == FileArchives[i])
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return false;
}
}
......@@ -452,7 +450,6 @@ bool CFileSystem::removeFileArchive(u32 index)
FileArchives.erase(index);
ret = true;
}
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return ret;
}
......@@ -466,7 +463,6 @@ bool CFileSystem::removeFileArchive(const io::path& filename)
if (absPath == FileArchives[i]->getFileList()->getPath())
return removeFileArchive(i);
}
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return false;
}
......@@ -478,11 +474,9 @@ bool CFileSystem::removeFileArchive(const IFileArchive* archive)
{
if (archive == FileArchives[i])
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return removeFileArchive(i);
}
}
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return false;
}
......@@ -953,7 +947,6 @@ bool CFileSystem::existFile(const io::path& filename) const
if (FileArchives[i]->getFileList()->findFile(filename)!=-1)
return true;
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
#if defined(_MSC_VER)
#if defined(_IRR_WCHAR_FILESYSTEM)
return (_waccess(filename.c_str(), 0) != -1);
......
......@@ -57,7 +57,6 @@ void CGUIButton::setScaleImage(bool scaleImage)
//! Returns whether the button scale the used images
bool CGUIButton::isScalingImage() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return ScaleImage;
}
......@@ -476,7 +475,6 @@ void CGUIButton::setIsPushButton(bool isPushButton)
//! Returns if the button is currently pressed
bool CGUIButton::isPressed() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return Pressed;
}
......@@ -495,7 +493,6 @@ void CGUIButton::setPressed(bool pressed)
//! Returns whether the button is a push button
bool CGUIButton::isPushButton() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return IsPushButton;
}
......@@ -510,14 +507,12 @@ void CGUIButton::setUseAlphaChannel(bool useAlphaChannel)
//! Returns if the alpha channel should be used for drawing images on the button
bool CGUIButton::isAlphaChannelUsed() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return UseAlphaChannel;
}
bool CGUIButton::isDrawingBorder() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return DrawBorder;
}
......
......@@ -197,7 +197,6 @@ void CGUICheckBox::setChecked(bool checked)
//! returns if box is checked
bool CGUICheckBox::isChecked() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return Checked;
}
......
......@@ -201,11 +201,9 @@ bool CGUIContextMenu::isItemEnabled(u32 idx) const
{
if (idx >= Items.size())
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return false;
}
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return Items[idx].Enabled;
}
......@@ -215,11 +213,9 @@ bool CGUIContextMenu::isItemChecked(u32 idx) const
{
if (idx >= Items.size())
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return false;
}
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return Items[idx].Checked;
}
......
......@@ -153,7 +153,6 @@ void CGUIEditBox::enableOverrideColor(bool enable)
bool CGUIEditBox::isOverrideColorEnabled() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return OverrideColorEnabled;
}
......@@ -181,7 +180,6 @@ void CGUIEditBox::updateAbsolutePosition()
//! Checks if word wrap is enabled
bool CGUIEditBox::isWordWrapEnabled() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return WordWrap;
}
......@@ -197,7 +195,6 @@ void CGUIEditBox::setMultiLine(bool enable)
//! Checks if multi line editing is enabled
bool CGUIEditBox::isMultiLineEnabled() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return MultiLine;
}
......@@ -217,7 +214,6 @@ void CGUIEditBox::setPasswordBox(bool passwordBox, wchar_t passwordChar)
bool CGUIEditBox::isPasswordBox() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return PasswordBox;
}
......@@ -1014,7 +1010,6 @@ void CGUIEditBox::setAutoScroll(bool enable)
//! \return true if automatic scrolling is enabled, false if not
bool CGUIEditBox::isAutoScrollEnabled() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return AutoScroll;
}
......
......@@ -221,7 +221,6 @@ bool CGUIEnvironment::setFocus(IGUIElement* element)
{
if (Focus == element)
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return false;
}
......@@ -249,7 +248,6 @@ bool CGUIEnvironment::setFocus(IGUIElement* element)
if (element)
element->drop();
currentFocus->drop();
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return false;
}
currentFocus->drop();
......@@ -274,7 +272,6 @@ bool CGUIEnvironment::setFocus(IGUIElement* element)
element->drop();
if (currentFocus)
currentFocus->drop();
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return false;
}
}
......@@ -317,7 +314,6 @@ bool CGUIEnvironment::removeFocus(IGUIElement* element)
e.GUIEvent.EventType = EGET_ELEMENT_FOCUS_LOST;
if (Focus->OnEvent(e))
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return false;
}
}
......@@ -334,7 +330,6 @@ bool CGUIEnvironment::removeFocus(IGUIElement* element)
//! Returns whether the element has focus
bool CGUIEnvironment::hasFocus(const IGUIElement* element, bool checkSubElements) const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
if (element == Focus)
return true;
......@@ -414,7 +409,6 @@ bool CGUIEnvironment::OnEvent(const SEvent& event)
ret = UserReceiver->OnEvent(event);
}
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return ret;
}
......@@ -608,7 +602,6 @@ bool CGUIEnvironment::postEventFromUser(const SEvent& event)
// focus could have died in last call
if (!Focus && Hovered)
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return Hovered->OnEvent(event);
}
......@@ -638,7 +631,6 @@ bool CGUIEnvironment::postEventFromUser(const SEvent& event)
break;
} // end switch
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return false;
}
......@@ -751,13 +743,11 @@ bool CGUIEnvironment::saveGUI(const io::path& filename, IGUIElement* start)
io::IWriteFile* file = FileSystem->createAndWriteFile(filename);
if (!file)
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return false;
}
bool ret = saveGUI(file, start);
file->drop();
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return ret;
}
......@@ -767,14 +757,12 @@ bool CGUIEnvironment::saveGUI(io::IWriteFile* file, IGUIElement* start)
{
if (!file)
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return false;
}
io::IXMLWriter* writer = FileSystem->createXMLWriter(file);
if (!writer)
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return false;
}
......@@ -794,14 +782,12 @@ bool CGUIEnvironment::loadGUI(const io::path& filename, IGUIElement* parent)
if (!read)
{
os::Printer::log("Unable to open gui file", filename, ELL_ERROR);
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return false;
}
bool ret = loadGUI(read, parent);
read->drop();
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return ret;
}
......@@ -812,7 +798,6 @@ bool CGUIEnvironment::loadGUI(io::IReadFile* file, IGUIElement* parent)
if (!file)
{
os::Printer::log("Unable to open GUI file", ELL_ERROR);
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return false;
}
......@@ -820,7 +805,6 @@ bool CGUIEnvironment::loadGUI(io::IReadFile* file, IGUIElement* parent)
if (!reader)
{
os::Printer::log("GUI is not a valid XML file", file->getFileName(), ELL_ERROR);
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return false;
}
......
......@@ -100,7 +100,6 @@ bool CGUIFont::load(io::IXMLReader* xml, const io::path& directory)
if (!SpriteBank->getTexture(i))
{
os::Printer::log("Unable to load all textures in the font, aborting", ELL_ERROR);
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return false;
}
else
......
......@@ -133,14 +133,12 @@ void CGUIImage::setScaleImage(bool scale)
//! Returns true if the image is scaled to fit, false if not
bool CGUIImage::isImageScaled() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return ScaleImage;
}
//! Returns true if the image is using the alpha channel, false if not
bool CGUIImage::isAlphaChannelUsed() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return UseAlphaChannel;
}
......
......@@ -126,7 +126,6 @@ bool CGUIInOutFader::isReady() const
{
u32 now = os::Timer::getTime();
bool ret = (now > EndTime);
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return ret;
}
......
......@@ -649,7 +649,6 @@ void CGUIListBox::setAutoScrollEnabled(bool scroll)
bool CGUIListBox::isAutoScrollEnabled() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return AutoScroll;
}
......
......@@ -211,7 +211,6 @@ video::SColor CGUIStaticText::getBackgroundColor() const
//! Checks if background drawing is enabled
bool CGUIStaticText::isDrawBackgroundEnabled() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return Background;
}
......@@ -226,7 +225,6 @@ void CGUIStaticText::setDrawBorder(bool draw)
//! Checks if border drawing is enabled
bool CGUIStaticText::isDrawBorderEnabled() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return Border;
}
......@@ -266,7 +264,6 @@ void CGUIStaticText::enableOverrideColor(bool enable)
bool CGUIStaticText::isOverrideColorEnabled() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return OverrideColorEnabled;
}
......@@ -282,7 +279,6 @@ void CGUIStaticText::setWordWrap(bool enable)
bool CGUIStaticText::isWordWrapEnabled() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return WordWrap;
}
......
......@@ -108,7 +108,6 @@ video::SColor CGUITab::getTextColor() const
//! returns true if the tab is drawing its background, false if not
bool CGUITab::isDrawingBackground() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return DrawBackground;
}
......
......@@ -176,7 +176,7 @@ bool CIrrDeviceStub::checkVersion(const char* version)
w += version;
w += "). This may cause problems.";
os::Printer::log(w.c_str(), ELL_WARNING);
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return false;
}
......@@ -232,7 +232,6 @@ bool CIrrDeviceStub::postEventFromUser(const SEvent& event)
if (!absorbed && inputReceiver)
absorbed = inputReceiver->postEventFromUser(event);
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return absorbed;
}
......
......@@ -1260,7 +1260,6 @@ bool CIrrDeviceWin32::run()
if(!Close && JoyControl)
JoyControl->pollJoysticks();
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return !Close;
}
......@@ -1396,7 +1395,6 @@ void CIrrDeviceWin32::closeDevice()
//! returns if window is active. if not, nothing needs to be drawn
bool CIrrDeviceWin32::isWindowActive() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return (GetActiveWindow() == HWnd);
}
......@@ -1405,7 +1403,6 @@ bool CIrrDeviceWin32::isWindowActive() const
bool CIrrDeviceWin32::isWindowFocused() const
{
bool ret = (GetFocus() == HWnd);
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return ret;
}
......@@ -1418,7 +1415,6 @@ bool CIrrDeviceWin32::isWindowMinimized() const
bool ret=false;
if (GetWindowPlacement(HWnd,&plc))
ret=(plc.showCmd & SW_SHOWMINIMIZED)!=0;
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return ret;
}
......@@ -1484,7 +1480,6 @@ bool CIrrDeviceWin32::switchToFullScreen(bool reset)
os::Printer::log("An unknown error occured while changing to fullscreen.", ELL_ERROR);
break;
}
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return ret;
}
......
......@@ -177,7 +177,6 @@ namespace irr
//! Returns if the cursor is currently visible.
virtual bool isVisible() const _IRR_OVERRIDE_
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return IsVisible;
}
......
......@@ -354,7 +354,6 @@ bool CSceneCollisionManager::getCollisionPoint(const core::line3d<f32>& ray,
{
if (!selector)
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return false;
}
......@@ -413,7 +412,6 @@ bool CSceneCollisionManager::getCollisionPoint(const core::line3d<f32>& ray,
}
}
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return found;
}
......
......@@ -1183,7 +1183,6 @@ bool CSceneManager::isCulled(const ISceneNode* node) const
const ICameraSceneNode* cam = getActiveCamera();
if (!cam)
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return false;
}
bool result = false;
......@@ -1251,7 +1250,6 @@ bool CSceneManager::isCulled(const ISceneNode* node) const
}
}
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return result;
}
......@@ -2027,7 +2025,6 @@ bool CSceneManager::postEventFromUser(const SEvent& event)
if (cam)
ret = cam->OnEvent(event);
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return ret;
}
......@@ -2166,7 +2163,6 @@ bool CSceneManager::saveScene(const io::path& filename, ISceneUserDataSerializer
else
os::Printer::log("Unable to open file", filename, ELL_ERROR);
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return ret;
}
......
......@@ -54,7 +54,6 @@ CSceneNodeAnimatorCollisionResponse::~CSceneNodeAnimatorCollisionResponse()
//! the gravity.
bool CSceneNodeAnimatorCollisionResponse::isFalling() const
{
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return Falling;
}
......
......@@ -88,7 +88,6 @@ namespace irr
virtual bool isStopped() const _IRR_OVERRIDE_
{
bool ret = os::Timer::isStopped();
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return ret;
}
......
......@@ -74,7 +74,6 @@ public:
return parseCurrentNode();
}
_IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX;
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment