Removed all instances of the long-defunct add_wave() function which had at one point been used to add procedural waves to a waterline.