git » fp-git.git » commit 3eeba2a

added new interfaces for hof and sav files handling

author ecalot
2004-06-16 17:01:07 UTC
committer ecalot
2004-06-16 17:01:07 UTC
parent 685264644ab6c0cd3a5fa5114470881790f76b10

added new interfaces for hof and sav files handling

FP/src/include/hof.h +4 -0
FP/src/include/sav.h +3 -0

diff --git a/FP/src/include/hof.h b/FP/src/include/hof.h
new file mode 100644
index 0000000..a3177a6
--- /dev/null
+++ b/FP/src/include/hof.h
@@ -0,0 +1,4 @@
+void hofAddRecord(char* name, float time); /* time is in seconds. The interface may be changed */
+void hofRead(char** names, float** times); /* idem */
+
+/* More functions may be added */
diff --git a/FP/src/include/sav.h b/FP/src/include/sav.h
new file mode 100644
index 0000000..ef97a85
--- /dev/null
+++ b/FP/src/include/sav.h
@@ -0,0 +1,3 @@
+
+void savSave(int level, int lives, float time); /* Interface may be changed */
+void savLoad(int* level, int* lives, float* time); /* Interface may be changed */