Fix undefined function colobot-lint issues
parent
94b3f82988
commit
61a3ba2800
|
@ -224,7 +224,6 @@ public:
|
|||
bool GetRetVar(bool bRet);
|
||||
long GetVal();
|
||||
|
||||
void SetStartError(int pos);
|
||||
void SetError(int n, CBotToken* token = nullptr);
|
||||
void SetPosError(CBotToken* token);
|
||||
void ResetError(int n, int start, int end);
|
||||
|
@ -985,8 +984,8 @@ public:
|
|||
static
|
||||
CBotInstr* CompileBlkOrInst(CBotToken* &p, CBotCStack* pStack, bool bLocal = false);
|
||||
private:
|
||||
CBotBlock();
|
||||
CBotBlock(const CBotBlock &);
|
||||
CBotBlock() = delete;
|
||||
CBotBlock(const CBotBlock &) = delete;
|
||||
};
|
||||
|
||||
|
||||
|
@ -1071,7 +1070,6 @@ public:
|
|||
bool Execute(CBotStack* &pj) override;
|
||||
void RestoreState(CBotStack* &pj, bool bMain) override;
|
||||
bool ExecuteVar(CBotVar* &pVar, CBotStack* &pile, CBotToken* prevToken, bool bStep);
|
||||
bool Execute2Var(CBotVar* &pVar, CBotStack* &pj, CBotToken* prevToken, bool bStep);
|
||||
void RestoreStateVar(CBotStack* &pj, bool bMain) override;
|
||||
};
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
|
||||
#include <sys/time.h>
|
||||
|
||||
//@colobot-lint-exclude UndefinedFunctionRule
|
||||
|
||||
struct SystemTimeStamp
|
||||
{
|
||||
|
@ -50,3 +51,4 @@ private:
|
|||
bool m_zenityAvailable = false;
|
||||
};
|
||||
|
||||
//@end-colobot-lint-exclude
|
||||
|
|
|
@ -25,6 +25,8 @@
|
|||
#include "app/system.h"
|
||||
#include "app/system_other.h"
|
||||
|
||||
//@colobot-lint-exclude UndefinedFunctionRule
|
||||
|
||||
class CSystemUtilsMacOSX : public CSystemUtilsOther
|
||||
{
|
||||
public:
|
||||
|
@ -41,3 +43,4 @@ private:
|
|||
std::string m_dataPath;
|
||||
};
|
||||
|
||||
//@end-colobot-lint-exclude
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
|
||||
#include <iostream>
|
||||
|
||||
//@colobot-lint-exclude UndefinedFunctionRule
|
||||
|
||||
struct SystemTimeStamp
|
||||
{
|
||||
|
@ -51,3 +52,4 @@ public:
|
|||
void Usleep(int usec) override;
|
||||
};
|
||||
|
||||
//@end-colobot-lint-exclude
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
|
||||
#include "app/system.h"
|
||||
|
||||
//@colobot-lint-exclude UndefinedFunctionRule
|
||||
|
||||
struct SystemTimeStamp
|
||||
{
|
||||
|
@ -52,3 +53,4 @@ protected:
|
|||
long long m_counterFrequency = 0;
|
||||
};
|
||||
|
||||
//@end-colobot-lint-exclude
|
||||
|
|
|
@ -69,7 +69,7 @@ public:
|
|||
#endif
|
||||
|
||||
private:
|
||||
CSingleton& operator=(const CSingleton<T> &);
|
||||
CSingleton(const CSingleton<T> &);
|
||||
CSingleton& operator=(const CSingleton<T> &) = delete;
|
||||
CSingleton(const CSingleton<T> &) = delete;
|
||||
};
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
#include <SDL_thread.h>
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
/**
|
||||
* \class CResourceOwningThread
|
||||
|
|
|
@ -75,7 +75,6 @@ public:
|
|||
CWater(CEngine* engine);
|
||||
virtual ~CWater();
|
||||
|
||||
void SetDevice(CDevice* device);
|
||||
bool EventProcess(const Event &event);
|
||||
//! Removes all the water
|
||||
void Flush();
|
||||
|
|
|
@ -106,7 +106,6 @@ protected:
|
|||
Error BeamExplore(const Math::Vector &prevPos, const Math::Vector &curPos, const Math::Vector &goalPos, float goalRadius, float angle, int nbDiv, float step, int i, int nbIter);
|
||||
Math::Vector BeamPoint(const Math::Vector &startPoint, const Math::Vector &goalPoint, float angle, float step);
|
||||
|
||||
void BitmapDebug(const Math::Vector &min, const Math::Vector &max, const Math::Vector &start, const Math::Vector &goal);
|
||||
bool BitmapTestLine(const Math::Vector &start, const Math::Vector &goal, float stepAngle, bool bSecond);
|
||||
void BitmapObject();
|
||||
void BitmapTerrain(const Math::Vector &min, const Math::Vector &max);
|
||||
|
|
|
@ -125,7 +125,6 @@ private:
|
|||
static bool rMove(CBotVar* var, CBotVar* result, int& exception, void* user);
|
||||
static bool rTurn(CBotVar* var, CBotVar* result, int& exception, void* user);
|
||||
static bool rGoto(CBotVar* var, CBotVar* result, int& exception, void* user);
|
||||
static bool rFind(CBotVar* var, CBotVar* result, int& exception, void* user);
|
||||
static bool rGrab(CBotVar* var, CBotVar* result, int& exception, void* user);
|
||||
static bool rDrop(CBotVar* var, CBotVar* result, int& exception, void* user);
|
||||
static bool rSniff(CBotVar* var, CBotVar* result, int& exception, void* user);
|
||||
|
|
|
@ -58,9 +58,6 @@ public:
|
|||
void SetToy(bool bToy);
|
||||
void SetFixParam(float zoom, float ox, float oy, float angle, int mode, bool bDebug);
|
||||
|
||||
protected:
|
||||
void CenterMap();
|
||||
|
||||
protected:
|
||||
CEventQueue* m_event;
|
||||
Gfx::CEngine* m_engine;
|
||||
|
|
|
@ -64,7 +64,6 @@ class CMainUserInterface
|
|||
public:
|
||||
CMainUserInterface();
|
||||
~CMainUserInterface();
|
||||
void Create();
|
||||
|
||||
CMainDialog* GetDialog();
|
||||
|
||||
|
|
Loading…
Reference in New Issue