~ubuntu-branches/debian/squeeze/openttd/squeeze

« back to all changes in this revision

Viewing changes to src/blitter/8bpp_optimized.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Jordi Mallach, Matthijs Kooijman, Jordi Mallach
  • Date: 2009-04-15 18:22:10 UTC
  • mfrom: (1.1.6 upstream) (2.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090415182210-22ktb8kdbp2tf3bm
[ Matthijs Kooijman ]
* New upstream release.
* Remove Debian specific desktop file, upstream provides one now. 
* Add debian/watch file.

[ Jordi Mallach ]
* Bump Standards-Version to 3.8.1, with no changes required.
* Move to debhelper compat 7. Bump Build-Depends accordingly.
* Use dh_prep.
* Add "set -e" to config script.
* Remove a few extra doc files that get installed by upstream Makefile.
* Add more complete copyright information.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: 8bpp_optimized.hpp 10245 2007-06-21 13:56:59Z truelight $ */
 
1
/* $Id: 8bpp_optimized.hpp 13551 2008-06-17 17:25:22Z smatz $ */
2
2
 
3
 
/** @file 8bpp_optimized.hpp */
 
3
/** @file 8bpp_optimized.hpp An optimized 8 bpp blitter. */
4
4
 
5
5
#ifndef BLITTER_8BPP_OPTIMIZED_HPP
6
6
#define BLITTER_8BPP_OPTIMIZED_HPP
10
10
 
11
11
class Blitter_8bppOptimized : public Blitter_8bppBase {
12
12
public:
 
13
        struct SpriteData {
 
14
                uint32 offset[ZOOM_LVL_COUNT]; ///< offsets (from .data) to streams for different zoom levels
 
15
                byte data[VARARRAY_SIZE];      ///< data, all zoomlevels
 
16
        };
 
17
 
13
18
        /* virtual */ void Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomLevel zoom);
14
19
        /* virtual */ Sprite *Encode(SpriteLoader::Sprite *sprite, Blitter::AllocatorProc *allocator);
15
20