diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-07-06 11:21:21 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-07-06 11:21:21 +0000 |
| commit | 9d632dd826c8a312095de0f56df66b2580d336cb (patch) | |
| tree | 3fdde543c94323d6c698d278a58bf18e3c385776 /src/engine/e_if_other.h | |
| parent | 3705064b109580103a3d13f44693503da9927281 (diff) | |
| download | zcatch-9d632dd826c8a312095de0f56df66b2580d336cb.tar.gz zcatch-9d632dd826c8a312095de0f56df66b2580d336cb.zip | |
major update. server clean up and much added documentation
Diffstat (limited to 'src/engine/e_if_other.h')
| -rw-r--r-- | src/engine/e_if_other.h | 14 |
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 { |