~ubuntu-branches/ubuntu/lucid/warzone2100/lucid

« back to all changes in this revision

Viewing changes to lib/ivis_common/piedef.h

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Egger, Paul Wise, Christoph Egger
  • Date: 2009-06-29 17:12:52 UTC
  • mfrom: (1.1.11 upstream) (2.1.7 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090629171252-5ddnlfg3zfchrega
Tags: 2.2.1+dfsg1-1
[ Paul Wise ]
* New upstream release (Closes: #534962)
* Adjust the flex build-depends to take account of the conflict
  with all the versions of flex 2.5.34 (LP: #372872)
* Make the -music Recommends more strict, 2.1 music doesn't work
  with 2.2.
* Upstream moved the downloads to sourceforge, update the watch file
* Bump Standards-Version, no changes needed
* Drop use of dh_desktop since it no longer does anything
* Recommend the new warzone2100-video package, version 2.2 or similar
* Mention the warzone2100 crash reports in the -dbg package description

[ Christoph Egger ]
* Replace CC-2.0 graphic from cybersphinx, create a new tarball
* Add myself to uploaders

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
        This file is part of Warzone 2100.
3
3
        Copyright (C) 1999-2004  Eidos Interactive
4
 
        Copyright (C) 2005-2007  Warzone Resurrection Project
 
4
        Copyright (C) 2005-2009  Warzone Resurrection Project
5
5
 
6
6
        Warzone 2100 is free software; you can redistribute it and/or modify
7
7
        it under the terms of the GNU General Public License as published by
40
40
 *      Global Definitions (CONSTANTS)
41
41
 */
42
42
/***************************************************************************/
43
 
#define DEG_360 65536
44
 
#define DEG_1   (DEG_360/360)
45
 
#define DEG(X)  (DEG_1 * (X))
46
 
 
47
 
//! PSX-style float emulation: 12 digit semi-floats stored in an int
48
 
// FIXME!
49
 
#define FP12_SHIFT 12
50
 
#define FP12_MULTIPLIER (1 << FP12_SHIFT)
51
 
 
52
43
#define STRETCHED_Z_SHIFT               10 // stretchs z range for (1000 to 4000) to (8000 to 32000)
53
44
#define MAX_Z                           (32000) // raised to 32000 from 6000 when stretched
54
45
#define MIN_STRETCHED_Z                 256
103
94
 */
104
95
/***************************************************************************/
105
96
extern void pie_Draw3DShape(iIMDShape *shape, int frame, int team, PIELIGHT colour, PIELIGHT specular, int pieFlag, int pieData);
106
 
extern void pie_DrawImage(PIEIMAGE *image, PIERECT *dest);
 
97
extern void pie_DrawImage(const PIEIMAGE *image, const PIERECT *dest);
107
98
 
108
99
void pie_TerrainInit(int sizex, int sizey);
109
100
void pie_TerrainCleanup(void);