\catcode`@11
\newcounter{boxfloat}
\def\fps@boxfloat{tbp}
\def\ftype@boxfloat{2}
\def\ext@boxfloat{lot}
\def\fnum@boxfloat{Box \theboxfloat}
\def\boxfloat{\@float{boxfloat}}
\let\endboxfloat\end@float
\@namedef{boxfloat*}{\@dblfloat{boxfloat}}
\@namedef{endboxfloat*}{\end@dblfloat}

% make all floats share a common counter
\newcounter{floatseq}

\renewcommand \thefigure{\@arabic\c@floatseq} 
\renewcommand \thetable{\@arabic\c@floatseq} 
\def\theboxfloat{\@arabic\c@floatseq}

\renewenvironment{figure}
               {\stepcounter{table}\stepcounter{floatseq}\stepcounter{boxfloat}\@float{figure}}
               {\end@float}
\renewenvironment{table}
               {\stepcounter{figure}\stepcounter{boxfloat}\stepcounter{floatseq}\@float{table}}
               {\end@float}
\renewenvironment{boxfloat}
               {\stepcounter{figure}\stepcounter{table}\stepcounter{floatseq}\@float{boxfloat}}
               {\end@float}

\catcode`@12



