about summary refs log tree commit diff stats
path: root/data/maps/daedalus/rooms/Outside Hedges.txtpb
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2025-09-30 12:59:23 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2025-09-30 12:59:23 -0400
commit8752dda136764b13009ae7f211071bb6ed0f3db6 (patch)
tree8055e96006b9aef5e5645bc34da30fed5fbfb074 /data/maps/daedalus/rooms/Outside Hedges.txtpb
parentfb415b8346be5efd824b9e5b5d12b4f178141301 (diff)
downloadlingo2-archipelago-8752dda136764b13009ae7f211071bb6ed0f3db6.tar.gz
lingo2-archipelago-8752dda136764b13009ae7f211071bb6ed0f3db6.tar.bz2
lingo2-archipelago-8752dda136764b13009ae7f211071bb6ed0f3db6.zip
Edited README
This note isn't relevant anymore because you can't get out of the Archipelago scene.
Diffstat (limited to 'data/maps/daedalus/rooms/Outside Hedges.txtpb')
0 files changed, 0 insertions, 0 deletions
umber.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#ifndef UPDATER_H_809E7381
#define UPDATER_H_809E7381

#include <filesystem>
#include <set>
#include <string>

#include <wx/wxprec.h>

#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif

class wxWebRequest;
class wxWebRequestEvent;

class Updater : public wxEvtHandler {
 public:
  explicit Updater(wxFrame* parent);

  void Cleanup();

  void CheckForUpdates(bool invisible);

 private:
  enum class UpdateState {
    GetVersionInvisible,
    GetVersionManual,
    GetPackage,
  };

  void OnWebRequestState(wxWebRequestEvent& event);

  void ProcessVersionFile(std::string data);

  void InstallUpdate(std::string url, std::string checksum,
                     std::vector<std::filesystem::path> files,
                     std::vector<std::filesystem::path> deletedFiles);

  bool DownloadWithProgress(wxWebRequest& request);

  wxFrame* parent_;
  UpdateState update_state_ = UpdateState::GetVersionInvisible;
  std::string package_path_;
};

#endif /* end of include guard: UPDATER_H_809E7381 */