mniip
|
3625bd407e
|
moar const
|
2013-10-30 05:07:27 +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 |
|
jacob1
|
692f4b18c2
|
fix sim.decoBox arguments, add a sim.canMove function
|
2013-10-26 00:00:55 -04:00 |
|
Simon Robertshaw
|
e8c53dc3e8
|
Remove old unfinished virtual machine and Lua bindings for it
|
2013-10-20 15:33:06 +01:00 |
|
jacob1
|
13d89ce9e1
|
Fix tpt.get_numOfParts, add "C" next to temperature in HUD
|
2013-09-28 16:58:01 -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 |
|
jacob1
|
830bb3ba5e
|
fix !load -1 crash
|
2013-09-13 12:53:40 -04:00 |
|
jacob1
|
b2957dc1c9
|
ability to use Celcius and Farenheit in console
|
2013-08-29 23:37:57 -04:00 |
|
jacob1
|
fd586d167f
|
fix bug where when sparks were reset, ctype wasn't
|
2013-08-29 22:44:38 -04:00 |
|
jacob1
|
ab6a0c2072
|
Fix tpt.element(<something not a string or number>) returning 1
|
2013-08-08 22:45:08 -04: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
|
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
|
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
|
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
|
c1320d2007
|
fix sim.loadStamp return value, remove VINE_MODE
|
2013-06-27 12:10:55 -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
|
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 |
|
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 |
|
jacksonmj
|
0f5d0859b4
|
Possibly fix crash due to Lua running out of stack space
|
2013-06-09 01:18:44 +01: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
|
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
|
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
|
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
|
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
|
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 |
|
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 |
|