aboutsummaryrefslogtreecommitdiff
path: root/fns.h
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2021-08-01 11:56:12 +0000
committerrodri <rgl@antares-labs.eu>2021-08-01 11:56:12 +0000
commit7ed124593ebda443fc4d0f1439d1fd8dc602ce72 (patch)
tree9790ce5c3436e4b493ca912d26c6baa1bb8b826b /fns.h
parentb57dba67153279a84a16bba40ae007c8ae710056 (diff)
downloadmusw-7ed124593ebda443fc4d0f1439d1fd8dc602ce72.tar.gz
musw-7ed124593ebda443fc4d0f1439d1fd8dc602ce72.tar.bz2
musw-7ed124593ebda443fc4d0f1439d1fd8dc602ce72.zip
began building a universe for every party.
get rid of the notes file. i already keep them on paper. adapted the client to use an rframe for drawing. implemented some VModel methods for testing. FPS2MS → HZ2MS. it makes more sense and is shorter.
Diffstat (limited to 'fns.h')
-rw-r--r--fns.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/fns.h b/fns.h
index af78e5e..f7276e8 100644
--- a/fns.h
+++ b/fns.h
@@ -1,4 +1,4 @@
-#define FPS2MS(fps) (1000/(fps))
+#define HZ2MS(hz) (1000/(hz))
/*
* alloc
@@ -37,3 +37,9 @@ Party *newparty(Player[2]);
void delparty(Party*);
void addparty(Party*);
+/*
+ * universe
+ */
+Universe *newuniverse(void);
+void deluniverse(Universe*);
+void inituniverse(Universe*);