summaryrefslogtreecommitdiff
path: root/src/options/OptionsModel.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2013-03-24 12:24:17 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2013-03-24 12:24:17 (GMT)
commit9b5b85f9b01cbda7ef9a7ec2a15b2a35630a5b9d (patch)
treeac7d040253b459ce102e476cb19ab59e3cfa90d7 /src/options/OptionsModel.h
parent6bf98ccdca39936a3c51367862eed7c49f8786ec (diff)
parentbdc69f31c0be94191015838886bdcc2bc67f1acb (diff)
downloadpowder-9b5b85f9b01cbda7ef9a7ec2a15b2a35630a5b9d.zip
powder-9b5b85f9b01cbda7ef9a7ec2a15b2a35630a5b9d.tar.gz
Merge branch 'reorganisation' of github.com:FacialTurd/The-Powder-Toy
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_ */