diff options
-rw-r--r-- | musw.c | 5 | ||||
-rw-r--r-- | muswd.c | 5 | ||||
-rw-r--r-- | todo | 1 |
3 files changed, 5 insertions, 6 deletions
@@ -697,7 +697,7 @@ soundproc(void *) } void -threadshow(void *) +runshow(void) { uvlong then, now, frametime, lastpktsent; Vfx *vfx; @@ -834,6 +834,5 @@ threadmain(int argc, char *argv[]) threadcreate(threadnetppu, nil, mainstacksize); threadcreate(threadnetsend, &fd, mainstacksize); threadcreate(threadresize, mc, mainstacksize); - threadcreate(threadshow, nil, mainstacksize); - yield(); + runshow(); } @@ -330,7 +330,7 @@ broadcaststate(void) } void -threadsim(void *) +runsim(void) { int i; ulong kdown; @@ -536,6 +536,5 @@ threadmain(int argc, char *argv[]) threadcreate(threadnetrecv, &adfd, mainstacksize); threadcreate(threadnetppu, nil, mainstacksize); threadcreate(threadnetsend, &adfd, mainstacksize); - threadcreate(threadsim, nil, mainstacksize); - yield(); + runsim(); } @@ -17,6 +17,7 @@ [✓] main game [ ] keep a score [ ] manage health + > related to hyperjump and the increasing likelihood of its destroying the ship. [ ] reduce the amount of data sent on every NSsimstate packet [✓] only send the fired bullets [ ] bit packing |