Read the .udc CallHist multiplier and BonusPoints2

MultSqlString = CallHist counts every station the call history file
lists, once per callsign, which is how N1MM dedups it. The file reaches
the scoring code through ContestLog.History, and a QsoContext now
carries it; without a file loaded nothing counts.

BonusPoints2 = +50, calls.txt reads the callsigns from the support-files
folder and adds 50 to the contact, *2 doubles it and a plain 50 scores
50 instead. The folder comes from the registry, which the app passes
when it reads the .udc files. N1MM's other form, where the file is
grids.txt and the bonus is looked up by grid square, is not read.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RoGtneMQaz4M9w7Kk49AVD
This commit is contained in:
2026-08-31 13:31:25 +00:00
parent 1d3167cd04
commit e3fa979584
10 changed files with 184 additions and 18 deletions

View File

@@ -30,7 +30,7 @@ public sealed class ContestSession
Contest = contest;
Instance = instance;
Me = me;
Log = new ContestLog(contest, me, countries, instance.Entry);
Log = new ContestLog(contest, me, countries, instance.Entry) { History = History };
Log.Restore(store.Qsos(instance.ContestNumber));
Editor = new QsoEditor(contest, me, countries);
SentNumber = NextSentNumber();