ok i added the option to set the wrap mode for video echo, and i also changed the default shape wrap to clamp(video echo wrap also defaults to clamp) i know theres going to be at least one preset out there that this breaks, but theres not to much i can do about it, i cant access m_pState(where preset info is stored) from the default function
the new vars are named x_echo_wrap, and y_echo_wrap
and by request here is my entire chang log, untill i can get my site back up...
-custom shape upgrades
-each shape has its own texture, setting tex_capture to 0 will hold the texture for that
shape, setting tex_capture to 1 will make it operate normaly. During transitions the
texture is updated automaticly, half way through. This can be combined with the
progress variable already in Milkdrop to make some very cool looking transitions.
-the texture can now be shifted around, tex_cx and tex_cy are now the center of the
texture. (0..1) the shapes movment does not effect this.
-both custom shapes and waves can now be drawn in the backround, ie before the effects
but after the motion vectors. Each shape/Wave has its own Draw in Backround variable.
-Per-"Pixel" decay + seprate decay var for each color channel. Decay_r/g/b take on the
value of decay when they are equal to 0, to maintain compatabilty with current presets.
-Increased user vars (think its 40 now)
-added 'q' like variables w1-w8, but they operate a little diffrently, they take on the value
of q1-q8 respectfully after the wave1 per-point code is executed, this is intended to be
used to pull the wave data from the wave(waveform or spectrum), i think something like
q1=above(value1,maxvalue1)*sample+(1-above(value1,maxvalue1))*q1; would work
-added sound(freqlow,freqhigh) function, it returns the sum of the "sound" between
freqlow and freqhigh, be carefull though this isnt an avg its a straight sum. i might change
this to an avg if its too much of a hassel. for now just devide it by the diffrence of
-now you can change the wrap mode of ither the x or y axis (or both) for each shape+ the main preset. the var names for frame code are x_wrap_mode and y_wrap_mode, but they are also accesable from the menus.
-page up and page down will now go up or down 20 lines while editing code(doesnt mean much to end users but preset writers should love it).
-there are now 5 custom shapes and waves, i think i can up the waves all i want, but the shapes are limited because each one requires it's own texture.
-direct user control keys added, preset writers can now use the variables ctrlup, ctrldn, ctrllt, ctrlrt to allow the user to control something. when the user holds ctrl and hits up, down, left, or right the corrisponding variable changes to one, untill the user lets go of the key
then it goes back to 0