colobot/src/object/old_object_interface.cpp

852 lines
19 KiB
C++
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/*
* This file is part of the Colobot: Gold Edition source code
* Copyright (C) 2001-2015, Daniel Roux, EPSITEC SA & TerranovaTeam
* http://epsiteс.ch; http://colobot.info; http://github.com/colobot
*
* 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
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://gnu.org/licenses
*/
#include "object/old_object_interface.h"
void COldObjectInterface::Simplify()
{
throw std::logic_error("Simplify: not implemented!");
}
bool COldObjectInterface::ExplodeObject(ExplosionType type, float force, float decay)
{
throw std::logic_error("ExplodeObject: not implemented!");
}
void COldObjectInterface::UpdateMapping()
{
throw std::logic_error("UpdateMapping: not implemented!");
}
void COldObjectInterface::DeletePart(int part)
{
throw std::logic_error("DeletePart: not implemented!");
}
void COldObjectInterface::SetObjectRank(int part, int objRank)
{
throw std::logic_error("SetObjectRank: not implemented!");
}
int COldObjectInterface::GetObjectRank(int part)
{
throw std::logic_error("GetObjectRank: not implemented!");
}
void COldObjectInterface::SetObjectParent(int part, int parent)
{
throw std::logic_error("SetObjectParent: not implemented!");
}
void COldObjectInterface::SetType(ObjectType type)
{
throw std::logic_error("SetType: not implemented!");
}
const char* COldObjectInterface::GetName()
{
throw std::logic_error("GetName: not implemented!");
}
int COldObjectInterface::GetOption()
{
throw std::logic_error("GetOption: not implemented!");
}
void COldObjectInterface::SetDrawWorld(bool bDraw)
{
throw std::logic_error("SetDrawWorld: not implemented!");
}
void COldObjectInterface::SetDrawFront(bool bDraw)
{
throw std::logic_error("SetDrawFront: not implemented!");
}
bool COldObjectInterface::ReadProgram(Program* program, const char* filename)
{
throw std::logic_error("ReadProgram: not implemented!");
}
bool COldObjectInterface::WriteProgram(Program* program, const char* filename)
{
throw std::logic_error("WriteProgram: not implemented!");
}
int COldObjectInterface::GetShadowLight()
{
throw std::logic_error("GetShadowLight: not implemented!");
}
int COldObjectInterface::GetEffectLight()
{
throw std::logic_error("GetEffectLight: not implemented!");
}
void COldObjectInterface::SetShieldRadius(float radius)
{
throw std::logic_error("SetShieldRadius: not implemented!");
}
float COldObjectInterface::GetShieldRadius()
{
throw std::logic_error("GetShieldRadius: not implemented!");
}
void COldObjectInterface::SetFloorHeight(float height)
{
throw std::logic_error("SetFloorHeight: not implemented!");
}
void COldObjectInterface::FloorAdjust()
{
throw std::logic_error("FloorAdjust: not implemented!");
}
void COldObjectInterface::SetLinVibration(Math::Vector dir)
{
throw std::logic_error("SetLinVibration: not implemented!");
}
Math::Vector COldObjectInterface::GetLinVibration()
{
throw std::logic_error("GetLinVibration: not implemented!");
}
void COldObjectInterface::SetCirVibration(Math::Vector dir)
{
throw std::logic_error("SetCirVibration: not implemented!");
}
Math::Vector COldObjectInterface::GetCirVibration()
{
throw std::logic_error("GetCirVibration: not implemented!");
}
void COldObjectInterface::SetTilt(Math::Vector dir)
{
throw std::logic_error("SetTilt: not implemented!");
}
Math::Vector COldObjectInterface::GetTilt()
{
throw std::logic_error("GetTilt: not implemented!");
}
void COldObjectInterface::SetPosition(int part, const Math::Vector &pos)
{
throw std::logic_error("SetPosition: not implemented!");
}
Math::Vector COldObjectInterface::GetPosition(int part)
{
throw std::logic_error("GetPosition: not implemented!");
}
void COldObjectInterface::SetAngle(int part, const Math::Vector &angle)
{
throw std::logic_error("SetAngle: not implemented!");
}
Math::Vector COldObjectInterface::GetAngle(int part)
{
throw std::logic_error("GetAngle: not implemented!");
}
void COldObjectInterface::SetAngleY(int part, float angle)
{
throw std::logic_error("SetAngleY: not implemented!");
}
void COldObjectInterface::SetAngleX(int part, float angle)
{
throw std::logic_error("SetAngleX: not implemented!");
}
void COldObjectInterface::SetAngleZ(int part, float angle)
{
throw std::logic_error("SetAngleZ: not implemented!");
}
float COldObjectInterface::GetAngleY(int part)
{
throw std::logic_error("GetAngleY: not implemented!");
}
float COldObjectInterface::GetAngleX(int part)
{
throw std::logic_error("GetAngleX: not implemented!");
}
float COldObjectInterface::GetAngleZ(int part)
{
throw std::logic_error("GetAngleZ: not implemented!");
}
void COldObjectInterface::SetZoom(int part, float zoom)
{
throw std::logic_error("SetZoom: not implemented!");
}
void COldObjectInterface::SetZoom(int part, Math::Vector zoom)
{
throw std::logic_error("SetZoom: not implemented!");
}
Math::Vector COldObjectInterface::GetZoom(int part)
{
throw std::logic_error("GetZoom: not implemented!");
}
void COldObjectInterface::SetZoomX(int part, float zoom)
{
throw std::logic_error("SetZoomX: not implemented!");
}
float COldObjectInterface::GetZoomX(int part)
{
throw std::logic_error("GetZoomX: not implemented!");
}
void COldObjectInterface::SetZoomY(int part, float zoom)
{
throw std::logic_error("SetZoomY: not implemented!");
}
float COldObjectInterface::GetZoomY(int part)
{
throw std::logic_error("GetZoomY: not implemented!");
}
void COldObjectInterface::SetZoomZ(int part, float zoom)
{
throw std::logic_error("SetZoomZ: not implemented!");
}
float COldObjectInterface::GetZoomZ(int part)
{
throw std::logic_error("GetZoomZ: not implemented!");
}
void COldObjectInterface::SetTrainer(bool bEnable)
{
throw std::logic_error("SetTrainer: not implemented!");
}
bool COldObjectInterface::GetTrainer()
{
throw std::logic_error("GetTrainer: not implemented!");
}
void COldObjectInterface::SetToy(bool bEnable)
{
throw std::logic_error("SetToy: not implemented!");
}
bool COldObjectInterface::GetToy()
{
throw std::logic_error("GetToy: not implemented!");
}
void COldObjectInterface::SetManual(bool bManual)
{
throw std::logic_error("SetManual: not implemented!");
}
bool COldObjectInterface::GetManual()
{
throw std::logic_error("GetManual: not implemented!");
}
void COldObjectInterface::SetResetCap(ResetCap cap)
{
throw std::logic_error("SetResetCap: not implemented!");
}
ResetCap COldObjectInterface::GetResetCap()
{
throw std::logic_error("GetResetCap: not implemented!");
}
void COldObjectInterface::SetResetBusy(bool bBusy)
{
throw std::logic_error("SetResetBusy: not implemented!");
}
bool COldObjectInterface::GetResetBusy()
{
throw std::logic_error("GetResetBusy: not implemented!");
}
void COldObjectInterface::SetResetPosition(const Math::Vector &pos)
{
throw std::logic_error("SetResetPosition: not implemented!");
}
Math::Vector COldObjectInterface::GetResetPosition()
{
throw std::logic_error("GetResetPosition: not implemented!");
}
void COldObjectInterface::SetResetAngle(const Math::Vector &angle)
{
throw std::logic_error("SetResetAngle: not implemented!");
}
Math::Vector COldObjectInterface::GetResetAngle()
{
throw std::logic_error("GetResetAngle: not implemented!");
}
void COldObjectInterface::SetResetRun(Program* run)
{
throw std::logic_error("SetResetRun: not implemented!");
}
Program* COldObjectInterface::GetResetRun()
{
throw std::logic_error("GetResetRun: not implemented!");
}
void COldObjectInterface::SetMasterParticle(int part, int parti)
{
throw std::logic_error("SetMasterParticle: not implemented!");
}
int COldObjectInterface::GetMasterParticle(int part)
{
throw std::logic_error("GetMasterParticle: not implemented!");
}
void COldObjectInterface::SetCmdLine(unsigned int rank, float value)
{
throw std::logic_error("SetCmdLine: not implemented!");
}
float COldObjectInterface::GetCmdLine(unsigned int rank)
{
throw std::logic_error("GetCmdLine: not implemented!");
}
Math::Matrix* COldObjectInterface::GetRotateMatrix(int part)
{
throw std::logic_error("GetRotateMatrix: not implemented!");
}
Math::Matrix* COldObjectInterface::GetWorldMatrix(int part)
{
throw std::logic_error("GetWorldMatrix: not implemented!");
}
void COldObjectInterface::SetViewFromHere(Math::Vector &eye, float &dirH, float &dirV,
Math::Vector &lookat, Math::Vector &upVec,
Gfx::CameraType type)
{
throw std::logic_error("SetViewFromHere: not implemented!");
}
void COldObjectInterface::GetCharacter(Character* character)
{
throw std::logic_error("GetCharacter: not implemented!");
}
Character* COldObjectInterface::GetCharacter()
{
throw std::logic_error("GetCharacter: not implemented!");
}
float COldObjectInterface::GetAbsTime()
{
throw std::logic_error("GetAbsTime: not implemented!");
}
void COldObjectInterface::SetEnergy(float level)
{
throw std::logic_error("SetEnergy: not implemented!");
}
float COldObjectInterface::GetEnergy()
{
throw std::logic_error("GetEnergy: not implemented!");
}
float COldObjectInterface::GetCapacity()
{
throw std::logic_error("GetCapacity: not implemented!");
}
void COldObjectInterface::SetShield(float level)
{
throw std::logic_error("SetShield: not implemented!");
}
float COldObjectInterface::GetShield()
{
throw std::logic_error("GetShield: not implemented!");
}
void COldObjectInterface::SetRange(float delay)
{
throw std::logic_error("SetRange: not implemented!");
}
float COldObjectInterface::GetRange()
{
throw std::logic_error("GetRange: not implemented!");
}
void COldObjectInterface::SetFixed(bool bFixed)
{
throw std::logic_error("SetFixed: not implemented!");
}
bool COldObjectInterface::GetFixed()
{
throw std::logic_error("GetFixed: not implemented!");
}
void COldObjectInterface::SetClip(bool bClip)
{
throw std::logic_error("SetClip: not implemented!");
}
bool COldObjectInterface::GetClip()
{
throw std::logic_error("GetClip: not implemented!");
}
void COldObjectInterface::SetTeam(int team)
{
throw std::logic_error("SetTeam: not implemented!");
}
int COldObjectInterface::GetTeam()
{
throw std::logic_error("GetTeam: not implemented!");
}
void COldObjectInterface::StartDetectEffect(CObject *target, bool bFound)
{
throw std::logic_error("StartDetectEffect: not implemented!");
}
void COldObjectInterface::SetVirusMode(bool bEnable)
{
throw std::logic_error("SetVirusMode: not implemented!");
}
bool COldObjectInterface::GetVirusMode()
{
throw std::logic_error("GetVirusMode: not implemented!");
}
float COldObjectInterface::GetVirusTime()
{
throw std::logic_error("GetVirusTime: not implemented!");
}
void COldObjectInterface::SetCameraType(Gfx::CameraType type)
{
throw std::logic_error("SetCameraType: not implemented!");
}
Gfx::CameraType COldObjectInterface::GetCameraType()
{
throw std::logic_error("GetCameraType: not implemented!");
}
void COldObjectInterface::SetCameraDist(float dist)
{
throw std::logic_error("SetCameraDist: not implemented!");
}
float COldObjectInterface::GetCameraDist()
{
throw std::logic_error("GetCameraDist: not implemented!");
}
void COldObjectInterface::SetCameraLock(bool bLock)
{
throw std::logic_error("SetCameraLock: not implemented!");
}
bool COldObjectInterface::GetCameraLock()
{
throw std::logic_error("GetCameraLock: not implemented!");
}
void COldObjectInterface::SetHighlight(bool mode)
{
// TODO: temporary hack
return;
//throw std::logic_error("SetHighlight: not implemented!");
}
void COldObjectInterface::SetSelect(bool bMode, bool bDisplayError)
{
// TODO: temporary hack
//throw std::logic_error("SetSelect: not implemented!");
}
bool COldObjectInterface::GetSelect(bool bReal)
{
// TODO: temporary hack
return false;
//throw std::logic_error("GetSelect: not implemented!");
}
void COldObjectInterface::SetSelectable(bool bMode)
{
throw std::logic_error("SetSelectable: not implemented!");
}
bool COldObjectInterface::GetSelectable()
{
throw std::logic_error("GetSelectable: not implemented!");
}
void COldObjectInterface::SetActivity(bool bMode)
{
throw std::logic_error("SetActivity: not implemented!");
}
bool COldObjectInterface::GetActivity()
{
throw std::logic_error("GetActivity: not implemented!");
}
void COldObjectInterface::SetVisible(bool bVisible)
{
throw std::logic_error("SetVisible: not implemented!");
}
void COldObjectInterface::SetEnable(bool bEnable)
{
throw std::logic_error("SetEnable: not implemented!");
}
bool COldObjectInterface::GetEnable()
{
// TODO: temporary hack
return true;
//throw std::logic_error("GetEnable: not implemented!");
}
void COldObjectInterface::SetCheckToken(bool bMode)
{
throw std::logic_error("SetCheckToken: not implemented!");
}
bool COldObjectInterface::GetCheckToken()
{
throw std::logic_error("GetCheckToken: not implemented!");
}
void COldObjectInterface::SetProxyActivate(bool bActivate)
{
throw std::logic_error("SetProxyActivate: not implemented!");
}
bool COldObjectInterface::GetProxyActivate()
{
throw std::logic_error("GetProxyActivate: not implemented!");
}
void COldObjectInterface::SetProxyDistance(float distance)
{
throw std::logic_error("SetProxyDistance: not implemented!");
}
void COldObjectInterface::SetMagnifyDamage(float factor)
{
throw std::logic_error("SetMagnifyDamage: not implemented!");
}
float COldObjectInterface::GetMagnifyDamage()
{
throw std::logic_error("GetMagnifyDamage: not implemented!");
}
void COldObjectInterface::SetParam(float value)
{
throw std::logic_error("SetParam: not implemented!");
}
float COldObjectInterface::GetParam()
{
throw std::logic_error("GetParam: not implemented!");
}
void COldObjectInterface::SetIgnoreBuildCheck(bool bIgnoreBuildCheck)
{
throw std::logic_error("SetIgnoreBuildCheck: not implemented!");
}
bool COldObjectInterface::GetIgnoreBuildCheck()
{
throw std::logic_error("GetIgnoreBuildCheck: not implemented!");
}
void COldObjectInterface::SetExploding(bool bExplo)
{
throw std::logic_error("SetExploding: not implemented!");
}
bool COldObjectInterface::IsExploding()
{
throw std::logic_error("IsExploding: not implemented!");
}
void COldObjectInterface::SetLock(bool bLock)
{
throw std::logic_error("SetLock: not implemented!");
}
bool COldObjectInterface::GetLock()
{
// TODO: temporary hack
return false;
//throw std::logic_error("GetLock: not implemented!");
}
void COldObjectInterface::SetSpaceshipCargo(bool bCargo)
{
throw std::logic_error("SetSpaceshipCargo: not implemented!");
}
bool COldObjectInterface::IsSpaceshipCargo()
{
throw std::logic_error("IsSpaceshipCargo: not implemented!");
}
void COldObjectInterface::SetBurn(bool bBurn)
{
throw std::logic_error("SetBurn: not implemented!");
}
bool COldObjectInterface::GetBurn()
{
throw std::logic_error("GetBurn: not implemented!");
}
void COldObjectInterface::SetDead(bool bDead)
{
throw std::logic_error("SetDead: not implemented!");
}
bool COldObjectInterface::GetDead()
{
// TODO: temporary hack
return false;
//throw std::logic_error("GetDead: not implemented!");
}
bool COldObjectInterface::GetRuin()
{
// TODO: temporary hack
return false;
//throw std::logic_error("GetRuin: not implemented!");
}
bool COldObjectInterface::GetActive()
{
// TODO: temporary hack
return false;
//throw std::logic_error("GetActive: not implemented!");
}
void COldObjectInterface::SetGunGoalV(float gunGoal)
{
throw std::logic_error("SetGunGoalV: not implemented!");
}
void COldObjectInterface::SetGunGoalH(float gunGoal)
{
throw std::logic_error("SetGunGoalH: not implemented!");
}
float COldObjectInterface::GetGunGoalV()
{
throw std::logic_error("GetGunGoalV: not implemented!");
}
float COldObjectInterface::GetGunGoalH()
{
throw std::logic_error("GetGunGoalH: not implemented!");
}
bool COldObjectInterface::StartShowLimit()
{
throw std::logic_error("StartShowLimit: not implemented!");
}
void COldObjectInterface::StopShowLimit()
{
throw std::logic_error("StopShowLimit: not implemented!");
}
bool COldObjectInterface::IsProgram()
{
throw std::logic_error("IsProgram: not implemented!");
}
void COldObjectInterface::CreateSelectParticle()
{
throw std::logic_error("CreateSelectParticle: not implemented!");
}
void COldObjectInterface::SetRunScript(CScript* script)
{
throw std::logic_error("SetRunScript: not implemented!");
}
CScript* COldObjectInterface::GetRunScript()
{
throw std::logic_error("GetRunScript: not implemented!");
}
CBotVar* COldObjectInterface::GetBotVar()
{
throw std::logic_error("GetBotVar: not implemented!");
}
CPhysics* COldObjectInterface::GetPhysics()
{
throw std::logic_error("GetPhysics: not implemented!");
}
CMotion* COldObjectInterface::GetMotion()
{
throw std::logic_error("GetMotion: not implemented!");
}
CAuto* COldObjectInterface::GetAuto()
{
throw std::logic_error("GetAuto: not implemented!");
}
void COldObjectInterface::SetDefRank(int rank)
{
throw std::logic_error("SetDefRank: not implemented!");
}
int COldObjectInterface::GetDefRank()
{
throw std::logic_error("GetDefRank: not implemented!");
}
bool COldObjectInterface::GetTooltipName(std::string& name)
{
throw std::logic_error("GetTooltipName: not implemented!");
}
void COldObjectInterface::AddDeselList(CObject* pObj)
{
throw std::logic_error("AddDeselList: not implemented!");
}
CObject* COldObjectInterface::SubDeselList()
{
throw std::logic_error("SubDeselList: not implemented!");
}
void COldObjectInterface::DeleteDeselList(CObject* pObj)
{
// TODO: temporary hack
return;
//throw std::logic_error("DeleteDeselList: not implemented!");
}
bool COldObjectInterface::CreateShadowCircle(float radius, float intensity, Gfx::EngineShadowType type)
{
throw std::logic_error("CreateShadowCircle: not implemented!");
}
bool COldObjectInterface::CreateShadowLight(float height, Gfx::Color color)
{
throw std::logic_error("CreateShadowLight: not implemented!");
}
bool COldObjectInterface::CreateEffectLight(float height, Gfx::Color color)
{
throw std::logic_error("CreateEffectLight: not implemented!");
}
void COldObjectInterface::FlatParent()
{
throw std::logic_error("FlatParent: not implemented!");
}
void COldObjectInterface::SetInfoReturn(float value)
{
throw std::logic_error("SetInfoReturn: not implemented!");
}
float COldObjectInterface::GetInfoReturn()
{
throw std::logic_error("GetInfoReturn: not implemented!");
}