]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - com_list.h
cl_particles: Tweak the smoke, blood, and rocket launcher particle parameters to...
[xonotic/darkplaces.git] / com_list.h
index 8da053c3f1f4f25eea0cbacf41c7d239a00701d1..e99ee346b0a9b3541dc42d737ef5a74dae325618 100644 (file)
@@ -20,7 +20,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
 // com_list.c - generic doubly linked list interface, inspired by Linux list.h
 
+#ifndef LIST_H
+#define LIST_H
+
 #include <stddef.h>
+#include "qtypes.h"
 
 typedef struct llist_s
 {
@@ -53,4 +57,6 @@ void List_Splice(const llist_t *list, llist_t *head);
 void List_Splice_Tail(const llist_t *list, llist_t *head);
 qbool List_IsFirst(llist_t *list, llist_t *start);
 qbool List_IsLast(llist_t *list, llist_t *start);
-qbool List_IsEmpty(const llist_t *list);
\ No newline at end of file
+qbool List_IsEmpty(const llist_t *list);
+
+#endif