Commit d4c81c44 authored by hybrid's avatar hybrid

Merged from 1.7 branch, revisions 3358-3364. This was the revert of the win32...

Merged from 1.7 branch, revisions 3358-3364. This was the revert of the win32 device change, which caused most test fails, and a few test updates. Moreover, updated the reference screenshots for burnings video tests. These all seemed to be correct (just the lights test was a little strong?)

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3365 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 3c0e2b82
...@@ -582,8 +582,8 @@ CIrrDeviceWin32::CIrrDeviceWin32(const SIrrlichtCreationParameters& params) ...@@ -582,8 +582,8 @@ CIrrDeviceWin32::CIrrDeviceWin32(const SIrrlichtCreationParameters& params)
HWnd = CreateWindow( ClassName, __TEXT(""), style, windowLeft, windowTop, HWnd = CreateWindow( ClassName, __TEXT(""), style, windowLeft, windowTop,
realWidth, realHeight, NULL, NULL, hInstance, NULL); realWidth, realHeight, NULL, NULL, hInstance, NULL);
CreationParams.WindowId = HWnd; CreationParams.WindowId = HWnd;
CreationParams.WindowSize.Width = realWidth; // CreationParams.WindowSize.Width = realWidth;
CreationParams.WindowSize.Height = realHeight; // CreationParams.WindowSize.Height = realHeight;
ShowWindow(HWnd, SW_SHOW); ShowWindow(HWnd, SW_SHOW);
UpdateWindow(HWnd); UpdateWindow(HWnd);
......
...@@ -25,10 +25,9 @@ bool flyCircleAnimator(void) ...@@ -25,10 +25,9 @@ bool flyCircleAnimator(void)
{ {
IBillboardSceneNode * node = smgr->addBillboardSceneNode(); IBillboardSceneNode * node = smgr->addBillboardSceneNode();
// Have the animator rotate around the Z axis plane, rather than the default Y axis // Have the animator rotate around the Z axis plane, rather than the default Y axis
ISceneNodeAnimator * animator = ISceneNodeAnimator * animator = smgr->createFlyCircleAnimator(
smgr->createFlyCircleAnimator(vector3df(0, 0, 0), 30.f, vector3df(0, 0, 0), 30.f, 0.001f,
0.001f, vector3df(0, 0, 1), vector3df(0, 0, 1), (offsetDegrees[i] / 360.f));
(offsetDegrees[i] / 360.f));
if(!node || !animator) if(!node || !animator)
return false; return false;
...@@ -56,3 +55,4 @@ bool flyCircleAnimator(void) ...@@ -56,3 +55,4 @@ bool flyCircleAnimator(void)
return result; return result;
} }
<?xml version="1.0"?>
<root>
<element_position id1="152722522" id2="3" x="301" y="118" />
</root>
...@@ -159,8 +159,8 @@ bool testXML(void) ...@@ -159,8 +159,8 @@ bool testXML(void)
result &= simple_xml(device->getFileSystem()); result &= simple_xml(device->getFileSystem());
logTestString("Test XML reader CDATA support.\n"); logTestString("Test XML reader CDATA support.\n");
result &= cdata(device->getFileSystem()); result &= cdata(device->getFileSystem());
// logTestString("Test XML reader attribute support.\n"); logTestString("Test XML reader attribute support.\n");
// result &= attributeValues(device->getFileSystem()); // TODO: this bug is still open! result &= attributeValues(device->getFileSystem());
device->drop(); device->drop();
return result; return result;
......
Tests finished. 1 test of 1 passed. Tests finished. 55 tests of 55 passed.
Compiled as DEBUG Compiled as DEBUG
Test suite pass at GMT Sun Jul 18 12:05:54 2010 Test suite pass at GMT Sun Jul 18 15:41:35 2010
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