Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions abstractmodels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,12 @@ QString EngineListModel::addEngine(QFileInfo file)
else if (file.baseName().compare( QString("doomretro"), Qt::CaseInsensitive) == 0)
{
return updateEngine("Doom Retro", file.absoluteFilePath(), Engine_Default, Pic_Retro, true);
else if (file.baseName().compare( QString("chex3" || "chex"), Qt::CaseInsensitive) == 0)
{
return updateEngine("Chex Quest", file.absoluteFilePath(), Engine_ChexQuest, Pic_ChexQuest, true);
}
else if (file.baseName().left(6).compare(QString("dosbox"), Qt::CaseInsensitive) == 0)

{
setupDosbox(file.absoluteFilePath());
return "Success";
Expand Down Expand Up @@ -322,6 +326,7 @@ void EngineListModel::setDoomExe()
|| n.left(5).compare("hexen", Qt::CaseInsensitive) == 0
|| n.left(6).compare("strife", Qt::CaseInsensitive) == 0
|| n.left(4).compare("chex", Qt::CaseInsensitive) == 0
|| n.left(4).compare("chex3", Qt::CaseInsensitive) == 0
|| n.left(4).compare("hacx", Qt::CaseInsensitive) == 0 )
{
QMessageBox::information(NULL, "Original Exectuble Set" , QString("iD executable set to %1").arg(n));
Expand Down
7 changes: 5 additions & 2 deletions enginesetup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ void RocketLauncher2::on_listbox_engines_clicked(const QModelIndex &index)
ui->combo_EngPic->setCurrentText("Vavoom");
else if (pic == Pic_Doomsday)
ui->combo_EngPic->setCurrentText("Doomsday");
else if (pic == Pic_ChexQuest)
ui->combo_EngPic->setCurrentText("Chex Quest");

}

Expand Down Expand Up @@ -163,8 +165,7 @@ void RocketLauncher2::on_combo_EngType_currentTextChanged(const QString &arg1)
else if (arg1 == "Oldschool")
enginelist->setTypeFromIndex(Engine_Oldschool, index);
else if (arg1 == "ZDoom")
enginelist->setTypeFromIndex(Engine_ZDoom, index);
}
enginelist->setTypeFromIndex(Engine_ZDoom, index));

void RocketLauncher2::on_combo_EngPic_currentTextChanged(const QString &arg1)
{
Expand Down Expand Up @@ -200,6 +201,8 @@ void RocketLauncher2::on_combo_EngPic_currentTextChanged(const QString &arg1)
enginelist->setPicFromIndex(Pic_ZDaemon, index);
else if (arg1 == "Zdoom")
enginelist->setPicFromIndex(Pic_Zdoom, index);
else if (arg1 == "Chex Quest")
enginelist->setPicFromIndex(Pic_ChexQuest, index);

SetEnginePic(enginelist->getCurrentEngine()->EngineImage);
}
Expand Down
Binary file added img/chexlogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions rocketlauncher2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ void RocketLauncher2::initPixmaps()
enginepics->append((QPixmap(":/engine/img/retrologo.png").scaled(105,105,Qt::KeepAspectRatio))); //11 RetroDoom
enginepics->append((QPixmap(":/engine/img/vavoom2.png").scaled(105,105,Qt::KeepAspectRatio))); //12 Vavoom
enginepics->append((QPixmap(":/engine/img/ddlogo.png").scaled(105,105,Qt::KeepAspectRatio))); //13 DoomsDay
enginepics->append((QPixmap(":/engine/img/chexlogo.png").scaled(105,105,Qt::KeepAspectRatio))); //14 Chex Quest
ui->img_engine->setPixmap(enginepics->at(0));
}

Expand Down Expand Up @@ -511,6 +512,8 @@ void RocketLauncher2::SetEnginePic(EnginePic pic)
ui->img_engine->setPixmap(enginepics->at(12));
else if (pic == Pic_Doomsday)
ui->img_engine->setPixmap(enginepics->at(13));
else if (pic == Pic_ChexQuest)
ui->img_engine->setPixmap(enginepics->at(13));
}


Expand Down