D:
This commit is contained in:
parent
c2cdec9e62
commit
4d9b9b17d7
@ -39,4 +39,4 @@ public:
|
||||
}
|
||||
}
|
||||
virtual ~WindowActivity() {}
|
||||
};
|
||||
};
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -145,4 +145,4 @@ private:
|
||||
} // End namespace
|
||||
|
||||
|
||||
//#include "reader.inl"
|
||||
//#include "reader.inl"
|
||||
|
@ -75,4 +75,4 @@ private:
|
||||
} // End namespace
|
||||
|
||||
|
||||
//#include "writer.inl"
|
||||
//#include "writer.inl"
|
||||
|
@ -1984,4 +1984,4 @@ int luatpt_screenshot(lua_State* l)
|
||||
Client::Ref().WriteFile(data, filename.str());
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
@ -190,4 +190,4 @@ int luaopen_bit(lua_State *L)
|
||||
#endif
|
||||
return 1;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
@ -113,4 +113,4 @@ void LuaButton::triggerAction()
|
||||
LuaButton::~LuaButton()
|
||||
{
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
@ -30,4 +30,4 @@ public:
|
||||
|
||||
LuaButton(lua_State * l);
|
||||
~LuaButton();
|
||||
};
|
||||
};
|
||||
|
@ -111,4 +111,4 @@ void LuaCheckbox::triggerAction()
|
||||
LuaCheckbox::~LuaCheckbox()
|
||||
{
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
@ -30,4 +30,4 @@ public:
|
||||
|
||||
LuaCheckbox(lua_State * l);
|
||||
~LuaCheckbox();
|
||||
};
|
||||
};
|
||||
|
@ -81,4 +81,4 @@ LuaComponent::~LuaComponent()
|
||||
component->GetParentWindow()->RemoveComponent(component);
|
||||
delete component;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
@ -30,4 +30,4 @@ public:
|
||||
ui::Component * GetComponent() { return component; }
|
||||
LuaComponent(lua_State * l);
|
||||
~LuaComponent();
|
||||
};
|
||||
};
|
||||
|
@ -54,4 +54,4 @@ int LuaLabel::text(lua_State * l)
|
||||
LuaLabel::~LuaLabel()
|
||||
{
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
@ -26,4 +26,4 @@ public:
|
||||
|
||||
LuaLabel(lua_State * l);
|
||||
~LuaLabel();
|
||||
};
|
||||
};
|
||||
|
@ -157,4 +157,4 @@ private:
|
||||
lua_pushfstring(L, "%s (%s)", T::className, buff);
|
||||
return 1;
|
||||
}
|
||||
};
|
||||
};
|
||||
|
@ -70,4 +70,4 @@ int LuaProgressBar::status(lua_State * l)
|
||||
LuaProgressBar::~LuaProgressBar()
|
||||
{
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
@ -27,4 +27,4 @@ public:
|
||||
|
||||
LuaProgressBar(lua_State * l);
|
||||
~LuaProgressBar();
|
||||
};
|
||||
};
|
||||
|
@ -2202,4 +2202,4 @@ std::string LuaScriptInterface::FormatCommand(std::string command)
|
||||
LuaScriptInterface::~LuaScriptInterface() {
|
||||
delete legacy;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
@ -111,4 +111,4 @@ void LuaSlider::triggerOnValueChanged()
|
||||
LuaSlider::~LuaSlider()
|
||||
{
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
@ -30,4 +30,4 @@ public:
|
||||
|
||||
LuaSlider(lua_State * l);
|
||||
~LuaSlider();
|
||||
};
|
||||
};
|
||||
|
@ -114,4 +114,4 @@ int LuaTextbox::text(lua_State * l)
|
||||
LuaTextbox::~LuaTextbox()
|
||||
{
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
@ -30,4 +30,4 @@ public:
|
||||
|
||||
LuaTextbox(lua_State * l);
|
||||
~LuaTextbox();
|
||||
};
|
||||
};
|
||||
|
@ -592,4 +592,4 @@ LuaWindow::~LuaWindow()
|
||||
ui::Engine::Ref().CloseWindow();
|
||||
delete window;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
@ -79,4 +79,4 @@ public:
|
||||
ui::Window * GetWindow() { return window; }
|
||||
LuaWindow(lua_State * l);
|
||||
~LuaWindow();
|
||||
};
|
||||
};
|
||||
|
@ -134,4 +134,4 @@ void APIRequest::Cleanup()
|
||||
Parser->Cleanup(ResultObject);
|
||||
ResultObject = NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -13,4 +13,4 @@ public:
|
||||
virtual ~APIResultParser() { }
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
@ -147,4 +147,4 @@ void ImageRequest::Cleanup()
|
||||
delete ((VideoBuffer*)ResultObject);
|
||||
ResultObject = NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -11,4 +11,4 @@ public:
|
||||
virtual RequestBroker::ProcessResponse Process(RequestBroker & rb);
|
||||
virtual ~ImageRequest();
|
||||
virtual void Cleanup();
|
||||
};
|
||||
};
|
||||
|
@ -309,4 +309,4 @@ void RequestBroker::Request::Cleanup()
|
||||
(*iter)->Cleanup();
|
||||
iter++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -75,4 +75,4 @@ public:
|
||||
virtual ~Request();
|
||||
virtual void Cleanup();
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -50,4 +50,4 @@ void ThumbRenderRequest::Cleanup()
|
||||
delete ((VideoBuffer*)ResultObject);
|
||||
ResultObject = NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,4 +6,4 @@ class DebugInfo
|
||||
{
|
||||
public:
|
||||
virtual void Draw(ui::Point position) {}
|
||||
};
|
||||
};
|
||||
|
@ -81,4 +81,4 @@ void ElementPopulationDebug::Draw(ui::Point position)
|
||||
ElementPopulationDebug::~ElementPopulationDebug()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -11,4 +11,4 @@ public:
|
||||
ElementPopulationDebug(Simulation * sim);
|
||||
virtual void Draw(ui::Point position);
|
||||
virtual ~ElementPopulationDebug();
|
||||
};
|
||||
};
|
||||
|
@ -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) {}
|
||||
|
@ -333,4 +333,4 @@ FileBrowserActivity::~FileBrowserActivity()
|
||||
{
|
||||
if(callback)
|
||||
delete callback;
|
||||
}
|
||||
}
|
||||
|
@ -62,4 +62,4 @@ public:
|
||||
virtual void NotifyError(Task * task);
|
||||
virtual void NotifyProgress(Task * task);
|
||||
virtual void NotifyStatus(Task * task);
|
||||
};
|
||||
};
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -16,4 +16,4 @@ public:
|
||||
ColourMode(colourMode)
|
||||
{}
|
||||
};
|
||||
#endif
|
||||
#endif
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -37,4 +37,4 @@ public:
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
@ -27,4 +27,4 @@ public:
|
||||
|
||||
LuaProgressBar(lua_State * l);
|
||||
~LuaProgressBar();
|
||||
};
|
||||
};
|
||||
|
@ -78,4 +78,4 @@ void ProgressBar::Tick(float dt)
|
||||
intermediatePos += 1.0f*dt;
|
||||
if(intermediatePos>100.0f)
|
||||
intermediatePos = 0.0f;
|
||||
}
|
||||
}
|
||||
|
@ -170,4 +170,4 @@ void ScrollPanel::XTick(float dt)
|
||||
scrollBarWidth++;
|
||||
else if(!mouseInside && scrollBarWidth > 0 && !scrollbarSelected)
|
||||
scrollBarWidth--;
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -142,4 +142,4 @@ LocalSaveActivity::~LocalSaveActivity()
|
||||
delete thumbnail;
|
||||
if(callback)
|
||||
delete callback;
|
||||
}
|
||||
}
|
||||
|
@ -36,4 +36,4 @@ public:
|
||||
virtual void OnDraw();
|
||||
virtual void OnResponseReady(void * imagePtr);
|
||||
virtual ~LocalSaveActivity();
|
||||
};
|
||||
};
|
||||
|
@ -49,4 +49,4 @@ protected:
|
||||
friend class CancelAction;
|
||||
friend class SaveAction;
|
||||
friend class RulesAction;
|
||||
};
|
||||
};
|
||||
|
@ -515,4 +515,4 @@ namespace pim
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -175,4 +175,4 @@ namespace pim
|
||||
void Return();
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -117,4 +117,4 @@ namespace pim
|
||||
return word;
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -9,4 +9,4 @@ namespace pim
|
||||
#undef OPDEF
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -650,4 +650,4 @@ namespace pim
|
||||
throw ParserExpectException(token, symbol);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -76,4 +76,4 @@ namespace pim
|
||||
std::vector<unsigned char> Compile();
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -196,4 +196,4 @@ namespace pim
|
||||
cChar = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -19,4 +19,4 @@ namespace pim
|
||||
Token NextToken();
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -48,4 +48,4 @@ namespace pim
|
||||
"INVALID SYMBOL"
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -80,4 +80,4 @@ namespace pim
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -32,4 +32,4 @@ extern "C" {
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
@ -1221,4 +1221,4 @@ char* Resampler::get_filter_name(int filter_num)
|
||||
return g_filters[filter_num].name;
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
@ -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
|
||||
|
@ -57,4 +57,4 @@ public:
|
||||
{
|
||||
|
||||
}
|
||||
};
|
||||
};
|
||||
|
@ -51,4 +51,4 @@ typedef struct part_type part_type;*/
|
||||
};
|
||||
typedef struct part_transition part_transition;*/
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
@ -46,4 +46,4 @@ Element_116::Element_116()
|
||||
|
||||
}
|
||||
|
||||
Element_116::~Element_116() {}
|
||||
Element_116::~Element_116() {}
|
||||
|
@ -46,4 +46,4 @@ Element_146::Element_146()
|
||||
|
||||
}
|
||||
|
||||
Element_146::~Element_146() {}
|
||||
Element_146::~Element_146() {}
|
||||
|
@ -46,4 +46,4 @@ Element_BGLA::Element_BGLA()
|
||||
|
||||
}
|
||||
|
||||
Element_BGLA::~Element_BGLA() {}
|
||||
Element_BGLA::~Element_BGLA() {}
|
||||
|
@ -46,4 +46,4 @@ Element_BHOL::Element_BHOL()
|
||||
|
||||
}
|
||||
|
||||
Element_BHOL::~Element_BHOL() {}
|
||||
Element_BHOL::~Element_BHOL() {}
|
||||
|
@ -106,4 +106,4 @@ int Element_BRAY::graphics(GRAPHICS_FUNC_ARGS)
|
||||
}
|
||||
|
||||
|
||||
Element_BRAY::~Element_BRAY() {}
|
||||
Element_BRAY::~Element_BRAY() {}
|
||||
|
@ -62,4 +62,4 @@ int Element_BRCK::graphics(GRAPHICS_FUNC_ARGS)
|
||||
return 0;
|
||||
}
|
||||
|
||||
Element_BRCK::~Element_BRCK() {}
|
||||
Element_BRCK::~Element_BRCK() {}
|
||||
|
@ -47,4 +47,4 @@ Element_BVBR::Element_BVBR()
|
||||
|
||||
}
|
||||
|
||||
Element_BVBR::~Element_BVBR() {}
|
||||
Element_BVBR::~Element_BVBR() {}
|
||||
|
@ -83,4 +83,4 @@ int Element_CAUS::update(UPDATE_FUNC_ARGS)
|
||||
}
|
||||
|
||||
|
||||
Element_CAUS::~Element_CAUS() {}
|
||||
Element_CAUS::~Element_CAUS() {}
|
||||
|
@ -72,4 +72,4 @@ int Element_CFLM::graphics(GRAPHICS_FUNC_ARGS)
|
||||
}
|
||||
|
||||
|
||||
Element_CFLM::~Element_CFLM() {}
|
||||
Element_CFLM::~Element_CFLM() {}
|
||||
|
@ -46,4 +46,4 @@ Element_CNCT::Element_CNCT()
|
||||
|
||||
}
|
||||
|
||||
Element_CNCT::~Element_CNCT() {}
|
||||
Element_CNCT::~Element_CNCT() {}
|
||||
|
@ -46,4 +46,4 @@ Element_DESL::Element_DESL()
|
||||
|
||||
}
|
||||
|
||||
Element_DESL::~Element_DESL() {}
|
||||
Element_DESL::~Element_DESL() {}
|
||||
|
@ -46,4 +46,4 @@ Element_DMND::Element_DMND()
|
||||
|
||||
}
|
||||
|
||||
Element_DMND::~Element_DMND() {}
|
||||
Element_DMND::~Element_DMND() {}
|
||||
|
@ -46,4 +46,4 @@ Element_DRIC::Element_DRIC()
|
||||
|
||||
}
|
||||
|
||||
Element_DRIC::~Element_DRIC() {}
|
||||
Element_DRIC::~Element_DRIC() {}
|
||||
|
@ -46,4 +46,4 @@ Element_DUST::Element_DUST()
|
||||
Graphics = NULL;
|
||||
}
|
||||
|
||||
Element_DUST::~Element_DUST() {}
|
||||
Element_DUST::~Element_DUST() {}
|
||||
|
@ -46,4 +46,4 @@ Element_DYST::Element_DYST()
|
||||
|
||||
}
|
||||
|
||||
Element_DYST::~Element_DYST() {}
|
||||
Element_DYST::~Element_DYST() {}
|
||||
|
@ -46,4 +46,4 @@ Element_ETRD::Element_ETRD()
|
||||
|
||||
}
|
||||
|
||||
Element_ETRD::~Element_ETRD() {}
|
||||
Element_ETRD::~Element_ETRD() {}
|
||||
|
@ -57,4 +57,4 @@ int Element_FRME::graphics(GRAPHICS_FUNC_ARGS)
|
||||
return 0;
|
||||
}
|
||||
|
||||
Element_FRME::~Element_FRME() {}
|
||||
Element_FRME::~Element_FRME() {}
|
||||
|
@ -59,4 +59,4 @@ int Element_GLAS::update(UPDATE_FUNC_ARGS)
|
||||
}
|
||||
|
||||
|
||||
Element_GLAS::~Element_GLAS() {}
|
||||
Element_GLAS::~Element_GLAS() {}
|
||||
|
@ -61,4 +61,4 @@ int Element_GOO::update(UPDATE_FUNC_ARGS)
|
||||
}
|
||||
|
||||
|
||||
Element_GOO::~Element_GOO() {}
|
||||
Element_GOO::~Element_GOO() {}
|
||||
|
@ -46,4 +46,4 @@ Element_GUNP::Element_GUNP()
|
||||
|
||||
}
|
||||
|
||||
Element_GUNP::~Element_GUNP() {}
|
||||
Element_GUNP::~Element_GUNP() {}
|
||||
|
@ -46,4 +46,4 @@ Element_INSL::Element_INSL()
|
||||
|
||||
}
|
||||
|
||||
Element_INSL::~Element_INSL() {}
|
||||
Element_INSL::~Element_INSL() {}
|
||||
|
@ -46,4 +46,4 @@ Element_INST::Element_INST()
|
||||
|
||||
}
|
||||
|
||||
Element_INST::~Element_INST() {}
|
||||
Element_INST::~Element_INST() {}
|
||||
|
@ -46,4 +46,4 @@ Element_INWR::Element_INWR()
|
||||
|
||||
}
|
||||
|
||||
Element_INWR::~Element_INWR() {}
|
||||
Element_INWR::~Element_INWR() {}
|
||||
|
@ -128,4 +128,4 @@ int Element_LIFE::graphics(GRAPHICS_FUNC_ARGS)
|
||||
}
|
||||
|
||||
|
||||
Element_LIFE::~Element_LIFE() {}
|
||||
Element_LIFE::~Element_LIFE() {}
|
||||
|
@ -46,4 +46,4 @@ Element_LNTG::Element_LNTG()
|
||||
|
||||
}
|
||||
|
||||
Element_LNTG::~Element_LNTG() {}
|
||||
Element_LNTG::~Element_LNTG() {}
|
||||
|
@ -46,4 +46,4 @@ Element_LO2::Element_LO2()
|
||||
|
||||
}
|
||||
|
||||
Element_LO2::~Element_LO2() {}
|
||||
Element_LO2::~Element_LO2() {}
|
||||
|
@ -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() {}
|
||||
|
@ -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() {}
|
||||
|
@ -46,4 +46,4 @@ Element_LRBD::Element_LRBD()
|
||||
|
||||
}
|
||||
|
||||
Element_LRBD::~Element_LRBD() {}
|
||||
Element_LRBD::~Element_LRBD() {}
|
||||
|
@ -46,4 +46,4 @@ Element_METL::Element_METL()
|
||||
|
||||
}
|
||||
|
||||
Element_METL::~Element_METL() {}
|
||||
Element_METL::~Element_METL() {}
|
||||
|
@ -54,4 +54,4 @@ int Element_MORT::update(UPDATE_FUNC_ARGS)
|
||||
}
|
||||
|
||||
|
||||
Element_MORT::~Element_MORT() {}
|
||||
Element_MORT::~Element_MORT() {}
|
||||
|
@ -46,4 +46,4 @@ Element_MWAX::Element_MWAX()
|
||||
|
||||
}
|
||||
|
||||
Element_MWAX::~Element_MWAX() {}
|
||||
Element_MWAX::~Element_MWAX() {}
|
||||
|
@ -46,4 +46,4 @@ Element_NICE::Element_NICE()
|
||||
|
||||
}
|
||||
|
||||
Element_NICE::~Element_NICE() {}
|
||||
Element_NICE::~Element_NICE() {}
|
||||
|
@ -46,4 +46,4 @@ Element_NITR::Element_NITR()
|
||||
|
||||
}
|
||||
|
||||
Element_NITR::~Element_NITR() {}
|
||||
Element_NITR::~Element_NITR() {}
|
||||
|
@ -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
Loading…
Reference in New Issue
Block a user