12 #ifndef BLITTER_32BPP_SSE2_HPP 13 #define BLITTER_32BPP_SSE2_HPP 21 #ifndef FULL_ANIMATION 22 #define FULL_ANIMATION 0 25 #include "32bpp_sse_type.h" 28 class Blitter_32bppSSE_Base {
30 virtual ~Blitter_32bppSSE_Base() {}
36 assert_compile(
sizeof(MapValue) == 2);
59 SF_TRANSLUCENT = 1 << 1,
68 uint16 sprite_line_size;
86 template <BlitterMode mode, Blitter_32bppSSE_Base::ReadMode read_mode, Blitter_32bppSSE_Base::BlockType bt_last,
bool translucent>
90 return Blitter_32bppSSE_Base::Encode(sprite, allocator);
93 const char *GetName() {
return "32bpp-sse2"; }
100 Blitter *CreateInstance() {
return new Blitter_32bppSSE2(); }
DECLARE_ENUM_AS_BIT_SET(GenderEthnicity) enum CompanyManagerFaceVariable
Bitgroups of the CompanyManagerFace variable.
Data structure describing a sprite.
How all blitters should look like.
Parameters related to blitting.
Structure for passing information from the sprite loader to the blitter.
The most trivial 32 bpp blitter (without palette animation).
ZoomLevel
All zoom levels we know.
bool HasCPUIDFlag(uint type, uint index, uint bit)
Check whether the current CPU has the given flag.
BlitterMode
The modes of blitting we can do.
The base factory, keeping track of all blitters.