projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added function to check if string is URL (not used yet)
[rocksndiamonds.git]
/
src
/
files.c
diff --git
a/src/files.c
b/src/files.c
index 2216c6713db44a1fa8e201f755f5bfd94810cd68..1e185c2396e22093f82ec3a18f80bb0421fb9911 100644
(file)
--- a/
src/files.c
+++ b/
src/files.c
@@
-8326,6
+8326,13
@@
void LoadSolutionTape(int nr)
CopyNativeTape_SP_to_RND(&level);
}
CopyNativeTape_SP_to_RND(&level);
}
+void LoadScoreTape(char *score_tape_basename, int nr)
+{
+ char *filename = getScoreTapeFilename(score_tape_basename, nr);
+
+ LoadTapeFromFilename(filename);
+}
+
static boolean checkSaveTape_SCRN(struct TapeInfo *tape)
{
// chunk required for team mode tapes with non-default screen size
static boolean checkSaveTape_SCRN(struct TapeInfo *tape)
{
// chunk required for team mode tapes with non-default screen size
@@
-8666,6
+8673,7
@@
static void setScoreInfoToDefaultsExt(struct ScoreInfo *scores)
scores->updated = FALSE;
scores->uploaded = FALSE;
scores->updated = FALSE;
scores->uploaded = FALSE;
+ scores->tape_downloaded = FALSE;
scores->force_last_added = FALSE;
}
scores->force_last_added = FALSE;
}