Commit Graph

31 Commits

Author SHA1 Message Date
jacksonmj
0fb6b85706 Update gravity mask when loading OPS saves 2012-05-21 00:15:51 +01:00
Simon Robertshaw
d69fc052fa Fancy motion blur for OpenGL, fix a lot of dialogues in OpenGL, fix gravity lensing in OpenGL, ensure Phot and Neut are PMODE_ADD, not FLAT 2012-05-12 01:35:55 +01:00
jacksonmj
a1aeabeee4 Change license from GPLv2+ to GPLv3+
Also add headers stating the license to some more of the source files
2012-05-06 02:20:57 +01:00
jacksonmj
433c1881bc strncpy for loading sign text in OPS 2012-04-30 14:36:45 +01:00
jacksonmj
6717f4ff32 Save soap bubbles 2012-04-29 15:31:18 +01:00
jacksonmj
ade3fd9568 Delete signs when cutting; change sign location check when saving
Save signs within the original box that was drawn by the user, not
within the box that has been expanded to match the wall grid
2012-04-29 00:11:54 +01:00
jacksonmj
5d5b8143a4 OPS loading: don't replace existing particles twice, and clear soap ctype 2012-04-27 18:28:39 +01:00
jacksonmj
c8a1524d6b Save tmp2 for tron 2012-04-27 17:46:40 +01:00
savask
f93a829672 Fix sponge bug. 2012-04-19 21:42:25 +07:00
Jacob1
8ed861fb7e all wall types drawn in PSV and OPS formats 2012-03-14 20:07:21 -04:00
jacksonmj
830629be3f Rotate/reflect particle, air, and fan velocities in transform_save 2012-02-29 22:25:50 +00:00
Jacob1
fff85989e1 stickmen load correctly and are drawn in new save format, and fighters are drawn correctly in both
Conflicts:

	src/save.c
2012-01-26 22:15:57 +08:00
jacksonmj
7593f01389 Fix deco colour in prerender_save to work with other pixel formats 2012-01-26 22:15:57 +08:00
Jacob1
35270d1e37 save tmp2, show decoration color on stamps 2012-01-26 22:15:57 +08:00
jacksonmj
f0730818e4 OPS thumbnail crash fix, and blank thumbnails for saves from a newer version 2012-01-25 21:33:22 +08:00
jacksonmj
ff6aa0227d transform_save should check wall coordinates against size in blocks, not the actual size
Fixes crash when rotating a section of wall that is wider than YRES
2012-01-25 21:33:21 +08:00
jacksonmj
16ea042bab Make transform_save work with new save functions
Conflicts:

	src/powder.c
2012-01-25 13:31:05 +00:00
Simon Robertshaw
15310d0165 Revert "transform_save should check wall coordinates against size in blocks, not the actual size"
This reverts commit 34c6043014.
2012-01-25 13:29:45 +00:00
jacksonmj
34c6043014 transform_save should check wall coordinates against size in blocks, not the actual size
Fixes crash when rotating a section of wall that is wider than YRES

Conflicts:

	src/save.c
2012-01-25 13:27:28 +00:00
jacksonmj
ff55050b9b Change variable declarations to make Visual Studio happy 2012-01-15 06:26:26 +08:00
jacksonmj
7f850ad049 Add 4 byte ctype saving to OPS, for PHOT colours 2012-01-05 08:46:12 +08:00
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