summaryrefslogtreecommitdiff
path: root/src/options/OptionsModel.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2013-03-22 14:14:17 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2013-03-22 14:14:17 (GMT)
commit9abe51526cac2634af0541c3de69834dd30e9f78 (patch)
tree6ae4deadfe00a83094b9d288d8c11d8ce823577a /src/options/OptionsModel.h
parent2c311b9a36a88fadd96f3d39acb1ab2590835d81 (diff)
downloadpowder-9abe51526cac2634af0541c3de69834dd30e9f78.zip
powder-9abe51526cac2634af0541c3de69834dd30e9f78.tar.gz
Move all GUI source files into gui/
Diffstat (limited to 'src/options/OptionsModel.h')
-rw-r--r--src/options/OptionsModel.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/src/options/OptionsModel.h b/src/options/OptionsModel.h
deleted file mode 100644
index 1fdf372..0000000
--- a/src/options/OptionsModel.h
+++ /dev/null
@@ -1,43 +0,0 @@
-#ifndef OPTIONSMODEL_H_
-#define OPTIONSMODEL_H_
-#include <vector>
-#include "OptionsView.h"
-#include "simulation/Simulation.h"
-
-class GameModel;
-class Simulation;
-class OptionsView;
-class OptionsModel {
- GameModel * gModel;
- Simulation * sim;
- std::vector<OptionsView*> observers;
- void notifySettingsChanged();
-public:
- OptionsModel(GameModel * gModel);
- void AddObserver(OptionsView* view);
- bool GetHeatSimulation();
- void SetHeatSimulation(bool state);
- bool GetAmbientHeatSimulation();
- void SetAmbientHeatSimulation(bool state);
- bool GetNewtonianGravity();
- void SetNewtonianGravity(bool state);
- bool GetWaterEqualisation();
- void SetWaterEqualisation(bool state);
- bool GetShowAvatars();
- void SetShowAvatars(bool state);
- int GetAirMode();
- void SetAirMode(int airMode);
- int GetEdgeMode();
- void SetEdgeMode(int edgeMode);
- int GetGravityMode();
- void SetGravityMode(int gravityMode);
- bool GetFullscreen();
- void SetFullscreen(bool fullscreen);
- bool GetFastQuit();
- void SetFastQuit(bool fastquit);
- bool GetScale();
- void SetScale(bool scale);
- virtual ~OptionsModel();
-};
-
-#endif /* OPTIONSMODEL_H_ */