A new class of integrable billiard systems, called generalized billiards, is discovered. These are billiards in domains formed by gluing classical billiard domains along pieces of their boundaries. (A classical billiard domain is a part of the plane bounded by arcs of confocal quadrics.) On the basis of the Fomenko-Zieschang theory of invariants of integrable systems, a full topological classification of generalized billiards is obtained, up to Liouville equivalence.Bibliography: 18 titles.