Commit Graph

1986 Commits

Author SHA1 Message Date
jacob1
aa8fe86735 fix DEUT graphics (accidentally changed something) 2014-11-21 16:40:46 -05:00
jacob1
16ce3a68c0 more jacksonmj suggestions: save edgeMode in saves, BVBR absorption fix, life saving fix, DEUT graphics change, PROT fix, SOAP graphics fix 2014-11-21 15:41:22 -05:00
jacob1
e20f6b101b jacksonmj: "Allow ELEC to pass through GLOW, fixes ELEC->PHOT reaction in GLOW." f162984e22e5 + some parts of "Misc small fixes" 95cf5bd67c2b 2014-11-21 15:41:22 -05:00
jacob1
a182e925fe some elementpallete fixes + fix SPAWN2 ToolButton 2014-11-20 22:44:02 -05:00
jacob1
6ce2d5fe92 #define MAX_FIGHTERS + some fixes 2014-11-20 22:11:20 -05:00
jacob1
c9cc2a1a6b more accurate elementCount (part_change_type, pasting stamps, lua), prevent having multiple STKM / SPWN even more 2014-11-20 21:51:45 -05:00
jacob1
6066ae8341 prevent having multiple stickmen on the screen, also add playerst.spawnID 2014-11-20 18:51:33 -05:00
jacob1
8233b28820 Change GRVT flammability to 0 2014-11-19 22:49:20 -05:00
jacob1
c673f30e14 fixes suggested by jacksonmj in -dev
fixes bugs in DMG, LIGH, PHOT, and QRTZ, also makes deut explosions less laggy when they hit the particle limit
2014-11-14 12:48:06 -05:00
jacob1
1289465a2c update stamps.def when deleting stamps, missing stamps show up as "error loading save" and can be deleted 2014-11-11 23:48:36 -05:00
jacob1
cd9fa0c85a Textbox in the stamp browser also 2014-11-11 19:38:29 -05:00
jacob1
efaa32363f page textbox in browser (go to any page)
also fix page count (add one for front page), and make page count invisible until the saves actually load
2014-11-11 17:25:50 -05:00
jacksonmj
b3b852249b Deco off (except black deco) for LCRY in save thumbnails 2014-11-09 21:33:08 +00:00
jacksonmj
beff8e73ba Fix renderer compiling 2014-11-09 21:32:06 +00:00
jacob1
a31f4df0a1 fix being unable to draw METL/PSCN/INST ctype on CRAY 2014-11-07 12:28:49 -05:00
jacob1
46eda12479 lua logs fade out individually 2014-11-06 20:24:42 -05:00
jacob1
a801f0a0b4 allow lua mousepress event to cancel drawing, fixes #229 2014-11-06 20:06:45 -05:00
jacob1
5bb1d484d0 fix crash when taking screenshot, fixes #193 2014-11-05 20:40:09 -05:00
jacksonmj
1eeed277a0 Fix initialisation of transitionOccurred 2014-11-06 00:46:15 +00:00
jacksonmj
829e2cca7d Flatter surface when liquids solidify 2014-11-06 00:32:25 +00:00
jacob1
43bab359db fixes to ELEC (missed from 6dc7eaf43e), FUSE (changed in 27e3e12518), and IRON (changed in 0d70547cf0) 2014-11-05 19:15:57 -05:00
jacksonmj
66a530f5a3 FRZZ and FRZW changes/fixes
Fix FRZW low temperature transition (accidentally turned into a high temperature transition in b661418d).
FRZZ now melts into FRZW, so that single pixels "form ice that always cools" as in FRZZ description.
ICE update function: was meant to be checking not setting parts[i].ctype. However, turning FRZZ into self-cooling ice seems a logical thing to do, so set ctype of parts[r>>8].ctype, and make all types of ice cause this reaction (not just ICE(FRZW) as was apparently the original intention of the ctype check).
2014-11-05 23:38:22 +00:00
jacksonmj
9e7ead9bcc Change melting point for snow with wrong ctype back to 273.15 2014-11-05 23:32:49 +00:00
jacksonmj
fb796c873b PSTN: allow movement amount to be set by temperature. Requires major version increment. 2014-11-04 15:38:41 +00:00
jacksonmj
57409b0b41 Change order in which particles are created by the rectangle and brush tools
to make liquid movement look less weird in normal gravity
2014-11-01 15:38:39 +00:00
jacob1
377a99294f this should allow you to place the zoom window while selecting an area to stamp 2014-10-31 14:09:02 -04:00
jacob1
5654425637 placing zoom window cancels shift-lines 2014-10-31 12:47:37 -04:00
jacksonmj
02e1969ef2 Fix SNOW(WATR) melting temperature
Broken by fixing SNOW(SLTW) melting temperature in a78bd78bfc
2014-10-31 16:39:30 +00:00
jacob1
2fc1dcbe29 fix bug with placing zoom window while saving a stamp 2014-10-31 12:17:33 -04:00
jacksonmj
f7b53d0231 Prevent fast particles from skipping over DESTROYALL wall 2014-10-27 17:50:58 +00:00
jacob1
ca0eecee80 pavg0 / pavg1 properties can be set through the console and prop 2014-10-26 18:11:46 -04:00
jacob1
7582acfb5c add sim.photons (like sim.pmap but for photons), sim.(part)neighbors also checks photons, fix sim.gravMap 2014-10-26 16:52:42 -04:00
jacob1
12f00db240 loop edge mode from my mod (also works with stickmen) 2014-10-24 00:18:51 -04:00
jacob1
6463d04f6c fix a few of the most spammy warnings (there are still hundreds of warnings though)
TODO: actually fix all the warnings
2014-10-23 00:42:13 -04:00
jacob1
16522056fb fix bug where !set arguments would be cast to float then back to int 2014-10-08 00:35:50 -04:00
jacob1
c16caed5dd fix level 1 msvc compiling warnings + initialize debugFlags 2014-10-08 00:15:51 -04:00
jacksonmj
a78bd78bfc Fix SNOW(SLTW) melting temperature, and change ACID hardness value to make more sense on the wiki 2014-10-06 12:57:32 +01:00
jacksonmj
74dcd4074e Merge branch 'develop' of github.com:simtr/The-Powder-Toy into develop 2014-09-28 14:34:44 +01:00
jacob1
717408c9d0 also add back DebugParts 2014-09-27 23:27:41 -04:00
jacob1
32328ad4fe re-implement tpt.setdebug 2014-09-27 22:25:15 -04:00
jacob1
507ba35ce0 new DebugInfo thing: the old debug lines 2014-09-27 21:49:00 -04:00
jacob1
6beafc354d fix "open data folder" on windows 2014-09-23 17:06:52 -04:00
jacob1
a78129adb9 Fix spelling mistake 2014-09-08 16:06:12 -04:00
jacksonmj
ba31457701 No black BIZR except by deco 2014-09-02 19:20:57 +01:00
jacob1
84f3f3cdba Update version number (90.1.320 -> 90.2.322) 2014-08-30 21:33:31 -04:00
jacob1
e91a7f1ec4 prevent setting invalid element numbers in the old console 2014-08-29 18:11:00 -04:00
jacob1
2140beb9cc make sure soap doesn't crash when messed with in the console 2014-08-25 19:05:32 -04:00
jacob1
b20db5fb8a add a no install check define 2014-08-25 14:55:18 -04:00
jacob1
a3d594c603 command key can be used instead of ctrl on OS X 2014-08-24 00:43:52 -04:00
jacob1
d29c2cb2a5 fix tags button being too long 2014-08-23 20:05:01 -04:00
jacob1
925ff1da3c add lua5.2 support for no particular reason 2014-08-22 01:25:34 -04:00
jacob1
f8782338d7 make tpt.selected* and tpt.brushx/y writable (replaces simstate branch) 2014-08-19 02:01:31 -04:00
jacob1
5ab1aa6989 fix RPEL internal name 2014-08-15 21:52:17 -04:00
jacob1
1314567c13 fix DRAY 2014-08-15 20:19:30 -04:00
Simon Robertshaw
08dcc19cc7 Update version number -> v90.1.320 2014-08-15 23:21:08 +01:00
Simon Robertshaw
0d617ace7b Decorate thread entry points in headers 2014-08-15 22:50:28 +01:00
Simon Robertshaw
fc787cee9a Include Config.h in Task.cpp for windows threading fix 2014-08-15 21:50:31 +01:00
Simon Robertshaw
8eedaf9e26 Fix Config.h syntax error from previous commit 2014-08-15 21:43:29 +01:00
Simon Robertshaw
a629eb9bfc Force stack re-alignment for entry-points from phread_create with mingw & windows to fix SSE crashes in child threads 2014-08-15 21:42:33 +01:00
jacob1
7e9c507e64 fix memory leak 2014-08-15 12:15:13 -04:00
jacob1
2416a9b454 fix being unable to click link signs unless zoom window is out 2014-08-15 11:53:18 -04:00
jacob1
ae886048f4 Disable fullscreen on OS X 2014-08-11 22:39:03 -04:00
jacob1
d4359184f2 improve grid drawing 2014-08-11 22:06:48 -04:00
jacob1
986b25b508 redo spark graphics, add spark render setting 2014-08-11 21:56:40 -04:00
jacob1
774fb88002 fix REPL crash (ignoring BOUNDS_CHECK for now) 2014-08-11 01:11:58 -04:00
jacob1
7740980fcc fix crash when selecting PROP from element search, fixes #209 2014-08-11 01:00:13 -04:00
Simon Robertshaw
fb49a492a1 Update version number -> v90.0.318 2014-08-10 13:44:16 +01:00
jacob1
fd550be6ae fix invalid hex number detection also 2014-08-09 00:01:24 -04:00
jacob1
e388a4bbad better float detection in old console 2014-08-08 22:18:01 -04:00
jacob1
298e0b63c3 fix bugs with previous commit using FloatType 2014-08-06 23:22:37 -04:00
jacob1
ccb3de7365 support floats in the console
There are some strange bugs with parsing like !set type all 3.5 or !set temp all moo but they aren't too important ...
2014-08-06 12:18:57 -04:00
jacob1
859fdece6a prevent PROT from rapidly changing portal temps 2014-08-06 11:49:57 -04:00
jacob1
e4b08c88cf fix link signs preventing you from using quickoption buttons, fix being unable to place zoom window on link signs. Fixes #222 2014-08-05 19:26:21 -04:00
jacksonmj
c83945e281 Allow PHOT deco, in old saves only 2014-08-05 22:11:07 +01:00
jacob1
10a26002b4 Add an "Open Data Folder" button in simulation settings 2014-08-05 00:20:56 -04:00
jacob1
b889c62bee Update version number -> 90.0.316 2014-08-03 23:21:35 -04:00
jacob1
ab2dd1ce61 fix crash and re-enable Application Support directory on OS X versions < 10.9 2014-08-03 20:36:39 -04:00
jacob1
f0fb88b48d remove _32BIT also 2014-07-06 11:41:11 -04:00
jacob1
8f2a0d3eb3 fix compiling problems 2014-07-06 11:31:40 -04:00
jacob1
89eb6bbd03 fix small ClipboardPush error that shouldn't ever happen 2014-07-04 19:16:38 -04:00
jacob1
b59ecf2d65 add airblock wall 2014-07-03 14:30:12 -04:00
jacob1
f68fadb3f4 make PHOT only able to move 2 pixels at a time through things again 2014-07-03 12:05:26 -04:00
jacob1
45a051d4ea New element: DRAY (Duplicator RAY)
Replicates a line of particles in front of it, affected by tmp and tmp2, and being sparked by PSCN or INWR
2014-07-03 00:59:41 -04:00
jacob1
4b4eb1a68e Some changes which make GRVT work better 2014-07-02 23:07:10 -04:00
jacob1
70676aba4a New element: GRVT (gravitons), energy particle that creates Newtonian Gravity 2014-07-02 23:06:45 -04:00
jacob1
3e65ed5ffd fix URAN not heating up under pressure at 0K 2014-06-28 22:22:44 -04:00
boxmein
7ab6a7e7d7 luatpt_getPartIndex now passes a negative (invalid) index when it fails 2014-06-13 00:25:22 +03:00
jacob1
c44e734abe fix crashes when the selected element is NULL (via lua), add gfx.getHexColor (inverse of gfx.getColors) 2014-06-09 17:42:44 -04:00
jacob1
89ffa60529 New graphics api function: getColors, returns r, b, g, and a from a hex color
Also, remove generated/ and build/generated when using scons -c
2014-06-09 16:50:49 -04:00
jacob1
ec29044ce6 output log (console) messages to the console, or stdout.txt on windows 2014-06-09 16:23:18 -04:00
jacob1
391d965e9f Update README 2014-06-08 23:54:11 -04:00
jacob1
45862a1b9f only use Application Support directory on OS X 10.9, probably fix crash on startup for macs
The original reason it broke on macs was because gFinderLaunch was broken
2014-06-08 20:37:44 -04:00
jacob1
6749c2547f New SConscript (hopefully better)
Fixes a lot of bugs, also almost all options are no longer needed and are just auto-detected
2014-06-08 19:33:58 -04:00
mniip
44405827b0 Make the upvote more fancy and bigger 2014-06-04 00:35:40 +04:00
jacob1
9bb4d92717 prevent setting invalid wall types with lua 2014-06-02 00:41:25 -04:00
jacksonmj
f304e789f4 Disable deco on photons, to prevent potential confusion between wavelength and deco colours.
(Previously, it always glowed with the wavelengths colour, deco only worked fine in nothing view).
2014-05-23 01:06:09 +01:00
jacksonmj
1b3f3aa979 Make black deco FILT with any tmp affect CRAY beam, not just tmp=0 2014-05-23 00:58:34 +01:00
jacksonmj
7b9f43b8bf Fix some missing return values 2014-05-23 00:00:54 +01:00
jacob1
7e1076ee5f use drawtext_outline for element descriptions 2014-05-22 12:39:35 -04:00
jacob1
42f5ec9f36 Fix crash with spark flood fill 2014-05-22 11:20:33 -04:00
jacksonmj
5e02073a2f Fix TNT floodfill crash 2014-05-22 15:27:18 +01:00
jacksonmj
91b4d1bf23 FILT with black deco causes ARAY/CRAY beams passing through it to have black deco.
The black deco is turned off if the beam passes through some FILT that isn't decorated black.
2014-05-22 14:55:18 +01:00
jacksonmj
1158647285 Visual effect for FILT when an ARAY or CRAY beam passes through it
(increased opacity for up to 4 frames)
2014-05-22 14:30:23 +01:00
jacksonmj
2946030517 Less overpowered (in terms of bunkers) QRTZ
Newly grown QRTZ now inherits the temperature of the particle that created it
and PQRT doesn't start growing in midair immediately after it's been shattered
2014-05-22 03:50:04 +01:00
mniip
21532821b7 fix crash when creating a fighter with an explicit particle ID 2014-05-14 06:41:18 +04:00
jacob1
20a7d0528b also fix SOAP changing .ctype of particles it thinks it's attached to 2014-05-12 11:27:39 -04:00
mniip
ecf1f0e391 backport lua code highlighting from my console 2014-05-06 01:16:55 +04:00
jacob1
8dad0483cf make sure no effect FILT mode doesn't affect BRAY 2014-04-29 20:43:16 -04:00
jacob1
462bb78f3d fix nx/ny again (values were reversed) 2014-04-26 14:39:40 -04:00
jacob1
df1aac8180 still allow NBLE to ionize at high temperatures (probably won't interfere with fusion) 2014-04-26 14:35:01 -04:00
jacksonmj
4dae152b6a Comments for some of the liquid movement code 2014-04-26 17:55:57 +01:00
jacob1
097e4968e0 fix invisible PHOT bug when going through GLAS sometimes 2014-04-26 12:40:29 -04:00
jacob1
270a3837bc PROT goes through portals 2014-04-25 21:08:09 -04:00
jacob1
d87e21c9d4 fix bug where liquids don't stabalize in radial gravity
nx and ny are declared at the start of update_particles_i, but not reinitialized before the liquid attempts to move, so it will always try to move up and left first, and probably succeed.
2014-04-25 20:45:42 -04:00
jacob1
49996a8c02 Auto-focus more textboxes 2014-04-17 12:03:24 -04:00
jacob1
68e4c638bf fix SOAP changing the .tmp/.tmp2 of particles it thinks it's attached to 2014-04-17 12:03:24 -04:00
jacob1
75034de5a4 fix crash when SOAP gets changed into another element, fixes #186 2014-04-12 15:52:12 -04:00
jacob1
35d97eb14d fix bug where you couldn't place stamps on top of special signs 2014-04-11 23:17:35 -04:00
jacob1
181f0cfe5b Add in life values that use EXOT's grey coloring scheme, but don't copy things
At the request of Catelite :P
2014-04-08 23:45:05 -04:00
jacksonmj
afacecffd9 Prevent clearrect wrapping round at the edge of the screen 2014-04-05 18:20:30 +01:00
jacksonmj
11997cf3ad Prevent red BRAY from affecting FILT colour via DTEC 2014-03-27 19:36:51 +00:00
jacob1
4e478cfe20 fix bug where InstantOpen never got reset after opening saves in the save browser 2014-03-27 12:21:16 -04:00
jacob1
a71cb3b254 fix / change 2, 3, and 4 from http://tpt.io/.265916
mostly makes BRAY act more like PHOT in some cases
2014-03-26 22:07:04 -04:00
jacksonmj
20cbcf8ad9 Velocity limit, to prevent NaNs 2014-03-27 00:35:20 +00:00
jacob1
2e6b4242d6 don't resize save buttons in the online save browser, fix selection bug in console 2014-03-25 14:44:58 -04:00
Simon Robertshaw
50bc126e6d Update version number (89.2.281 -> 89.2.283) 2014-03-16 12:18:38 +00:00
Simon Robertshaw
8e7c30700e Return blank string instead of undefined 2014-03-16 11:44:36 +00:00
Simon Robertshaw
197a70c2e6 Fix Clipboard for renderer build, ensure MacOS and Windows clipboard funcs return std::string 2014-03-16 11:35:53 +00:00
jacob1
5b67c8ce68 elem.property and elem.element can read Identifiers 2014-03-15 14:20:40 -04:00
jacob1
258aaedb0a add sim.reloadSave, tpt.selectedreplace 2014-03-13 14:44:39 -04:00
jacksonmj
c6d6011337 An ugly fix for numpad, since it seems event.key.keysym.mod isn't entirely reliable for some unknown reason
Partial revert of 7ce9907f82
2014-03-12 15:05:54 +00:00
jacksonmj
1ca63b3813 Add more key definitions 2014-03-12 15:04:16 +00:00
jacob1
92891f364b fix tooltip commit 2014-03-12 00:03:32 -04:00
jacksonmj
a1515b3d5e Shift key for numpad 2014-03-12 00:54:52 +00:00
jacob1
7dc5139b66 toolTips on search / save simulation buttons change when ctrl is held 2014-03-11 14:04:05 -04:00
jacob1
7ce9907f82 fix textbox key repeat issue, fix numpad issue (in two ways) 2014-03-11 12:53:42 -04:00
jacob1
3f65b47a5e small change to sim.partProperty 2014-03-10 17:20:50 -04:00
jacob1
7603da0242 fix tpt.set_property again 2014-03-09 15:31:32 -04:00
jacksonmj
e5941950ba Make FILT tmp=6 ("no effect" mode) work with CRAY
(Other FILT modes still don't work with CRAY, only tmp=0 or 6)
2014-03-09 09:41:43 +00:00
jacksonmj
9531de49ec Vertical flip when pasting stamps (Ctrl+shift+r) 2014-03-08 13:41:45 +00:00
jacksonmj
55fbf13157 Display numeric value of ctype instead of element name translation for elements which use it as wavelengths 2014-03-08 13:34:03 +00:00
jacob1
21854df9f3 lots of random fixes to the legacy lua api 2014-03-04 20:44:25 -05:00
jacksonmj
a5ea6555f1 Fix more bugs in the Lua API
Crash with sim.partKill(large number).
sim.neighbours() looking for particles in completely the wrong place.
Impossible to tell from sim.partID whether a particle exists, since it returns 0 both if there is no particle there and if particle 0 is there.
2014-03-04 23:34:51 +00:00
mniip
4152bb560e Do not use loadstring to load autorun (who even wrote this?). Also print a message in case of successful autorun load 2014-03-04 15:26:35 +04:00
jacksonmj
64e16025d8 Fix bug in Lua API sim.neighbours() causing some particles to be missed out
Was excluding all particles with the same x or y as the centre instead of just the centre particle.
2014-03-03 22:42:21 +00:00
jacksonmj
224b25fae5 Fix Lua API sim.partNeighbours with 4 arguments 2014-03-03 20:09:35 +00:00
jacob1
4158581b21 fix error logging in lua key events 2014-03-03 13:46:46 -05:00
mniip
43bff37279 fix numpad behavior: movement keys are no longer triggered with numlock on 2014-02-27 20:39:16 +04:00
jacob1
d59253cfc7 fix sim.deleteStamp and sim.loadStamp (couldn't load/delete stamps with names like 530e908700) 2014-02-26 20:29:15 -05:00
mniip
55284e6313 Fix most of clipboard-related memory leaks and potential crashes; Fixes jacob#23 2014-02-25 18:44:44 +04:00
Simon Robertshaw
8bc03dbe1c Update version number (89.1.278 -> 89.2.281) 2014-02-24 22:11:11 +00:00
mniip
96c889bcab fix gettime compilation on OS X 2014-02-25 01:12:26 +04:00
nucular
8561976121 Fix (hopefully) most of the R/W errors inside the new Lua API 2014-02-22 10:13:09 -05:00
jacob1
71f90b5d59 new function: sim.deleteStamp
mostly for use in tpt multiplayer
2014-02-20 16:02:32 -05:00
jacob1
13766bf6db fix weird STKM bug at high life 2014-02-15 10:24:25 -05:00
mniip
a105ed9df8 Use system clock instead of used CPU time. Fixes key repeat and some
other stuff. close #206
2014-02-13 00:26:34 +04:00
jacob1
d38b7b9b11 pressing tab switches between textboxes in the deco editor 2014-02-06 12:15:48 -05:00
mniip
1266307070 stop neut from dragging particles inside energy walls, fixes jacob#18 2014-01-30 22:55:55 +04:00
mniip
250b522221 map numpad keys to movement keys where applicable 2014-01-30 22:22:04 +04:00
jacob1
5b886fc51e boxmein: Added clipboard support to Lua 2014-01-29 17:57:18 -05:00
jacksonmj
cf503a29f4 Bounds check before interpolation to find walls 2014-01-26 10:18:01 +00:00
jacksonmj
09e7418aae Prevent air going through walls in cases of extreme velocity 2014-01-26 01:27:46 +00:00
mniip
09beafed3a Fix ParseExceptions falling through;
Apparently since when the RequestBroker was added, the logic has been changed,
and the exception no longer comes through PreviewController's try{} block.
2014-01-25 15:39:44 +04:00
jacob1
f66679e551 a little reorganization (maybe more later) 2014-01-20 13:52:53 -05:00
jacob1
c5989605a5 fix compiling in visual studio 2014-01-20 11:43:12 -05:00
jacob1
add45b4e60 fix crash with gfx.drawText() 2014-01-20 11:33:33 -05:00
jacob1
0409d93789 signs can be moved onto the zoom window, fixes #89 2014-01-17 23:27:57 -05:00
jacob1
4e9a5bdaec make sure comment box height and cursor position don't go too far when it's resizing, fixes #82 2014-01-17 21:49:55 -05:00
jacob1
1f1062408c element palette converts elements stored in .ctype and .tmp when needed, fixes #105 2014-01-17 14:33:22 -05:00
jacob1
c15ab822a9 some config.h cleanup, fixes #151 2014-01-17 13:05:53 -05:00
jacob1
02aba363c3 slight PROP description change, don't save invalid PROP preferences 2014-01-16 11:09:55 -05:00
mniip
69c9be0e99 implement generic property value as a union instead of void* 2014-01-16 11:00:47 -05:00
mniip
8f2fbcd9e1 brand new prop tool. draws like any other tool 2014-01-16 11:00:47 -05:00
jacob1
a32a66c9ab only include strings.h on mac (fix visual studio compiling) 2014-01-13 21:27:59 -05:00
jacob1
d901b2f8ef Fix crash with smudge tool around the edges 2014-01-09 12:55:39 -05:00
jacob1
aea8402383 fix holes in wall lines with a small radius (again) 2014-01-08 14:32:59 -05:00
jacob1
0d51d6bd07 manually fix bug where sometimes the top / bottom pixel of circle brushes would disappear 2014-01-07 20:46:42 -05:00
jacob1
3329a6bd79 fix element buttons not changing color when using tpt.el.color, remove 4 char restriction on element names with tpt.el.name 2014-01-07 16:32:15 -05:00
jacob1
eaf0daec43 insulators block ambient heat (when there are a lot nearby) 2014-01-07 16:32:15 -05:00
jacob1
dcef255f47 fix flood fill. This was a mistype, and the original check I had doesn't work all the time anyway (so just remove it) 2014-01-07 16:32:15 -05:00
jacob1
f7cd7691e8 fix bug where STKM can be killed from HSWC when turned off 2014-01-07 16:32:15 -05:00
jacob1
355cd37ffe Redo sandcolor to use alpha, so that when powders transition they don't stay the same color
Also make color change less sharply over time
2014-01-07 16:32:15 -05:00
jacob1
41cc0a398a better way to prevent PROT in fusion 2014-01-07 16:32:15 -05:00
jacksonmj
4b28cdb6ba Prevent FILT being rendered as black if the only wavelengths present are invalid 2014-01-03 12:21:15 +00:00
jacksonmj
7b0fdaa204 Use >= for high temperature transition comparisons and < for low temperature transitions
Fixes http://tpt.io/~1419883
2014-01-03 11:42:59 +00:00
mniip
fdfaa3a29b add defines for window resolution
--amend
2013-12-29 20:12:50 +04:00
jacob1
c4562ec73e check to make sure flood fill doesn't crash when pmap is errored (?) 2013-12-29 11:04:28 -05:00
mniip
3e3fe1af73 fix VIRS's part_change_type abuse, fix http://tpt.io/.260472 2013-12-25 16:07:18 +04:00
jacksonmj
7fdc4dc83b Mismatched new[]/delete in WebRequest::Process() 2013-12-23 19:16:04 +00:00
jacksonmj
4459bf5363 Also, mismatched new[]/delete in APIRequest::Process() 2013-12-23 17:21:14 +00:00
jacksonmj
aa74deb6d5 Mismatched new[]/delete for serialised GameSave data 2013-12-23 17:17:40 +00:00
mniip
ee542bcafc bluescreen on lua panics 2013-12-23 17:59:23 +04:00
mniip
4eab5c4ce3 invalidate gravity map if walls changed, fixes http://tpt.io/~1223463 2013-12-22 11:41:42 +04:00
mniip
bc84326ca2 Got rid of debug fps counter, just added deltatime into usual fps counter 2013-12-21 05:26:54 +04:00
jacob1
2c7a527030 Revert ef6cc9c, due to some advanced electronics breaking
TODO: add a flag to some electronics so that we can fix all the bugs at once / add new things without breaking things
2013-12-18 23:23:07 +04:00
jacob1
78c89dc62b fix crash with LIFE, fix compiling with lua (again) 2013-12-18 23:23:04 +04:00
mniip
c3cf0638d6 This ! shouldn't be there 2013-12-16 00:17:40 +04:00
mniip
9db1358ca3 In element search promote exact and starting position matches (finally possible to access VAC via element search) 2013-12-15 22:57:35 +04:00
jacksonmj
035dfa2e04 Fix some compiler warnings 2013-12-14 18:47:28 +00:00
mniip
30c80220b2 fix PIXR() macro: if MSB of the color is nonzero, it used to return a >255 value, which, say, in Renderer.cpp would get clamped to 255, no matter what the actual red byte is 2013-12-14 22:25:11 +04:00
mniip
5fc07b4c3c fix PHOT/BIZ* transparency 2013-12-12 19:54:52 -05:00
mniip
12d98dada1 oooo wait, rectangle snap too 2013-12-12 16:23:58 -05:00
mniip
0fb08c5e97 fix snapping
why was trigonometry used in such a simple function
2013-12-13 00:55:20 +04:00
mniip
c012f667c7 fix BMP 2013-12-09 03:38:40 +04:00
jacob1
3fb6cd2fbb Merge pull request #196 from gamax92/develop
Extension to tpt.screenshot
2013-12-08 14:28:03 -08:00
Robert Gadzerfraud
0819885700 Add in BMP support 2013-12-08 15:12:07 -07:00
Robert Gadzerfraud
ced44c8be2 Extend tpt.screenshot to return created filename and optionally, PPM format 2013-12-08 12:16:12 -07:00
jacob1
12aef78bb0 Update version number (89.0.275 -> 89.1.278) 2013-12-08 14:10:06 -05:00
Simon Robertshaw
e1616fdd82 Hotfix: Don't open saves larger than 200MB 2013-12-08 16:58:17 +00:00
jacob1
138cb4d757 exception bluescreens print what the exception was, some (probably unnecessary) fixes to fusion that were never merged in, and probably a compiling fix 2013-12-03 22:05:35 -05:00
jacob1
ce587a3ae3 update build number 2013-12-03 22:05:35 -05:00
Simon Robertshaw
2010a71d85 Include strings.h for TPTScriptInterface 2013-12-01 21:19:30 +00:00
Simon Robertshaw
c75a5a1f80 Remove debug logging for user pref reading/writing 2013-11-19 21:25:03 +00:00
Simon Robertshaw
a32af1679a Fix Mac OSX readUserPreferences missing off last char of pref data, add clipboard implementations for Mac OS X 2013-11-19 21:23:04 +00:00
Simon Robertshaw
fc25d5a466 Use NSUserDefaults for powder.pref storage on OS X, fix initial file open handling on OS X 2013-11-18 21:54:41 +00:00
jacob1
1bce4984e3 Merge pull request #192 from mniip/tags
Fix tag order
2013-11-12 08:18:09 -08:00
mniip
085d0e8cb8 unused variable 2013-11-12 15:20:17 +04:00
mniip
4b914d12c2 fix tags order (#141) 2013-11-12 09:16:17 +04:00
mniip
2be2b6b54b Adjust position of ContextMenu if it's too close to bottom or right edges #188 2013-11-10 12:28:29 +04:00
jacksonmj
186f8a1742 No more red DEUT
Prevent some integer overflows in DEUT graphics and interactions.
2013-11-07 21:36:36 +00:00
jacksonmj
75b7b85703 Fix sign duplication when loading a save 2013-11-03 14:26:51 +00:00
Simon Robertshaw
e7ebbc0435 Hotfix: Authenticate all Web&ApiRequests to fix save loading/voting issues 2013-10-30 20:31:20 +00:00
Simon Robertshaw
5cc69aa2a9 Skip startup install check if running on Mac OS 2013-10-30 19:48:06 +00:00
Simon Robertshaw
0894aaa7fa Fix strcasecmp defined on Windows, add warnings as errors compile argument, always supress offsetof warnings 2013-10-30 19:46:34 +00:00
mniip
41e058e3b2 Fix a few cpu time leaks in request broker and HTTP, also add a global sleep function
(and why did HTTP.c have it's own copy of mystrdup anyway)
2013-10-30 21:39:30 +04:00
jacob1
0180c9b15a fix remaining warnings, fix compiling errors when using --release 2013-10-29 23:55:10 -04:00
jacob1
45bf0dfcdb Merge pull request #180 from mniip/warnings
Warnings
2013-10-29 19:24:20 -07:00
mniip
3625bd407e moar const 2013-10-30 05:07:27 +04:00
mniip
bf908bbfbf Fix various warnings, remove silly useless NO_INLINE system, remove the need for -fkeep-inline-functions 2013-10-30 04:47:07 +04:00
mniip
f7f24a9804 D:^H^Hfix newlines at end of files 2013-10-30 04:41:04 +04:00
mniip
71d107aac2 _proper_ typing system using a union instead of multicast void* 2013-10-30 04:38:39 +04:00
mniip
9183fa1755 apparently Ximon hates const; a lot;
added a bunch of const everywhere, had to modify a few functions to be const-compliant
2013-10-30 04:38:13 +04:00
Simon Robertshaw
8b45c8f9e8 Merge remote-tracking branch 'china-richway2/CutGlitch' into develop,
closes #176
2013-10-29 21:46:33 +00:00
Simon Robertshaw
67c82ee283 Quick fix: Fix dummy key defs used by renderer and other non-input builds 2013-10-29 20:51:44 +00:00
Simon Robertshaw
3f5b91f8a7 Increment version number 2013-10-29 20:08:09 +00:00
Simon Robertshaw
2d22776a2c Iterate through signs in reverse order when seeking for click events in order to ensure when clicking on stacked signs the top-most sign is detected 2013-10-29 19:59:13 +00:00
Simon Robertshaw
f2e28ee667 Merge branch 'feature_sparksigns' into develop 2013-10-29 19:43:02 +00:00
Simon Robertshaw
e78dcae851 Merge branch 'master' into develop 2013-10-29 19:39:52 +00:00
jacob1
a4da2566ec fix virus graphics 2013-10-26 12:10:10 -04:00
jacob1
48ecbce554 f5: reload sim, f2: screenshot f3: toggle extra HUD 2013-10-26 00:17:06 -04:00
jacob1
692f4b18c2 fix sim.decoBox arguments, add a sim.canMove function 2013-10-26 00:00:55 -04:00
Simon Robertshaw
30d985ba77 Only cancel click events clickable signs (not all signs) 2013-10-26 01:02:20 +01:00
Simon Robertshaw
aa09c0e753 Reject {b:1|blah} signs 2013-10-25 20:40:45 +01:00
jacob1
a6b5b60c20 Merge pull request #178 from mniip/x11-clipboard
fix copy and paste in the same tpt window on SDL/Linux/X11
2013-10-24 14:08:52 -07:00
mniip
5d3520d18c fix copy and paste in the same tpt window on SDL/Linux/X11 2013-10-25 00:46:41 +04:00
jacob1
79a2ac3103 fix issue with FILT PHOT scattering 2013-10-23 21:01:06 -04:00
unknown
12261e263d fix bug where Ctrl+X don't delete stacked particles 2013-10-23 21:06:19 +08:00
Simon Robertshaw
d9f1762da0 Merge branch 'develop' of https://github.com/simtr/The-Powder-Toy into develop 2013-10-20 15:38:40 +01:00
jacob1
dd73a7244f reduce / prevent PROT in fusion even more 2013-10-20 10:37:28 -04:00
Simon Robertshaw
e8c53dc3e8 Remove old unfinished virtual machine and Lua bindings for it 2013-10-20 15:33:06 +01:00