Fixed problem with test compilation
Altered test cmake files to fix linker problem. Changed tga to png in pyro. Changed enum in CMotionDummy.dev-ui
parent
64162a0e6f
commit
2ba146cd63
|
@ -1555,7 +1555,7 @@ void CPyro::ExploStart()
|
|||
{
|
||||
int objRank = m_object->GetObjectRank(i);
|
||||
if ( objRank == -1 ) continue;
|
||||
m_engine->ChangeSecondTexture(objRank, "dirty04.tga");
|
||||
m_engine->ChangeSecondTexture(objRank, "dirty04.png");
|
||||
|
||||
Math::Vector pos = m_object->GetPosition(i);
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
// * This file is part of the COLOBOT source code
|
||||
// * Copyright (C) 2001-2008, Daniel ROUX & EPSITEC SA, www.epsitec.ch
|
||||
// * Copyright (C) 2013 Polish Portal of Colobot (PPC)
|
||||
// *
|
||||
// * This program is free software: you can redistribute it and/or modify
|
||||
// * it under the terms of the GNU General Public License as published by
|
||||
|
@ -55,7 +56,7 @@ bool CMotionDummy::Create(Math::Vector pos, float angle, ObjectType type,
|
|||
|
||||
// Creates the main base.
|
||||
int rank = m_engine->CreateObject();
|
||||
m_engine->SetObjectType(rank, Gfx::ENG_OBJTYPE_VEHICULE); // this is a moving object
|
||||
m_engine->SetObjectType(rank, Gfx::ENG_OBJTYPE_VEHICLE); // this is a moving object
|
||||
m_object->SetObjectRank(0, rank);
|
||||
|
||||
return true;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
// * This file is part of the COLOBOT source code
|
||||
// * Copyright (C) 2001-2008, Daniel ROUX & EPSITEC SA, www.epsitec.ch
|
||||
// * Copyright (C) 2013 Polish Portal of Colobot (PPC)
|
||||
// *
|
||||
// * This program is free software: you can redistribute it and/or modify
|
||||
// * it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -89,6 +89,7 @@ ${SRC_DIR}/object/motion/motionspider.cpp
|
|||
${SRC_DIR}/object/motion/motiontoto.cpp
|
||||
${SRC_DIR}/object/motion/motionvehicle.cpp
|
||||
${SRC_DIR}/object/motion/motionworm.cpp
|
||||
${SRC_DIR}/object/motion/motiondummy.cpp
|
||||
${SRC_DIR}/object/object.cpp
|
||||
${SRC_DIR}/object/objman.cpp
|
||||
${SRC_DIR}/object/robotmain.cpp
|
||||
|
|
Loading…
Reference in New Issue