Commit Graph

10 Commits

Author SHA1 Message Date
jacksonmj
6bd8c4c3cd Fix zero length save crash, ignore sign tool walls, allocate parts starting at beginning of array
Allocating parts starting at end was making saves loaded from OPS files run slower, because
no particles could be skipped by using parts_lastActiveIndex.
2012-01-05 08:46:11 +08:00
Simon Robertshaw
8b88557047 Fix missing and incorrect bitshifts preventing the correct reading of life, tmp and dcolour 2012-01-02 14:04:42 +00:00
Simon Robertshaw
4741e7682a Save active menu 2012-01-02 13:59:28 +00:00
Simon Robertshaw
0d8238fe8b Water equalisation in save 2012-01-01 18:32:07 +00:00
Simon Robertshaw
6fd4b2a80c prerender_save_OPS 2012-01-01 14:35:37 +00:00
Simon Robertshaw
b1aaa32116 16bit descriptor and variable temp field size, sign saving and reading 2011-12-31 18:57:42 +00:00
jacksonmj
8a2be10598 Store number of parts at each position instead of storing x/y coords
Also fix blockW/H calculation and PT_NUM check
2012-01-01 01:15:40 +08:00
Simon Robertshaw
b4b4a90f00 Almost finished new save format, just signs and thumbnail rendering needed 2011-12-30 19:48:11 +00:00
Simon Robertshaw
d657dd2182 Make OPS optional (disabled by default) with define SAVE_OPS 2011-12-30 02:10:27 +00:00
Simon Robertshaw
86369670aa Add checks for prerender_save in save_filename_ui, pass vx, vy and pv air data into parse and build save methods. New save format: OPS, basic reading and writing complete, uses BSON, BSON.c/h (Binary JSON) implementation from MongoDB. (Is License OK?) 2011-12-30 02:06:31 +00:00