Commit Graph

3754 Commits

Author SHA1 Message Date
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
8aa9f96843 Merge remote-tracking branch 'origin/master' 2013-05-13 19:08:20 -04:00
jacob1
e5cbcecdb9 fix circle brush shape at some sizes 2013-05-13 19:07:59 -04:00
cracker64
196c4e9c66 Typo where LUACONSOLE was never enabled 2013-05-13 15:26:20 -03: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
jacob1
a0a0e305a9 Merge pull request #135 from mniip/newlines
Add newlines at the end of all files
2013-05-11 08:03:40 -07: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
savask
15d63e8dc6 Merge pull request #134 from mniip/signals
signal.h
2013-05-05 01:28:33 -07: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