Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 262 vs 264 for /trunk/Source Code/Scenes/MainScene/Headers/MainScene.h

Diff revisions: vs.
  @@ -34,19 +34,19 @@
34 34 _waterGraphNode(nullptr),
35 35 _water(nullptr),
36 36 _beep(nullptr),
37 - _freeflyCamera(false){}
37 + _freeflyCamera(false),
38 + _updateLights(true)
39 + {
40 + }
38 41
39 42 /*General Scene Requirement*/
40 - void preRender();
41 - void postRender();
42 43 bool load(const std::string& name, CameraManager* const cameraMgr, GUI* const gui);
43 44 bool unload();
44 45 bool loadResources(bool continueOnErrors);
45 46
46 47 private:
47 48 /*Specific Scene Requirement*/
48 - void renderEnvironment(bool waterReflection);
49 - bool updateLights();
49 + void updateLights();
50 50 void processInput(const U64 deltaTime);
51 51 void processTasks(const U64 deltaTime);
52 52 void processGUI(const U64 deltaTime);
  @@ -61,6 +61,7 @@
61 61 vec4<F32> _sunvector,_sunColor;
62 62 F32 _sun_cosy;
63 63 bool _freeflyCamera;
64 + bool _updateLights;
64 65 AudioDescriptor* _beep;
65 66 vectorImpl<Terrain*> _visibleTerrains;
66 67 WaterPlane* _water;