Commit Graph

206 Commits

Author SHA1 Message Date
Simon Robertshaw
55c870c518 TPT: Allow INST to be sparked directly with the brush 8de602d467 2012-07-25 18:15:13 +01:00
Simon Robertshaw
aa156fb933 TPT: Fix infinite loop when flood_INST finds some INST with a non zero lif... 9ee316c3e9 2012-07-25 18:13:09 +01:00
Simon Robertshaw
2135d88644 TPT: Reset particle flags in create_part 135e91b84d 2012-07-25 17:52:26 +01:00
Simon Robertshaw
799954f383 TPT: Allow stickman head to go through everything 95ca29cc64 2012-07-25 17:51:37 +01:00
Simon Robertshaw
7859cc839c TPT: Prevent STKM floating in gases 31a61d0888 2012-07-25 17:45:30 +01:00
Simon Robertshaw
e36bc8e4ae TPT: Gravity modes and Newtonian gravity for fireworks 31ce22f122 2012-07-25 17:44:29 +01:00
Simon Robertshaw
811c2cb26b TPT: Use eval_move(PT_FIGH, ...) when fighters are checking for obstacles 79614a9719 2012-07-25 17:21:13 +01:00
Simon Robertshaw
6585a4640b TPT: Replace all explosion sparks with new element (EMBR) 1d5b081942 2012-07-25 17:12:15 +01:00
Simon Robertshaw
08d1dd06ed TPT: Fix STKM causing stacking and falling through some powders c14704ae49 2012-07-25 15:47:18 +01:00
Simon Robertshaw
2189d298a7 TPT: Move INST flood fill into a separate function 36de2f19f5 2012-07-25 15:32:05 +01:00
Simon Robertshaw
fad383f392 TPT: Update to EXOT that makes it permeable to neutrons as well as electro... a104696620 2012-07-25 15:05:55 +01:00
Simon Robertshaw
d50d45ecff Fix deco smudge tool 2012-07-24 15:56:01 +01:00
Simon Robertshaw
603cf3149d HUD improvements 2012-07-24 14:58:39 +01:00
Simon Robertshaw
e65e222f2c Integer values for prefs, Default decoration colour, clear decoration 2012-07-24 13:03:28 +01:00
Simon Robertshaw
edac8b5481 Free tools 2012-06-18 15:32:15 +01:00
Simon Robertshaw
741392f2c1 Free platent and elements 2012-06-18 15:25:24 +01:00
Simon Robertshaw
f0778c2033 TPT: Prevent THDR from counting towards stacked particle limit 2012-06-13 01:28:33 +01:00
Simon Robertshaw
5f81b70787 TPT: Avoid stacking in INVS and FILT, and fix pressurised INVS graphics 2012-06-13 01:28:00 +01:00
Simon Robertshaw
2aebc294e8 TPT: Run stacking check less often 2012-06-13 01:21:33 +01:00
Simon Robertshaw
a4d156fc6b TPT: Prevent solid particles stacking in E-Hole 2012-06-13 01:06:44 +01:00
Simon Robertshaw
427670682f TPT: EXOT 2012-06-13 00:57:02 +01:00
Simon Robertshaw
c7ec0b76f6 TPT: Fix the bug with not-spawning fighter. 2012-06-12 21:29:24 +01:00
Simon Robertshaw
ef777b92dc TPT: Put ifs into switch in create_part 2012-06-12 21:28:37 +01:00
Simon Robertshaw
db86294e6a TPT: Prevent allocation of particles with type==0, bleep bloop 2012-06-12 20:16:33 +01:00
Simon Robertshaw
9033786e49 TPT: Fix PROP_NEUTPENETRATE, particles weren't being moved into empty space 2012-06-12 20:15:33 +01:00
Simon Robertshaw
f8badc05d4 TPT: Fixed the bug with snow, where it melted without taking it's ctype into account. 2012-06-12 20:13:04 +01:00
Simon Robertshaw
2e1780ce4e TPT: VOID & PVOD can be set to only eat/not eat certain things 2012-06-12 19:59:19 +01:00
Simon Robertshaw
a95ceb4c92 TPT: energy type particles automatically go into photons, not pmap 2012-06-12 19:55:00 +01:00
Simon Robertshaw
dd041d1699 TPT: GPMP activated at draw 2012-06-12 19:29:10 +01:00
Simon Robertshaw
af5c399c24 TPT: Update gravity mask when loading saves 0fb6b85706 2012-06-12 18:48:00 +01:00
Simon Robertshaw
391165409d TPT: New flood_parts function, should fix crashing due to too much recursion a11202313d 2012-06-12 18:41:36 +01:00
Simon Robertshaw
10f51cb586 TPT: Make TTAN block pressure when framestepping 58ea2b2acf 2012-06-12 18:22:25 +01:00
Simon Robertshaw
7c5e74410b TPT: New element: Titanium, absorbs some neutrons, acts as a solid wall to air d7fa0b139e 2012-06-12 18:16:40 +01:00
Simon Robertshaw
50a587813e TPT: Add PROP_NOAMBHEAT to prevent certain elements from being heated by Ambient heat 8397b6e51a 2012-06-12 17:25:06 +01:00
Simon Robertshaw
f2e1d38b58 TPT: Save soap bubbles 6717f4ff32 2012-06-12 17:06:38 +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
3205df3a21 Saving and loading other flags from GameSave, remove old saveloader 2012-06-11 13:39:39 +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
Simon Robertshaw
0ee1e1875d Load save data when showing the save preview 2012-06-08 22:04:14 +01:00
Simon Robertshaw
8fae7dbade Saving and loading at position, yuse exceptions for parsing saves 2012-06-06 01:46:13 +01:00
Simon Robertshaw
49dafbfd26 Use a different method for decoding saves with uncompressed object in memory for stamps and clipboard, also allows for transformation (rotation), missing failure states and code for loading it into a Simulation 2012-06-05 20:08:35 +01:00
Simon Robertshaw
bbf7851596 Seperate new/old CreateParts functions 2012-05-15 20:01:20 +01:00
Simon Robertshaw
45563e97e8 Make flood_prop use PropertyType from StructProperty, Property tool works 2012-05-15 00:10:10 +01:00
Simon Robertshaw
4032a0469b Click function for tools that aren't continuous. Debug helper for UI components (Ctrl+Shift D when DEBUG is defined), fix add sign window logic 2012-05-13 17:43:41 +01:00
Simon Robertshaw
724c99102e Stupid git 2012-05-12 22:28:45 +01:00
Simon Robertshaw
c5798c7456 Tools implemented in a similar way to elements 2012-05-12 18:11:20 +01:00
Simon Robertshaw
16d3895e9c Redo Wall IDs 2012-05-12 13:21:04 +01:00
Simon Robertshaw
51b17badf4 A bit of refactoring (elements) 2012-05-07 17:59:50 +01:00
Simon Robertshaw
bb8a3f76e3 OS X compiling working, Make it a bit more friendly with stricter compilers 2012-04-26 13:10:47 +01:00
Simon Robertshaw
96506610b2 Clean out graphics, add openGL graphics in seperate file, change brush to use unsigned char rather than boolean for bitmap/outline 2012-04-21 22:46:37 +01:00
Simon Robertshaw
75a9460c83 OpenGL rendering 2012-04-20 19:21:10 +01:00
Simon Robertshaw
ceb25440cb TPT: Fix sponge bug. f93a829671 2012-04-19 16:52:35 +01:00
Simon Robertshaw
0cc8f84e63 TPT: Fix the bug where you could set bad temp to insulators. 64629df1af 2012-04-18 21:35:14 +01:00
Simon Robertshaw
44d70ec6b8 TPT: Alterations to TRON and fancy effects ffa5ccb666 2012-04-18 21:31:22 +01:00
Simon Robertshaw
e4d1c7141f TPT: TRON element, needs to glow and fancy explosion on crash eccf5658d2 2012-04-18 21:27:28 +01:00
Simon Robertshaw
472cb8916e TPT: A small fix for convection. ff8ce0ef3a 2012-04-18 21:21:32 +01:00
Simon Robertshaw
1fdaabca6d TPT: Viscosity change for gel. Water diffusion among sponge and gel (but with flying cake effect) c9bcc11d35 2012-04-18 21:20:31 +01:00
Simon Robertshaw
b40f13b66a TPT: Added gel - a liquid with variable heat conductivity and viscosity. 8523da398f 2012-04-18 21:18:37 +01:00
Simon Robertshaw
ff7428fc70 TPT: Fix crash when flood fill deleting life 7a844f51ff 2012-04-18 21:07:26 +01:00
Simon Robertshaw
ea37facf83 TPT: No unmeltable ice anymore. e4448dc1d6 2012-04-18 21:05:14 +01:00
Simon Robertshaw
d85049fb93 TPT: A fix for ice with ctype = 0. e52f730969 2012-04-18 21:01:54 +01:00
Simon Robertshaw
94e7123791 TPT: Allow DEST to be cloned with CLNE, PCLN, BCLN and PBCN 57d8335ca5 2012-04-18 20:46:34 +01:00
Simon Robertshaw
10e3f176d2 TPT: REALISTIC - Latent heat. It may be buggy, and enthalpy table isn't filled, but it works 4b4830b5a4 2012-04-18 20:44:01 +01:00
Simon Robertshaw
6be1b869e5 TPT: Fix ELEC being put into pmap instead of photons 5a3faa0584 2012-04-18 19:20:04 +01:00
Simon Robertshaw
779ac383dc TPT: Fix major update_particles_i bug, do_move was being called on nonexistant particles, causing kill_part to kill another particle 96ec3486e8 2012-04-18 19:02:27 +01:00
Simon Robertshaw
43ae47ba77 TPT: Added smudge tool afbe8cf38e 2012-04-18 16:40:43 +01:00
Simon Robertshaw
a761fa5cbc TPT: Remove 2 pixels per frame speed limit in detector wall b4a06df0b2 2012-04-18 16:14:10 +01:00
Simon Robertshaw
6f3954b926 TPT: (REALISTIC) Better air<->body heat conduction. Air density now influences on it (things don't heat vacuum). 71acd578b6 2012-04-18 15:14:40 +01:00
Simon Robertshaw
add4ccb034 TPT: Volume from heat change (for REALISTIC) 290cac8b7e 2012-04-18 15:11:51 +01:00
Simon Robertshaw
d03a9c8fe5 TPT: Rotate/reflect particle, air, and fan velocities in transform_save 830629be3f 2012-04-18 15:10:09 +01:00
Simon Robertshaw
f84dc03c23 TPT: A new unstable REALISTIC option. No guarantees - but more realistic behaviour. f41f96f598 2012-04-18 14:50:29 +01:00
Simon Robertshaw
2417ad3b41 TPT: Prevent gaps in beams of photons from powered clone 3702438482 2012-04-17 18:07:22 +01:00
Simon Robertshaw
a3e97d51d1 TPT: Change wifi so that it always takes one frame to transmit a722d7a396 2012-04-17 17:18:35 +01:00
Simon Robertshaw
ca1690efe1 TPT: Separate loop for updating life, and add SPRK life checks to most electronics 6bdc05cc40 2012-04-17 17:14:23 +01:00
Simon Robertshaw
75f6212751 TPT: Another change to the eval_move check in create_part eaf2af6d40 2012-04-17 16:55:43 +01:00
Simon Robertshaw
db1ffd3208 TPT: Fix WARP destroying DMND a9c198dd46 2012-04-17 16:45:05 +01:00
Simon Robertshaw
065ca8b9f5 TPT: Only check the bits actually used for wavelength in photon ctype Fixes black photons not being killed after passing through pipe 748a528fe0 2012-04-17 16:33:04 +01:00
Simon Robertshaw
f4e2d188c2 transform_save should check wall coordinates against size in blocks, not the actual size ff6aa0227d 2012-04-17 16:11:07 +01:00
Simon Robertshaw
027833fe20 TPT Whoops, eval_move returning 1 should not allow particle creation edcf6d7b2f 2012-04-17 16:06:39 +01:00
Simon Robertshaw
25ce83d5bf TPT: Implement PROP_NEUTABSORB bdf277e687 2012-04-17 16:04:48 +01:00
Simon Robertshaw
c3c31b20b0 Fix portals 2012-04-16 21:19:12 +01:00
Simon Robertshaw
465cb12af4 Newtonian gravity working 2012-04-16 13:58:20 +01:00
Simon Robertshaw
798c78b04e Add missing GOL data 2012-04-09 11:46:42 +01:00
Simon Robertshaw
c88079d084 Element sampling HUD thingy (No very good with MVC) 2012-04-08 00:11:21 +01:00
Simon Robertshaw
73c5082cbc Super, megaheavyweight thumbnail renderer 2012-04-03 14:07:39 +01:00
Simon Robertshaw
efddc12e5d Stamps browser, placement + clipboard sampling and placement - No clipboard or stamp thumbnail generation, needs thumbnail generator from SaveLoader 2012-04-02 17:01:28 +01:00
Simon Robertshaw
e9770d8ee7 Clipboard and Stamp from selection (no way to paste/place yet) 2012-03-28 22:01:44 +01:00
Simon Robertshaw
81f3114cb2 Better sliders for Decoration editor 2012-03-05 17:10:18 +00:00
Simon Robertshaw
55acb6aa80 More fancy Sliders for deco colour 2012-03-05 15:24:52 +00:00
Simon Robertshaw
3bbaa1a111 Decoration tools - no way to set colour yet 2012-03-03 21:38:22 +00:00
Simon Robertshaw
725f1aff85 Fix thumbnail alignment for save buttons, add code for building PSv format 2012-02-11 17:04:39 +00:00
Simon Robertshaw
6641f1d541 Frame stepping 2012-02-02 11:55:43 +00:00
Simon Robertshaw
f5dd32b284 Working GOL (No graphics 2012-02-02 00:33:10 +00:00
Simon Robertshaw
857b0cc1fc Load user information from preferences, fps display for testing 2012-01-31 18:49:14 +00:00
Simon Robertshaw
58ba7f8800 Stop freeing memory twice, also clear signs correctly 2012-01-27 22:01:22 +00:00
Simon Robertshaw
824d3c069b Clear air properly 2012-01-26 16:23:18 +00:00
Simon Robertshaw
d520a70acf Save loading and reloading 2012-01-26 16:18:43 +00:00
Simon Robertshaw
9e1be78bc2 I've got to a point where I can no longer be bothered to think of a proper commit comment 2012-01-26 01:13:33 +00:00
Simon Robertshaw
c5cc1870f3 Fix some memory leaks 2012-01-25 18:42:35 +00:00
Simon Robertshaw
04e4a2346d Wall menus 2012-01-24 21:19:29 +00:00
Simon Robertshaw
97b35bc470 Various 2012-01-24 20:19:19 +00:00
Simon Robertshaw
19c1fa5dcb Brush class for drawing on simulation, more interface for game 2012-01-22 14:45:37 +00:00
Simon Robertshaw
8ec6aae617 Better cleanup for simulation - fix memory leaks 2012-01-21 13:19:10 +00:00
Simon Robertshaw
fa201a7aeb Fix some uninitialised variables 2012-01-20 23:42:17 +00:00
Simon Robertshaw
4949a5eac0 Fix case for header files 2012-01-20 22:10:42 +00:00
Simon Robertshaw
44639a6423 Some folder changes, started search and client 2012-01-19 13:44:59 +00:00