r1654, DaleStan: Make defining patchvars for SetTTDpatchVar more like defining patchactions.
r1651, JGR: Added AdvVarAction2 operator 0x11: rotate right.
r1649, steven_h: updated sprite offsets to have the proper poles drawn with the appropriate overhead wire sprites
	
r1648, JGR: Modify trace restrict GUI window to use depot numbers instead of tile coordinates when enabled.
r1647, JGR: Potential fix for possible bug in multiplayer programmable signal GUI code. Not tested in DOS. Not tested in multiplayer.
r1646, JGR: Rewrote various bits of trace restrict GUI code.
	Setting criteria for signal red/green states using trace restrict now supported, psignals switch, requires pre-signals.
	Added criteria for routing and signal control, test direction of trace/current signal being set.
	Added criteria for signal control, number of entrance/combo signals in block, which are red/green, one/two/either way.
	Signal status criteria can be used to control signal states.
	Not tested under DOS, but ought to work as no new fragments added. Not tested under multiplayer, should work, as uses same code as for routing restrictions.
	Note: currently, signal status criteria will be unreliable when used on a signal not in the same block (ie. one which when it's state is changed will activate the check code for the signal in question, by propagation through the block).
	Fix mis-drawing bug when variable button instead of drop down icon used to open/close variable drop down list, in GUI window.
r1644, DaleStan: Set svn:eol-style.
r1643, JGR: Trace restrict: Added more code comments. Initial code support for possible future experimental extra features. Added macros for accessing robjs.
r1642, JGR: Change divide by zero evasion to divide by zero or one, in newsprit.asm, varaction2s.
	Minor performance benefit.
