A type of flags had been designed for naval battles during the Civil War; these included distinguishing marks for ships
https://www.hometalk.com/member/262415833/john1362422
A form of flags were designed for naval battles throughout the time of the Civil War; those included distinguishing marks for ships engaged in fight on rivers and seas alike.