1 /* ScummVM - Graphic Adventure Engine 2 * 3 * ScummVM is the legal property of its developers, whose names 4 * are too numerous to list here. Please refer to the COPYRIGHT 5 * file distributed with this source distribution. 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License 9 * as published by the Free Software Foundation; either version 2 10 * of the License, or (at your option) any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program; if not, write to the Free Software 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 20 * 21 */ 22 23 #ifndef AGS_PLUGINS_CORE_OBJECT_H 24 #define AGS_PLUGINS_CORE_OBJECT_H 25 26 #include "ags/plugins/ags_plugin.h" 27 28 namespace AGS3 { 29 namespace Plugins { 30 namespace Core { 31 32 class Object : public ScriptContainer { BUILT_IN_HASH(Object)33 BUILT_IN_HASH(Object) 34 public: 35 virtual ~Object() {} 36 void AGS_EngineStartup(IAGSEngine *engine) override; 37 38 void Animate(ScriptMethodParams ¶ms); 39 void IsCollidingWithObject(ScriptMethodParams ¶ms); 40 void GetName(ScriptMethodParams ¶ms); 41 void GetProperty(ScriptMethodParams ¶ms); 42 void GetPropertyText(ScriptMethodParams ¶ms); 43 void GetTextProperty(ScriptMethodParams ¶ms); 44 void MergeIntoBackground(ScriptMethodParams ¶ms); 45 void Move(ScriptMethodParams ¶ms); 46 void RemoveTint(ScriptMethodParams ¶ms); 47 void RunInteraction(ScriptMethodParams ¶ms); 48 void SetPosition(ScriptMethodParams ¶ms); 49 void SetView(ScriptMethodParams ¶ms); 50 void StopAnimating(ScriptMethodParams ¶ms); 51 void StopMoving(ScriptMethodParams ¶ms); 52 void Tint(ScriptMethodParams ¶ms); 53 void GetObjectAtRoom(ScriptMethodParams ¶ms); 54 void GetObjectAtScreen(ScriptMethodParams ¶ms); 55 void GetAnimating(ScriptMethodParams ¶ms); 56 void GetBaseline(ScriptMethodParams ¶ms); 57 void SetBaseline(ScriptMethodParams ¶ms); 58 void GetBlockingHeight(ScriptMethodParams ¶ms); 59 void SetBlockingHeight(ScriptMethodParams ¶ms); 60 void GetBlockingWidth(ScriptMethodParams ¶ms); 61 void SetBlockingWidth(ScriptMethodParams ¶ms); 62 void GetClickable(ScriptMethodParams ¶ms); 63 void SetClickable(ScriptMethodParams ¶ms); 64 void GetFrame(ScriptMethodParams ¶ms); 65 void GetGraphic(ScriptMethodParams ¶ms); 66 void SetGraphic(ScriptMethodParams ¶ms); 67 void GetID(ScriptMethodParams ¶ms); 68 void GetIgnoreScaling(ScriptMethodParams ¶ms); 69 void SetIgnoreScaling(ScriptMethodParams ¶ms); 70 void GetIgnoreWalkbehinds(ScriptMethodParams ¶ms); 71 void SetIgnoreWalkbehinds(ScriptMethodParams ¶ms); 72 void GetLoop(ScriptMethodParams ¶ms); 73 void GetMoving(ScriptMethodParams ¶ms); 74 void GetName_New(ScriptMethodParams ¶ms); 75 void GetSolid(ScriptMethodParams ¶ms); 76 void SetSolid(ScriptMethodParams ¶ms); 77 void GetTransparency(ScriptMethodParams ¶ms); 78 void SetTransparency(ScriptMethodParams ¶ms); 79 void GetView(ScriptMethodParams ¶ms); 80 void GetVisible(ScriptMethodParams ¶ms); 81 void SetVisible(ScriptMethodParams ¶ms); 82 void GetX(ScriptMethodParams ¶ms); 83 void SetX(ScriptMethodParams ¶ms); 84 void GetY(ScriptMethodParams ¶ms); 85 void SetY(ScriptMethodParams ¶ms); 86 }; 87 88 } // namespace Core 89 } // namespace Plugins 90 } // namespace AGS3 91 92 #endif 93