about summary refs log tree commit diff stats
path: root/data/maps/the_entry/rooms/Flipped Right Eye.txtpb
blob: 429d63ef0947fd4fff76ae7bd44b961d595bc203 (plain) (blame)
1
2
3
4
5
6
pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding
name: "Flipped Right Eye"
display_name: "Flip Area"
panels {
  name: "WHERE"
  path: "Panels/Pilgrimage/cream_5"
  clue: "where"
  answer: "here"
  symbols: SPARKLES
}
panels {
  name: "HERE"
  path: "Panels/Pilgrimage/cream_6"
  clue: "here"
  answer: "there"
  symbols: SPARKLES
}
/span>inline MemoryException(const char* func, int32_t line, const char* message) noexcept : MemoryException(func, line, message, {}, 0) {} inline MemoryException(const char* func, int32_t line, const char* message, const std::vector<int>& offsets) noexcept : MemoryException(func, line, message, offsets, 0) {} inline MemoryException(const char* func, int32_t line, const char* message, const std::vector<int>& offsets, size_t numItems) noexcept : _func(func), _line(line), _message(message), _offsets(offsets), _numItems(numItems) {} ~MemoryException() = default; inline const char* what() const noexcept { return _message; } static void HandleException(const MemoryException& exc) noexcept { std::string msg = "MemoryException thrown in function "; msg += exc._func; msg += " on line " + std::to_string(exc._line) + ":\n" + exc._message + "\nOffsets:"; for (int offset : exc._offsets) { msg += " " + std::to_string(offset); } msg += "\n"; if (exc._numItems != 0) { msg += "Num Items: " + std::to_string(exc._numItems) + "\n"; } OutputDebugStringA(msg.c_str()); #ifndef NDEBUG MessageBoxA(NULL, msg.c_str(), "Memory Exception Thrown", MB_OK); #endif } private: const char* _func; int32_t _line; const char* _message; const std::vector<int> _offsets; size_t _numItems = 0; };