fix some build problems

issue1247
Tobias Zwick 2014-10-12 02:17:05 +02:00
parent 4257f871c6
commit d859789d96
3 changed files with 6 additions and 6 deletions

View File

@ -7,6 +7,8 @@
#include "C4Landscape.h"
#include "C4DrawGL.h"
#include "float.h"
// Gives the point where the line through (x1,y1) and (x2,y2) crosses through the line
// through (x3,y3) and (x4,y4)
bool find_cross(float x1, float y1, float x2, float y2,

View File

@ -1,11 +1,9 @@
#ifndef C4FOWLIGHTSECTION_H
#define C4FOWLIGHTSECTION_H
#include "C4Rect.h"
#include "C4Surface.h"
#include "C4FoWLight.h"
class C4FoWLight;
class C4FoWRegion;
class C4FoWRay;
@ -40,7 +38,7 @@ public:
/** Update all light rays within the given rectangle */
void Update(C4Rect r);
void Render(C4FoWRegion *pRegion, const C4TargetFacet *pOnScreen = NULL);
void Render(C4FoWRegion *pRegion, const class C4TargetFacet *pOnScreen = NULL);
/** Shorten all light rays to the given reach.
Called when the size of the light has decreased to the given value */

View File

@ -1,5 +1,5 @@
#ifndef C4FOW_H
#define C4FOW_H
#ifndef C4FOWRAY_H
#define C4FOWRAY_H
#include "StdBuf.h"