Commit Graph

25 Commits

Author SHA1 Message Date
Simon Robertshaw
4b073de82a Revert "Moved soap and stick men graphics things to special functions."
This reverts commit 7f5408f196.

Conflicts:

	includes/powder.h
2012-06-17 22:34:17 +01:00
Savely Skresanov
7f5408f196 Moved soap and stick men graphics things to special functions. 2012-06-02 21:59:25 +07:00
jacksonmj
11bd67eb61 Change pipe and portal to check element type using properties instead of falldown and state 2012-05-07 14:09:14 +01:00
Aditya Vaidya
f69920b96c Added GPLv3+ license headers to all files in src/elements/ 2012-05-06 12:55:05 +01:00
Simon Robertshaw
b5a52838c7 Change STOR, PIPE, DUST to make correct use of .flags field. 2012-04-19 16:37:53 +01:00
jacksonmj
76f49dd024 Stop walls next to pipe triggering automatic pattern generation 2012-04-10 17:26:14 +01:00
jacksonmj
46068833d1 Make PIPE detach SOAP particles (crash fix) 2011-12-18 22:04:47 +08:00
Simon Robertshaw
93f5837974 Fix bug with PIPE where particles would have an incorrect colour if they didn't explicitly set the colr/g/b in its own graphics update 2011-11-26 12:50:28 +00:00
Simon Robertshaw
d17336b467 Allow pipe to grab from photon map, BRAY beam takes temp from ARAY 2011-11-26 12:44:52 +00:00
jacksonmj
05fbb92420 Make PIPE reset (ready to generate pattern) when ctype is cleared and life is 0 2011-11-12 20:46:47 +08:00
Simon Robertshaw
e46f26684b Fix Life and heat display, implement alpha, blend and add, fix FILT, INVS and BRAY + others 2011-10-28 23:48:57 +01:00
Simon Robertshaw
1c7b9d9949 Pass particle pointer to graphics update function instead of index. Make PIPE use subcall to get graphics info. Cache for particle graphics properties. Stickman PSPEC_STICKMAN added and implemented 2011-10-23 13:52:26 +01:00
jacksonmj
203db57e57 Prevent segfault with high tmp values for pipe 2011-09-30 14:16:48 +01:00
jacksonmj
e506934655 Always check bmap when creating particles 2011-08-30 19:34:28 +08:00
jacksonmj
df504330e2 Fixes: HUD for fast PIPE, PIPE contents disappearing when next to walls, scrolling special menu, and parts_lastActiveIndex 2011-08-30 19:34:28 +08:00
Simon Robertshaw
26269ff052 Added STOR, a block that can store a single particle and release when charged 2011-08-29 16:34:53 +01:00
jacksonmj
42cfb74c2b Remove blocking walls from pmap
2.5% speed increase on a screen full of water
2011-08-27 18:37:03 +08:00
Cate
d2eb6f1cb3 Deleted whole repository due to weirdness with recognizing folder. From current source, added Cracker64's changes that make 1px pipe several times faster than thicker pipe. Doesn't break saves. :D 2011-07-08 18:09:16 +01:00
jacksonmj
f3927f7202 Make pipe save ctype and tmp 2011-06-25 22:30:49 +01:00
jacksonmj
744854ef36 Speed up update_PIPE
By making it call rand() once instead of 6 times.
2011-06-02 20:19:28 +01:00
Simon
b7a004986f A cracker commit with some nice comments 2011-03-30 18:57:49 +01:00
jacksonmj
bdfbc7c409 Change include file for element update functions 2011-01-28 19:36:26 +00:00
jacksonmj
9707443b24 Merge element state into ptypes.
All of the pstates array except .state was replaced by ptransitions.
2011-01-13 21:31:24 +00:00
jacksonmj
54f9f872b9 Finish update function cleanup 2011-01-10 14:41:03 +00:00
jacksonmj
f3ded5f08c More function pointers. 2011-01-07 16:18:22 +00:00