jacob1
0ad225d1fc
update VIBR randoms, fix any VINE in old saves also
2015-01-07 19:32:49 -05:00
jacob1
be6551ceea
fixes to rndstore in VIBR/VIRS, remove goto in PROT
2015-01-07 19:04:11 -05:00
Martin Ettl
34c85c262c
Fix potential memory leaks.
...
(Merging pull request #234 , amended by jacksonmj: some leaks already fixed in develop branch.)
2014-12-29 16:37:04 +00:00
Martin Ettl
93eb934322
Fix potential memory leak in src/Format.cpp
...
(Merging pull request #233 )
2014-12-29 16:36:58 +00:00
jacksonmj
236ff08da9
Fix some problems noted in http://www.viva64.com/en/b/0298/
...
I've left some of the less important items, like SearchView.cpp "'then' statement is equivalent to the 'else' statement", and RequestBroker::Request::~Request, because I don't feel like spending a few days entirely rewriting those files at the moment (which is what I'd end up doing if I started fixing minor problems and refactoring...)
GameSave::readOPS - not changed. At some point we may have to move to a larger type for element IDs (probably two or four bytes), but PT_NUM isn't likely to be raised to the maximum value of that type immediately, so this check will be needed then. There should be an elements[partsData[i]].Enabled check in there too, but it might be a bit difficult - I'm not sure how to access a Simulation object from GameSave::readOPS...
Notes on changes:
Graphics::textsize, Element_FRZW::Element_FRZW - typos
Button::Draw - the extra case was originally used to invert the icon (draw it in black instead of in white) when the button was clicked. However, the icon colour is now automatically set depending on the background colour. (Note similar conditions "if(Enabled) { if(isButtonDown || (isTogglable && toggle)) " near the start of the function - same logic but in a different place, setting icon colour indirectly).
Simulation::transform_save - unused redundant function, everything uses GameSave::Transform which does much the same thing.
PreviewView::NotifySaveChanged - should be height==YRES/2, it's checking whether the preview image is the correct size, and resizing it if it isn't.
Element_FWRK::update - no idea why that line was there, even though it was my commit that originally added it...
2014-12-25 17:09:35 +00:00
jacksonmj
3ea2d8013d
Correct page count in save browser
2014-12-22 01:33:55 +00:00
jacob1
3b09c4bdbc
change tooltips for the save upload button to make it more clear
2014-12-18 19:54:48 -05:00
jacob1
0f583f3bd8
fix PLSM spawning in fusion (allow some stacking), GRVT in O2 fusion
2014-12-15 15:52:08 -05:00
jacob1
35782fdd10
'l' always loads last save from disk (won't load cached deleted save)
2014-12-15 15:13:37 -05:00
cracker64
6410171bd5
Fix IRON rust
...
Fix some randoms
2014-12-06 16:23:45 -05:00
cracker64
a115e78952
More element optimizations!
...
ACEL, changed a range check
DRAY, Fixed repetitive checking
GOLD, less rand()
PLNT, removed range checks, less rand()
PROT, used a switch()
VIBR, less rand()
VINE, less rand(), fixed growing along WOOD
VIRS, less rand()
2014-12-06 15:43:11 -05:00
cracker64
783b2c1736
Stop PIPE graphics from creating a particle every frame.
...
Remove temperature setting, this feature is beyond useless now, PROP+Lua are better ways to manually set pipe.
2014-12-06 01:16:04 -05:00
jacob1
9fdcc28dac
make close icon match the color of the button/text around it
2014-12-04 18:17:44 -05:00
jacksonmj
e25fac5037
Less layering of particles in fusion
...
Fixes http://tpt.io/~1683916 - PLSM was created on top of DMND, which other particles then displaced, leading to lots of stacking and particles escaping through the DMND.
2014-11-30 17:22:56 +00:00
jacob1
70a815a8c7
fix crash when PIPE finds PRTI with an invalid channel
2014-11-29 00:30:05 -05:00
jacob1
6da5b08fd2
fix for fast particles moving through VOID
2014-11-22 13:04:04 -05:00
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
Simon Robertshaw
b59c381177
Do not allow 't/c' signs to lack an ID
2013-10-19 22:10:53 +01:00
Simon Robertshaw
8f4296ac39
Spark sign tool, {b|sometext}, when the sign is clicked, the a spark will be created at the signs position. Also MouseDown events that draw particles from being triggered when clicking on a sign
2013-10-19 18:59:49 +01:00
Simon Robertshaw
cebd28148d
Minute performance improvement for Sign.getText
2013-10-19 17:22:43 +01:00
jacob1
6edb96ee51
fix bottom row of saves in the save browser being cut off
2013-10-18 16:57:53 -04:00
jacob1
fd6da26b73
fix not being able to select / see all elements in menus with tons of elements
2013-10-18 16:36:37 -04:00
jacob1
ba43e4d238
revert b17ef7f938
(couldn't figure out better fix for the new PSTN bug), fix annoyance with clicking on save comments changing pages
2013-10-18 16:13:40 -04:00
jacksonmj
02a4c17d72
Ignore invalid walls in some old saves, so that they load correctly
...
E.g. save 10631 from old server
2013-10-17 16:09:38 +01:00
jacksonmj
132755525c
Fix incorrect search page count
2013-10-17 16:09:28 +01:00
jacob1
c4dcb37de4
PROT with 0 life doesn't die
2013-10-10 17:13:11 -04:00
jacob1
d1e75c7a50
make PROT lasers easier to make, adjust velocities needed to make things when smashing PROT together, use FIRE_BLEND for PROT graphics
2013-09-28 20:31:35 -04:00
jacob1
8fc39d659c
VIRS only burns with PLSM, and has the NO_DECO graphics flag
2013-09-28 19:45:15 -04:00
jacob1
13d89ce9e1
Fix tpt.get_numOfParts, add "C" next to temperature in HUD
2013-09-28 16:58:01 -04:00
jacob1
c480c9ea19
Merge branch 'HEAD' of https://github.com/FacialTurd/The-Powder-Toy.git
2013-09-27 17:41:46 -04:00
jacob1
48f1adb038
fix min and max in VS2013
2013-09-27 17:39:16 -04:00
jacksonmj
ceca61114a
Fix crash when trying to convert StringType to PointType
2013-09-27 19:41:12 +01:00
liquidcaesium
65640ee6af
Decimal number support
2013-09-27 18:52:47 +03:00
liquidcaesium
a376b72b36
LCRY + PROT = LCRY + PHOT
...
Protons passing through active LCRY get turned into photons slowly, functioning as a powered converter in that manner.
2013-09-24 17:58:35 +03:00
jacksonmj
ef6cc9c418
WIFI: always delay one frame before conducting, to prevent particle order issues
2013-09-21 13:18:27 +01:00
jacksonmj
ce277a11f1
Forgot HUD description for FILT tmp=9
2013-09-15 15:44:01 +01:00
jacob1
e578b9f799
fix BIZS melting without heat sim on (I wonder how many more elements still do this ...)
2013-09-14 19:13:29 -04:00
jacob1
cf45b24a30
update version number
2013-09-14 11:15:52 -04:00
jacob1
c6ba381424
make PROT more red, and VIRS burns less
2013-09-14 10:26:23 -04:00
jacob1
ee093ae3b7
disable PHOT+H2 reaction during fusion
2013-09-14 09:49:19 -04:00
jacob1
e1b26346a1
ensure VIBR always eats PROT
2013-09-13 22:24:50 -04:00
jacob1
ae8e5e5c34
PROT+DEUT causes DEUT implosion (same as with NEUT, just negative pressure)
...
Also PHOT+H2 now also make PROT+ELEC (which will not combine to make more H2)
2013-09-13 22:02:03 -04:00
jacob1
830bb3ba5e
fix !load -1 crash
2013-09-13 12:53:40 -04:00
jacob1
aa2ec3d162
fix SOAP crashes by making sure particle id's are between 0 and NPART. Also cut off .life to between 0 and 65535 when saving
2013-09-12 14:35:10 -04:00
jacob1
074a2226e1
remove useless and laggy lightning_recreate check
2013-09-11 21:41:54 -04:00
jacob1
332aa25bf6
save pavg[] in saves, for VIRS, PIPE, and STOR
2013-09-11 20:41:43 -04:00
jacob1
09c54b596b
Merge pull request #158 from mniip/x11-clipboard
...
X11 clipboard pull
2013-09-11 13:51:32 -07:00
jacksonmj
9eccad80b1
Missing breaks in readOPS
...
Causing some elements to be loaded incorrectly
2013-09-08 18:14:12 +01:00
jacksonmj
2e52e209a6
CRAY: only set decoration colour after passing through FILT
2013-09-08 17:33:12 +01:00
jacksonmj
45dc8ac757
Revert "Don't reset decorations when sparking with INWR+CRAY(most things)"
...
This reverts commit 5ad67f7778
.
2013-09-08 17:28:51 +01:00
jacksonmj
7270461985
Enabled check for PIPE too
2013-09-08 11:52:44 +01:00
jacksonmj
5ad67f7778
Don't reset decorations when sparking with INWR+CRAY(most things)
...
INWR+CRAY(SOAP) will reset decorations
2013-09-08 11:30:21 +01:00
jacksonmj
79edfe9589
Include elements[].Enabled in check for invalid lava ctype
2013-09-08 09:26:31 +01:00
mniip
8d96f3f6b6
fix segfault on wordwrapping a string with a character >=128
2013-09-06 13:09:24 +01:00
jacob1
d9089d13c4
fix BCOL melting and not burning when heat sim is off
2013-09-05 14:45:47 -04:00
jacksonmj
96221ff23e
Make effect of PROT on wifi and portals independent of channel temperature ranges
...
Cold PROT decreases channel by 1, v cold by 10. Hot PROT increases channel by 1, v hot by 10.
Since the effect is specified in terms of effect on channel number not on temperature, this will
cause less problems if the temperature gap is ever decreased to add more channels.
2013-09-05 18:06:13 +01:00
jacob1
7d9fa1bfc7
new element: VIRS (also solid and gas virus states). Cured by SOAP (CURE element was not added)
2013-09-04 00:20:21 -04:00
jacob1
6c4f63be3b
proton collision reaction (might need to be modified). Also some ways to go to/from protons
2013-09-02 21:58:52 -04:00
mniip
fea920d608
fix fixedRatio when VideoBuffer::Resize'ing, fixes #121
2013-09-02 18:03:43 +04:00
jacob1
f1145f31f5
new element: PROT (protons) TODO: proton colliders to produce heavier elements
2013-09-01 21:52:38 -04:00
jacob1
b2957dc1c9
ability to use Celcius and Farenheit in console
2013-08-29 23:37:57 -04:00
jacob1
a5cee8c393
alternate keys: semicolon for replace mode, ctrl+semicolon for specific delete (also couldn't figure out how to detect mac delete key)
2013-08-29 23:01:07 -04:00
jacob1
fd586d167f
fix bug where when sparks were reset, ctype wasn't
2013-08-29 22:44:38 -04:00
jacob1
2cbee180a1
fix bug where PROP wouldn't set properties of particle id 0
2013-08-29 22:34:50 -04:00
jacob1
d38af2764c
move QRTZ .tmp into .tmp2 and .ctype into .tmp, fixes bug where sparking QRTZ resets .ctype and stops it from growing
2013-08-29 22:18:35 -04:00
jacob1
b17ef7f938
fix PSTN bug found in save 1299509 (hopefully won't break anything)
2013-08-29 21:00:31 -04:00
jacksonmj
c3d3f9fc2a
FILT mode for old QRTZ scattering, for Catelite.
...
FILT graphics could maybe do with changing in this mode.
2013-08-29 18:28:49 +01:00
jacksonmj
268158f1dd
More FILT modes: XOR and NOT
2013-08-29 18:24:44 +01:00
jacksonmj
bebe9bd8fd
Add a way for photons to set the colour of FILT (major version bump required)
...
Also add some new FILT modes, and make FILT modes affect BIZR and
BRAY colour in the same way as they affect photon colour. Photons
passing next to DTEC will set the colour of all FILT in a straight
line starting from any FILT adjacent to the DTEC (a bit like an
ARAY beam), and the exact colour of the photon will be used for
FILT interactions instead of the colour based on temperature.
FILT tmp=4: red shift, tmp=5: blue shift. Size of shift determined
by FILT temperature. tmp=6: FILT has no effect on photon colour
(possible before by using invalid tmp modes, but here's a supported
method of doing it. Invalid tmp modes should be automatically replaced
in existing saves).
Also, FILT mode is now described in the HUD.
2013-08-29 17:19:07 +01:00
mniip
8a27363c76
implement X11 clipboard pull
2013-08-29 00:57:08 +04:00
mniip
122dc294c9
Whoops forgot to replace some redundant code related to regex
2013-08-27 01:51:21 +04:00
mniip
e2cb5838c6
specially per @savask's request, put matcher into a function
...
returns 0 if no match, returns position of pipe character if there is
2013-08-22 19:50:20 +04:00
mniip
4a308cbf66
oh, and remove dependency
2013-08-22 17:52:32 +04:00
mniip
4e9fe8b8e7
regexless gameModel
2013-08-22 17:51:19 +04:00
mniip
95c01bcf0a
regexless getText
2013-08-22 17:09:55 +04:00
mniip
5e1385324a
remove regex in renderer
2013-08-22 17:08:53 +04:00
Saveliy Skresanov
b2045b0a7f
Fix sign save/topic regex.
2013-08-22 18:43:46 +07:00
Saveliy Skresanov
12c471f257
Soap freezing temp is -25C now
2013-08-15 22:02:24 +07:00
jacob1
ab6a0c2072
Fix tpt.element(<something not a string or number>) returning 1
2013-08-08 22:45:08 -04:00
jacob1
73544bd069
probably fix issue where your name on your own saves switched between yellow and red, and save owner's comments weren't always red
2013-07-29 00:35:09 -04:00
jacob1
4746474127
fix occasional crash when flood fill deleting
2013-07-29 00:34:43 -04:00
jacob1
bd0b779bd0
update version number
2013-07-28 10:20:35 -04:00
Simon Robertshaw
387424e007
Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy
2013-07-28 10:30:45 +01:00
Simon Robertshaw
8cfead7d5a
Use async requests/RequestBroker for PreviewModel
2013-07-28 10:30:32 +01:00
Simon Robertshaw
ddd51aed3d
Async Request methods for SaveInfo and SaveData
2013-07-28 10:30:01 +01:00
Simon Robertshaw
7a847e7a55
Fix request identifier tracking
2013-07-28 10:29:30 +01:00
jacob1
a328fc519e
fix your name being red on your own saves, not yellow
2013-07-27 12:47:59 -04:00
jacob1
5518a6bcd6
fix right modifier keys
2013-07-27 11:21:42 -04:00
jacob1
3d16253319
fix ctrl check in stamp and online browsers
2013-07-27 11:19:02 -04:00
Simon Robertshaw
3edee42971
Call OnResponseReady with an identifier for the request, add a WebRequest class
2013-07-27 12:38:52 +01:00
jacob1
39acce4502
fix tpt.heat return value
2013-07-26 18:36:17 -04:00
jacob1
bfc1cf99ca
instant save option option, hold ctrl when clicking a save in the save preview to skip the entire preview and not load the comments
2013-07-25 19:43:25 -04:00
jacob1
beff3db8d2
fix ctrl+x not deleting all signs
2013-07-25 18:23:02 -04:00
jacob1
e0913d2639
can change comment pages without the scrollwheel, click and hold scrollbar area to have it scroll to that point
2013-07-21 17:05:55 -04:00
jacob1
a63f5b875b
when scrolling up through comments, it starts at the bottom of the page instead of the top
2013-07-21 15:59:51 -04:00
jacob1
a9352008cf
your own comments are yellow, save owner's comments are red (like on the forums)
2013-07-21 15:23:41 -04:00
jacob1
468e678cd6
unhide FOG and RIME elements. TODO: hide VINE from the menu? (seems useless, would make the menu less scrolly)
2013-07-19 21:22:26 -04:00
jacob1
da7d107f60
remove specific delete for walls, doesn't work very well and it conflicts with specific delete for elements
...
Also prevent wall replace mode, could never do anything because walls already replace everything
2013-07-18 18:54:09 -04:00
jacob1
40285e107a
flood delete will delete walls even if wall delete tool isn't selected
2013-07-18 18:30:24 -04:00
jacob1
6a4cc7e1f7
stickmen element defaults to right selected element if possible, or else still DUST
2013-07-18 17:57:04 -04:00
jacob1
aa59c89fa2
logging in in the save preview will update the login button on the main screen
2013-07-18 16:33:59 -04:00
jacob1
fe78593ca2
ability to use zoom tool while placing stamps
2013-07-18 16:01:32 -04:00
jacob1
f56a2f6000
add back replace mode and specific delete. Activated with insert key / delete key, use ctrl+alt click to select what to use for the checks
2013-07-18 15:40:32 -04:00
jacob1
cc887995c0
fix openGL compiling (most likely), fixes #146
2013-07-17 18:20:50 -04:00
jacob1
a98fb2092d
click a preset once to select it, twice to switch to deco set tool. Prevent changing middle selected element in the deco editor
2013-07-17 17:21:35 -04:00
jacob1
4243987acd
black decoration preset, improve look of deco buttons a little
2013-07-17 16:53:14 -04:00
jacob1
9628a11245
save to server button is disabled when not logged in, but tags are viewable (read only)
2013-07-16 16:55:39 -04:00
jacob1
d4ff778434
small attempt to reduce spam tags
2013-07-16 16:03:26 -04:00
jacob1
19e182ae42
add back rgba images in the local/server save uploads
2013-07-16 14:48:50 -04:00
jacob1
6f29926b96
deco menu button textures (not black)
2013-07-16 13:08:57 -04:00
jacob1
5773e6afb5
fix multiple deco presets being able to be selected at once, fix "Decorations: Enable" coming up every time you open the deco editor, presets deselected when you leave editor
2013-07-16 11:24:11 -04:00
jacob1
e0d982367b
fix bug where saving and loading elements in saves relied on the name being consistent between versions. The palette should only be used for lua elements
2013-07-15 17:42:43 -04:00
jacob1
f4432b4759
give an error when a local save isn't saved properly, instead of exiting and pretending it worked
2013-07-15 14:59:15 -04:00
jacob1
c2a9b5c6f6
fix quickoption tooltip (ctrl+g, not g)
2013-07-15 13:17:20 -04:00
jacob1
8d5fe459fe
'n' to toggle Newtonian Gravity, quickoption tooltips show which keys you need to press to toggle them
2013-07-15 13:09:19 -04:00
jacob1
0214fcb5ae
particles can't be drawn with the brush inside of walls they don't belong, fix flood fill delete issue
2013-07-13 14:17:21 -04:00
jacob1
01b2d55263
fix being able to draw STKM and SPWN on top of other elements
2013-07-13 14:07:19 -04:00
jacob1
896dd03d25
hitting the buttons on the bottom while pasting a stamp will cancel the paste (fixes stacking glitch)
2013-07-13 13:56:30 -04:00
jacob1
728d201e93
stamps and local saves rendered without fire, greatly improves loading times
2013-07-13 13:23:48 -04:00
jacob1
4bcaf7f385
fix being able to go one page too far in searches with the scroll wheel
2013-07-13 12:51:25 -04:00
jacob1
864f0e6f45
WIFI lines aren't drawn in persistent mode, and are based on current temp, not tmp, so they work when paused
2013-07-13 12:06:43 -04:00
jacob1
34db317e44
update rules to fix some problems and more closely match the current rules. fixes #126
2013-07-11 23:32:39 -04:00
jacob1
a06202c78f
fixes to wall and particle floodfill. Wall fill ignores particles and always goes to the edges, while particle fill will only ignore walls it can't exist in, and flood particle erase won't check for walls / edges at all
2013-07-11 22:43:36 -04:00
jacob1
4f5c453643
if the previewmodel has exited, the running threads should delete this
2013-07-11 19:30:48 -04:00
jacob1
c29bfd285d
fix bug where PSTN would write past tempParts and into other things, like corrupting TRON colors and making it all blue
2013-07-10 21:01:34 -04:00
jacob1
081c58990e
fix floodfill and prop floodfil with photons
2013-07-10 17:59:16 -04:00
jacob1
3203e597b9
fix piston bugs, fix crashes, don't use bluescreens when compiled with debug mode in visual studio
2013-07-10 16:59:10 -04:00
jacob1
e7a3fd1c29
minor changes / fixes to last commit
2013-07-10 15:08:00 -04:00
jacob1
4f6904b1ed
redo threading in PreviewModel so that you don't have to wait for everything to load to quit, and the threads don't access any of PreviewModel's data
2013-07-10 14:53:35 -04:00
Saveliy Skresanov
6e7a5488b5
Fixed the bug with SPWN not creating when redoing (Ctrl-Z).
2013-07-09 23:39:48 +07:00
Saveliy Skresanov
3c5a341dbc
Merge branch 'master' of https://github.com/FacialTurd/The-Powder-Toy
2013-07-07 11:52:43 +07:00
Saveliy Skresanov
ac66ce3b3c
Fix the bug where stickmen were shooting LIGH only in one direction.
2013-07-07 11:52:08 +07:00
jacksonmj
1b58c1eea8
Fix #127 , threads should not be cancelled after being joined
2013-07-06 21:27:47 +01:00
jacob1
e8b0e31656
Merge pull request #143 from mniip/foo
...
fix PSTN coloring
2013-07-02 13:49:19 -07:00
jacob1
519d220101
save more settings in powder.pref like ngrav_enable, aheat_enable, pretty powders, and debug hud. Also save ambient heat in saves, and add a warning in the intro text in betas that you can't save publically
2013-07-02 15:09:00 -04:00
mniip
b8c218c89b
shouldn't use PIXR/G/B/PACK there, would break if using a non-standard bit scheme
2013-06-28 15:02:50 +04:00
jacob1
c1320d2007
fix sim.loadStamp return value, remove VINE_MODE
2013-06-27 12:10:55 -04:00
jacob1
776b2f6607
fix version tagging in saves
2013-06-24 00:02:00 -04:00
jacob1
76ce2de1ce
change some wall descriptions a little
2013-06-23 20:40:19 -04:00
jacob1
43540eb7e4
Add back replace mode and specific delete *
...
* only usable by Lua
2013-06-22 22:48:51 -04:00
jacob1
625766028d
fix NEUT not setting off DEUT directly under it (save 1236560)
2013-06-22 12:39:44 -04:00
jacob1
60b1bf5066
forgot to push this commit, SDL should only be included in 1 type of way
2013-06-22 09:36:50 -04:00
jacob1
66f250b29d
fix PTCT melting temperature, seems to have been broken in 525f87fd6b
, fixes #108
2013-06-20 23:01:41 -04:00
jacob1
f0f2c43277
CFLM is a gas ... not a liquid. Fixes #116
2013-06-20 22:42:21 -04:00
jacob1
18e2008b01
do ctrl+z snapshots when loading saves / stamps, makes it more predictable to fix problems in issue #110
2013-06-20 22:23:08 -04:00
jacob1
7a2114bc65
add error messages when errors happening while fav. / unfav.ing a save, deleting a save, or unpublishing one. Also don't use session key in url to add a comment since it isn't needed
2013-06-20 22:01:07 -04:00
jacob1
3aac957e50
HUD displays the correct name of LIFE particles in the HUD, show mouse position in HUD on the edges of the screen
2013-06-20 20:29:20 -04:00
jacob1
fcff2ecc7f
fix message when banned not fitting in the window, also partially fix issue #98 but needs to be done from the server
2013-06-20 11:19:31 -04:00
jacob1
06fb97bc40
fix BRMT always acting like it was created from TUGN
2013-06-20 00:10:24 -04:00
Saveliy Skresanov
53ae6ee517
88.0 beta, build 271
2013-06-16 16:29:18 +07:00
jacob1
688d82b4b9
add back sim.partNeighbors + some alternate spellings
2013-06-13 10:57:54 -04:00
mniip
a3056c86e6
simulation.pmap()
2013-06-13 00:38:58 +04:00
mniip
7c25baa9a9
simulation.partNeighbours() iterator
...
// no one uses it yet, so it shouldn't break anythign really
2013-06-12 21:42:15 +04:00
mniip
17de12dc8b
simulation.parts() iterator
2013-06-12 21:12:07 +04:00
Saveliy Skresanov
03f2590967
Lower rounding errors in BIZR code and make it change color both on vertical and horizontal movement.
2013-06-12 20:14:34 +07:00
jacksonmj
4e4bd9a11b
Signed integers can be negative, so prop>x does not always correctly indicate whether higher bytes are used
2013-06-11 00:26:41 +01:00
jacob1
b699bb176f
Add two new properties for CLNE-like elements
...
the thing CLNE does, drawing upon it will set ctype; and what BCLN does to CLNE - disables #1 ). Made use of the two new properties
2013-06-10 10:51:55 -04:00
jacob1
52ec8f438b
add the single saveID copytext button into the save preview too
2013-06-09 17:13:57 -04:00
jacob1
a6ee8e2af1
fix NEUT created from DEUT explosions sometimes having the deco color of previous particles. Also allow the deco editor to color energy particles instead
2013-06-09 11:15:24 -04:00
jacob1
9a25fb741c
remove debug printing I accidentally included again
2013-06-09 00:04:38 -04:00
jacob1
e13fb83ee0
SaveID Message after saving a save to the server (like the old tpt did). TODO: Put a similar button in the save preview instead of the two we have now.
2013-06-09 00:01:53 -04:00
jacob1
16cb95de64
fix problems with point queue, where it would draw a Point at A, a line from A to B, and a line from B to B every frame
2013-06-08 22:23:53 -04:00
jacksonmj
0f5d0859b4
Possibly fix crash due to Lua running out of stack space
2013-06-09 01:18:44 +01:00
jacob1
a1f9da2d0c
fix tpt.selectedl not changing sometimes when using the element search or sample tool. Assume that new saves will get the auto-vote, so set that too.
2013-06-08 00:23:06 -04:00
jacob1
69961956bf
fix ToolTips on split buttons not working correctly (button overrode them), fix tooltips displaying on disabled buttons
2013-06-07 20:13:18 -04:00
jacob1
1d00e712ad
save publishing info in the save upload ui
...
also fix the other crash when exiting the game from inside of one of these windows, because first Client::Shutdown would delete all active requests and only later ~Engine would delete _state, which delets the ServerSaveActivity window, which tries to close the active render request
2013-06-07 19:32:38 -04:00
jacob1
58f8451b9e
make saves private by default again
2013-06-07 13:08:45 -04:00
jacob1
8f72ee829f
PHOT can go through PBCN and BCLN, fixes differences in PHOT cloning found in save id:1213267
...
also some renaming / reorganizing in init_can_move
2013-06-07 12:45:36 -04:00
jacob1
e146ae50ab
some minor changes to tools
2013-06-06 23:28:07 -04:00
jacob1
76b92952b1
adjust tool strengths a little, to make them a little faster
2013-06-06 22:19:51 -04:00
jacob1
5ae6b18677
GOLD changes photons to yellow
2013-06-06 16:02:21 -04:00
jacob1
b594d68258
WIND tool creates WIND just by holding down the line tool again
2013-06-06 11:52:33 -04:00
jacob1
2119343b6a
fix sim.NUM_PARTS, other small changes
2013-06-05 23:17:34 -04:00
jacob1
c7ce3fa4b2
make constants in the lua api's a lot easier to write
2013-06-05 22:56:00 -04:00
jacob1
875ca75b07
fix not being able to draw tool lines or boxes, but you can still press ctrl+shift before clicking to use 10x strength
2013-06-05 10:55:46 -04:00
jacob1
8d7ab7f5e2
allow creating WIND lines from lua
2013-06-01 21:57:03 -04:00
jacob1
b16524292e
fix bug where you had to start using a tool before setting it's strength
2013-05-31 19:53:32 -04:00
jacob1
80380bbaa3
even more lua simulation api functions
2013-05-30 22:28:42 -04:00
jacob1
d6d20defde
Merge branch 'master' of git@github.com:FacialTurd/The-Powder-Toy.git
2013-05-29 20:36:34 -04:00
jacob1
cbc80de652
some new sim and ren lua api functions
2013-05-29 20:35:46 -04:00
jacob1
41e369e68e
mniip: add back missing easter egg
2013-05-22 18:21:17 -04:00
jacob1
1588226120
move frameStart to right after the fps is limited (counts everything, including mouse/key functions now)
2013-05-21 23:23:57 -04:00
cracker64
4e9ee3a3a3
Fix incorrect FPS counter, need to count blit too.
...
2x scale gets a massive *real* fps boost, the fps lied before.
2013-05-21 23:05:27 -04:00
cracker64
2735a80d28
Fix STKM spawns, fix cases.
2013-05-21 18:19:05 -04:00
cracker64
e1d8585871
Jacob can't into switches
2013-05-21 17:54:37 -03:00
jacob1
6fec955f41
TPT: Stop STKM being able to jump on the bottom of the screen 509b84b4f
2013-05-20 16:50:49 -04:00
jacob1
bd262d8c92
Merge pull request #136 from mniip/scons
...
mingw compiling fixes
2013-05-20 08:30:08 -07:00
jacob1
35f84a0942
Merge remote-tracking branch 'origin/master'
2013-05-20 11:27:18 -04:00
jacob1
826b966668
reduce rand() chances to 5x the old values in elements that were changed to 3x3 loop checks instead of 5x5. Also some other fixes I found when looking at what had been changed.
2013-05-20 11:26:51 -04:00
jacob1
d29b001d82
Merge branch 'master' of git@github.com:FacialTurd/The-Powder-Toy.git
2013-05-19 22:59:42 -04:00
jacksonmj
45f057957b
Fix description: METL does not break under pressure
2013-05-19 21:46:55 +01:00
mniip
3979395e65
reenable sighandlers for winderp
2013-05-19 10:02:42 +04:00
jacob1
5b1389621f
minor fixes to descriptions (again)
2013-05-18 23:12:37 -04:00
jacob1
981f6984c2
Merge branch 'HEAD' of git@github.com:FacialTurd/The-Powder-Toy.git
2013-05-17 12:44:25 -04:00
jacob1
cbd402d8cb
fix CFLM making VIBR unable to explode
2013-05-17 12:44:18 -04:00
mniip
3a640fee3f
some more compiling fixes
2013-05-17 18:32:41 +04:00
jacob1
77bf649fb4
new lua sim api functions to get/set deco color, load a save, and adjust coordinates to the screen / zoom window
2013-05-16 23:12:33 -04:00
jacob1
9cd84eccde
fix tpt.selectedl sometimes being incorrect
2013-05-16 21:59:40 -04:00
jacob1
7b6ded50dc
rename GRAV back to PGRV, fix formatting in generator, remove useless file
2013-05-16 20:04:39 -04:00
jacob1
fd97e923f3
remove check in deco tools (that shouldn't be there)
2013-05-16 19:36:41 -04:00
jacob1
027649e858
lua simulation api functions for drawing with tools / deco
2013-05-16 19:33:30 -04:00
jacob1
6f8e2c0345
remove unneeded / duplicate constants, fix SPC_AIR/other tools so it won't conflict with lua elements (the 11th one won't work right now)
2013-05-16 17:01:33 -04:00
jacob1
751da54183
make making VIBR from molten TTAN+EXOT a little easier (molten VIBR slowly kills EXOT)
2013-05-16 15:09:17 -04:00
jacob1
242f4bcdf6
more minor fixes
2013-05-16 01:04:49 -04:00
jacob1
ebe145b39f
soap lines show in nothing mode, some small changes to arguments for sim api drawing functions
2013-05-16 00:55:44 -04:00
jacob1
81876a93a3
redo some brush drawing stuff to remove useless checks, and to allow for replace mode in the future
2013-05-16 00:20:07 -04:00
jacob1
5ad819efbd
remove checks on location / element in the simulation drawing functions. fix drawing circles with an rx of 0. Probably fix compiling error
2013-05-15 21:10:22 -04:00
jacob1
3d530e4f73
fix pause button. I'm not sure why I removed that ...
2013-05-15 20:36:45 -04:00
jacob1
624f038cc9
fix downvote button not being reset when you clear a save
2013-05-15 15:14:48 -04:00
jacob1
dfc33aaeea
finish return values for the legacy api, add sim.saveStamp and sim.loadStamp
2013-05-15 13:51:45 -04:00
jacob1
94d21a1679
when called with no arguments, some tpt. functions will act as get functions (unfinished)
...
Also, redo some menu stuff to use int's instead of Menu *s, and fix bug with toggleable buttons being toggled without triggering their actions
2013-05-14 23:50:26 -04:00
jacob1
ab3675d6ee
minor lua api fixes
2013-05-14 18:11:04 -04:00
jacob1
2e409f966c
gfx.draw/fillcircle
2013-05-14 16:39:20 -04:00
jacob1
431f5a0083
lua simulation api functions for creating particles, walls, boxes, and walls
2013-05-14 14:40:18 -04:00
jacob1
18ddb7a155
some more description changes
2013-05-13 22:12:03 -04:00
jacob1
7856f727a5
rename TUGN to TUNG (more popular spelling). Broken BRMT smelts back into TUGN
2013-05-13 21:10:45 -04:00
jacob1
e5cbcecdb9
fix circle brush shape at some sizes
2013-05-13 19:07:59 -04:00
jacob1
a5ae843553
also check .Enabled in PROP
2013-05-11 22:42:58 -04:00
jacob1
135bf44347
fix bug where you could set invalid types with PROP
2013-05-11 22:29:24 -04:00
jacob1
51f27bfad7
Merge remote-tracking branch 'origin/master'
2013-05-11 21:47:13 -04:00
jacob1
9d89d4b79b
fix tooltips and dt
2013-05-11 21:43:52 -04:00
mniip
4d9b9b17d7
D:
2013-05-11 15:08:32 +04:00
Simon Robertshaw
c2cdec9e62
Togglable lua scripting
2013-05-11 11:52:35 +01:00
jacob1
67e1213905
fix tpt.message_box, fix compiling error
2013-05-09 18:52:13 -04:00
Simon Robertshaw
e53f2bf0b5
Forward resample argument correctly from VideoBuffer resize method
2013-05-09 23:33:43 +01:00
cracker64
d1c8978a34
just one to_boolean works... any number is true.
2013-05-09 16:03:14 -04:00
cracker64
4c5667fbc6
Fix tpt.message_box correctly to only accept true/false third arg.
2013-05-09 15:51:01 -04:00
Saveliy Skresanov
f35f221554
Rocket boots for fighters.
2013-05-08 23:36:04 +07:00
Saveliy Skresanov
c6930ddc5f
Merge remote-tracking branch 'upstream/master'
2013-05-08 23:10:01 +07:00
Saveliy Skresanov
9893f59657
Fix "blow power" for stick man, disable rocket boots on E-hole.
2013-05-08 23:08:29 +07:00
jacob1
645bcb1bcd
Merge remote-tracking branch 'origin/master'
2013-05-08 10:29:33 -04:00
jacob1
c0b4592839
fix PSCN BRAY (tmp = 2) not stopping normal BRAY from going through
...
also some other random things
2013-05-08 10:29:10 -04:00
jacksonmj
89a0603b53
Rocket boots for stickman, because why not
...
Pass through gravity wall to activate, fan wall to deactivate.
Accelerate with left/up/right keys. Plasma is spawned when accelerating,
and STKM is immune to plasma but not other hot elements when rocket
boots are enabled. Hold left+right to slow down quickly.
STKM spawn element is retained and can still be created while using
rocket boots, but it may be difficult to do anything useful with the
spawn element whilst spewing hot plasma everywhere.
2013-05-08 15:12:28 +01:00
cracker64
45c321f1b3
Fix ARAY better, instead of relying on conduction check to stop on BRAY, which we know doesn't conduct.
2013-05-08 07:48:54 -04:00
jacksonmj
20c261826d
STKM - fix jumping in the x direction in different gravity modes
2013-05-07 15:01:24 +01:00
cracker64
2f8574f62b
gol2 array is static size, adding new GoL won't increase memory usage.
2013-05-06 13:30:03 -04:00
cracker64
77102f4bba
Optimize GoL a bit, haven't changed gol2 yet.
2013-05-05 18:10:13 -04:00
Simon Robertshaw
b8b5f91e20
Only free GameView if it can be closed
2013-05-06 00:24:53 +01:00
Simon Robertshaw
fea71ec69b
Update version number
2013-05-05 14:33:08 +01:00
Simon Robertshaw
afbef49db2
Fix temperature sensor
2013-05-05 14:30:04 +01:00
mniip
9f33cbf79e
well, fuck you too, simon
2013-05-05 08:49:36 +04:00
jacob1
082530d18c
fix tooltip issues in render options too
2013-05-05 00:18:28 -04:00
jacob1
4f2d24bcff
small fix
2013-05-05 00:10:57 -04:00
jacob1
b45a45ba4e
fix element scrollbar issues, fix fading of HUD/intro text, fix compiling error with last commit
2013-05-05 00:07:07 -04:00
jacob1
07486c9885
drawtext_outline to fix unreadable infotips, tooltips fade in and out (more like old tpt)
2013-05-04 23:03:59 -04:00
jacob1
2d0ce60afe
fix not being able to draw TUGN under high/low pressure
2013-05-04 20:34:47 -04:00
jacob1
cb5ca55fc2
New Element: Pressure sensor
2013-05-04 20:28:28 -04:00
jacob1
08f05d69c1
move some elements around
2013-05-04 19:50:11 -04:00
jacob1
a4e75d587f
add #ifdef WIN / #idndef WIN around some lua socket files, for easier visual studio compatibility
2013-05-04 19:19:23 -04:00
jacob1
73fe68a3eb
Merge pull request #133 from mniip/lua
...
Fix the luaopen_socket_core loader
2013-05-04 16:12:24 -07:00
mniip
69bf9e1058
Fix the luaopen_socket_core loader; derp me
2013-05-05 03:09:08 +04:00
Simon Robertshaw
48c7d8a916
Fix Lua includes in luasocket builtin
2013-05-04 22:41:33 +01:00
Simon Robertshaw
8ef266c08e
Fix compiling with new BSOD in debug mode
2013-05-04 22:41:08 +01:00
Simon Robertshaw
66e21ce049
Merge pull request #131 from mniip/lua
...
builtin luasocket
2013-05-04 14:26:49 -07:00
Simon Robertshaw
3799d5ed86
Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy
2013-05-04 21:43:43 +01:00
jacob1
36efb48644
possible piston bug fix for save 1176828
2013-05-04 16:40:04 -04:00
Simon Robertshaw
2d8c5a7747
TPT Blue screen of death - try its best to catch some signals (SIGSEGV) and unhandled exception in the game loop
2013-05-04 21:39:43 +01:00
jacksonmj
b2153b5af4
Typo in rules
2013-05-04 17:19:25 +01:00
jacksonmj
79a75c4441
Fix solidification temperature of molten TUGN
...
Previously it was 973 K, not the same as the melting point of TUGN
2013-05-04 17:19:25 +01:00
jacob1
f93a70edfb
ctrl+r reload shortcut, fix a few brush drawing bugs, fix stamp xor area, fix lua log text overlaps
2013-05-04 11:52:37 -04:00
Simon Robertshaw
b0f14e0c54
Fix position of scrolly bio, increase user profile window size
2013-05-04 15:18:37 +01:00
Simon Robertshaw
99c560bfd3
Prevent TUGN from breaking when resetting air
2013-05-04 15:04:19 +01:00
Simon Robertshaw
1575d93d48
Fix compilation issues on Windows with Window Position Loader
2013-05-04 15:00:45 +01:00
Simon Robertshaw
ed9710c33d
Tungsten breaks under pressure changes
2013-05-04 14:44:16 +01:00
Simon Robertshaw
cab667001d
Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy
2013-05-04 14:42:23 +01:00
jacob1
630216c253
change ">" to "..." (from mniip)
2013-05-04 00:20:33 -04:00
jacob1
ae34c43c66
update with latest rules, fix grammar, fixes #126
2013-05-03 23:54:08 -04:00
jacob1
0b2e8a412e
fix some descriptions
2013-05-03 23:19:16 -04:00
jacob1
c68e4b1393
change descriptions of many elements to be more consistent, contain more info, and be more helpful.
2013-05-03 22:42:36 -04:00
jacob1
773d500d8a
mniip: fix crash on non-string error in step and other functions
2013-05-03 20:13:56 -04:00
mniip
88cbb81ec4
fix crash on non-string error in step and other functions
2013-05-04 04:11:52 +04:00
jacob1
3018c597c4
make GOLD sparkle slightly, and it kills NEUT
2013-05-03 19:47:09 -04:00
jacob1
d4391cc19e
set window position before displaying it
2013-05-03 19:11:44 -04:00
jacob1
06111ce456
Merge pull request #130 from mmbob/master
...
Save window position when closed
2013-05-03 15:14:24 -07:00
Simon Robertshaw
dd0f5f5efb
New element: Tungsten, very high melting point
2013-05-03 22:33:39 +01:00
mniip
4cd12e8561
allow multiline code input, command will be executed when enough code given
2013-05-03 09:56:13 +04:00
mniip
0233d8db46
print returned values; implicit return in console; console source
2013-05-03 01:54:21 +04:00
mniip
d8023d21cd
better luacon_geterror
2013-05-03 01:09:13 +04:00
mniip
29496cb6d3
fix tpt.log so that when called multiple times, it doesn't overwrite the text
2013-05-02 23:49:53 +04:00
mniip
e7b29ab9b5
statically linked, or better to say, builtin luasocket
2013-05-02 22:41:01 +04:00
mmbob
df14a77124
LoadWindowPosition has a better default position
...
LoadWindowPosition now positions the window on the nearest monitor if
the window is not inside a monitor.
2013-05-02 13:00:13 -04:00
mmbob
7bc321b176
Merge remote-tracking branch 'upstream/master'
2013-04-30 21:54:09 -04:00
jacksonmj
2eaed9c9d4
Correct gold melting point
2013-04-30 23:10:07 +01:00
jacksonmj
526e93204a
INST flood fill change so that vertical conduction is only prevented for 1px wire crossings. Needs thorough testing
...
Fixes #129 , and prevents INST diodes when using a 2px vertical crossing a
1px horizontal.
2013-04-30 22:34:06 +01:00
mmbob
9d4cbd3112
Merge remote-tracking branch 'upstream/master'
2013-04-29 21:50:12 -04:00
jacksonmj
b83043e2a6
Remove obsolete code from TPTScriptInterface
2013-04-27 15:55:30 +01:00
jacksonmj
9bc939d422
Less dependence on particle order for GOLD fast electricity conduction
2013-04-27 13:55:41 +01:00
Simon Robertshaw
828569415f
BREAKING NEWS: Hell has frozen over
...
New element, GOLD, a corrosion resistant metal that can conduct electricity faster, molten GOLD will turn into molten VIBR on contact with EXOT
2013-04-27 11:38:20 +01:00
mniip
bfe00dc1f3
Ooooooohh
2013-04-27 02:57:41 +04:00
mniip
77e837c775
Fixed graphics function crash when unable to catch errors
2013-04-27 02:20:06 +04:00
mniip
a1cdef4c90
a major rewrite of event registration, it's fully compatible, yet has new advantages
2013-04-27 01:25:18 +04:00
mniip
9f7d45f8fd
print does implicit tostring, also generates a list ouside of console too
2013-04-26 17:15:33 +04:00
mniip
f9017bc7bb
fixed dropper debug printing
2013-04-25 22:56:41 +04:00
mmbob
e166640cbb
Fix reading hexadecimal in TPTScriptInterface
...
Instead of subtracting 'A', subtract 'a'
2013-04-22 13:05:10 -04:00
mmbob
63050715ee
Replace __ImageBase. Save + load window position.
...
Instead of using the __ImageBase global variable, use the
GetModuleHandle(NULL) function to get the exe's HMODULE/HINSTANCE.
Save the window position when the game is closed and restore it when it
is opened. Defaults to being centered on the desktop.
2013-04-22 13:04:43 -04:00
jacksonmj
ada7c7bb11
Prevent "!set type none blah"
2013-04-18 21:07:21 +01:00
jacob1
b9f150f0d2
update version (86.1.263 -> 87.0.267)
2013-04-13 10:57:11 -04:00
jacob1
3b7e418628
fix assert error when resampling an image to an invalid size (corrupted stamps)
2013-04-09 23:40:18 -04:00
jacob1
602cbf0701
fix setting negative numbers in the old console (using atoi)
2013-04-09 23:13:13 -04:00
Julian Meyer
649e5f2042
Add --nofft option to compile without FFTW3
...
This should help Mac users who were having trouble compiling.
2013-04-10 00:20:36 +01:00
Simon Robertshaw
b4fb55f86e
Allow signing out and editing profile from the old login button, add a button to edit avatar (directs to the website at the moment) Allow viewing profiles by clicking avatars
2013-04-07 14:40:00 +01:00
Simon Robertshaw
8d312ecdfa
Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy
2013-04-07 12:46:09 +01:00
cracker64
f7dd658a30
SPRK from SWCH should check both cases.
2013-03-27 12:34:03 -03:00
Simon Robertshaw
533a15ec9d
Update version number
2013-03-26 09:31:46 +00:00
Simon Robertshaw
0791f5b0f8
TPTScriptInterface: Ability to read hexadecimal constants
2013-03-26 09:24:15 +00:00
jacob1
010f7790eb
Fix CRAY bug that deletes particle 0
2013-03-25 12:36:04 -03:00
jacob1
36adc3c516
Fix NEUT not going through INVS
2013-03-25 01:18:47 -03:00
Simon Robertshaw
9b5b85f9b0
Merge branch 'reorganisation' of github.com:FacialTurd/The-Powder-Toy
2013-03-24 12:24:17 +00:00
jacob1
6bf98ccdca
Merge remote-tracking branch 'origin/master'
2013-03-23 10:55:06 -04:00
jacob1
c50e12df28
CFLM defusses VIBR, a few speed improvements to VIBR
2013-03-23 10:53:49 -04:00
Simon Robertshaw
bdc69f31c0
Fix includes for GUI stuff
2013-03-22 14:26:24 +00:00
Simon Robertshaw
9abe51526c
Move all GUI source files into gui/
2013-03-22 14:14:17 +00:00
Simon Robertshaw
2c311b9a36
Use "http://" for update/startup check
2013-03-22 13:40:54 +00:00
Simon Robertshaw
e6db760205
Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy
2013-03-22 13:21:13 +00:00
Simon Robertshaw
700aff4784
Don't try to parse update check response if it's NULL!
2013-03-22 13:20:54 +00:00
jacob1
29e2604f57
fix compiling error
...
also bug, I had some weird formatting that broke the json parsing
2013-03-21 21:49:04 -04:00
Simon Robertshaw
c4a500aa21
Merge
2013-03-21 21:49:59 +00:00
Simon Robertshaw
81a34222d1
POST requests for APIRequest, allow saving user details from within the game, Asynchronous HTTP POST
2013-03-21 21:49:06 +00:00
jacob1
d357fcdc36
add back bounds check to DTEC/TSNS where needed, change VIBR back to 5x5 loop checks
...
a better way to change it to 3x3 may have to be found that has the same ratios, other elements like WATRs have their rates changed too
2013-03-17 12:21:45 -04:00
jacob1
b617b8b656
fix compiling error
2013-03-16 14:00:11 -04:00
Simon Robertshaw
b4564f212a
Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy
2013-03-16 17:45:45 +00:00
Simon Robertshaw
f05044ab68
APIRequest, Aync methods for client, Profile edit/viewer (WIP)
2013-03-16 17:45:18 +00:00
jacob1
3a738846a3
add identifier constants based on the display name to the lua api
2013-03-16 13:23:19 -04:00
Saveliy Skresanov
d76650f7e6
Remove unnecessary code in legacy part.
2013-03-16 23:16:08 +07:00
Saveliy Skresanov
43974d8537
Narrowed loops for all elements in the first list.
...
Probabilities might be messed up a bit, I'm not sure.
2013-03-16 23:03:02 +07:00
Simon Robertshaw
d383d6d7e5
Higher quality thumbnails for Renders
2013-03-16 11:25:13 +00:00
Simon Robertshaw
b6e1526345
Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy
2013-03-16 11:20:23 +00:00
Simon Robertshaw
0646b7fe41
Nicer resize method for VideoBuffer, fix Local and Server save previews
2013-03-16 11:20:11 +00:00
jacob1
ff304321c5
new PSTN arms get deco color of the pushing pistons
2013-03-15 21:32:46 -04:00
jacob1
2267f34386
add a button to show the save uploading rules inside the save upload dialog
2013-03-15 20:32:39 -04:00
jacob1
cd8ea8ad0e
fix scrollbar not showing in scrollpanels if your mouse starts out already ontop of one
2013-03-15 14:48:01 -04:00
Simon Robertshaw
ca9ea8bb8a
Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy
2013-03-15 13:41:27 +00:00
Simon Robertshaw
73b6ff4efb
Use VideoBuffer in place of thumbnail
2013-03-15 12:59:55 +00:00
jacob1
2aa483e0a2
fix gravatars not showing for moderators
2013-03-14 23:58:09 -04:00
Simon Robertshaw
6b68c04cd6
Fix multiple free after merging multiple request objects
2013-03-14 12:10:56 +00:00
Simon Robertshaw
9ab70756af
Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy
2013-03-14 11:30:35 +00:00
Simon Robertshaw
9479b7f330
Move requestbroker into new folder, make request process function a method of Request
2013-03-14 11:30:24 +00:00
jacob1
10e104f3f5
change BOUNDS_CHECK define to just be true, it isn't needed since an element can never update when it's closer than 3 pixels away from the edges of a save.
2013-03-13 15:56:40 -04:00
jacob1
e493cf8a47
fix all tab spacing issues in all the element files
2013-03-13 15:54:34 -04:00
Simon Robertshaw
7a055a9d90
More unnecessary string duplication
2013-03-12 21:29:27 +00:00
Simon Robertshaw
35b7f62d3b
Remove unnecessary string duplication (http_init creates an internal copy of the proxy string)
2013-03-12 21:27:42 +00:00
Simon Robertshaw
aae7113c81
Remove images from image cache on exit
2013-03-12 21:24:56 +00:00
Simon Robertshaw
de680a1e5c
Merge
2013-03-12 21:21:01 +00:00
Simon Robertshaw
86b7a11800
Make thumbnailbroker more general purpose, image requests for requestbroker, avatars in previewview
2013-03-12 21:17:19 +00:00
jacob1
134d1fab10
delete ancient changelog.txt
2013-03-12 15:00:51 -04:00
cracker64
319ffb7e77
Change some old NEUTPENETRATE to NEUTPASS, NEUT should only displace GOO, WOOD, and PLNT.
2013-03-11 17:34:49 -04:00
cracker64
f2823b0ee8
Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy
2013-03-10 23:27:22 -04:00
cracker64
2caa240d9d
Delete thumbnails on close.
2013-03-10 23:23:17 -04:00
jacob1
a65d93523d
fix small free/delete mismatch / a warning
2013-03-10 23:21:28 -04:00
jacob1
85d6c12721
fix stamp thumbnails not showing until you move the mouse, add a few new[]'s replacing some .c_str() pointers in client.cpp
2013-03-10 22:08:00 -04:00
Simon Robertshaw
e6bca489c9
AvatarButton/holder, rename ThumbnailBroker for more general purposes
2013-03-10 18:08:34 +00:00
cracker64
5aa233d4e7
Use cancels instead of pthread_getattr_np for compatibility.
...
Stopping the download would be nice, it still goes in the background.
2013-03-10 01:47:09 -05:00
cracker64
3abc33fd3b
Merge branch 'master' of git@github.com:FacialTurd/The-Powder-Toy.git
2013-03-09 22:48:12 -05:00
cracker64
a9e66429d6
Fix some memory issues when closing preview UI too fast.
...
I'm not sure if this pthread usage is ideal, but it does seem to work on linux.
2013-03-09 22:47:08 -05:00
jacob1
e6f6eedd13
fix empty signs being created when shifting them out of bounds, draw parts of images when it goes partway off the top of the screen.
2013-03-09 16:50:36 -05:00
jacob1
c66d4c72f5
Merge remote-tracking branch 'origin/master'
2013-03-09 11:50:14 -05:00
jacob1
1ca39e1e7d
allow new searches even if tags haven't loaded
...
fixes search buttons being enabled but not working until the tags list is loaded
2013-03-09 11:49:49 -05:00
Simon Robertshaw
6090f0b0aa
Don't leak saveComments vector in PreviewModel, also don't create unnecessary duplicate in PreviewView
2013-03-09 12:19:02 +00:00
jacob1
189f96d35f
case insensetive local save searches, fix extention being counted in the match
2013-03-08 22:31:08 -05:00
jacob1
f9c219da93
a few more memory leak fixes
2013-03-08 20:56:54 -05:00
jacob1
89c784fcfa
attempt to fix random memory corruption / crashing bug ... this is the only thing that looks like it could be it
2013-03-07 23:26:24 -05:00
jacob1
77d233240f
fix mismatched malloc/delete[]'s when not using new image resampler
2013-03-07 22:14:00 -05:00
jacob1
a411fda7de
fix CRAY(SPRK) difference
2013-03-06 21:13:42 -05:00
jacob1
9316054ab2
fix CRAY(SPRK) bugs (?)
2013-03-06 14:23:26 -05:00
jacob1
037618e6f8
remove auto generated comments from all files, fix some missing tabs, remove unused variables from config.h
2013-03-06 12:05:59 -05:00
jacob1
ad951eb9af
fix being able to toggle disabled buttons (fixes save browser issue with this)
2013-03-04 15:59:45 -05:00
jacob1
38573cc30e
by date turns white like my own does when selected
2013-03-04 15:27:51 -05:00
jacob1
0f5b4a9ec8
fix pressing esc in login prompt logging you out, fix possible sign bug crash
2013-03-04 14:57:40 -05:00
jacob1
6bea8f5235
revert life changes, will be redone later in a faster way
2013-03-03 19:58:53 -05:00
jacob1
55f090b4d2
Merge remote-tracking branch 'origin/master'
2013-03-03 19:08:05 -05:00
jacob1
f951e5cda9
fix LIFE
2013-03-03 19:07:15 -05:00
cracker64
de6bb6a960
Merge branch 'master' of git@github.com:FacialTurd/The-Powder-Toy.git
2013-03-03 17:08:36 -05:00
jacob1
8b83ae9f95
PSTN ctype sets the element that stops it, FRME with a tmp of one is non-sticky (doesn't pull)
2013-03-03 16:36:37 -05:00
cracker64
2be0b22211
Merge branch 'master' of git@github.com:FacialTurd/The-Powder-Toy.git
2013-03-03 16:32:11 -05:00
cracker64
5e1c7d7932
Some better comments in SPRK, renamed rt and ct.
2013-03-03 16:30:34 -05:00
jacob1
cca1898ee8
Merge remote-tracking branch 'origin/master'
2013-03-03 15:39:10 -05:00
jacob1
17d79e8d8e
fix crash when drawing particles in invalid coordinates (using console)
2013-03-03 15:38:52 -05:00
cracker64
bb87299eb4
Missed one SPRK case.
2013-03-02 20:07:17 -05:00
jacob1
846d7d8064
allow NEUT to travel through ICE and SNOW, and for it to turn OIL to GAS (both like inextremely old versions)
2013-03-02 19:07:00 -05:00
cracker64
85cb4b37c9
Merge branch 'master' of git@github.com:FacialTurd/The-Powder-Toy.git
2013-03-02 00:42:17 -05:00
cracker64
d58100dc07
More fixes, redid a bunch of SPRK, so far everything I've tested works fine.
2013-03-02 00:42:07 -05:00
jacob1
cd18515e0a
piston retraction now checks pmap
2013-03-01 23:06:02 -05:00
cracker64
a9f4b5fe34
Quick fix for IRON
2013-03-01 00:55:10 -05:00
cracker64
0d70547cf0
More fixes to fix fixes and new fixes to fix stuff.
2013-03-01 00:41:53 -05:00
cracker64
5873d69586
Going through again.
2013-02-28 12:37:16 -05:00
cracker64
c65081d3ed
Finished first pass-through for all elements.
...
Will get a few more places later.
2013-02-28 00:40:36 -05:00
cracker64
08d1a68ce0
More fixes.
2013-02-27 17:20:05 -05:00
cracker64
3d2e594150
Small modifications part three.
2013-02-27 12:08:10 -05:00
cracker64
27e3e12518
Small optimizations number 2.
2013-02-27 00:11:23 -05:00
cracker64
8250515e97
Lots of small optimizations and things, nothing should be functionally different.
...
Only gotten through a few elements, more later.
2013-02-26 18:59:37 -05:00
jacob1
e700ff2988
Merge remote-tracking branch 'origin/master'
2013-02-24 22:10:31 -05:00
jacob1
572d099e29
fix a few more memory errors
2013-02-24 22:09:33 -05:00
jacksonmj
5c2f310577
Make default DCEL exactly reverse the effect of default ACEL
2013-02-25 01:05:12 +00:00
jacob1
27ac5ab75d
you never saw that ...
2013-02-24 19:16:06 -05:00
jacob1
fbf52794e5
fix even more memory leaks
2013-02-24 19:11:37 -05:00
jacob1
b92bd245c8
fix 4 MB memory leak on every save
2013-02-24 15:23:34 -05:00
jacob1
0939494747
fix problems found with valgrind with shifting stamps and saving
2013-02-24 14:12:48 -05:00
jacob1
f138e10917
Merge
2013-02-24 11:52:09 -05:00
jacob1
7379a6b5ba
fix crash when hovering the mouse over invalid wall types
2013-02-24 11:50:20 -05:00
Simon Robertshaw
8dfb1ecf87
ACEL and DCEL use life for strength value
2013-02-24 11:50:10 +00:00
jacob1
6b1e99a731
allow ACEL and DCEL strength to be modified with ctype
2013-02-23 23:45:40 -05:00
jacob1
20d8eff7f5
remove uneeded PSTN check, fix PSTN not retracting sometimes, fix PSTN bug where is wouldn't properly tell the difference between PSTN and PSTN arms
2013-02-22 16:50:33 -05:00
jacob1
11f45e3e99
CRAY spawns elements at its temp, fix color glitch with ARAY too, move FRME to force
2013-02-22 11:54:32 -05:00
jacob1
40c4289ce8
fix CRAY(SPRK) bugs, make CRAY act more like before again
2013-02-22 00:19:12 -05:00
jacob1
3da733b027
fix PSTN bugs where FRME would still move even if all of it couldn't, fix PSTN going through walls, fix bug where the PSTN extention may not be created in some glitched cases
2013-02-21 23:35:44 -05:00
jacob1
2184d35b28
reset colored and partsRemaining, to fix bugs when CRAY is sparked multiple times at once
2013-02-20 21:11:50 -05:00
jacob1
74387040a1
fix CRAY INST mode ignoring length, fix CRAY going ignoring walls, fix CRAY + GOL particles, allow CRAY to create sparks
2013-02-20 18:36:00 -05:00
Simon Robertshaw
27a60e7b71
Particle position lookup with sim.partID
2013-02-17 15:53:34 +00:00
Simon Robertshaw
52d0bb918d
sim.partProperty API method, sim.partPosition API method
2013-02-17 15:24:56 +00:00
Simon Robertshaw
e3453aedd1
Update version/build number
2013-02-17 11:31:34 +00:00
Simon Robertshaw
81f92ed0ec
Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy
2013-02-17 11:31:03 +00:00
Simon Robertshaw
5beb4255c8
Tag origin version info in save files
2013-02-17 11:30:53 +00:00
jacob1
a3454c49be
fix CRAY only deleting odd numbered elements
2013-02-16 15:11:59 -05:00
jacob1
5f331d4fce
Update build number too
2013-02-16 13:47:12 -05:00
Simon Robertshaw
76ef237f46
Update version number
2013-02-16 15:27:47 +00:00
Simon Robertshaw
a091f55fec
Allow implicit conversions when setting text property on some Lua API UI elements
2013-02-16 14:52:29 +00:00
Simon Robertshaw
8d04b260a7
Add missing removeComponent for Lua API
2013-02-16 14:49:05 +00:00
jacob1
01cd146ee9
fix mac compiling, fix renderer, fix other minor compiling issues
2013-02-14 23:31:31 -05:00
jacob1
5807602cc1
fix modifiers from lua, fix right ctrl
2013-02-11 11:45:49 -05:00
jacob1
4e918ab76d
fix some more brush bugs, remove alt-sample brush
2013-02-10 14:27:49 -05:00
jacob1
897d250eb5
fix crash if save data can't be loaded
2013-02-09 21:16:15 -05:00
jacob1
28e8b9eb39
make smudge tool more similar to the old one
2013-02-09 19:42:31 -05:00
jacob1
dc6398a33e
fix deco sample tool with 1 px brush, fix deco sample also sampling HUD/other text
2013-02-09 18:18:53 -05:00
jacob1
a989d97744
flood fill / sample brush shape, fix rectangle snapping
2013-02-09 00:01:00 -05:00
jacob1
685bde5c21
blobby walls in blob view
2013-02-08 22:50:37 -05:00
jacob1
1359045b14
fix tpt.selectedl not updating with sample brush, always put photons[] on top in HUD
2013-02-08 22:24:34 -05:00
jacob1
b8d53b5f76
fix sign box size, sign width with {t} and {p}, and zoom box size
2013-02-08 17:59:13 -05:00
jacob1
7ce34ad732
one more small thing: show gravity in debug mode hud even when it's a small value
2013-02-08 11:52:59 -05:00
jacob1
cd0af92fb3
minor fixes to color picker / small speed improvement
2013-02-08 11:39:14 -05:00
jacob1
8e02443f0a
prevent CRAY from destroying DMND
2013-02-01 14:29:18 -05:00
Simon Robertshaw
486d26e40b
Allow limited arm size from tmp2
2013-01-26 19:44:05 +00:00
Simon Robertshaw
03fde95719
Fix issue where piston won't push particles at index 0
2013-01-26 18:56:19 +00:00
Simon Robertshaw
631e49b8b7
Piston fix: Adjust colour and prevent piston from pushing too far when there's empty space
2013-01-26 18:04:24 +00:00
Simon Robertshaw
12e3802bf4
Put back default piston size
2013-01-26 17:16:58 +00:00
Simon Robertshaw
8e689fdd08
Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy
2013-01-26 17:15:02 +00:00
Simon Robertshaw
3e60181dbe
Piston collapses spaces properly
2013-01-26 17:14:44 +00:00
jacob1
46b767da0c
clear persistent effects when it's display mode is removed
2013-01-25 23:15:33 -05:00
jacob1
1d97f1c985
typing '~' doesn't close the lua console
2013-01-25 22:57:51 -05:00
jacob1
4f59211ba8
Fix brush not being visible when using CTRL to change the size
2013-01-25 22:45:23 -05:00
jacob1
ea38fc2d86
fix possible crash with LIGH
2013-01-23 21:54:15 -05:00
jacob1
c5eecff131
fix "i" argument to graphics functions.
...
Also, they don't overwrite the default one, you can pass in nil to tpt.element/graphics_func for the function to restore the original.
2013-01-23 16:48:21 -05:00
Simon Robertshaw
7475a49e0b
Fix piston retraction
2013-01-23 19:52:45 +00:00
Simon Robertshaw
6c89c63a44
PSTN: Do not accept current from diagonals, increase distance for spark checks
2013-01-23 19:20:52 +00:00
Simon Robertshaw
0034dd654e
Fix FRME limits
2013-01-23 19:17:11 +00:00
Simon Robertshaw
412e13a03e
Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy
2013-01-23 12:39:08 +00:00
Simon Robertshaw
da12cc6d46
Change to pistons, piston push length is base-1 blocks
2013-01-23 12:38:53 +00:00
Simon Robertshaw
a7aa26fa1a
Added FRME - A solid that keeps its simple structure when pushed by piston
2013-01-23 12:36:31 +00:00
Simon Robertshaw
00cf48b520
Fully functional pistons, retract+extend
2013-01-23 12:06:06 +00:00
jacob1
07aade6c4c
fix crash when pressing enter to open a save, and not logged in. Fix CRAY description
2013-01-23 00:26:57 -05:00
Simon Robertshaw
28fdb32bfb
Clean up some unused variables from PSTN.cpp
2013-01-22 22:42:52 +00:00
jacob1
392271a269
fix tpt.set_property setting integers above 255, fix fs.isDir/File, add "Color" as valid property for elements api, fix tpt.display_mode to match tpt, other minor changes
2013-01-21 20:19:34 -05:00
Simon Robertshaw
9fb3e75f93
PSTN.cpp - Remove unused code
2013-01-20 23:08:50 +00:00
Simon Robertshaw
fde0233ea8
Pistons - WIP, No retraction yet
2013-01-20 23:08:16 +00:00
Simon Robertshaw
87d6553413
C-RAY: Similar to A-RAY, creates particles
2013-01-20 14:34:07 +00:00
jacob1
226a85a18d
attempt to fix random deletion bug (can't reproduce easily, so can't tell if it's fixed easily)
2013-01-19 23:02:12 -05:00
jacob1
267cf9281b
Update Build number
2013-01-19 17:40:25 -05:00
Simon Robertshaw
e7b174a78d
Revert "move version info to version.h, no longer needs full recompile on version change"
...
This reverts commit b3a2ab735b
.
2013-01-19 22:00:56 +00:00
jacob1
b493788b26
fix missing #ifdef statement breaking compiling when not on linux
2013-01-19 11:46:21 -05:00
jacob1
7d5cb361f0
fix error with renderer compiling
2013-01-18 14:50:06 -05:00
jacob1
8e7dfb20e9
Merge branch 'master' of git@github.com:FacialTurd/The-Powder-Toy.git
2013-01-18 14:38:05 -05:00
jacob1
ded94b475d
move clipboard functions out of misc.cpp without creating errors
2013-01-18 14:37:24 -05:00
jacob1
17cd0e74f2
add gravmap setting. Getting doesn't work right now, and maybe i should check if gravx/y can be modified too
2013-01-16 23:48:09 -05:00
jacob1
f9f79e4f53
combine pressure functions, add sim.ambientHeat, sim.velocityX, sim.velocityY
2013-01-16 22:53:46 -05:00
jacob1
fc9f263961
sim.get/setPressure, a few constants to the simulation api
2013-01-16 22:34:32 -05:00
jacob1
639d4fc43c
implement tpt.set_shortcuts
2013-01-16 14:05:31 -05:00
jacob1
e9b86365c8
log error messages for update functions
2013-01-16 11:42:06 -05:00
jacob1
b3a2ab735b
move version info to version.h, no longer needs full recompile on version change
2013-01-15 11:28:28 -05:00
jacob1
62195dc2a3
allow removing zoom tool when shift drawing lines
2013-01-15 11:10:30 -05:00
jacob1
a27d637ceb
Merge branch 'HEAD' of git@github.com:FacialTurd/The-Powder-Toy.git
2013-01-15 10:31:17 -05:00
jacob1
8723bbc63c
probably fix compiling error
2013-01-15 10:30:13 -05:00
jacob1
c1ad6c57ba
Update version number, before I forget.
...
Version 85 happened after the commit ... i'm not sure and there is no 64 bit linux so I can't test
2013-01-15 00:33:08 -05:00
jacob1
76349ddbd4
don't allow 1-3 letter searches, because bad search results are just returned
2013-01-15 00:02:55 -05:00
jacob1
ccc51f2d68
don't allow tags unless 4 letters long
2013-01-14 23:38:55 -05:00
jacob1
e515512d88
deco menu needs to be clicked to enter, press 'b' to get out of deco editor too
2013-01-14 13:11:01 -05:00
jacob1
73fdfd411c
copy support in linux
2013-01-13 15:24:52 -05:00
jacob1
01bfd486e7
local copy / paste support inside tpt for all platforms
2013-01-12 21:25:22 -05:00
jacob1
41751da619
change some free/malloc's back to delete/new's
2013-01-12 21:06:52 -05:00
jacob1
e29b4c14d6
Merge pull request #114 from mniip/deco
...
'b' key opens deco editor
2013-01-12 14:04:31 -08:00
cracker64
b3037857f0
Detach soap before going into STOR, fixes 1065982 (mostly)
2013-01-11 23:06:42 -05:00
mniip
df628c7fe3
moving gameModel was a bad idea, so i just made an alias function
2013-01-11 22:28:57 +04:00
mniip
269420c6c7
'B' opens deco editor
2013-01-11 21:29:35 +04:00
jacob1
f814d264b2
defocus components removed from scrollpanels, to prevent crashes
2013-01-10 12:02:54 -05:00
jacob1
17302f03c7
don't allow streamline floodfill
2013-01-10 09:50:10 -05:00
jacob1
9d67dd61e8
re-add tpt.display_mode, check element id's in tpt.set_property, tpt.get_script error with no args
2013-01-08 23:28:41 -05:00
jacob1
162a8ecba5
readd tpt.hud and tpt.set_console commands
2013-01-08 22:00:45 -05:00
jacob1
6dad17c2e1
fix console not closing when you use !load
2013-01-08 21:00:13 -05:00
jacob1
9e218f1847
change right click button id to 4 for lua events, to match old tpt
2013-01-08 00:11:47 -05:00
jacob1
ca143945be
change tpt.fillrect dimentions to old tpt ones, move brush list generating out of BuildMenus
2013-01-07 21:50:43 -05:00
jacob1
158b054023
fix tpt.selectedl/r/a, but it returns the string identifier now instead of an id
2013-01-07 21:05:58 -05:00
jacob1
986173af4c
save signs in snapshots
2013-01-07 17:54:10 -05:00
jacob1
5e20dd8545
allow directory search to find files with the extension repeated twice
2013-01-07 17:39:05 -05:00
jacob1
76947cefbc
paused checkbox when saving
2013-01-07 13:24:38 -05:00
jacob1
d8166998f8
confirm on local save delete, ESC to exit local save browser, don't allow empty save names
2013-01-07 12:21:59 -05:00
jacob1
323dae959a
local save deletion and renaming with the right click context menu
2013-01-07 11:56:48 -05:00
jacob1
659c3677aa
delay deleting save buttons, to prevent possible crash later
2013-01-07 10:52:06 -05:00
jacob1
4aaf3b852e
fix many more uninitialized variables
2013-01-06 19:41:18 -05:00
jacob1
d1abfc313e
fix mismatched free()/delete's
2013-01-06 18:26:38 -05:00
jacob1
8e09651990
fix element function replacement option
2013-01-06 12:25:13 -05:00
jacob1
15040b32b0
draw cursor outline when shift drawing lines
2013-01-05 22:59:54 -05:00
jacob1
0cf027c529
VOID, VACU, and BHOL eat LIGH as it moves
2013-01-05 22:29:33 -05:00
jacob1
8f4d936de8
allow right click to close notifications too
2013-01-05 20:03:59 -05:00
jacob1
bd3011959a
fix GOL detection with DTEC
2013-01-05 19:34:51 -05:00
jacob1
bce28b83b8
faster ellipse brush resizing that doesn't lag/freeze
2013-01-04 14:18:01 -05:00
jacob1
1b2e7b3c70
fix Ctrl+x being one pixel off, better xor_rect from tpt, delete test.c
2013-01-04 13:54:25 -05:00
jacob1
8e50abcab9
change that will probably fix custom menus not showing
2013-01-02 20:47:16 -05:00
jacob1
0159c2b5af
more scons fixes for windows
2012-12-29 12:45:43 -05:00
jacob1
8945b5ec77
Merge remote-tracking branch 'origin/master'
2012-12-28 22:22:05 -05:00
jacob1
b46f982def
fix save as new name not actually causing the new save & title to be loaded
2012-12-28 22:21:43 -05:00
jacob1
110fa71a2c
Comment out cpu_check, which only creates errors
2012-12-25 20:11:48 -05:00
jacob1
9ecfbe5a18
Merge remote-tracking branch 'origin/master'
2012-12-23 18:17:34 -05:00
jacob1
312dd8c0ba
revert stickmen CONV fix, and do it another way that doesn't crash
2012-12-23 18:17:04 -05:00
jacob1
b6e69e8126
Fix small mistake in TSNS
2012-12-21 00:18:10 -05:00
jacob1
a91459916d
change max to 200, 500 was a bit large
2012-12-18 23:56:41 -05:00
jacob1
e302a07694
allow a slightly larger brush size
2012-12-18 23:49:30 -05:00
jacob1
e1440f48f6
use kill_part when creating a new particle over an index, fixes STKM not respawning after CONV and probably other stuff too
2012-12-18 16:26:24 -05:00
jacob1
dc0e47ac00
fix undo not allowing any more stickmen to be placed, save stickmen in snapshots
2012-12-18 16:17:13 -05:00
jacob1
9a2df6b824
fix sltw + liquid rubiduim explosion, make it work like water's
2012-12-18 15:17:57 -05:00
jacob1
b236c75209
make TSNS not detect METL, some other sensor and CONV fixes
2012-12-18 14:55:10 -05:00
jacob1
771d71ea46
make water equalization use flags, not tmp2 (fixes EXOT / BUBW)
2012-12-18 14:08:53 -05:00
jacob1
e685e30d58
make sure that simulation variables are initialized, fixes things like water equalization always being on in old saves
2012-12-18 13:33:29 -05:00
jacob1
c06afff0a5
selecting a stamp moves it to the front of the list again (unless you hold ctrl)
...
attempted to do MVC right?
2012-12-18 12:20:52 -05:00
jacob1
672c5ee913
fix mismatched malloc() / delete [], fixes # 106
2012-12-17 23:57:55 -05:00
jacob1
dbe78c342d
initialize variables in air.cpp and simulation.cpp
2012-12-17 23:49:46 -05:00
jacob1
b5de23433d
fix '=' resetting air heat, fix uninitialized ambient heat setting, a few LOLZ / LOVE changes
2012-12-17 21:11:33 -05:00
jacob1
2728cf852b
fix WARP being invisible, make it visible in heat display mode though
2012-12-17 20:08:46 -05:00
jacob1
f08481a88e
fix TRON ignoring GOO until the last moment
2012-12-17 18:42:41 -05:00
jacksonmj
9c6f3c7fbb
Fix crash in GameSave::serialiseOPS
...
Only particlesCount particles have been copied from the Simulation.
All the rest are uninitialised, and may have coordinates outside the
game area. Using those uninitialised coordinates in the index for
partsPosFirstMap may cause a crash.
2012-12-16 23:01:04 +00:00
Simon Robertshaw
d29c77b2d5
More detailed error when opening non-existent directory.
2012-12-16 16:41:30 +00:00
Simon Robertshaw
4d546b6818
Print errors regardless of build type
2012-12-16 16:40:29 +00:00
jacob1
06f8f88374
fix output appearing in stdout without DEBUG defined
2012-12-16 11:38:12 -05:00
jacob1
a85526bfac
fix comment error messages not showing
2012-12-15 23:12:54 -05:00
jacob1
462bd7bdf9
fix comments being deleted when hitting enter and opening a save or getting an error when commenting
2012-12-15 22:55:53 -05:00
jacob1
1ef507d9e6
fix colors slightly from last commit
2012-12-15 20:42:30 -05:00
jacob1
c62ef2cb35
fix upvote buttons still having colored background after clearing the save, make them look more like from in tpt
2012-12-15 20:34:00 -05:00
jacksonmj
e4907d1881
Copy dcolour when MERC expands, to let people make coloured mercury thermometers
2012-12-16 00:16:05 +00:00
jacob1
a623959a31
save stamps on 1 pixel grid (works exactly like in tpt now), delete signs with Ctrl+X, also fixes stamps on very bottom/right edge and other edge cases
2012-12-15 15:13:12 -05:00
jacob1
0fd86e994a
make the comment box always multiline. Fixing pasting large amounts of text into it.
2012-12-15 14:28:23 -05:00
Simon Robertshaw
735b2b659f
Update version number
2012-12-15 18:29:26 +00:00
jacob1
a172a96897
make sure long amounts of text without spaces doesn't run over out of bounds
...
A character may be deleted to insert a new line, but when copying something like a url, the missing one is copied back in. I couldn't get inserting a newline between letters to work right
2012-12-15 13:17:29 -05:00
Simon Robertshaw
e0f8456531
Prompt for install on first startup
2012-12-15 17:14:43 +00:00
Simon Robertshaw
f047b4826f
Make installation success message a little friendlier
2012-12-15 16:57:25 +00:00
Simon Robertshaw
6e62a54952
Add missing URL Protocol registration on Windows
2012-12-15 16:56:55 +00:00
Simon Robertshaw
201d314096
Element population histogram debug info display - has to be enabled by adding debugInfo.push_back(new ElementPopulationDebug(gameModel->GetSimulation())); somewhere in GameController
2012-12-15 15:57:57 +00:00
Simon Robertshaw
558888ac25
Ensure resampler.cpp is compiled when needed
2012-12-15 01:10:03 +00:00
Simon Robertshaw
b4475ae96f
Very high quality image resampling code curtesy of imageresampler ( http://code.google.com/p/imageresampler/ ), will replace current shitty linear interpolation for SSE2 and renderer builds.
2012-12-15 01:04:17 +00:00
Simon Robertshaw
a1af662b8f
More accurate elementCount
2012-12-14 23:01:54 +00:00
Simon Robertshaw
ceee0b6dc5
Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy
2012-12-14 19:44:30 +00:00
Simon Robertshaw
31c0666961
Prevent saves from being loaded twice by the Save browser
2012-12-14 19:44:16 +00:00
jacob1
f03fb97620
Merge remote-tracking branch 'origin/master'
2012-12-14 13:51:44 -05:00
jacob1
5362c56f7e
update gravity wall zones whether or not newtonian gravity is on. Fixes #92
2012-12-14 13:50:36 -05:00
Simon Robertshaw
e5feefa419
Update WIRE name and description, fixes #101
2012-12-14 18:50:25 +00:00
jacob1
05fc39e40f
a working scrollbar in the save preview. Also, fix the bug where you couldn't go back up a page when there weren't enough comments to fill a page
2012-12-14 13:34:00 -05:00
jacob1
002743ef08
make it easier to create new energy particles (like for mods), they would just disappear when hitting anything before
2012-12-12 22:05:39 -05:00
jacob1
d57fe7618c
fix walls loading incorrectly in extremely old saves. Fix some invalid save formats being loadable (it was onlychecking the 'O' in OPS)
2012-12-12 17:31:06 -05:00
Simon Robertshaw
38862a78d1
New Conversation notifications
2012-12-09 12:05:27 +00:00
Simon Robertshaw
6478ed121c
Use NotifyAuthUserChanged for GameController login, this will help users become aware when their sessions expire.
2012-12-09 01:25:05 +00:00
Simon Robertshaw
05148e8a8d
C++erific text cleaner function, also, it's a good idea to actually clean text coming from signs...
2012-12-09 00:14:48 +00:00
jacob1
226de5b6f8
add back element descriptions in some cpp files, fix minor TRON search problem. Also,
...
TPT-jacksonmj: Also fix bugs with energy particles that pass directly from PIPE to portal
2012-12-06 19:51:33 -05:00
jacob1
a15372afbf
TRON_NORANDOM flag
2012-12-06 18:42:46 -05:00
jacob1
2881eeb1b3
allow TRON to plan ahead which particles will disappear by the time it gets there, and go on INVS too
2012-12-06 17:53:22 -05:00
jacob1
e5a284a2ba
fix compiling warnings / error
2012-12-06 12:34:32 -05:00
jacob1
122599763e
Merge remote-tracking branch 'origin/master'
2012-12-06 11:01:46 -05:00
jacob1
2d7ac84c1d
give TRON the ability to go through activated SWCH
2012-12-06 10:56:24 -05:00
jacksonmj
9bf5eeeef9
Fix slight particle order issue with SWCH
2012-12-04 19:38:01 +00:00
jacob1
2a8811190c
Fix infinite pressure glitch with CLST
2012-12-01 12:17:41 -05:00
Simon Robertshaw
61e25060ae
Update version number (build 250)
2012-11-27 20:11:25 +00:00
Simon Robertshaw
3664a22f98
Right clicking on reload button will show save preview.
2012-11-26 11:48:27 +00:00
Simon Robertshaw
b08812569c
Stop using persistent connections when we don't need them. Force shutdown of Thumbnailbroker before http lib close, fixes #84
2012-11-26 10:34:17 +00:00
jacob1
6a4040f2b7
Update src/simulation/elements/VIBR.cpp
...
fix EXOT destroying exploding VIBR
2012-11-23 21:28:10 -05:00
Simon Robertshaw
da554cfef2
Allow resizing of custom brushes
2012-11-18 22:25:24 +00:00
Simon Robertshaw
f3307e47a8
Helper function for linear interpolation
2012-11-18 22:24:56 +00:00
Simon Robertshaw
045f5e14c2
Custom brushes loaded from "Brushes" folder, format is a simple RAW 8bit greyscale square format
2012-11-18 18:03:36 +00:00
Simon Robertshaw
483e907702
Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy
2012-11-18 18:02:34 +00:00
Simon Robertshaw
af29942117
Ensure directory enumeration works whether there's a path seperator at the end of the directory or not
2012-11-18 18:02:28 +00:00
jacob1
4654a2aaa0
update build number, which was incorrect. Add an easy way for mods to ignore updates
2012-11-18 12:43:11 -05:00
Simon Robertshaw
0be465aa4e
Use ifndef WIN instead of ifdef _unix
2012-11-18 15:48:43 +00:00
jacob1
7a21ae192f
VINE cool/burn effects like in PLNT, less sharp burn lines, fix infinite smoke from TNT
2012-11-16 23:35:34 -05:00
jacob1
9e72a619ab
fix directly sparking metal not heating it up, fix formatting, allowing update_particles_i to be parsed
2012-11-16 22:43:46 -05:00
jacob1
eb9b3f6bdf
fix link signs ignoring the zoom window, allow right clicking link signs to use them while sign tool selected
2012-11-16 19:22:34 -05:00
jacob1
6b846c6339
add (slightly updated) README from tpt
...
added new contributers, description from main page, and removed key combos and arguments that don't work
2012-11-16 18:20:48 -05:00
Bryan Hoyle
34ed62d685
Fixed issue with opengl-renderer, missing semicolon
2012-11-16 17:03:54 -05:00
Bryan Hoyle
874cd40009
Merge branch 'master' of github.com:FacialTurd/PowderToypp
2012-11-16 16:51:55 -05:00
Bryan Hoyle
fec50a2a8e
Opengl fix
2012-11-16 16:50:02 -05:00
jacob1
d8be547c73
fix pause state being reset every time you clear the sim
2012-11-15 20:50:19 -05:00
jacob1
16e4c5f717
save pause state in stamps, load pause state from local saves and stamps correctly, remove accidental inclusion
2012-11-15 20:41:38 -05:00
jacob1
1e32c545d9
fix visual studio std::max problem
2012-11-15 20:23:38 -05:00
jacob1
bf3d7e9ad7
fix tpt.el.X.name commands
2012-11-15 20:13:19 -05:00
jacob1
38a18af2c5
fix crashes when deleting stamps or getting an error when saving
2012-11-15 20:00:55 -05:00
Simon Robertshaw
785fbcefdf
Fix divide-by-zero error
...
... when displaying save buttons that have zero votes.
2012-11-15 13:01:25 +00:00
Simon Robertshaw
51a5af6d5d
Remove some debug printing
2012-11-12 10:48:20 +00:00
mniip
3d635bc68f
More edge cases
2012-11-12 10:41:54 +00:00
mniip
947301c302
Better rectangle tool render function, no crappy pixels in edge cases anymore
2012-11-12 10:41:42 +00:00
Simon Robertshaw
29189693b3
Element palette for automatic element ID/mod mapping
2012-11-12 10:22:16 +00:00
Christoph Korn
04df448c96
Fix typo: Persistant -> Persistent
...
This commit just fixes a small typo which was found by lintian
when checking the Ubuntu package to be published on PlayDeb.net.
2012-11-09 22:23:05 +01:00
jacksonmj
d7c52241a4
Spelling: "hottest"
2012-11-06 20:26:19 +00:00
jacksonmj
fbbe9d81bf
Transfer energy between VIBR and BVBR
2012-11-05 21:45:22 +00:00
Simon Robertshaw
150a2e528e
Merge branch 'master' of github.com:FacialTurd/PowderToypp
2012-11-05 20:10:35 +00:00
Simon Robertshaw
8614a2d963
Update version number
2012-11-05 20:09:58 +00:00
jacksonmj
7da144fbae
Fix INVS staying dark blue even when pressure is removed
2012-11-05 14:45:46 +00:00
jacksonmj
956fb39124
Oops, didn't see that parts[i].temp at the bottom, ignore the second half of that last commit message
2012-11-05 14:42:06 +00:00
jacksonmj
3cae63c733
VIBR: don't dump heat into elements that don't conduct heat, and put any remaining heat into EXOT at the end of the explosion
2012-11-05 14:18:28 +00:00
jacob1
dc41e46c81
fix two red BRAYS not being able to turn off swch from certain angles
2012-11-04 22:44:49 +00:00
jacob1
9b8357f822
update version number
2012-11-04 21:35:53 +00:00
jacob1
ca42162e5e
fix heat release during explosion
2012-11-04 21:35:35 +00:00
jacksonmj
828623f9ec
Change freezing point of VIBR lava, and make sure VIBR always absorbs energy particles
2012-11-04 21:10:27 +00:00
jacksonmj
12eb085d20
VIBR changes from jacob1
...
Including:
Molten TTAN + EXOT = VIBR.
VIBR + ANAR = BVBR. (BOYL reaction removed)
All absorbed heat/particles/pressure are stored in one property, tmp.
Graphics changes
2012-11-04 20:35:43 +00:00
Simon Robertshaw
e3a016d9c9
SC_SENSOR in Elements API
2012-11-03 18:06:19 +00:00
jacob1
d586a6d0ab
PPIP doesn't break with pressure, to match TPT
2012-11-03 16:11:54 +00:00
jacksonmj
2ed53a99ae
Change EXOT properties to match TPT
2012-11-03 16:11:11 +00:00
Simon Robertshaw
bd473f02ca
Merge branch 'master' of github.com:FacialTurd/PowderToypp
2012-11-03 12:22:07 +00:00
Simon Robertshaw
2f9e8c0a5f
Empty engineprocess for renderer compiling
2012-11-03 12:21:53 +00:00
jacksonmj
fea55f9ac9
Add PLSM to stacking exclusion list, and fix some cases of stacked EMBR causing BHOL
...
Stacked EMBR + displacement -> other particles stacked -> BHOL.
Therefore stop displacement to stop BHOL formation.
2012-11-01 00:28:45 +00:00
Simon Robertshaw
057ec914cf
Don't use SDL defines in platform independant code
2012-10-29 10:38:04 +00:00
Simon Robertshaw
68e6fe2502
More emtpy key defines
2012-10-29 10:33:23 +00:00
Simon Robertshaw
effcc74d6d
Empty key defines for no sdl
2012-10-29 10:32:57 +00:00
Simon Robertshaw
48be91e4df
Merge branch 'master' of github.com:FacialTurd/PowderToypp
2012-10-29 09:36:32 +00:00
Simon Robertshaw
e08bc6680b
Format: Buffer to pti, Save renderer
2012-10-29 09:36:16 +00:00
Bryan Hoyle
32bdcb89e8
VIBR fixes
2012-10-28 21:11:18 -04:00
jacksonmj
caf262ed60
Decrease absorption chance for SPNG, to make release of water from saturated SPNG look a bit less strange
2012-10-27 00:56:02 +01:00
jacksonmj
9a0ca32372
Make conversion of PHOT to ELEC using BIZR, and enrichment of DEUT with ELEC, work better
2012-10-27 00:56:02 +01:00
Simon Robertshaw
9b4f710e28
Menu icon for sensors menu and fix for VIBR std::max args
2012-10-26 15:58:39 +01:00
Simon Robertshaw
c3ba809806
Fix error from merging
2012-10-26 15:32:10 +01:00
Simon Robertshaw
a1d98ffc31
Fix BVBR for generate.py
2012-10-26 15:29:55 +01:00
jacob1
6d6b0dfa9f
some VIBR changes, also allow it to be compiled with Scons
2012-10-26 15:18:52 +01:00
jacob1
69aad4caa2
some testing with DEBUG mode, add some stuff
...
Conflicts:
src/cat/TPTScriptInterface.cpp
2012-10-26 15:17:02 +01:00
jacob1
e773abdcc8
Ctrl + G gravity grid toggle
2012-10-26 15:16:05 +01:00
jacob1
3ad7cf4539
!quit function
2012-10-26 15:15:52 +01:00
jacob1
5ef6bd8507
close console when using the !load command
2012-10-26 15:15:45 +01:00
jacob1
3a29fc0268
Save local saves as current name option (overwrites them automatically). Fix filename not showing when first saving a local save
2012-10-26 15:15:38 +01:00
jacob1
e2622657f0
ability to reload and resave local saves without retyping name
2012-10-26 15:15:24 +01:00
Simon Robertshaw
63daf67d44
Improve EXOT description
2012-10-26 15:14:57 +01:00
jacob1
6d1c7be740
initialize all stickmen variables, not just legs
2012-10-26 15:13:27 +01:00
jacob1
fd07d35e34
limit the number of signs that can be placed
2012-10-26 15:13:00 +01:00
jacob1
00fdd8308a
possibly fix lag/crash when deleting stamps
2012-10-26 15:12:50 +01:00
jacob1
3461cc64d4
bring back the old vote bars
2012-10-26 15:12:42 +01:00
jacob1
d0b14dc64b
don't render invalid elements
2012-10-26 15:12:35 +01:00
jacob1
4d207b1146
fix INVS graphics
2012-10-26 15:12:21 +01:00
jacob1
947660fcd4
Fix hydrogen not burning right (with and without realistic heat), allow h2 to burn at all temps while still allowing fusion to work correctly
2012-10-26 15:12:13 +01:00
jacob1
ccd9284e61
improve the GOL menu descriptions
2012-10-26 15:12:05 +01:00
jacob1
c58a3fb2dc
TSNS doesn't detect things with an equal temp (fixes detecting wires)
2012-10-26 15:11:59 +01:00
jacob1
b84460d79b
visual studio compatibility, plus change text a little
2012-10-26 15:11:43 +01:00
jacob1
3f093c8072
VIBR explosion/graphical changes, it now has a while before it explodes after getting to the limit
2012-10-26 15:11:22 +01:00
jacob1
cd7ca6d417
some VIBR changes/fixes
2012-10-26 15:10:50 +01:00
jacob1
04b76a4b48
VIBR/BVBR - vibranium. Initial commit, doesn't seem to work yet
2012-10-26 15:10:44 +01:00
Simon Robertshaw
0b09d2e0f3
Allow TSNS and DTEC to detect photons and other energy particles. Set default TSNS radius to 1 to make it easier to avoid detecting the wire connections
2012-10-10 21:27:36 +01:00
Simon Robertshaw
da07c22ee4
new elements: DMG (Force bomb) and TSNS (Temperature sensor)
2012-10-10 19:29:11 +01:00
Simon Robertshaw
249e3dcad3
Merge pull request #195 from Huulivoide/master
...
Minor fixes needed to build on Linux/64bit.
2012-10-09 08:43:13 -07:00
Jesse Jaara
b1d3ebacd2
Windows doesn't have unistd.h, use only in unix platforms.
2012-10-07 12:11:41 +03:00
Jesse Jaara
ec413dd057
Fix an error that prevents building on 64bit systems.
2012-10-06 19:52:48 +03:00
Simon Robertshaw
af181faeea
Revert "multiple BRCK colors (suggested by Catelite)"
...
This reverts commit 4a8ae25299e465ab55072dd512b5818881ec5a67.
2012-10-05 17:25:04 +01:00
jacob1
774bc08c2c
Move LOLZ/LOVE Rule tables into more appropriate location (element file)
2012-10-05 16:52:53 +01:00