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

« back to all changes in this revision

Viewing changes to src/core/bitmath_func.cpp

  • 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: bitmath_func.cpp 11616 2007-12-10 22:26:24Z rubidium $ */
 
1
/* $Id: bitmath_func.cpp 15299 2009-01-31 20:16:06Z smatz $ */
2
2
 
3
 
/** @file bitmath_func.cpp */
 
3
/** @file bitmath_func.cpp Functions related to bit mathematics. */
4
4
 
5
5
#include "../stdafx.h"
6
6
#include "bitmath_func.hpp"
7
7
 
8
8
const uint8 _ffb_64[64] = {
9
 
 0,  0,  1,  0,  2,  0,  1,  0,
10
 
 3,  0,  1,  0,  2,  0,  1,  0,
11
 
 4,  0,  1,  0,  2,  0,  1,  0,
12
 
 3,  0,  1,  0,  2,  0,  1,  0,
13
 
 5,  0,  1,  0,  2,  0,  1,  0,
14
 
 3,  0,  1,  0,  2,  0,  1,  0,
15
 
 4,  0,  1,  0,  2,  0,  1,  0,
16
 
 3,  0,  1,  0,  2,  0,  1,  0,
 
9
        0,  0,  1,  0,  2,  0,  1,  0,
 
10
        3,  0,  1,  0,  2,  0,  1,  0,
 
11
        4,  0,  1,  0,  2,  0,  1,  0,
 
12
        3,  0,  1,  0,  2,  0,  1,  0,
 
13
        5,  0,  1,  0,  2,  0,  1,  0,
 
14
        3,  0,  1,  0,  2,  0,  1,  0,
 
15
        4,  0,  1,  0,  2,  0,  1,  0,
 
16
        3,  0,  1,  0,  2,  0,  1,  0,
17
17
};
18
18
 
19
19
/**