Ref: user earns points not credits
This commit is contained in:
@@ -37,7 +37,7 @@ public class GuiTextOneLine implements Gui {
|
||||
|
||||
private String project;
|
||||
private int rendered;
|
||||
private String creditsEarned;
|
||||
private String pointsEarned;
|
||||
private int sigIntCount = 0;
|
||||
private DateFormat df;
|
||||
|
||||
@@ -58,7 +58,7 @@ public class GuiTextOneLine implements Gui {
|
||||
downloadProgress = new DownloadProgress(this);
|
||||
project = "";
|
||||
rendered = 0;
|
||||
creditsEarned = null;
|
||||
pointsEarned = null;
|
||||
status = "";
|
||||
computeMethod = "";
|
||||
line = "";
|
||||
@@ -157,7 +157,7 @@ public class GuiTextOneLine implements Gui {
|
||||
}
|
||||
|
||||
@Override public void displayStats(Stats stats) {
|
||||
creditsEarned = String.valueOf(stats.getCreditsEarnedSession());
|
||||
pointsEarned = String.valueOf(stats.getPointsEarnedSession());
|
||||
updateLine();
|
||||
}
|
||||
|
||||
@@ -202,7 +202,7 @@ public class GuiTextOneLine implements Gui {
|
||||
System.out.print("\r");
|
||||
|
||||
line = String.format("%s Frames: %d Points: %s | Upload Queue: %d%s | %%s %s %s", df.format(new Date()), rendered,
|
||||
creditsEarned != null ? creditsEarned : "unknown", this.uploadQueueSize,
|
||||
pointsEarned != null ? pointsEarned : "unknown", this.uploadQueueSize,
|
||||
(this.uploadQueueSize > 0 ? String.format(" (%.2fMB)", (this.uploadQueueVolume / 1024.0 / 1024.0)) : ""), computeMethod,
|
||||
status + (exiting ? " (Exiting after all frames are uploaded)" : ""));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user