Commit Graph

1367 Commits

Author SHA1 Message Date
lieuwe
50c4bfd86d Y U NO WORK. added logic for WIRE but it's not being called. 2011-08-08 20:32:04 +08:00
lieuwe
15b4ba7532 added WIRE particle type. 2011-08-08 20:31:20 +08:00
Simon Robertshaw
28762c9450 Fix packer and unpacker 2011-08-08 11:12:09 +01:00
Simon Robertshaw
fd1a05943f Fix makefile for font tools 2011-08-08 10:23:21 +01:00
Simon Robertshaw
fdf4ee7c95 Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy 2011-08-08 10:17:58 +01:00
Simon Robertshaw
11d3cb0dd5 Update font editor 2011-08-08 10:16:31 +01:00
jacksonmj
39e1ffe5bf 0 is a valid menu number (walls) 2011-08-06 18:13:22 +08:00
jacksonmj
75d7853a74 Fix persistent mode photon lines bug 2011-08-06 18:13:22 +08:00
jacksonmj
788b0cd04c Calculate Newtonian gravity using fast Fourier transforms
About 16% slower for one cell changing, same speed for 6 cells changing,
and several hundred times faster for whole screen changing.
2011-08-06 18:13:22 +08:00
jacksonmj
d20c704d88 LIFE descriptions 2011-08-06 18:13:22 +08:00
cracker64
83e4f885da Added tmp2 for tpt.get_property and tpt.set_property 2011-08-06 00:16:30 -03:00
Simon Robertshaw
6dedc28517 Ensure renderer doesn't create new threads for gravity simulattion, since it doesn't use it 2011-08-05 21:07:30 +01:00
Simon Robertshaw
4ebe56f65c Mouse and keyboard events, replace luaL_openlib() with luaL_register() and move mousex and mousey out of the global table and into the 'tpt' table 2011-08-05 14:54:24 +01:00
Simon Robertshaw
98b6c4b001 Revert "allowed secret menu via lua"
This reverts commit 6c8d62389c.
2011-08-04 16:38:07 +01:00
savask
04a6137a71 Merge pull request #35 from me4502/patch-1
allowed secret menu via lua
2011-08-04 05:48:20 -07:00
me4502
6c8d62389c allowed secret menu via lua 2011-08-04 14:09:24 +10:00
Simon Robertshaw
ac2912f2d2 Ensure menu ID is valid for active_menu 2011-08-01 11:52:01 +02:00
Simon Robertshaw
8dfa09bf6a Edited src/luaconsole.c via GitHub 2011-08-01 10:59:33 +02:00
Simon Robertshaw
89e47bfa4d Some tags for version info to make it easier for automation tools 2011-07-31 14:20:22 +01:00
Simon Robertshaw
500cfc3746 Lua has a garbage collector, it may dispose of strings while we're using them, make throw_error a little more safe 2011-07-31 12:26:51 +01:00
Simon Robertshaw
f51fe2c983 Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy 2011-07-31 12:20:16 +01:00
Bryan Hoyle
d7a55f1f50 me4502 added tpt.throw_error and tpt.heat as lua commands 2011-07-30 20:31:34 -04:00
Simon Robertshaw
3bd5a4711c Less buggy DLAY 2011-07-27 14:28:32 +01:00
Simon Robertshaw
58d96de4ce Revert "DLAY element"
This reverts commit 7338545ab4.
2011-07-27 13:07:41 +01:00
Simon Robertshaw
eecf5ad352 Revert "DLAY temp fix"
This reverts commit 108e5643d7.
2011-07-27 13:07:23 +01:00
Simon Robertshaw
6fbf48f2e6 Revert "DLAY temp, actually fixed :D"
This reverts commit 94e316af85.
2011-07-27 13:07:05 +01:00
jacksonmj
0f585011fb Fix for SPWN sometimes failing to create stickman
Example: place stickman, then load a save containing SPWN but no stickman.
Stickman does not get created.
2011-07-26 18:28:23 +01:00
jacksonmj
cbe1e0b073 Fix LIFE sampling and HUD 2011-07-26 18:28:06 +01:00
jacksonmj
647e29a31a Fix LIFE graphics in blob, nothing and fancy view
And some small fixes for switchable element colours
2011-07-26 18:27:56 +01:00
jacksonmj
db5cb5e2f9 Minor optimisations for startup and render_fire 2011-07-27 01:25:34 +08:00
tridiaq
94e316af85 DLAY temp, actually fixed :D 2011-07-27 01:24:09 +08:00
tridiaq
108e5643d7 DLAY temp fix 2011-07-27 01:14:59 +08:00
Simon Robertshaw
899969cc8a Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy 2011-07-26 17:46:15 +01:00
tridiaq
7338545ab4 DLAY element 2011-07-26 17:05:20 +01:00
savask
dbd3272933 Generalized stick man's update functions. Got rid of some unnecessary
variables.
2011-07-25 12:47:38 +07:00
Simon Robertshaw
e7907f9ea3 Prevent gravity vel-maps from flipping when paused 2011-07-24 14:31:24 +01:00
Simon Robertshaw
fbb72e4f32 Slight speed improvements for lensing 2011-07-24 14:26:32 +01:00
jacksonmj
7808059453 Fix infinite dialogs when unable to open a save from the website 2011-07-24 20:10:43 +08:00
jacksonmj
aeaaa1c4da update_air now runs 10% faster 2011-07-24 20:10:43 +08:00
jacksonmj
89cc8d4ded Fix life cloning 2011-07-24 20:10:43 +08:00
jacksonmj
7ed0255f04 Disable old life elements 2011-07-24 20:07:15 +08:00
jacksonmj
ae9fca86ee Update gravity mask when deleting gravity wall 2011-07-24 20:07:15 +08:00
jacksonmj
f8d60b14d2 Avoid division by zero for circle brush 2011-07-24 20:07:15 +08:00
jacksonmj
c35a8e45ee Fix liquids in vertical gravity when Newtonian gravity is turned on 2011-07-24 20:07:14 +08:00
tridiaq
38c920714c Fix 2011-07-24 20:02:08 +08:00
cracker64
2f714606d7 active menu and hud enable are global. 2011-07-22 10:08:13 -04:00
cracker64
d013aa3632 Added functions to header. 2011-07-22 06:55:43 -07:00
cracker64
c5a8138dc9 Fix new luaconsole functions. 2011-07-22 06:51:29 -07:00
cracker64
f064227b7a me4502 luaconsole functions, edited from github. 2011-07-22 06:47:43 -07:00
Simon Robertshaw
68404608f6 Lensing effect for gravity, adds 3 new gravity maps (full resolution, linear interpolation for faux accuracy), old ones should be removed in time. 2011-07-18 23:58:08 +01:00