This commit is contained in:
mniip 2013-05-11 15:08:32 +04:00
parent c2cdec9e62
commit 4d9b9b17d7
138 changed files with 138 additions and 138 deletions

View File

@ -39,4 +39,4 @@ public:
}
}
virtual ~WindowActivity() {}
};
};

View File

@ -433,4 +433,4 @@ unsigned long update_crc(unsigned long crc, unsigned char *buf, int len)
unsigned long format::CalculateCRC(unsigned char * data, int len)
{
return update_crc(0xffffffffL, data, len) ^ 0xffffffffL;
}
}

View File

@ -35,4 +35,4 @@ namespace format
std::vector<char> VideoBufferToPTI(const VideoBuffer & vidBuf);
VideoBuffer * PTIToVideoBuffer(std::vector<char> & data);
unsigned long CalculateCRC(unsigned char * data, int length);
}
}

View File

@ -145,4 +145,4 @@ private:
} // End namespace
//#include "reader.inl"
//#include "reader.inl"

View File

@ -75,4 +75,4 @@ private:
} // End namespace
//#include "writer.inl"
//#include "writer.inl"

View File

@ -1984,4 +1984,4 @@ int luatpt_screenshot(lua_State* l)
Client::Ref().WriteFile(data, filename.str());
return 0;
}
#endif
#endif

View File

@ -190,4 +190,4 @@ int luaopen_bit(lua_State *L)
#endif
return 1;
}
#endif
#endif

View File

@ -113,4 +113,4 @@ void LuaButton::triggerAction()
LuaButton::~LuaButton()
{
}
#endif
#endif

View File

@ -30,4 +30,4 @@ public:
LuaButton(lua_State * l);
~LuaButton();
};
};

View File

@ -111,4 +111,4 @@ void LuaCheckbox::triggerAction()
LuaCheckbox::~LuaCheckbox()
{
}
#endif
#endif

View File

@ -30,4 +30,4 @@ public:
LuaCheckbox(lua_State * l);
~LuaCheckbox();
};
};

View File

@ -81,4 +81,4 @@ LuaComponent::~LuaComponent()
component->GetParentWindow()->RemoveComponent(component);
delete component;
}
#endif
#endif

View File

@ -30,4 +30,4 @@ public:
ui::Component * GetComponent() { return component; }
LuaComponent(lua_State * l);
~LuaComponent();
};
};

View File

@ -54,4 +54,4 @@ int LuaLabel::text(lua_State * l)
LuaLabel::~LuaLabel()
{
}
#endif
#endif

View File

@ -26,4 +26,4 @@ public:
LuaLabel(lua_State * l);
~LuaLabel();
};
};

View File

@ -157,4 +157,4 @@ private:
lua_pushfstring(L, "%s (%s)", T::className, buff);
return 1;
}
};
};

View File

@ -70,4 +70,4 @@ int LuaProgressBar::status(lua_State * l)
LuaProgressBar::~LuaProgressBar()
{
}
#endif
#endif

View File

@ -27,4 +27,4 @@ public:
LuaProgressBar(lua_State * l);
~LuaProgressBar();
};
};

View File

@ -2202,4 +2202,4 @@ std::string LuaScriptInterface::FormatCommand(std::string command)
LuaScriptInterface::~LuaScriptInterface() {
delete legacy;
}
#endif
#endif

View File

@ -111,4 +111,4 @@ void LuaSlider::triggerOnValueChanged()
LuaSlider::~LuaSlider()
{
}
#endif
#endif

View File

@ -30,4 +30,4 @@ public:
LuaSlider(lua_State * l);
~LuaSlider();
};
};

View File

@ -114,4 +114,4 @@ int LuaTextbox::text(lua_State * l)
LuaTextbox::~LuaTextbox()
{
}
#endif
#endif

View File

@ -30,4 +30,4 @@ public:
LuaTextbox(lua_State * l);
~LuaTextbox();
};
};

View File

@ -592,4 +592,4 @@ LuaWindow::~LuaWindow()
ui::Engine::Ref().CloseWindow();
delete window;
}
#endif
#endif

View File

@ -79,4 +79,4 @@ public:
ui::Window * GetWindow() { return window; }
LuaWindow(lua_State * l);
~LuaWindow();
};
};

View File

@ -134,4 +134,4 @@ void APIRequest::Cleanup()
Parser->Cleanup(ResultObject);
ResultObject = NULL;
}
}
}

View File

@ -13,4 +13,4 @@ public:
virtual ~APIResultParser() { }
};
#endif
#endif

View File

@ -147,4 +147,4 @@ void ImageRequest::Cleanup()
delete ((VideoBuffer*)ResultObject);
ResultObject = NULL;
}
}
}

View File

@ -11,4 +11,4 @@ public:
virtual RequestBroker::ProcessResponse Process(RequestBroker & rb);
virtual ~ImageRequest();
virtual void Cleanup();
};
};

View File

@ -309,4 +309,4 @@ void RequestBroker::Request::Cleanup()
(*iter)->Cleanup();
iter++;
}
}
}

View File

@ -75,4 +75,4 @@ public:
virtual ~Request();
virtual void Cleanup();
};
};
};

View File

@ -50,4 +50,4 @@ void ThumbRenderRequest::Cleanup()
delete ((VideoBuffer*)ResultObject);
ResultObject = NULL;
}
}
}

View File

@ -6,4 +6,4 @@ class DebugInfo
{
public:
virtual void Draw(ui::Point position) {}
};
};

View File

@ -81,4 +81,4 @@ void ElementPopulationDebug::Draw(ui::Point position)
ElementPopulationDebug::~ElementPopulationDebug()
{
}
}

View File

@ -11,4 +11,4 @@ public:
ElementPopulationDebug(Simulation * sim);
virtual void Draw(ui::Point position);
virtual ~ElementPopulationDebug();
};
};

View File

@ -8,4 +8,4 @@ void ErrorUI(std::string title, std::string message) {}
void InformationUI(std::string title, std::string message) {}
std::string MessagePromptUI(std::string title, std::string message, std::string text, std::string placeholder) {}
std::string MessagePromptUI(std::string title, std::string message, std::string text, std::string placeholder) {}

View File

@ -333,4 +333,4 @@ FileBrowserActivity::~FileBrowserActivity()
{
if(callback)
delete callback;
}
}

View File

@ -62,4 +62,4 @@ public:
virtual void NotifyError(Task * task);
virtual void NotifyProgress(Task * task);
virtual void NotifyStatus(Task * task);
};
};

View File

@ -232,4 +232,4 @@ void PropertyWindow::OnKeyPress(int key, Uint16 character, bool shift, bool ctrl
void PropertyTool::Click(Simulation * sim, Brush * brush, ui::Point position)
{
new PropertyWindow(this, sim, position);
}
}

View File

@ -16,4 +16,4 @@ public:
ColourMode(colourMode)
{}
};
#endif
#endif

View File

@ -212,4 +212,4 @@ void Element_TESC_Tool::DrawFill(Simulation * sim, Brush * brush, ui::Point posi
void PlopTool::Click(Simulation * sim, Brush * brush, ui::Point position)
{
sim->create_part(-1, position.X, position.Y, toolID);
}
}

View File

@ -96,4 +96,4 @@ void ContextMenu::OnDraw()
Graphics * g = ui::Engine::Ref().g;
g->fillrect(Position.X, Position.Y, Size.X, Size.Y, 100, 100, 100, 255);
g->drawrect(Position.X, Position.Y, Size.X, Size.Y, Appearance.BackgroundInactive.Red, Appearance.BackgroundInactive.Green, Appearance.BackgroundInactive.Blue, Appearance.BackgroundInactive.Alpha);
}
}

View File

@ -37,4 +37,4 @@ public:
};
}
#endif
#endif

View File

@ -27,4 +27,4 @@ public:
LuaProgressBar(lua_State * l);
~LuaProgressBar();
};
};

View File

@ -78,4 +78,4 @@ void ProgressBar::Tick(float dt)
intermediatePos += 1.0f*dt;
if(intermediatePos>100.0f)
intermediatePos = 0.0f;
}
}

View File

@ -170,4 +170,4 @@ void ScrollPanel::XTick(float dt)
scrollBarWidth++;
else if(!mouseInside && scrollBarWidth > 0 && !scrollbarSelected)
scrollBarWidth--;
}
}

View File

@ -29,4 +29,4 @@ namespace ui
virtual void XOnMouseUp(int x, int y, unsigned int button);
virtual void XOnMouseMoved(int localx, int localy, int dx, int dy);
};
}
}

View File

@ -142,4 +142,4 @@ LocalSaveActivity::~LocalSaveActivity()
delete thumbnail;
if(callback)
delete callback;
}
}

View File

@ -36,4 +36,4 @@ public:
virtual void OnDraw();
virtual void OnResponseReady(void * imagePtr);
virtual ~LocalSaveActivity();
};
};

View File

@ -49,4 +49,4 @@ protected:
friend class CancelAction;
friend class SaveAction;
friend class RulesAction;
};
};

View File

@ -515,4 +515,4 @@ namespace pim
}
}
}
}

View File

@ -175,4 +175,4 @@ namespace pim
void Return();
};
}
}
}

View File

@ -117,4 +117,4 @@ namespace pim
return word;
}
};
}
}

View File

@ -9,4 +9,4 @@ namespace pim
#undef OPDEF
};
};
}
}

View File

@ -650,4 +650,4 @@ namespace pim
throw ParserExpectException(token, symbol);
}
}
}
}

View File

@ -76,4 +76,4 @@ namespace pim
std::vector<unsigned char> Compile();
};
}
}
}

View File

@ -196,4 +196,4 @@ namespace pim
cChar = 0;
}
}
}
}

View File

@ -19,4 +19,4 @@ namespace pim
Token NextToken();
};
}
}
}

View File

@ -48,4 +48,4 @@ namespace pim
"INVALID SYMBOL"
};
}
}
}

View File

@ -80,4 +80,4 @@ namespace pim
}
};
}
}
}

View File

@ -32,4 +32,4 @@ extern "C" {
#ifdef __cplusplus
}
#endif
#endif
#endif

View File

@ -1221,4 +1221,4 @@ char* Resampler::get_filter_name(int filter_num)
return g_filters[filter_num].name;
}
#endif
#endif

View File

@ -26,4 +26,4 @@ public:
SimulationSample() : PositionX(0), PositionY(0), ParticleID(0), particle(), AirPressure(0), AirVelocityX(0), AirVelocityY(0), WallType(0), Gravity(0), GravityVelocityX(0), GravityVelocityY(0), AirTemperature(0), NumParts(0) {}
};
#endif
#endif

View File

@ -57,4 +57,4 @@ public:
{
}
};
};

View File

@ -51,4 +51,4 @@ typedef struct part_type part_type;*/
};
typedef struct part_transition part_transition;*/
#endif
#endif

View File

@ -46,4 +46,4 @@ Element_116::Element_116()
}
Element_116::~Element_116() {}
Element_116::~Element_116() {}

View File

@ -46,4 +46,4 @@ Element_146::Element_146()
}
Element_146::~Element_146() {}
Element_146::~Element_146() {}

View File

@ -46,4 +46,4 @@ Element_BGLA::Element_BGLA()
}
Element_BGLA::~Element_BGLA() {}
Element_BGLA::~Element_BGLA() {}

View File

@ -46,4 +46,4 @@ Element_BHOL::Element_BHOL()
}
Element_BHOL::~Element_BHOL() {}
Element_BHOL::~Element_BHOL() {}

View File

@ -106,4 +106,4 @@ int Element_BRAY::graphics(GRAPHICS_FUNC_ARGS)
}
Element_BRAY::~Element_BRAY() {}
Element_BRAY::~Element_BRAY() {}

View File

@ -62,4 +62,4 @@ int Element_BRCK::graphics(GRAPHICS_FUNC_ARGS)
return 0;
}
Element_BRCK::~Element_BRCK() {}
Element_BRCK::~Element_BRCK() {}

View File

@ -47,4 +47,4 @@ Element_BVBR::Element_BVBR()
}
Element_BVBR::~Element_BVBR() {}
Element_BVBR::~Element_BVBR() {}

View File

@ -83,4 +83,4 @@ int Element_CAUS::update(UPDATE_FUNC_ARGS)
}
Element_CAUS::~Element_CAUS() {}
Element_CAUS::~Element_CAUS() {}

View File

@ -72,4 +72,4 @@ int Element_CFLM::graphics(GRAPHICS_FUNC_ARGS)
}
Element_CFLM::~Element_CFLM() {}
Element_CFLM::~Element_CFLM() {}

View File

@ -46,4 +46,4 @@ Element_CNCT::Element_CNCT()
}
Element_CNCT::~Element_CNCT() {}
Element_CNCT::~Element_CNCT() {}

View File

@ -46,4 +46,4 @@ Element_DESL::Element_DESL()
}
Element_DESL::~Element_DESL() {}
Element_DESL::~Element_DESL() {}

View File

@ -46,4 +46,4 @@ Element_DMND::Element_DMND()
}
Element_DMND::~Element_DMND() {}
Element_DMND::~Element_DMND() {}

View File

@ -46,4 +46,4 @@ Element_DRIC::Element_DRIC()
}
Element_DRIC::~Element_DRIC() {}
Element_DRIC::~Element_DRIC() {}

View File

@ -46,4 +46,4 @@ Element_DUST::Element_DUST()
Graphics = NULL;
}
Element_DUST::~Element_DUST() {}
Element_DUST::~Element_DUST() {}

View File

@ -46,4 +46,4 @@ Element_DYST::Element_DYST()
}
Element_DYST::~Element_DYST() {}
Element_DYST::~Element_DYST() {}

View File

@ -46,4 +46,4 @@ Element_ETRD::Element_ETRD()
}
Element_ETRD::~Element_ETRD() {}
Element_ETRD::~Element_ETRD() {}

View File

@ -57,4 +57,4 @@ int Element_FRME::graphics(GRAPHICS_FUNC_ARGS)
return 0;
}
Element_FRME::~Element_FRME() {}
Element_FRME::~Element_FRME() {}

View File

@ -59,4 +59,4 @@ int Element_GLAS::update(UPDATE_FUNC_ARGS)
}
Element_GLAS::~Element_GLAS() {}
Element_GLAS::~Element_GLAS() {}

View File

@ -61,4 +61,4 @@ int Element_GOO::update(UPDATE_FUNC_ARGS)
}
Element_GOO::~Element_GOO() {}
Element_GOO::~Element_GOO() {}

View File

@ -46,4 +46,4 @@ Element_GUNP::Element_GUNP()
}
Element_GUNP::~Element_GUNP() {}
Element_GUNP::~Element_GUNP() {}

View File

@ -46,4 +46,4 @@ Element_INSL::Element_INSL()
}
Element_INSL::~Element_INSL() {}
Element_INSL::~Element_INSL() {}

View File

@ -46,4 +46,4 @@ Element_INST::Element_INST()
}
Element_INST::~Element_INST() {}
Element_INST::~Element_INST() {}

View File

@ -46,4 +46,4 @@ Element_INWR::Element_INWR()
}
Element_INWR::~Element_INWR() {}
Element_INWR::~Element_INWR() {}

View File

@ -128,4 +128,4 @@ int Element_LIFE::graphics(GRAPHICS_FUNC_ARGS)
}
Element_LIFE::~Element_LIFE() {}
Element_LIFE::~Element_LIFE() {}

View File

@ -46,4 +46,4 @@ Element_LNTG::Element_LNTG()
}
Element_LNTG::~Element_LNTG() {}
Element_LNTG::~Element_LNTG() {}

View File

@ -46,4 +46,4 @@ Element_LO2::Element_LO2()
}
Element_LO2::~Element_LO2() {}
Element_LO2::~Element_LO2() {}

View File

@ -61,4 +61,4 @@ int Element_LOLZ::RuleTable[9][9] =
//#TPT-Directive ElementHeader Element_LOLZ static int lolz[XRES/9][YRES/9];
int Element_LOLZ::lolz[XRES/9][YRES/9];
Element_LOLZ::~Element_LOLZ() {}
Element_LOLZ::~Element_LOLZ() {}

View File

@ -61,4 +61,4 @@ int Element_LOVE::RuleTable[9][9] =
//#TPT-Directive ElementHeader Element_LOVE static int love[XRES/9][YRES/9];
int Element_LOVE::love[XRES/9][YRES/9];
Element_LOVE::~Element_LOVE() {}
Element_LOVE::~Element_LOVE() {}

View File

@ -46,4 +46,4 @@ Element_LRBD::Element_LRBD()
}
Element_LRBD::~Element_LRBD() {}
Element_LRBD::~Element_LRBD() {}

View File

@ -46,4 +46,4 @@ Element_METL::Element_METL()
}
Element_METL::~Element_METL() {}
Element_METL::~Element_METL() {}

View File

@ -54,4 +54,4 @@ int Element_MORT::update(UPDATE_FUNC_ARGS)
}
Element_MORT::~Element_MORT() {}
Element_MORT::~Element_MORT() {}

View File

@ -46,4 +46,4 @@ Element_MWAX::Element_MWAX()
}
Element_MWAX::~Element_MWAX() {}
Element_MWAX::~Element_MWAX() {}

View File

@ -46,4 +46,4 @@ Element_NICE::Element_NICE()
}
Element_NICE::~Element_NICE() {}
Element_NICE::~Element_NICE() {}

View File

@ -46,4 +46,4 @@ Element_NITR::Element_NITR()
}
Element_NITR::~Element_NITR() {}
Element_NITR::~Element_NITR() {}

View File

@ -63,4 +63,4 @@ VideoBuffer * Element_NONE::iconGen(int wallID, int width, int height)
}
Element_NONE::~Element_NONE() {}
Element_NONE::~Element_NONE() {}

Some files were not shown because too many files have changed in this diff Show More