]> git.xonotic.org Git - xonotic/darkplaces.git/commit
Experimental feature of saving buffers within savegame files (in extended section...
authorvortex <vortex@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 10 Feb 2010 20:05:46 +0000 (20:05 +0000)
committerRudolf Polzer <rpolzer@grawp.div0.qc.to>
Mon, 22 Feb 2010 17:24:29 +0000 (18:24 +0100)
commit55a99899b51b4217f2e919223d67b4ed3c8da16a
treef4283dd079636ad939c7b79785c6e163a1e77e08
parentc00b996dcc209cd530e87481a77a82848d101fbb
Experimental feature of saving buffers within savegame files (in extended section). Code needs cleaning (since i'm not really understand concept of expandable arrays). Upgraded buf_create() to optional buf_create(string,float) string being a buffer format (yet another experimental feature that will be tested in future), should be "string" if presented. Second float is buffer flags, currently only flag 1 (save in savegames) are used. There is idea for another buffer flag which will allow buffer to pass across levels, saving handle number and contents (bufhandle could be passed as one of parm*).

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9949 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=f5b7fe803746486111c16946c49798346810e0c8
host_cmd.c
progsvm.h
prvm_cmds.c
zone.c
zone.h