1 /* 2 * This file is part of the Colobot: Gold Edition source code 3 * Copyright (C) 2001-2020, Daniel Roux, EPSITEC SA & TerranovaTeam 4 * http://epsitec.ch; http://colobot.info; http://github.com/colobot 5 * 6 * This program is free software: you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation, either version 3 of the License, or 9 * (at your option) any later version. 10 * 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 14 * See the GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with this program. If not, see http://gnu.org/licenses 18 */ 19 20 #include "object/old_object_interface.h" 21 22 #include <stdexcept> 23 Simplify()24void COldObjectInterface::Simplify() 25 { 26 throw std::logic_error("Simplify: not implemented!"); 27 } 28 DeletePart(int part)29void COldObjectInterface::DeletePart(int part) 30 { 31 throw std::logic_error("DeletePart: not implemented!"); 32 } 33 GetObjectRank(int part)34int COldObjectInterface::GetObjectRank(int part) 35 { 36 throw std::logic_error("GetObjectRank: not implemented!"); 37 } 38 SetType(ObjectType type)39void COldObjectInterface::SetType(ObjectType type) 40 { 41 throw std::logic_error("SetType: not implemented!"); 42 } 43 GetOption()44int COldObjectInterface::GetOption() 45 { 46 throw std::logic_error("GetOption: not implemented!"); 47 } 48 SetDrawFront(bool bDraw)49void COldObjectInterface::SetDrawFront(bool bDraw) 50 { 51 throw std::logic_error("SetDrawFront: not implemented!"); 52 } 53 54 FloorAdjust()55void COldObjectInterface::FloorAdjust() 56 { 57 throw std::logic_error("FloorAdjust: not implemented!"); 58 } 59 60 SetLinVibration(Math::Vector dir)61void COldObjectInterface::SetLinVibration(Math::Vector dir) 62 { 63 throw std::logic_error("SetLinVibration: not implemented!"); 64 } 65 SetCirVibration(Math::Vector dir)66void COldObjectInterface::SetCirVibration(Math::Vector dir) 67 { 68 throw std::logic_error("SetCirVibration: not implemented!"); 69 } 70 GetTilt()71Math::Vector COldObjectInterface::GetTilt() 72 { 73 throw std::logic_error("GetTilt: not implemented!"); 74 } 75 SetMasterParticle(int part,int parti)76void COldObjectInterface::SetMasterParticle(int part, int parti) 77 { 78 throw std::logic_error("SetMasterParticle: not implemented!"); 79 } 80 GetWorldMatrix(int part)81Math::Matrix* COldObjectInterface::GetWorldMatrix(int part) 82 { 83 throw std::logic_error("GetWorldMatrix: not implemented!"); 84 } 85 GetCharacter()86Character* COldObjectInterface::GetCharacter() 87 { 88 throw std::logic_error("GetCharacter: not implemented!"); 89 } 90 91 SetVirusMode(bool bEnable)92void COldObjectInterface::SetVirusMode(bool bEnable) 93 { 94 throw std::logic_error("SetVirusMode: not implemented!"); 95 } 96 GetVirusMode()97bool COldObjectInterface::GetVirusMode() 98 { 99 throw std::logic_error("GetVirusMode: not implemented!"); 100 } 101 102 GetAuto()103CAuto* COldObjectInterface::GetAuto() 104 { 105 throw std::logic_error("GetAuto: not implemented!"); 106 } 107 108 FlatParent()109void COldObjectInterface::FlatParent() 110 { 111 throw std::logic_error("FlatParent: not implemented!"); 112 } 113