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

+6 -8
View File
@@ -32,10 +32,10 @@
// prepare()/offscreenPaint()/line() render a plain single-paragraph
// placeholder per page instead of the original's full icon-rich,
// per-TextFormat layout engine (pkAdvIcon/pkBigIcon/pkTer/pkModel/...),
// because that engine's actual CONTENT comes from Help/Help.txt via
// StringTables.pas, which isn't ported (StringTable below is a disclosed
// stub). waterSign()/paintTerrIcon() (cosmetic pixel effects) are no-ops.
// Extend this file (not a new one) if StringTables.pas is ever ported.
// because that engine's actual CONTENT comes from Help/Help.txt (loaded
// through the real StringTable, but the file isn't shipped in resources/
// yet). waterSign()/paintTerrIcon() (cosmetic pixel effects) are no-ops.
// Extend this file (not a new one) to port the real layout engine.
#include "Help.h"
#include "ui_Help.h"
@@ -401,13 +401,11 @@ void HelpDlg::searchBtnClicked()
void HelpDlg::search(const QString &searchString)
{
searchResult.clear();
// Real full-text search needs Help/Help.txt's content via
// StringTables.pas (not ported) - the StringTable stub's search()
// always returns false, so this never finds anything yet.
// The result list isn't built yet (needs the Help.txt layout engine):
// the matches are found but not recorded.
int handle = -1;
int index = -1;
while (helpText.search(searchString, handle, index)) {
// unreachable with the current StringTable stub
}
}