Commit Graph

160 Commits

Author SHA1 Message Date
jacksonmj
a054a784af Fix soap stamp crashes, and fix stkm head colour 2011-06-25 15:50:07 +01:00
Simon Robertshaw
4fcaadd565 Make aheat in HEAT view less intense 2011-06-14 17:09:36 +01:00
jacksonmj
93316a9f1d Fix a load of memory leaks
Also fix some compiler warnings (missing headers, wrong pointer type for
modf, etc) and move variable declarations for Visual Studio.
2011-06-11 13:00:42 +01:00
Simon Robertshaw
1f7106acb1 Gravity zoning 2011-06-09 22:35:00 +01:00
Simon Robertshaw
1effdb052a Image for server saving 2011-06-09 17:53:41 +01:00
jacksonmj
74f613962e Fix typo in previous commit 2011-06-09 23:01:20 +08:00
jacksonmj
7c4135be6b Fix resample_img using array indices larger than src image size
E.g. resampling to 204x128 from 153x96
Src is 14688 pixels, calculation for pixel location 203,127 accesses
array indices 14688, 14687, 14841, 14840
2011-06-09 23:01:19 +08:00
Simon Robertshaw
345de25641 Fix crash where source and destination scale where the same 2011-06-08 13:45:21 +01:00
Simon Robertshaw
b5c9d86fbe Less blurry thumbnail scaling 2011-06-08 13:30:39 +01:00
savask
a48e477fca Moved detach(i) function to powder.c, made soap display connections when
it's double-joined, made portal in detach soap before teleportating
(works strangely)
2011-06-05 01:09:02 +08:00
Simon Robertshaw
8a5e566b77 Stairstepping for downscaling 2011-06-04 12:37:24 +01:00
Simon Robertshaw
41d8e316cd Use bilinear interpolation for everything 2011-06-03 23:54:08 +01:00
Simon Robertshaw
45e91c15b2 Bilinear interpolation for resampling 2011-06-03 23:36:26 +01:00
Cracker64
e3ef7f05f0 some more deco editor changes. Right click deletes decoration again. 2011-06-02 20:24:02 +01:00
Simon Robertshaw
c003fee63e Ambient heat (disabled by default) 2011-06-01 20:18:19 +01:00
Simon Robertshaw
03a048afe5 Add calm blue text colour, buffer overflow fix for richtext 2011-05-31 00:33:47 +01:00
jacksonmj
7750cf8ccd Improve decoration in blob view, exclude from life and heat view 2011-05-29 13:38:39 +01:00
jacksonmj
a2c171fbf9 Remove remaining references to old decorations buffer 2011-05-29 13:34:50 +01:00
Simon Robertshaw
232595c209 Fix image decompression 2011-05-28 18:15:05 +01:00
Simon Robertshaw
2795970639 Some debug info for image decoding 2011-05-28 18:05:05 +01:00
Simon Robertshaw
380a45a4c9 Image resampling for thumbnails 2011-05-28 14:19:01 +01:00
Simon Robertshaw
2c7b8a6902 Fix renderer, add image decode/code methods 2011-05-28 13:49:07 +01:00
Simon Robertshaw
5919cefa85 Decorations are per particle TODO: remove references to the decorations buffer 2011-05-27 14:44:56 +01:00
Simon Robertshaw
2a1e51abff temp fix for linux compilation 2011-05-24 15:11:25 +01:00
Simon Robertshaw
eafcdf8ec9 Improve error handling on display initialisation 2011-05-24 14:54:14 +01:00
Cracker64
9d20d6af82 Decoration has a color menu. GoL uses less memory(17MB less), and probably a bit faster. 2011-05-14 13:46:10 +01:00
jacksonmj
cbfc73d8d6 Turn WIND into a tool 2011-05-14 13:43:51 +01:00
jacksonmj
c23124e0d7 Shrink draw_tool_xy 2011-05-14 13:28:24 +01:00
Simon Robertshaw
16f014b06a Move wall drawing to graphics.c 2011-05-14 13:28:02 +01:00
savask
3ea306cc77 Some changes to soap. 2011-05-05 20:24:21 +01:00
Simon Robertshaw
5aefd0cb01 Initial soap commit 2011-05-05 20:14:35 +01:00
Cracker64
88995a5910 line/box tool for decorations, some other things. 2011-04-24 20:04:01 +01:00
Cracker64
bd8de4c842 Decorations! ,still messing with it. It does not save currently. TODO: fix typing in boxes to update the color. Line/box tools. Some basic color selections like an element menu. 2011-04-23 14:00:51 +01:00
Simon Robertshaw
13ff21bb22 Gravitaaaay (Needs tweeking for performance) 2011-04-22 17:06:09 +01:00
jacksonmj
96d2587f29 Make high life lcry, pcln, pump, hswc graphics more boring 2011-04-16 17:27:03 +01:00
Simon
6c3ac2af5c Remove more warnings 2011-04-08 15:39:55 +01:00
Simon
60039b531e Bizarre solid uses Bizarre colour system 2011-04-08 15:13:19 +01:00
Simon
767d73c5fc astyle 2011-04-08 11:09:42 +01:00
jacksonmj
90f8c4f483 error_ui: wrap text and change message box height to fit
Stops banned user message overflowing out of message box
2011-04-04 16:11:37 +01:00
Simon
a5e07a787c Less glow for Portal 2011-04-02 16:00:39 +01:00
Simon
b7a004986f A cracker commit with some nice comments 2011-03-30 18:57:49 +01:00
Cracker64
ed244f42cb WIND works with line tool, BOMB shine affected by velocity and flickers 2011-03-29 18:23:34 +01:00
Simon
3ab47ae9d7 Effects for PRTO and PRTI 2011-03-24 19:41:45 +00:00
jacksonmj
a6dabf2072 Visual Studio 2011-03-16 19:09:12 +00:00
jacksonmj
db91bd37f0 Display photon wavelengths in HUD 2011-03-15 15:47:09 +00:00
jacksonmj
0a3b44ee14 Update fancy mode to use the new GLOW graphics 2011-03-12 14:01:58 +00:00
jacksonmj
fbae5fb16a Flashing BRAY fix
We should just be thankful that negative life will not save correctly...
2011-03-10 23:50:20 +00:00
Simon
1b9b1752a7 Switch life to ctype for, photons apparently use the GLOW ctype for something 2011-02-23 20:54:11 +00:00
Simon
5d4d815ad3 Fancier glow, now affected by Velocity, Pressure and Heat 2011-02-23 20:35:02 +00:00
Simon
bb0b4e6802 UI improvements for elements menu 2011-02-21 17:57:17 +00:00
Simon
1307af5c57 Fix saving of display mode from keys and fix persistent display 2011-02-19 18:59:07 +00:00
jacksonmj
29bd6e42f5 Correct some fancy mode graphics 2011-02-07 16:19:14 +00:00
jacksonmj
21d0dd0ca2 Better text wrapping 2011-02-05 15:44:29 +00:00
jacksonmj
d21d1f7ba5 Merge branch 'upstream' into dev 2011-02-03 18:47:23 +00:00
Simon
8363a21f23 ALL GLORY TO THE SAVASK 2011-01-31 16:54:13 +00: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
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
b1e09d4216 Made GoL code work with more advanced rules with different life states, giving more interesting rules. 2011-01-16 01:29:49 -05:00
Cracker64
6083b64b72 portal was invisible in debug, oops 2011-01-12 13:22:27 -05: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
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
5b86cd5c21 QRTZ and powder will have heat glow, also changed heat glow code a bit. 2011-01-01 01:31:25 -05:00
Cracker64
2212d04fb0 added SING, QRTZ and PQRT, see mod thread on forum. 2010-12-30 00:46:35 -05:00
Cracker64
081ad28435 updated with simons small changes 2010-12-29 17:55:14 -05:00
Cracker64
8df470662f ARAY gets colored by FILT, woo 2010-12-29 17:22:18 -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
Cracker64
0dbb53606b forgot PROP thing in powder.h, adjustments to heat glow and BOMB 2010-12-24 15:59:27 -05:00
Cracker64
65a60b3812 updated with BOMB 2010-12-24 15:00:59 -05: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
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
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
Cracker64
dc318fa14a more small changes/fixes. Generation count for GoL in debug, resets with 'r'. 2010-12-11 23:31:08 -05: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
Cracker64
fff7ecedf8 removed battery from INST wire, some other small fixes 2010-12-06 18:54:09 -05:00
Cracker64
efb7c6bc9c updated with simon's changes 2010-12-05 21:56:46 -05: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
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
77a17ecaee VINE, plant grows up the side of WOOD. INST wire is now also a battery and will charge if it doesn't give off a spark right away. Will give spark to NSCN or SWCH that is on. found some more wall defines i missed. moved wall code up 100 numbers. INVS, solid that turns invisible to elements when under pressure. 2010-11-28 16:58:57 -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
5d0da4b138 Added PIPE, yay. Added whole menu sections to be able to be specifically deleted. 2010-11-18 00:01:46 -05:00
Philip
9383c1ca4c Added a different velocity/pressure display. Added old fireworks i made. 2010-11-16 19:47:18 -05:00
Philip
663db5374f Added BCLN LOVE WTF. description on forum post. A fix for loading COAL. made everything use the #defines for cmode (ex. CM_HEAT instead of 5). 2010-11-15 11:57:37 -05:00
Philip
383b2ad709 oops 2010-11-11 22:14:24 -05:00