Commit Graph

1836 Commits

Author SHA1 Message Date
Jacob1
4af8385a0e If you cancel an update, the yellow update box stays away 2012-01-25 21:33:21 +08:00
jacksonmj
44545d4c96 Solids wall description, and check build_save was successful when saving a stamp 2012-01-25 21:33:21 +08:00
Jacob1
509f1d2139 ability to delete corrupted stamps 2012-01-25 21:33:21 +08:00
jacksonmj
8a11b6b31d Check coordinates of signs before using them to read pmap or pressure 2012-01-25 21:33:21 +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
edcf6d7b2f Whoops, eval_move returning 1 should not allow particle creation 2012-01-25 21:33:20 +08:00
jacksonmj
bdf277e687 Implement PROP_NEUTABSORB 2012-01-25 21:33:20 +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
Simon Robertshaw
a27074fc47 Revert "Some fixes for compiling with Visual Studio - void* and inline"
This reverts commit ea619f5542.
2012-01-25 13:26:10 +00:00
jacksonmj
ea619f5542 Some fixes for compiling with Visual Studio - void* and inline 2012-01-25 13:25:44 +00:00
jacksonmj
ff55050b9b Change variable declarations to make Visual Studio happy 2012-01-15 06:26:26 +08:00
jacksonmj
dcac550ef4 Compiler flag for gravity.c, to fix FFTW crash due to misaligned stack on Windows 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
56b45c982b eval_move in create_part if a particle already exists in the requested position
To allow Lua tpt.create to create photons in glass
2012-01-05 08:46:11 +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
dc67615780 Air mode and Gravity mode on Simulation options, improvements to list box 2012-01-01 19:11:12 +00:00
Simon Robertshaw
0d8238fe8b Water equalisation in save 2012-01-01 18:32:07 +00:00
Simon Robertshaw
e41a3af8c5 BRMT + BREL = THRM at high temperatures 2012-01-01 16:32:02 +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
jacksonmj
3da26ef96d Change LIGH and FIGH descriptions 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
9c31393547 Backlashforwardslashbackslashbacklashforwardslash 2011-12-30 15:41:11 +00:00
Simon Robertshaw
c0a84f4558 Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy 2011-12-30 15:07:46 +00:00
Simon Robertshaw
83387b45c0 int64_t on for 64bit systems 2011-12-30 15:07:26 +00:00
chaos.powdertoy.co.uk
358a7a6833 Version Increment 2011-12-30 14:59:45 +00:00
Simon Robertshaw
b617a264f2 Fix header include for case sensitive filesystems 2011-12-30 13:56:48 +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
5b21f4a66c Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy 2011-12-30 02:06:53 +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
jacksonmj
f04577598b Fix creation of invalid wall tiles by sign tool 2011-12-29 06:39:59 +08:00
jacksonmj
2553dac942 Update can_move, recount menu items and clear graphics cache when tpt.el is changed 2011-12-29 06:39:59 +08:00
jacksonmj
23d6823bc3 Fix gravmap memset, and restrict_flt for temperatures 2011-12-29 06:39:59 +08:00
chaos.powdertoy.co.uk
ad2b000a8a Version Increment 2011-12-24 20:32:08 +00:00
Simon Robertshaw
29b9859a00 Fix FPS in HUD in stable/nonbeta releases 2011-12-24 20:31:29 +00:00
chaos.powdertoy.co.uk
25363fe5ef Version Increment 2011-12-24 18:24:50 +00:00
Simon Robertshaw
c5a3fe3217 Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy 2011-12-24 18:23:17 +00:00
Simon Robertshaw
835d9f1f3d Fix crash with clear_sim if gravity not initialised, fix renderer 2011-12-24 18:22:58 +00:00
chaos.powdertoy.co.uk
0ac69dc14e Version Increment 2011-12-24 17:27:33 +00:00
chaos.powdertoy.co.uk
02e58cdee1 Version Increment 2011-12-24 17:22:01 +00:00
chaos.powdertoy.co.uk
b6d9d8d608 Version Increment 2011-12-22 17:50:44 +00:00
chaos.powdertoy.co.uk
342a4efd6c Version Increment 2011-12-22 17:30:31 +00:00
Simon Robertshaw
fc7f872d8b Fix issue where heat transition would turn TNT to fire, TNT uses tmp for trigger state while Fire uses it for water vapourness. 2011-12-21 20:23:27 +00:00
Simon Robertshaw
a716c59610 Added some heat to TNT and IGNC 2011-12-21 17:39:53 +00:00
Simon Robertshaw
fcac7dbe09 Support for element names and hex constants for the PROP tool 2011-12-21 16:47:46 +00:00