| 18742 | } |
| 18743 | |
| 18744 | bool cFodder::Demo_Load() { |
| 18745 | |
| 18746 | std::ifstream DemoContent(mStartParams->mDemoFile, std::ios::binary); |
| 18747 | if (DemoContent.is_open()) { |
| 18748 | |
| 18749 | std::string SaveGameContent( |
| 18750 | (std::istreambuf_iterator<char>(DemoContent)), |
| 18751 | (std::istreambuf_iterator<char>()) |
| 18752 | ); |
| 18753 | |
| 18754 | mGame_Data.mDemoRecorded.FromJson(SaveGameContent); |
| 18755 | return true; |
| 18756 | } |
| 18757 | return false; |
| 18758 | } |
| 18759 | |
| 18760 | void cFodder::Window_UpdateScreenSize() { |
| 18761 |