\hypertarget{classBW_1_1Image}{\section{\-B\-W\-:\-:\-Image \-Class \-Reference}
\label{classBW_1_1Image}\index{\-B\-W\-::\-Image@{\-B\-W\-::\-Image}}
}


{\ttfamily \#include $<$\-Image.\-h$>$}



\-Collaboration diagram for \-B\-W\-:\-:\-Image\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{classBW_1_1Image__coll__graph}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classBW_1_1Image_a55bef637beda9f475d017b779fcaa526}{void} \hyperlink{classBW_1_1Image_aeceaf33a49d92bce3d800d02e602c46b}{update\-Graphic\-Data} ()
\item 
\hyperlink{classBW_1_1Image_a55bef637beda9f475d017b779fcaa526}{void} \hyperlink{classBW_1_1Image_a58d26a65d84091dfc8f60bbca7b4cb1a}{draw\-Image} ()
\item 
\hyperlink{classBW_1_1Image_a55bef637beda9f475d017b779fcaa526}{void} (\-\_\-\-\_\-fastcall $\ast$render\-Function)(\hyperlink{classBW_1_1Image_a1247800f575044f697dead53f0918dc5}{int}
\item 
\hyperlink{classBW_1_1Image_a9bd7fc6643ec09966dc84eb22b86871f}{void} (\-\_\-\-\_\-fastcall $\ast$update\-Function)(\hyperlink{classBW_1_1Image}{\-Image} $\ast$)
\end{DoxyCompactItemize}
\subsection*{\-Public \-Attributes}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classBW_1_1Image}{\-Image} $\ast$ \hyperlink{classBW_1_1Image_a990061cf4ed62b389b1ca4701c883603}{prev}
\item 
\hyperlink{classBW_1_1Image}{\-Image} $\ast$ \hyperlink{classBW_1_1Image_a1d67ba962984d56ca32f558efbb6e2a2}{next}
\item 
\hyperlink{NewHackUtil_8h_ac8008e9f99a9e3bdd6649ba6fe685975}{u16} \hyperlink{classBW_1_1Image_a277ebe06d1b9ce1d2d3196e51ac629ae}{image\-I\-D}
\item 
\hyperlink{NewHackUtil_8h_ab64accf39cd9947d51611c16fd76f69a}{u8} \hyperlink{classBW_1_1Image_a2b0dd4ecc642d2d0ce240d0cef467b5f}{palette\-Type}
\item 
\hyperlink{NewHackUtil_8h_ab64accf39cd9947d51611c16fd76f69a}{u8} \hyperlink{classBW_1_1Image_a414dba5e492a61271f690189ada4d0b1}{direction}
\item 
\hyperlink{NewHackUtil_8h_ac8008e9f99a9e3bdd6649ba6fe685975}{u16} \hyperlink{classBW_1_1Image_a116a36ab962598235ba30f5c019497fc}{flags}
\item 
\hyperlink{NewHackUtil_8h_a9b9fbbb40e8cc26fa8e3f5aea39c42f9}{s8} \hyperlink{classBW_1_1Image_a0846a680c55636eb372bc8314dd633b0}{horizontal\-Offset}
\item 
\hyperlink{NewHackUtil_8h_a9b9fbbb40e8cc26fa8e3f5aea39c42f9}{s8} \hyperlink{classBW_1_1Image_ae415661d492c69a163b12c843f315683}{vertical\-Offset}
\item 
\hyperlink{NewHackUtil_8h_ac8008e9f99a9e3bdd6649ba6fe685975}{u16} \hyperlink{classBW_1_1Image_a9f7725b8464c17e08c387e09f4cf7fc4}{iscript\-Header}
\item 
\hyperlink{NewHackUtil_8h_ac8008e9f99a9e3bdd6649ba6fe685975}{u16} \hyperlink{classBW_1_1Image_a83ad36dced59381323e317eeb7600da9}{iscript\-Offset}
\item 
\hyperlink{NewHackUtil_8h_ac8008e9f99a9e3bdd6649ba6fe685975}{u16} \hyperlink{classBW_1_1Image_ad1a8e5ab79fb77d86bfc152eede5bfb5}{unknown\-\_\-14}
\item 
\hyperlink{NewHackUtil_8h_ab64accf39cd9947d51611c16fd76f69a}{u8} \hyperlink{classBW_1_1Image_a9e15264afd872f09a483620aa5681d78}{anim}
\item 
\hyperlink{NewHackUtil_8h_ab64accf39cd9947d51611c16fd76f69a}{u8} \hyperlink{classBW_1_1Image_a32ae4870099d115b58cc4fe482a27a1a}{wait}
\item 
\hyperlink{NewHackUtil_8h_ac8008e9f99a9e3bdd6649ba6fe685975}{u16} \hyperlink{classBW_1_1Image_a5fa3582ce8210749e6ea917390bd4126}{frame\-Set}
\item 
\hyperlink{NewHackUtil_8h_ac8008e9f99a9e3bdd6649ba6fe685975}{u16} \hyperlink{classBW_1_1Image_a9e641c527ff83e68253b7e77c4012b11}{frame\-Index}
\item 
\-P\-O\-I\-N\-T\-S \hyperlink{classBW_1_1Image_a0ba3def50de1821a96bf731e03358f62}{map\-Position}
\item 
\-P\-O\-I\-N\-T\-S \hyperlink{classBW_1_1Image_a1c9c0716d9d17f08273f685b8bdf4505}{screen\-Position}
\item 
\hyperlink{Types_8h_af36b04a31ccd1c27c597a2ef9d527478}{rect} \hyperlink{classBW_1_1Image_ad6751f50e9899c9a1feba68cdf240002}{grp\-Bounds}
\item 
\hyperlink{structBW_1_1grpHead}{grp\-Head} $\ast$ \hyperlink{classBW_1_1Image_a102d87014ff75db2aa22ac2dfe1e591c}{\-G\-R\-P\-File}
\item 
\hyperlink{classBW_1_1Image_a55bef637beda9f475d017b779fcaa526}{void} $\ast$ \hyperlink{classBW_1_1Image_af8c0677260027c18dab3bf3b841c36ff}{coloring\-Data}
\item 
\hyperlink{classBW_1_1Image_a1247800f575044f697dead53f0918dc5}{int}
\item 
\hyperlink{structBW_1_1grpFrame}{grp\-Frame} \-R\-E\-C\-T \hyperlink{classBW_1_1Image_a9f662f8696923cd671dcd4101069bf23}{int}
\item 
\hyperlink{classBW_1_1Sprite}{\-Sprite} $\ast$ \hyperlink{classBW_1_1Image_a38b9a071c4dbe6186efa0df755aff55e}{sprite\-Owner}
\end{DoxyCompactItemize}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classBW_1_1Image_a58d26a65d84091dfc8f60bbca7b4cb1a}{\index{\-B\-W\-::\-Image@{\-B\-W\-::\-Image}!draw\-Image@{draw\-Image}}
\index{draw\-Image@{draw\-Image}!BW::Image@{\-B\-W\-::\-Image}}
\subsubsection[{draw\-Image}]{\setlength{\rightskip}{0pt plus 5cm}{\bf void} {\bf \-B\-W\-::\-Image\-::draw\-Image} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classBW_1_1Image_a58d26a65d84091dfc8f60bbca7b4cb1a}
\hypertarget{classBW_1_1Image_aeceaf33a49d92bce3d800d02e602c46b}{\index{\-B\-W\-::\-Image@{\-B\-W\-::\-Image}!update\-Graphic\-Data@{update\-Graphic\-Data}}
\index{update\-Graphic\-Data@{update\-Graphic\-Data}!BW::Image@{\-B\-W\-::\-Image}}
\subsubsection[{update\-Graphic\-Data}]{\setlength{\rightskip}{0pt plus 5cm}{\bf void} {\bf \-B\-W\-::\-Image\-::update\-Graphic\-Data} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classBW_1_1Image_aeceaf33a49d92bce3d800d02e602c46b}
\hypertarget{classBW_1_1Image_a55bef637beda9f475d017b779fcaa526}{\index{\-B\-W\-::\-Image@{\-B\-W\-::\-Image}!void@{void}}
\index{void@{void}!BW::Image@{\-B\-W\-::\-Image}}
\subsubsection[{void}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-::\-Image\-::void} (
\begin{DoxyParamCaption}
\item[{\-\_\-\-\_\-fastcall $\ast$}]{render\-Function}
\end{DoxyParamCaption}
)}}\label{classBW_1_1Image_a55bef637beda9f475d017b779fcaa526}
\hypertarget{classBW_1_1Image_a9bd7fc6643ec09966dc84eb22b86871f}{\index{\-B\-W\-::\-Image@{\-B\-W\-::\-Image}!void@{void}}
\index{void@{void}!BW::Image@{\-B\-W\-::\-Image}}
\subsubsection[{void}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-::\-Image\-::void} (
\begin{DoxyParamCaption}
\item[{\-\_\-\-\_\-fastcall $\ast$}]{update\-Function}
\end{DoxyParamCaption}
)}}\label{classBW_1_1Image_a9bd7fc6643ec09966dc84eb22b86871f}


\subsection{\-Member \-Data \-Documentation}
\hypertarget{classBW_1_1Image_a9e15264afd872f09a483620aa5681d78}{\index{\-B\-W\-::\-Image@{\-B\-W\-::\-Image}!anim@{anim}}
\index{anim@{anim}!BW::Image@{\-B\-W\-::\-Image}}
\subsubsection[{anim}]{\setlength{\rightskip}{0pt plus 5cm}{\bf u8} {\bf \-B\-W\-::\-Image\-::anim}}}\label{classBW_1_1Image_a9e15264afd872f09a483620aa5681d78}
\hypertarget{classBW_1_1Image_af8c0677260027c18dab3bf3b841c36ff}{\index{\-B\-W\-::\-Image@{\-B\-W\-::\-Image}!coloring\-Data@{coloring\-Data}}
\index{coloring\-Data@{coloring\-Data}!BW::Image@{\-B\-W\-::\-Image}}
\subsubsection[{coloring\-Data}]{\setlength{\rightskip}{0pt plus 5cm}{\bf void}$\ast$ {\bf \-B\-W\-::\-Image\-::coloring\-Data}}}\label{classBW_1_1Image_af8c0677260027c18dab3bf3b841c36ff}
\hypertarget{classBW_1_1Image_a414dba5e492a61271f690189ada4d0b1}{\index{\-B\-W\-::\-Image@{\-B\-W\-::\-Image}!direction@{direction}}
\index{direction@{direction}!BW::Image@{\-B\-W\-::\-Image}}
\subsubsection[{direction}]{\setlength{\rightskip}{0pt plus 5cm}{\bf u8} {\bf \-B\-W\-::\-Image\-::direction}}}\label{classBW_1_1Image_a414dba5e492a61271f690189ada4d0b1}
\hypertarget{classBW_1_1Image_a116a36ab962598235ba30f5c019497fc}{\index{\-B\-W\-::\-Image@{\-B\-W\-::\-Image}!flags@{flags}}
\index{flags@{flags}!BW::Image@{\-B\-W\-::\-Image}}
\subsubsection[{flags}]{\setlength{\rightskip}{0pt plus 5cm}{\bf u16} {\bf \-B\-W\-::\-Image\-::flags}}}\label{classBW_1_1Image_a116a36ab962598235ba30f5c019497fc}
\hypertarget{classBW_1_1Image_a9e641c527ff83e68253b7e77c4012b11}{\index{\-B\-W\-::\-Image@{\-B\-W\-::\-Image}!frame\-Index@{frame\-Index}}
\index{frame\-Index@{frame\-Index}!BW::Image@{\-B\-W\-::\-Image}}
\subsubsection[{frame\-Index}]{\setlength{\rightskip}{0pt plus 5cm}{\bf u16} {\bf \-B\-W\-::\-Image\-::frame\-Index}}}\label{classBW_1_1Image_a9e641c527ff83e68253b7e77c4012b11}
\hypertarget{classBW_1_1Image_a5fa3582ce8210749e6ea917390bd4126}{\index{\-B\-W\-::\-Image@{\-B\-W\-::\-Image}!frame\-Set@{frame\-Set}}
\index{frame\-Set@{frame\-Set}!BW::Image@{\-B\-W\-::\-Image}}
\subsubsection[{frame\-Set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf u16} {\bf \-B\-W\-::\-Image\-::frame\-Set}}}\label{classBW_1_1Image_a5fa3582ce8210749e6ea917390bd4126}
\hypertarget{classBW_1_1Image_ad6751f50e9899c9a1feba68cdf240002}{\index{\-B\-W\-::\-Image@{\-B\-W\-::\-Image}!grp\-Bounds@{grp\-Bounds}}
\index{grp\-Bounds@{grp\-Bounds}!BW::Image@{\-B\-W\-::\-Image}}
\subsubsection[{grp\-Bounds}]{\setlength{\rightskip}{0pt plus 5cm}{\bf rect} {\bf \-B\-W\-::\-Image\-::grp\-Bounds}}}\label{classBW_1_1Image_ad6751f50e9899c9a1feba68cdf240002}
\hypertarget{classBW_1_1Image_a102d87014ff75db2aa22ac2dfe1e591c}{\index{\-B\-W\-::\-Image@{\-B\-W\-::\-Image}!\-G\-R\-P\-File@{\-G\-R\-P\-File}}
\index{\-G\-R\-P\-File@{\-G\-R\-P\-File}!BW::Image@{\-B\-W\-::\-Image}}
\subsubsection[{\-G\-R\-P\-File}]{\setlength{\rightskip}{0pt plus 5cm}{\bf grp\-Head}$\ast$ {\bf \-B\-W\-::\-Image\-::\-G\-R\-P\-File}}}\label{classBW_1_1Image_a102d87014ff75db2aa22ac2dfe1e591c}
\hypertarget{classBW_1_1Image_a0846a680c55636eb372bc8314dd633b0}{\index{\-B\-W\-::\-Image@{\-B\-W\-::\-Image}!horizontal\-Offset@{horizontal\-Offset}}
\index{horizontal\-Offset@{horizontal\-Offset}!BW::Image@{\-B\-W\-::\-Image}}
\subsubsection[{horizontal\-Offset}]{\setlength{\rightskip}{0pt plus 5cm}{\bf s8} {\bf \-B\-W\-::\-Image\-::horizontal\-Offset}}}\label{classBW_1_1Image_a0846a680c55636eb372bc8314dd633b0}
\hypertarget{classBW_1_1Image_a277ebe06d1b9ce1d2d3196e51ac629ae}{\index{\-B\-W\-::\-Image@{\-B\-W\-::\-Image}!image\-I\-D@{image\-I\-D}}
\index{image\-I\-D@{image\-I\-D}!BW::Image@{\-B\-W\-::\-Image}}
\subsubsection[{image\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}{\bf u16} {\bf \-B\-W\-::\-Image\-::image\-I\-D}}}\label{classBW_1_1Image_a277ebe06d1b9ce1d2d3196e51ac629ae}
\hypertarget{classBW_1_1Image_a1247800f575044f697dead53f0918dc5}{\index{\-B\-W\-::\-Image@{\-B\-W\-::\-Image}!int@{int}}
\index{int@{int}!BW::Image@{\-B\-W\-::\-Image}}
\subsubsection[{int}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-::\-Image\-::int}}}\label{classBW_1_1Image_a1247800f575044f697dead53f0918dc5}
\hypertarget{classBW_1_1Image_a9f662f8696923cd671dcd4101069bf23}{\index{\-B\-W\-::\-Image@{\-B\-W\-::\-Image}!int@{int}}
\index{int@{int}!BW::Image@{\-B\-W\-::\-Image}}
\subsubsection[{int}]{\setlength{\rightskip}{0pt plus 5cm}{\bf grp\-Frame} \-R\-E\-C\-T {\bf \-B\-W\-::\-Image\-::int}}}\label{classBW_1_1Image_a9f662f8696923cd671dcd4101069bf23}
\hypertarget{classBW_1_1Image_a9f7725b8464c17e08c387e09f4cf7fc4}{\index{\-B\-W\-::\-Image@{\-B\-W\-::\-Image}!iscript\-Header@{iscript\-Header}}
\index{iscript\-Header@{iscript\-Header}!BW::Image@{\-B\-W\-::\-Image}}
\subsubsection[{iscript\-Header}]{\setlength{\rightskip}{0pt plus 5cm}{\bf u16} {\bf \-B\-W\-::\-Image\-::iscript\-Header}}}\label{classBW_1_1Image_a9f7725b8464c17e08c387e09f4cf7fc4}
\hypertarget{classBW_1_1Image_a83ad36dced59381323e317eeb7600da9}{\index{\-B\-W\-::\-Image@{\-B\-W\-::\-Image}!iscript\-Offset@{iscript\-Offset}}
\index{iscript\-Offset@{iscript\-Offset}!BW::Image@{\-B\-W\-::\-Image}}
\subsubsection[{iscript\-Offset}]{\setlength{\rightskip}{0pt plus 5cm}{\bf u16} {\bf \-B\-W\-::\-Image\-::iscript\-Offset}}}\label{classBW_1_1Image_a83ad36dced59381323e317eeb7600da9}
\hypertarget{classBW_1_1Image_a0ba3def50de1821a96bf731e03358f62}{\index{\-B\-W\-::\-Image@{\-B\-W\-::\-Image}!map\-Position@{map\-Position}}
\index{map\-Position@{map\-Position}!BW::Image@{\-B\-W\-::\-Image}}
\subsubsection[{map\-Position}]{\setlength{\rightskip}{0pt plus 5cm}\-P\-O\-I\-N\-T\-S {\bf \-B\-W\-::\-Image\-::map\-Position}}}\label{classBW_1_1Image_a0ba3def50de1821a96bf731e03358f62}
\hypertarget{classBW_1_1Image_a1d67ba962984d56ca32f558efbb6e2a2}{\index{\-B\-W\-::\-Image@{\-B\-W\-::\-Image}!next@{next}}
\index{next@{next}!BW::Image@{\-B\-W\-::\-Image}}
\subsubsection[{next}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Image}$\ast$ {\bf \-B\-W\-::\-Image\-::next}}}\label{classBW_1_1Image_a1d67ba962984d56ca32f558efbb6e2a2}
\hypertarget{classBW_1_1Image_a2b0dd4ecc642d2d0ce240d0cef467b5f}{\index{\-B\-W\-::\-Image@{\-B\-W\-::\-Image}!palette\-Type@{palette\-Type}}
\index{palette\-Type@{palette\-Type}!BW::Image@{\-B\-W\-::\-Image}}
\subsubsection[{palette\-Type}]{\setlength{\rightskip}{0pt plus 5cm}{\bf u8} {\bf \-B\-W\-::\-Image\-::palette\-Type}}}\label{classBW_1_1Image_a2b0dd4ecc642d2d0ce240d0cef467b5f}
\hypertarget{classBW_1_1Image_a990061cf4ed62b389b1ca4701c883603}{\index{\-B\-W\-::\-Image@{\-B\-W\-::\-Image}!prev@{prev}}
\index{prev@{prev}!BW::Image@{\-B\-W\-::\-Image}}
\subsubsection[{prev}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Image}$\ast$ {\bf \-B\-W\-::\-Image\-::prev}}}\label{classBW_1_1Image_a990061cf4ed62b389b1ca4701c883603}
\hypertarget{classBW_1_1Image_a1c9c0716d9d17f08273f685b8bdf4505}{\index{\-B\-W\-::\-Image@{\-B\-W\-::\-Image}!screen\-Position@{screen\-Position}}
\index{screen\-Position@{screen\-Position}!BW::Image@{\-B\-W\-::\-Image}}
\subsubsection[{screen\-Position}]{\setlength{\rightskip}{0pt plus 5cm}\-P\-O\-I\-N\-T\-S {\bf \-B\-W\-::\-Image\-::screen\-Position}}}\label{classBW_1_1Image_a1c9c0716d9d17f08273f685b8bdf4505}
\hypertarget{classBW_1_1Image_a38b9a071c4dbe6186efa0df755aff55e}{\index{\-B\-W\-::\-Image@{\-B\-W\-::\-Image}!sprite\-Owner@{sprite\-Owner}}
\index{sprite\-Owner@{sprite\-Owner}!BW::Image@{\-B\-W\-::\-Image}}
\subsubsection[{sprite\-Owner}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Sprite}$\ast$ {\bf \-B\-W\-::\-Image\-::sprite\-Owner}}}\label{classBW_1_1Image_a38b9a071c4dbe6186efa0df755aff55e}
\hypertarget{classBW_1_1Image_ad1a8e5ab79fb77d86bfc152eede5bfb5}{\index{\-B\-W\-::\-Image@{\-B\-W\-::\-Image}!unknown\-\_\-14@{unknown\-\_\-14}}
\index{unknown\-\_\-14@{unknown\-\_\-14}!BW::Image@{\-B\-W\-::\-Image}}
\subsubsection[{unknown\-\_\-14}]{\setlength{\rightskip}{0pt plus 5cm}{\bf u16} {\bf \-B\-W\-::\-Image\-::unknown\-\_\-14}}}\label{classBW_1_1Image_ad1a8e5ab79fb77d86bfc152eede5bfb5}
\hypertarget{classBW_1_1Image_ae415661d492c69a163b12c843f315683}{\index{\-B\-W\-::\-Image@{\-B\-W\-::\-Image}!vertical\-Offset@{vertical\-Offset}}
\index{vertical\-Offset@{vertical\-Offset}!BW::Image@{\-B\-W\-::\-Image}}
\subsubsection[{vertical\-Offset}]{\setlength{\rightskip}{0pt plus 5cm}{\bf s8} {\bf \-B\-W\-::\-Image\-::vertical\-Offset}}}\label{classBW_1_1Image_ae415661d492c69a163b12c843f315683}
\hypertarget{classBW_1_1Image_a32ae4870099d115b58cc4fe482a27a1a}{\index{\-B\-W\-::\-Image@{\-B\-W\-::\-Image}!wait@{wait}}
\index{wait@{wait}!BW::Image@{\-B\-W\-::\-Image}}
\subsubsection[{wait}]{\setlength{\rightskip}{0pt plus 5cm}{\bf u8} {\bf \-B\-W\-::\-Image\-::wait}}}\label{classBW_1_1Image_a32ae4870099d115b58cc4fe482a27a1a}


\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
trunk/bwapi/\-B\-W\-A\-P\-I/\-Source/\-B\-W/\hyperlink{Image_8h}{\-Image.\-h}\item 
trunk/bwapi/\-B\-W\-A\-P\-I/\-Source/\-B\-W/\hyperlink{Image_8cpp}{\-Image.\-cpp}\end{DoxyCompactItemize}
