many sparse changes

This commit is contained in:
Geoffray Levasseur committed 2026-11-03 18:33:45 +01:00
1 parent 2c26c6f795
commit 7aa4ea4425
23 files changed
+1317 -290

No files matched your search

+1 -28
View File
@@ -30,6 +30,7 @@
#include "Cevo/CevoBaseWin.h"
#include "Cevo/CevoPVScrollBar.h"
#include "Cevo/CevoStringTables.h"
#include <QColor>
#include <QString>
@@ -103,34 +104,6 @@ struct HistItem {
QString searchContent;
};
// Minimal stand-in for StringTables.pas's TStringTable (not ported) - a
// key->text lookup with handle-based indirection and full-text search.
// Since Help/Help.txt's real content isn't available without a
// StringTables.pas port, every lookup returns a disclosed placeholder and
// search() never matches anything.
class StringTable {
public:
void loadFromFile(const QString &fileName) { Q_UNUSED(fileName); }
QString operator[](const QString &key) const { return key; }
int getHandle(const QString &key) const
{
Q_UNUSED(key);
return -1;
}
QString lookupByHandle(int handle) const
{
Q_UNUSED(handle);
return QString();
}
bool search(const QString &searchString, int &handle, int &index) const
{
Q_UNUSED(searchString);
Q_UNUSED(handle);
Q_UNUSED(index);
return false;
}
};
// THelpDlg equivalent: the in-game encyclopedia/hypertext browser. UI built
// from Help.ui (adapted from the original's Help.lfm). The real content
// (Help/Help.txt via StringTables.pas) isn't available, so prepare()/