TSAGE: BF - Remove an unused parameter in Scene570::Icon::setDetails()

This commit is contained in:
Strangerke 2013-11-24 02:04:47 +01:00
parent aa2371c3d8
commit 17fa43eabc
2 changed files with 16 additions and 16 deletions

View File

@ -1909,7 +1909,7 @@ bool Scene570::Icon::startAction(CursorType action, Event &event) {
}
}
void Scene570::Icon::setDetails(int iconId, int folderId, int parentFolderId, int unused, const Common::String &msg) {
void Scene570::Icon::setDetails(int iconId, int folderId, int parentFolderId, const Common::String &msg) {
Scene570 *scene = (Scene570 *)BF_GLOBALS._sceneManager._scene;
NamedObject::postInit();
@ -2076,23 +2076,23 @@ void Scene570::signal() {
_printerIcon.setDetails(570, 14, 15, -1, 2, (SceneItem *)NULL);
_iconManager.setup(2);
_folder1.setDetails(1, 1, 0, 2, SCENE570_C_DRIVE);
_folder2.setDetails(1, 2, 1, 2, SCENE570_RING);
_folder3.setDetails(1, 3, 1, 2, SCENE570_PROTO);
_folder4.setDetails(1, 4, 1, 2, SCENE570_WACKY);
_folder1.setDetails(1, 1, 0, SCENE570_C_DRIVE);
_folder2.setDetails(1, 2, 1, SCENE570_RING);
_folder3.setDetails(1, 3, 1, SCENE570_PROTO);
_folder4.setDetails(1, 4, 1, SCENE570_WACKY);
if (!BF_GLOBALS.getFlag(fDecryptedBluePrints))
_icon1.setDetails(3, 5, 0, 2, SCENE570_COBB);
_icon2.setDetails(2, 7, 0, 2, SCENE570_LETTER);
_icon1.setDetails(3, 5, 0, SCENE570_COBB);
_icon2.setDetails(2, 7, 0, SCENE570_LETTER);
if (BF_GLOBALS.getFlag(fDecryptedBluePrints))
_icon3.setDetails(7, 6, 0, 2, SCENE570_COBB);
_icon3.setDetails(7, 6, 0, SCENE570_COBB);
_icon4.setDetails(6, 8, 1, 2, SCENE570_RINGEXE);
_icon5.setDetails(5, 9, 1, 2, SCENE570_RINGDATA);
_icon6.setDetails(6, 10, 2, 2, SCENE570_PROTOEXE);
_icon7.setDetails(5, 11, 2, 2, SCENE570_PROTODATA);
_icon8.setDetails(6, 12, 3, 2, SCENE570_WACKYEXE);
_icon9.setDetails(5, 13, 3, 2, SCENE570_WACKYDATA);
_icon4.setDetails(6, 8, 1, SCENE570_RINGEXE);
_icon5.setDetails(5, 9, 1, SCENE570_RINGDATA);
_icon6.setDetails(6, 10, 2, SCENE570_PROTOEXE);
_icon7.setDetails(5, 11, 2, SCENE570_PROTODATA);
_icon8.setDetails(6, 12, 3, SCENE570_WACKYEXE);
_icon9.setDetails(5, 13, 3, SCENE570_WACKYDATA);
_iconManager.refreshList();
BF_GLOBALS._player.enableControl();
@ -2107,7 +2107,7 @@ void Scene570::signal() {
_object3.setFrame(1);
_object3.fixPriority(1);
_icon3.setDetails(7, 6, 0, 2, SCENE570_COBB);
_icon3.setDetails(7, 6, 0, SCENE570_COBB);
_iconManager.refreshList();
T2_GLOBALS._uiElements._active = true;
T2_GLOBALS._uiElements.show();

View File

@ -266,7 +266,7 @@ class Scene570: public SceneExt {
virtual void remove();
virtual bool startAction(CursorType action, Event &event);
void setDetails(int iconId, int folderId, int parentFolderId, int unused, const Common::String &msg);
void setDetails(int iconId, int folderId, int parentFolderId, const Common::String &msg);
};
class IconManager: public EventHandler {
public: