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-861f7616d084
master
Dennis Schridde 2007-04-15 20:45:09 +00:00
parent a9f120adec
commit 5f87829d26
3 changed files with 483 additions and 481 deletions

View File

@ -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

File diff suppressed because it is too large Load Diff

View File

@ -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)