Commit Graph

178 Commits

Author SHA1 Message Date
Cracker64
c1ca8bae29 merge jacksonmj's and simon's changes, and made mouse coords show up in debug so it is easier to get them. 2011-01-31 13:12:29 -05:00
Simon
8363a21f23 ALL GLORY TO THE SAVASK 2011-01-31 16:54:13 +00:00
jacksonmj
5bf8755655 Console improvements
Can use x,y coordinates to specify which particle.
ctype now also accepts element names.
More sanity checking of input.
delete command added.
2011-01-31 16:36:40 +00:00
jacksonmj
363a3e38f1 Merge branch 'cracker64' into dev
Conflicts:
	src/interface.c
	src/main.c
2011-01-31 14:05:05 +00:00
Cracker64
b7f768e4b3 Moved console commands into own function. Added running script files so console commands can be run instantly. Added create command. element names work, from jacksonmj. 2011-01-31 00:12:47 -05:00
jacksonmj
cdd7399cc1 Make console recognise element names 2011-01-31 02:42:34 +00:00
jacksonmj
f85ef31b1f Merge branch 'upstream' into dev 2011-01-31 02:25:55 +00:00
Cracker64
6aaa9e78cd possible fix from jacksonmj, cursor gets set to end while changing commands with up/down 2011-01-30 18:15:53 -05:00
jacksonmj
e2b916a91f Console segfault fix
ed.str is deallocated when console_ui returns. Dereferencing the
returned pointer to ed.str therefore results in bad things.
2011-01-30 22:37:59 +00:00
jacksonmj
f97990fedd Merge branch 'upstream' into dev 2011-01-30 22:36:15 +00:00
Cracker64
8ed2947b4c update with latest 2011-01-30 16:46:50 -05:00
Simon
8510421b37 Merge with crackers console 2011-01-30 20:05:47 +00:00
Cracker64
fcf958da21 added 'load' command, and a basic error message. 2011-01-30 15:00:54 -05:00
Cracker64
e18337a70a Added a console! it is pretty self explanitory 2011-01-30 01:23:24 -05:00
jacksonmj
5d34cae2e4 Consistent use of NGOL, better NSCN description 2011-01-29 11:20:34 +00:00
Cracker64
964ecf2ecf Other things overwritten, and changes from jacksonmj 2011-01-28 20:13:29 -05:00
Cracker64
880ed33fc7 oops, silly copy file, and fixed the new GoL from simon's fail merging. 2011-01-28 19:58:54 -05:00
Cracker64
bcea95c5ca update to latest 2011-01-28 18:54:50 -05:00
jacksonmj
a5ff51f5a5 Restore cracker64 changes overwritten by merge 2011-01-28 21:46:40 +00:00
Simon
e9ae32b0cc Merge with jacksonmj, Warning: potential for lot of bugs 2011-01-27 20:32:34 +00:00
Cracker64
e7f2eb92c5 ctrl-'=' will reset sparks 2011-01-19 17:56:55 -05:00
Cracker64
b25a6ecd59 some photon fixes, and better resets on reload/clear 2011-01-19 16:24:54 -05:00
Cracker64
1b35811bd4 revert all limit changes, a little too glitchy, can be done later when current limit is reached. 2011-01-19 14:25:56 -05:00
Cracker64
ff01973658 made all the shifts and type checks use defines, so it can be changed easier, and put it back to normal with a shift of 8. 2011-01-19 13:48:59 -05:00
Cracker64
e1eeaf9e9a test with increased element limit, there seems to be no performace decrease to me anyway. element limit of 4096 2011-01-17 19:11:30 -05:00
Cracker64
926450a9a3 more life types using states, put them in new menu. Maybe get some way to switch to new menu on mouseover of last spot of current life menu 2011-01-16 20:54:41 -05:00
Cracker64
db5bb618c1 fix loading of old GoL saves, and fix wall crash 2011-01-16 13:54:36 -05:00
jacksonmj
1833be451f Merge branch 'cracker64' into dev
Conflicts:
	includes/powder.h
	src/graphics.c
	src/main.c
	src/powder.c
2011-01-15 16:23:51 +00:00
Cracker64
b673be0ac2 a fix so photons can be deleted and show up on HUD :) 2011-01-14 00:29:32 -05:00
jacksonmj
7fb086065a Correct spelling 2011-01-13 21:56:17 +00:00
jacksonmj
a23138fbbe Fix permanent stickman death. 2011-01-13 20:17:05 +00:00
jacksonmj
def10c41ae Exaggerate convection, misc rearrangement + fixes 2011-01-13 15:24:01 +00:00
Cracker64
cc4489ff29 line for portals. wifi channels reset on reload. 2011-01-12 12:15:50 -05:00
Cracker64
f242566e30 fix QRTZ spot saving, rotate should change FAN vector as well 2011-01-10 09:43:16 -05:00
Cracker64
6b06d37ca5 update with simon, and some other changes from jacksonmj. 2011-01-08 21:23:46 -05:00
Cracker64
a6fe456cd0 only add .15 to PUMP, so that things at absolute 0 load at 0. 2011-01-08 18:12:26 -05:00
jacksonmj
fa1868314c Shrink GOL wrapping code. GSPEED now works. 2011-01-07 18:15:36 +00:00
jacksonmj
ed8c0031f4 Astyle. 2011-01-06 22:26:31 +00:00
Simon
6eafb157de Kiosk mode improvements 2011-01-06 08:56:28 +00:00
Simon
2a3af54e92 Kiosk mode, full screen. requested by dante3rd 2011-01-06 08:55:10 +00:00
Simon
71c5d53f7f Changes by cracker 2011-01-05 19:42:31 +00:00
Cracker64
fd2f0c905b better liquid movement in radial gravity, '=' resets pressure, cannot draw stickman on clone anymore, 'w' does not work when stickman2 is out, use shift-w. 2011-01-04 20:53:24 -05:00
Cracker64
5a37f32ca1 update with simon, and shift-v now does every other frame properly 2011-01-04 13:26:28 -05:00
Simon
43065ba94c Fixes crappiness 2011-01-04 18:05:31 +00:00
Simon
85138b970d Make frame-capture a little more noob-friendly 2011-01-04 18:00:28 +00:00
Simon
3a2bc76643 Gravity control by Moach 2011-01-04 13:35:16 +00:00
Cracker64
8604d27c7a simon updates, and SING improvements 2010-12-30 14:59:39 -05:00
Simon
e8c6b37550 Bit of readability 2010-12-30 10:04:20 +00:00
Simon
b92e6b391f Merge recent cracker changes 2010-12-30 09:55:43 +00:00
Cracker64
2212d04fb0 added SING, QRTZ and PQRT, see mod thread on forum. 2010-12-30 00:46:35 -05:00
Simon
c913fd55d3 Merge branch 'master' of git://github.com/cracker64/The-Powder-Toy 2010-12-29 22:24:29 +00:00
Cracker64
8df470662f ARAY gets colored by FILT, woo 2010-12-29 17:22:18 -05:00
Simon
3715925dd9 Merge branch 'master' of git://github.com/cracker64/The-Powder-Toy 2010-12-29 21:15:40 +00:00
Cracker64
5766f9aa7e 'd' and 's' will work normally if there is no stickman, otherwise shift-d and shift-s, corrected silly mistake 2010-12-29 14:35:38 -05:00
Cracker64
25b95e211e new display, Life, shows life in a grayscale gradient, will ONLY show up in debug mode, on shift-1, fix filt floodfill, portal has bigger storage, other fixes. 2010-12-29 09:44:12 -05:00
Simon
713034ed61 Cracker Merge 2010-12-27 23:21:26 +00:00
Cracker64
c5c88529c2 slight temp loading change so PUMP will load with 0C if saved at 0C. fix visual studio compiling 2010-12-26 09:47:25 -05:00
Simon
bd9b01c3e2 Cracker Merge 2010-12-22 18:17:06 +00:00
Cracker64
e5ebf1fb41 updated with latest, and FWRK crash fix, INST looks for INSL, wifi lines only show in debug mode. 2010-12-22 00:13:01 -05:00
Simon
5026bfa105 Revert "nice"
This reverts commit 14b4dfef87.
2010-12-20 18:11:11 +00:00
Felix Wallin
14b4dfef87 nice 2010-12-20 14:34:55 +01:00
Simon
e380237cbc Fix merge 2010-12-19 17:29:30 +00:00
Simon
92d22ac590 Nibble is a noob, also fix for persistent mode bug 2010-12-19 14:20:38 +00:00
Cracker64
039a4e2f31 Added second stickman for Lulz, it works great though, controlled by wasd. 's' was moved to ctrl-s and d is ctrl-d 2010-12-18 02:14:53 -05:00
Cracker64
809676a1dc added invertion to rotate, ctrl-shift-r, will invert x-axis. NEUT+ACID=ISOZ,GLOW+WATR=DEUT. added ` to toggle replace mode for people without insert keys 2010-12-17 01:35:27 -05:00
Cracker64
327ccb7bba a rotate tool! ctrl-r, then select the area, it will rotate counterclockwise, no properties are saved right now, it deletes and recreates. 2010-12-16 00:17:08 -05:00
Cracker64
5b2c689394 another swch fix, desl fire fix, shift-g will make grid go down, BIZR glows from velocity in FIRE,ect. METL/BRMT/BMTL change color when heated in heat gradient view. other small changes. 2010-12-14 17:23:27 -05:00
FacialTurd
6f928009ed Possible crash, fix from cracker64. 2010-12-13 04:34:57 -08:00
Cracker64
23f828135a updated with icons, and some more fixes. 2010-12-12 20:13:05 -05:00
Simon
f1df4cae6a Merge latest cracker changes 2010-12-12 12:24:38 +00:00
Cracker64
dc318fa14a more small changes/fixes. Generation count for GoL in debug, resets with 'r'. 2010-12-11 23:31:08 -05:00
Simon
d8cd71f912 cracker merge 2010-12-11 03:46:21 +00:00
Cracker64
95c4e49f53 Lots of small changes/fixes mentioned in my mod post. 2010-12-10 14:05:06 -05:00
Cracker64
cbf41389a2 Bugfix for wifi, would cause a double spark if timed just right. updated to 2010-12-08 12:14:02 -05:00
Simon
96da331601 Improved pause flag, will now only pause, not unpause the game 2010-12-08 01:15:00 +00:00
Simon
9486b96368 Mystery bug, just to make sure 2010-12-07 21:45:12 +00:00
Simon
ac8701eb30 Fix fan loading and remove delete button on favourite view 2010-12-07 21:40:17 +00:00
Simon
2bd851e148 Fixes for potential crashes 2010-12-07 21:16:04 +00:00
Simon
76b6a886b3 Fix BCLN saving 2010-12-07 21:05:26 +00:00
Simon
58b85e19b4 Change version number 2010-12-07 17:47:48 +00:00
Simon
46940a8e4f Added saving of pause state and particle tmp value, removed INST from the menu 2010-12-07 16:26:53 +00:00
Cracker64
fff7ecedf8 removed battery from INST wire, some other small fixes 2010-12-06 18:54:09 -05:00
Simon
0dee48278f Upped uitext buffer to 255 chars to allow for longer messages, buffer overflow sometimes occurs with combinations of CAP-LOCKS and grid. 2010-12-06 23:12:49 +00:00
Cracker64
efb7c6bc9c updated with simon's changes 2010-12-05 21:56:46 -05:00
Simon
40ab51d79f Cracker64 merge 2010-12-05 15:49:48 +00:00
Cracker64
2cf25c8a6a FILT, a photon color filter, not really a filter right now, but it changes the color. Other small changes 2010-12-04 23:29:41 -05:00
Simon
b54c0b6934 Particle life now saved as 16bit integer, increases limit and fixes saving of wire and other elements. Version 44 to reflect save format change 2010-12-04 22:17:01 +00:00
Cracker64
d56684312d WIFI, a wireless SPRK transmitter, has 25 'channels' controlled by temp. starting at 0C, every 100 degrees is a different channel, they are colored as well. Heat-gradient display, colors of elements is slightly changed based on temp. maybe some other fixes. 2010-12-04 12:24:54 -05:00
Cracker64
01a2dcaf41 lots and lots of small changes/fixes. fixed typo for water movement, made parts_avg kinda better? electronics still work. 2010-12-03 00:13:00 -05:00
Cracker64
656b5ff496 SHLD, element that grows from spark and will regrow if damaged. Lots of other small changes and fixes. replace mode ONLY draws on the element to be replaced. 2010-12-01 15:27:13 -05:00
Cracker64
491016eaf4 Fixed love crash on mac, added adjustable grid mode, hit 'g', goes up to 9. 2010-11-30 14:43:42 -05:00
Cracker64
bb16ffa2bb PUMP is now powered and blue, fixed some wall probems, portals are more random, maybe fixed love for mac? 2010-11-29 22:42:36 -05:00
Cracker64
1eeda3f5cc ANAR, behaves opposite of dust. fix fuse loading, floodfilling of neut/photons. 2010-11-25 01:01:28 -05:00
Philip
60e4c076cb floodfill fix, @_@ elements, grav changes color 2010-11-22 15:36:24 -05:00
Philip
3d2292890b Fixed ehole, made wall code use defines, wall specific deletion. 2010-11-21 01:08:33 -05:00
Philip
a38dddaf5a Made wall code use #defines. small fix for adjustabl brush. 2010-11-19 22:03:52 -05:00
Philip
c1182db42d Fixed SWCH for real. Fix repeating spark while creating it. Adjustable x and y for brushes. 2010-11-19 18:01:56 -05:00
Philip
435f71c781 Added FRZZ FRZW GRAV. add square brush, hit tab to switch between the two. pipe ctype saves. 2010-11-18 23:27:24 -05:00
Philip
5e56850682 Added element replacement ability. hit insert. capslock is shift-alt so you can do lines/boxes with specific element erase. read post for other changes 2010-11-18 16:23:24 -05:00
Philip
9383c1ca4c Added a different velocity/pressure display. Added old fireworks i made. 2010-11-16 19:47:18 -05:00