]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cmd.h
cmd: Re-re-re-implement the cbuf. This time using the new generic linked list.
[xonotic/darkplaces.git] / cmd.h
diff --git a/cmd.h b/cmd.h
index 175a1537d1e55eacd59a2ba54ec1fdb214010ad7..d2b756dd87580509e0e3bcd5a0f3adde24a00c46 100644 (file)
--- a/cmd.h
+++ b/cmd.h
@@ -136,7 +136,7 @@ cmd_state_t;
 
 typedef struct cbuf_cmd_s
 {
-       struct cbuf_cmd_s *prev, *next;
+       llist_t list;
        cmd_state_t *source;
        double delay;
        size_t size;
@@ -146,9 +146,9 @@ typedef struct cbuf_cmd_s
 
 typedef struct cbuf_s
 {
-       cbuf_cmd_t *start;
-       cbuf_cmd_t *deferred;
-       cbuf_cmd_t *free;
+       llist_t start;
+       llist_t deferred;
+       llist_t free;
        qboolean wait;
        size_t maxsize;
        size_t size;