Clean indention and make the code a little bit more readable.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1469 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
a9f120adec
commit
5f87829d26
|
@ -24,6 +24,6 @@
|
|||
#define MACROS_H
|
||||
|
||||
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
|
||||
#define MAX(a, b) (((a) < (b)) ? (b) : (a))
|
||||
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
|
||||
|
||||
#endif // MACROS_H
|
||||
|
|
946
src/display3d.c
946
src/display3d.c
File diff suppressed because it is too large
Load Diff
|
@ -130,14 +130,14 @@ MAPTILE *psTile;
|
|||
// -------------------------------------------------------------------------------
|
||||
void environUpdate( void )
|
||||
{
|
||||
UDWORD i,j;
|
||||
UDWORD index;
|
||||
FRACT value,newValue;
|
||||
FRACT increment = 0;
|
||||
FRACT lowest = 0;
|
||||
FRACT highest = 0;
|
||||
UDWORD startX,startY,endX,endY;
|
||||
FRACT fraction;
|
||||
UDWORD i,j;
|
||||
UDWORD index;
|
||||
FRACT value,newValue;
|
||||
FRACT increment = 0;
|
||||
FRACT lowest = 0;
|
||||
FRACT highest = 0;
|
||||
UDWORD startX,startY,endX,endY;
|
||||
FRACT fraction;
|
||||
|
||||
//at the moment this function is getting called between levels and so crashes - quick check here for now
|
||||
if (pEnvironData == NULL)
|
||||
|
|
Loading…
Reference in New Issue