Skip to content

Commit 5b1eae2

Browse files
committed
fix young lara id number
it can load all levels but shoul limit it to 100 or something, it take 5 secunds for all levels...
1 parent 63d850a commit 5b1eae2

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

src/TombRaiderLinuxLauncher.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
#include "../src/TombRaiderLinuxLauncher.hpp"
1616
#include "ui_TombRaiderLinuxLauncher.h"
1717
#include "../src/staticData.hpp"
18-
// #include "debug.hpp"
1918

2019
TombRaiderLinuxLauncher::TombRaiderLinuxLauncher(QWidget *parent)
2120
: QMainWindow(parent) {
@@ -170,6 +169,11 @@ void TombRaiderLinuxLauncher::generateList(const QList<int>& availableGames) {
170169
.arg(list[i].m_title)
171170
.arg(list[i].m_author);
172171

172+
//list[i].m_type
173+
//list[i].m_class
174+
//list[i].m_difficulty
175+
//list[i].m_duration
176+
173177
tag += QString(
174178
"Type: %1\nClass: %2\nDifficulty: %3\nDuration: %4\nDate:%5")
175179
.arg(mapType.at(list[i].m_type))

src/binary.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#include <QByteArray>
2121
#include <QDebug>
2222
#include <QDataStream>
23+
#include <string>
2324

2425
// Define structures for PE headers
2526
#pragma pack(push, 1) // Set 1-byte alignment

src/main.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
#include <QCommandLineParser>
1616
#include <QCoreApplication>
1717
#include <QTest>
18-
#include "binary.hpp"
19-
#include "test.hpp"
18+
#include "../src/binary.hpp"
19+
#include "../test/test.hpp"
2020
#else
2121
#include <QApplication>
22-
#include "TombRaiderLinuxLauncher.hpp"
22+
#include "../src/TombRaiderLinuxLauncher.hpp"
2323
#endif
2424

2525
#ifdef TEST

src/staticData.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ struct StaticData {
6565
{34, "Venice"},
6666
{35, "Wild West"},
6767
{36, "Xmas"},
68-
{36, "Young Lara"}
68+
{37, "Young Lara"}
6969
};
7070
}
7171
std::unordered_map<qint64, QString> getDuration() const {

0 commit comments

Comments
 (0)