Commit Graph

3183 Commits

Author SHA1 Message Date
Bryan Hoyle
9953f4518e Merge branch 'master' of github.com:FacialTurd/PowderToypp 2012-06-20 14:41:17 -04:00
Simon Robertshaw
ad76b293d8 Make Confirm dialogue less ugly 2012-06-20 19:39:33 +01:00
Bryan Hoyle
b35255b722 Renders an X in place of save icons, atm. 2012-06-20 14:25:41 -04:00
Bryan Hoyle
c9f837f21d Opengl can open saves now, just need to get it to render accurately later 2012-06-20 14:23:22 -04:00
Simon Robertshaw
0594aa5d07 More in the way of an autoupdater 2012-06-20 17:51:51 +01:00
Simon Robertshaw
088b2f678d localBrowserModel should be browserModel 2012-06-20 16:26:14 +01:00
Simon Robertshaw
e81e18238d Merge branch 'master' of github.com:FacialTurd/PowderToypp 2012-06-20 13:40:34 +01:00
Simon Robertshaw
2be9c92508 OpenGL canvas for Windows, Notifications for main Game, Update checker in Client (+ other client triggered events) 2012-06-20 13:40:18 +01:00
jacksonmj
9b2c2a78a6 Make ELEC+water form H2 and O2 in the correct proportions 2012-06-18 22:47:38 +01:00
Simon Robertshaw
f6403958de Fix stamp and save assignment 2012-06-18 18:06:40 +01:00
Simon Robertshaw
8c608ee8b9 Use C++ allocation/freeing for text masking and multiline processing 2012-06-18 17:07:27 +01:00
Simon Robertshaw
7ffaa421d1 GameModel manages currentSave instance 2012-06-18 16:43:40 +01:00
Simon Robertshaw
5e301ba17c Controllers should free their callbacks and views 2012-06-18 16:21:13 +01:00
Simon Robertshaw
83ccd65b14 Don't rely on Window class freeing for components that may not be added 2012-06-18 16:00:34 +01:00
Simon Robertshaw
1fceab6e4a Ensure partsSimIndex is freed upon success state of OPS parsing 2012-06-18 15:57:41 +01:00
Simon Robertshaw
fc86c24027 Better freeing for memory in GameSave 2012-06-18 15:54:55 +01:00
Simon Robertshaw
81423ba568 RenderOptions controller should delete its callback 2012-06-18 15:45:31 +01:00
Simon Robertshaw
edac8b5481 Free tools 2012-06-18 15:32:15 +01:00
Simon Robertshaw
9d7a4e55f2 Menu frees any added items 2012-06-18 15:27:57 +01:00
Simon Robertshaw
741392f2c1 Free platent and elements 2012-06-18 15:25:24 +01:00
Simon Robertshaw
1a13c3edec Use C++ allocation and deletion for Brush memory 2012-06-18 14:46:18 +01:00
jacksonmj
ae5470ca78 Prevent stacking from ELEC+NEUT, ELEC+water, and CO2 from BUBW
Also conserve number of particles when CO2 from BUBW is absorbed by
water, and when splitting water into H2+O2 using ELEC.
2012-06-18 00:44:37 +01:00
jacksonmj
c14704ae49 Fix STKM causing stacking and falling through some powders 2012-06-17 23:54:47 +01:00
jacksonmj
06d2d5267e Correct freezing temperature for SLTW (-21.1 C) 2012-06-17 22:38:33 +01:00
Simon Robertshaw
4b073de82a Revert "Moved soap and stick men graphics things to special functions."
This reverts commit 7f5408f196.

Conflicts:

	includes/powder.h
2012-06-17 22:34:17 +01:00
jacksonmj
36de2f19f5 Move INST flood fill into a separate function
Since there were so many if statements for INST in flood_parts. Also, allow
INST inside walls to be sparked.
2012-06-15 13:45:55 +01:00
jacksonmj
e7fabd8601 Fix bug with the improvement to text wrapping
Cursor was sometimes in the wrong place
2012-06-14 11:56:40 +01:00
jacksonmj
1f05aa7f21 Minor improvement to text wrapping
When text flows onto a new line, don't put the space between words at
the start of the new line.
2012-06-14 01:13:17 +01:00
Simon Robertshaw
2717a17127 Use SDL by default 2012-06-13 20:49:41 +02:00
chaos.powdertoy.co.uk
bf8435bf81 Version Increment 2012-06-13 19:28:56 +01:00
Catelite
a83a995f23 Added a tmp=1 flag to PLNT so that VINE will actually function like intended when VINE_MODE is disabled. Plant touching wood is unaffected, but vine that touches wood will grow. 2012-06-13 18:28:27 +01:00
Catelite
12cf2a3145 Updated FRZZ element to behave somewhat like SNOW, since it has roughly the same physical properties. Also changed its element description, since it actually appears on a menu. Leftover FRZZ will eventually become ICE if touching ICE with FRZW ctype. 2012-06-13 18:28:13 +01:00
Simon Robertshaw
9769239af6 Remove debug printing from brush 2012-06-13 15:09:37 +01:00
Simon Robertshaw
2b51441573 Linux fix with SDL_syswm 2012-06-13 14:54:15 +01:00
Simon Robertshaw
d7e12b7b43 Missing includes and declarations for Linux 2012-06-13 14:36:56 +01:00
Catelite
a104696620 Update to EXOT that makes it permeable to neutrons as well as electrons. Neutrons cause a water>distilled water spread that enables EXOT's copy function, at its original speed. Electrons reset mode, but not tmp2. Trippy monochrome colors for copy mode.
Conflicts:

	src/elements/exot.c
2012-06-13 13:51:24 +01:00
Simon Robertshaw
c447dd2f4a TPT: Update version 2012-06-13 01:40:44 +01:00
Simon Robertshaw
4bda62b68c TPT: Make ambient heat convection work a bit better 2012-06-13 01:40:13 +01:00
Simon Robertshaw
57548b60d9 TPT: STOR should not conduct heat 2012-06-13 01:38:09 +01:00
Simon Robertshaw
0cb47ab93c TPT: Remember ctype when cloning lava 2012-06-13 01:37:32 +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
7e0a315880 TPT: Create BHOL when particles are stacked excessively 2012-06-13 01:14:21 +01:00
Simon Robertshaw
a4d156fc6b TPT: Prevent solid particles stacking in E-Hole 2012-06-13 01:06:44 +01:00
Simon Robertshaw
59920c1a62 TPT: TTAN updates 2012-06-13 01:03:21 +01:00
Simon Robertshaw
c63de0ff6d TPT: Return 0 after particle type change 2012-06-13 00:58:33 +01:00
Simon Robertshaw
427670682f TPT: EXOT 2012-06-13 00:57:02 +01:00
jacksonmj
6c3034acff Make ambient heat convection work a bit better
Previously, it was comparing the temperature of the current cell to the
average of the cells around it (plus some advection affecting the
average, but that makes no difference if the air starts out stationary),
and basing the velocity change on this temperature difference.

If the cell below is hotter and the cell above is cooler, the air should
rise. But in this case, the average of surrounding cells tends to be
near the temperature of the current cell, so not much happens.

Just using the temperature difference between the current cell and the
cell above makes convection work a lot better.
2012-06-13 00:56:22 +01:00
jacksonmj
35d125cf53 Remove sdl_scale from update_O2
Particle coords are not affected by sdl_scale, only mouse coords
2012-06-13 00:45:35 +01:00