Commit Graph

3491 Commits

Author SHA1 Message Date
Simon Robertshaw
f2e1d38b58 TPT: Save soap bubbles 6717f4ff32 2012-06-12 17:06:38 +01:00
Simon Robertshaw
2633af01d7 TPT: Fix bounds checking for SING and make explosion pressure area smaller d7f798da60 2012-06-12 16:34:39 +01:00
Simon Robertshaw
a270acfc54 OPS loading: don't replace existing particles twice, and clear soap c… 2012-06-12 16:30:27 +01:00
Simon Robertshaw
ad677189cb TPT: Use an array instead of ctype to cache tron colour 6101c04ff9 2012-06-12 16:20:35 +01:00
Simon Robertshaw
74d7fb59c3 TPT: Save tmp2 for tron c8a1524d6b 2012-06-12 16:11:34 +01:00
Simon Robertshaw
ca42a081ec TPT: Add tmp2 support to old console 418bdf0892 2012-06-12 16:07:02 +01:00
Simon Robertshaw
117b1fb5c4 TPT: Fix includes for OSX and BSD a75da2c4c3 2012-06-12 16:05:02 +01:00
Simon Robertshaw
573035ac10 TPT: It's hard to be a fool (fix for the fix) ffee9df8e6 2012-06-12 16:03:26 +01:00
Simon Robertshaw
14cb5cf765 TPT: Gel won't move solids any more 68ab2e3148 2012-06-12 16:02:09 +01:00
Simon Robertshaw
96ec616442 TPT: BSD Platform, -DBSD 9e18556ae6 2012-06-12 16:00:18 +01:00
Simon Robertshaw
311190c148 Use stdint for 32bit Linux in BSON.h 2012-06-12 15:42:09 +01:00
Simon Robertshaw
6f814528fc Correct save reloading, add Vac and NGrav tools 2012-06-12 15:37:46 +01:00
Simon Robertshaw
99edca6d07 STOR should not conduct heat 2012-06-12 12:53:11 +01:00
Simon Robertshaw
f6f83cc276 Correct overlapping rectangles with translucent stamp selection 2012-06-11 13:48:34 +01:00
Simon Robertshaw
3205df3a21 Saving and loading other flags from GameSave, remove old saveloader 2012-06-11 13:39:39 +01:00
jacksonmj
7707943981 Remember ctype when cloning lava 2012-06-10 22:57:26 +01:00
jacksonmj
3c14787064 Prevent THDR from counting towards stacked particle limit 2012-06-10 22:31:01 +01:00
jacksonmj
6d307b47b5 Revert "Make THDR TYPE_ENERGY again, so it goes in photon map"
This reverts commit 8b20bfd764.

TYPE_ENERGY makes THDR move like photons, and means adjacent particles
don't conduct as much heat from it (since the heat conduction code only
looks for particles in pmap, not photons).

Heat transfer could be fixed by increasing THDR's heat conductivity, but
gas or powder movement is probably better than photon movement for THDR.
2012-06-10 21:29:16 +01:00
Simon Robertshaw
5eb9370fc1 Uncomment bounds checking for stamp loading 2012-06-10 19:53:46 +01:00
Simon Robertshaw
fd572e9da6 Change stamp storage to a list, insert new stamps at the begining, 'l' loads the first stamp or the previously used stamp, 'k' shows the stamp browser 2012-06-10 19:52:24 +01:00
Simon Robertshaw
cdc4b4df86 Fix save rotation 2012-06-09 20:16:47 +01:00
Simon Robertshaw
26dbb9d309 Missing 'delete' on old blockMap data in save Tranformation 2012-06-09 19:43:35 +01:00
Simon Robertshaw
050ad82155 Unify stamp and clipboard placement code, GameSave translation and transoformation working (not particularly well) 2012-06-09 19:42:07 +01:00
jacksonmj
303a32f290 Avoid stacking in INVS and FILT, and fix pressurised INVS graphics
Collisions now always work for particles inside INVS and FILT, so
particles don't stack (just a single particle on top of each INVS/FILT).

Pressurised INVS was being drawn using PMODE_FLAT (with no alpha
blending), which sometimes hid particles inside INVS.

Also limit BHOL tmp value to make sure it saves correctly.
2012-06-09 16:09:14 +01:00
Simon Robertshaw
c408e035fa Preview: Wait for save to load before opening, Simulation: Correct block coords when reading wall data, replace existing particles when placing stamps on top, Game: Clear the simulation when loading a save 2012-06-09 14:54:58 +01:00
jacksonmj
601766a3a0 Run stacking check less often
But force it to be run after loading a save so that really extreme
numbers of stacked particles form BHOL immediately
2012-06-09 12:37:52 +01:00
jacksonmj
5d4c21d83b Create BHOL when particles are stacked excessively 2012-06-09 12:37:44 +01:00
jacksonmj
8ca13238d0 Prevent solid particles stacking in E-Hole
Such as occurs when cloning a solid in E-Hole
2012-06-09 11:18:21 +01:00
jacksonmj
8b20bfd764 Make THDR TYPE_ENERGY again, so it goes in photon map
Will simplify checking for excessive stacking
2012-06-09 11:08:11 +01:00
Simon Robertshaw
46614017c8 Close the preview dialogue when the model throws an exception 2012-06-08 22:55:11 +01:00
Simon Robertshaw
0ee1e1875d Load save data when showing the save preview 2012-06-08 22:04:14 +01:00
chaos.powdertoy.co.uk
6603baa538 Version Increment 2012-06-08 01:02:31 +01:00
Simon Robertshaw
d1bd90e4c9 Fix session check on startup - Session check was looking at the response code from the version check, should the session check request complete before the version check, the response code would not be valid and the response would be discarded. 2012-06-08 01:01:44 +01:00
chaos.powdertoy.co.uk
ca4400a7ad Version Increment 2012-06-07 20:02:37 +01:00
Simon Robertshaw
46d43d3020 Unnecessary optimisation 2012-06-07 19:54:13 +01:00
Simon Robertshaw
1d7b77b144 Neighbour check should be less or equal to 6 to find 2 TTAN 2012-06-07 19:31:45 +01:00
Simon Robertshaw
04a09d997d Titanium only blocks air when it is connected 2012-06-07 19:17:50 +01:00
chaos.powdertoy.co.uk
2fb1da2fed Version Increment 2012-06-07 18:03:59 +01:00
cracker64
bacde18e33 Should return out after changing type. 2012-06-07 14:03:20 -03:00
chaos.powdertoy.co.uk
21cfbdae71 Version Increment 2012-06-07 17:55:31 +01:00
Catelite
a717f67f62 Tweaks to glow colors. EXOT now mimicks Heat View's color scale, and its irradiated color scheme uses tmp2 instead of temp so it appears to cycle. 2012-06-07 17:55:08 +01:00
chaos.powdertoy.co.uk
3dabc63ff7 Version Increment 2012-06-07 16:32:11 +01:00
Simon Robertshaw
1dadb11fc2 Remove unneeded files 2012-06-07 16:16:54 +01:00
Simon Robertshaw
61ed6e0276 Rename Save class to SaveInfo, introduce SaveFile for hanlding of local data (stamps and local saves). Rename Stamps browser to LocalBrowser, ready for sharing code with the local save browser 2012-06-07 14:23:26 +01:00
chaos.powdertoy.co.uk
cd7d26377e Version Increment 2012-06-07 14:15:47 +01:00
Catelite
a360c28135 ...Slowed down replication a ton. Interferes with making bombs a ton, and makes the element seem less like insta-paste. Will still be usable for machines, though. 2012-06-07 14:03:53 +01:00
Catelite
4e3d87737e Added condition so that EXOT does not automatically replicate WARP to avoid confusion, and changed spawn tmp value to avoid instant copying on spawn. 2012-06-07 14:03:44 +01:00
Catelite
dfb0357382 Changed EXOT to change into touching particles in the five frames at the top of every tmp cycle. Also, changed BREC references into BREL for consistency since it isn't often mentioned. 2012-06-07 14:03:38 +01:00
Catelite
b5202ad38a ...Doubled pressure generating limit, so it doesn't explode out of containers -quite- as much. 2012-06-07 14:03:31 +01:00
Catelite
f77f1ab485 Added diffusion code for tmp2 in EXOT starting at >100 so that electron patterns won't cause abrupt fission reactions. Also, rearranged air generation line that depends on tmp already so that it doesn't abruptly switch on past 5000 and then violenly explode, but slowly increments instead. 2012-06-07 14:03:22 +01:00