yeeted std
This commit is contained in:
parent
a1b3cf4ae4
commit
62257af3bf
@ -14,15 +14,13 @@
|
|||||||
#include<string>
|
#include<string>
|
||||||
#include<stdexcept>
|
#include<stdexcept>
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* @class config_error
|
* @class config_error
|
||||||
* @brief Simple clone of runtime_error to help us handle errors in config management.
|
* @brief Simple clone of runtime_error to help us handle errors in config management.
|
||||||
*/
|
*/
|
||||||
class config_error : public runtime_error {
|
class config_error : public std::runtime_error {
|
||||||
public:
|
public:
|
||||||
explicit config_error(const string& msg);
|
explicit config_error(const std::string& msg);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -25,8 +25,6 @@
|
|||||||
#include "god.h"
|
#include "god.h"
|
||||||
#include "invadersGrid.h"
|
#include "invadersGrid.h"
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* @class Game
|
* @class Game
|
||||||
* @brief Main game class
|
* @brief Main game class
|
||||||
|
|||||||
@ -15,6 +15,8 @@
|
|||||||
#include<vector>
|
#include<vector>
|
||||||
#include<string>
|
#include<string>
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* @struct Menu
|
* @struct Menu
|
||||||
* @brief menu stuct
|
* @brief menu stuct
|
||||||
|
|||||||
@ -27,8 +27,6 @@
|
|||||||
#include "scoresManager.h"
|
#include "scoresManager.h"
|
||||||
#include "mySprite.h"
|
#include "mySprite.h"
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
typedef nsGui::GlutFont::GlutFonts Font;
|
typedef nsGui::GlutFont::GlutFonts Font;
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|||||||
@ -33,8 +33,6 @@
|
|||||||
#define DEBUG_INSTR(X)
|
#define DEBUG_INSTR(X)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
using nsGraphics::RGBAcolor;
|
using nsGraphics::RGBAcolor;
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
@ -50,7 +48,7 @@ enum class WinValue{
|
|||||||
|
|
||||||
typedef nsGraphics::Vec2D Position;
|
typedef nsGraphics::Vec2D Position;
|
||||||
typedef unsigned playerID;
|
typedef unsigned playerID;
|
||||||
typedef future<void> Task;
|
typedef std::future<void> Task;
|
||||||
#define PLAYER1 0
|
#define PLAYER1 0
|
||||||
#define PLAYER2 1
|
#define PLAYER2 1
|
||||||
|
|
||||||
|
|||||||
@ -10,6 +10,8 @@
|
|||||||
|
|
||||||
#include "errors.h"
|
#include "errors.h"
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
config_error::config_error(const string& msg) : runtime_error(msg) {
|
config_error::config_error(const string& msg) : runtime_error(msg) {
|
||||||
|
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user