Commit Graph

1138 Commits

Author SHA1 Message Date
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