2016-03-12 07:59:44 -05:00
|
|
|
/* ScummVM - Graphic Adventure Engine
|
|
|
|
*
|
|
|
|
* ScummVM is the legal property of its developers, whose names
|
|
|
|
* are too numerous to list here. Please refer to the COPYRIGHT
|
|
|
|
* file distributed with this source distribution.
|
|
|
|
*
|
|
|
|
* 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 2
|
|
|
|
* 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, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "common/textconsole.h"
|
|
|
|
#include "titanic/true_talk/bellbot_script.h"
|
|
|
|
#include "titanic/true_talk/true_talk_manager.h"
|
|
|
|
|
|
|
|
namespace Titanic {
|
|
|
|
|
|
|
|
BellbotScript::BellbotScript(int val1, const char *charClass, int v2,
|
|
|
|
const char *charName, int v3, int val2) :
|
2016-05-14 00:12:47 -04:00
|
|
|
TTnpcScript(val1, charClass, v2, charName, v3, val2, -1, -1, -1, 0),
|
2016-03-12 07:59:44 -05:00
|
|
|
_field2D0(0), _field2D4(0), _field2D8(0), _field2DC(0) {
|
|
|
|
CTrueTalkManager::setFlags(25, 0);
|
|
|
|
CTrueTalkManager::setFlags(24, 0);
|
|
|
|
CTrueTalkManager::setFlags(40, 0);
|
|
|
|
CTrueTalkManager::setFlags(26, 0);
|
|
|
|
|
2016-06-06 06:52:33 -04:00
|
|
|
setupDials(0, 0, 0);
|
2016-03-12 07:59:44 -05:00
|
|
|
_array[0] = 100;
|
|
|
|
_array[1] = 0;
|
|
|
|
|
2016-06-06 08:52:02 -04:00
|
|
|
loadResponses("Responses/Bellbot", 4);
|
2016-03-12 07:59:44 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
void BellbotScript::proc7(int v1, int v2) {
|
|
|
|
warning("TODO");
|
|
|
|
}
|
|
|
|
|
|
|
|
int BellbotScript::proc10() const {
|
|
|
|
warning("TODO");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int BellbotScript::proc15() const {
|
|
|
|
warning("TODO");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2016-03-13 18:21:12 -04:00
|
|
|
bool BellbotScript::proc16() const {
|
2016-03-12 07:59:44 -05:00
|
|
|
warning("TODO");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2016-06-06 08:13:00 -04:00
|
|
|
bool BellbotScript::setupRanges() {
|
2016-03-12 07:59:44 -05:00
|
|
|
warning("TODO");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2016-03-13 18:21:12 -04:00
|
|
|
bool BellbotScript::proc18() const {
|
2016-03-12 07:59:44 -05:00
|
|
|
warning("TODO");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2016-05-30 19:15:47 -04:00
|
|
|
int BellbotScript::proc21(int v1, int v2, int v3) {
|
2016-03-12 07:59:44 -05:00
|
|
|
warning("TODO");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2016-06-02 23:33:55 -04:00
|
|
|
int BellbotScript::proc22(int id) const {
|
2016-03-12 07:59:44 -05:00
|
|
|
warning("TODO");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int BellbotScript::proc23() const {
|
|
|
|
warning("TODO");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2016-05-30 19:15:47 -04:00
|
|
|
const int *BellbotScript::getTablePtr(int id) {
|
2016-03-12 07:59:44 -05:00
|
|
|
warning("TODO");
|
2016-05-30 19:15:47 -04:00
|
|
|
return nullptr;
|
2016-03-12 07:59:44 -05:00
|
|
|
}
|
|
|
|
|
2016-06-02 23:33:55 -04:00
|
|
|
int BellbotScript::proc25(int val1, int val2, TTroomScript *roomScript, TTsentence *sentence) const {
|
2016-03-12 07:59:44 -05:00
|
|
|
warning("TODO");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2016-06-02 23:33:55 -04:00
|
|
|
void BellbotScript::proc26(int v1, const TTsentenceEntry *entry, TTroomScript *roomScript, TTsentence *sentence) {
|
2016-03-12 07:59:44 -05:00
|
|
|
}
|
|
|
|
|
2016-05-30 19:15:47 -04:00
|
|
|
int BellbotScript::proc36(int id) const {
|
2016-03-12 07:59:44 -05:00
|
|
|
warning("TODO");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2016-05-30 19:15:47 -04:00
|
|
|
uint BellbotScript::translateId(uint id) const {
|
2016-03-12 07:59:44 -05:00
|
|
|
warning("TODO");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
} // End of namespace Titanic
|