about summary refs log tree commit diff
path: root/src/engine/e_if_other.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/e_if_other.h')
-rw-r--r--src/engine/e_if_other.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/engine/e_if_other.h b/src/engine/e_if_other.h
index e02a7fd1..3d43533d 100644
--- a/src/engine/e_if_other.h
+++ b/src/engine/e_if_other.h
@@ -281,6 +281,20 @@ void snap_invalidate_item(int snapid, int index);
 */
 void snap_input(void *data, int size);
 
+/*
+	Function: snap_set_staticsize
+		Tells the engine how big a specific item always will be. This
+		helps the engine to compress snapshots better.
+	
+	Arguments:
+		type - Item type
+		size - Size of the data.
+		
+	Remarks:
+		Size must be in a multiple of 4.
+*/
+void snap_set_staticsize(int type, int size);
+
 /* message packing */
 enum
 {