Added save function: Now exiting and reopening the game while the game is in progress (not in the initial or dead state, and not cheating) will continue the game. The following will be preserved: [list] [*] Board status (mode, size, mine density, etc.) [*] Board data (mines, opened grids, markers, remaining grids, etc.) [*] Game status (various stats like score, level, etc.) [*] Achievement status (whether by number: to prevent cheating) [*] Tutorial status [*] Pause status(including face state) [*] Drag mark (if allowed to upload drag mode) [*] Drag grid poistion [*] Bouns point [/list] At the same time, the following code is optimized: [list] [*] Added code for accessing REG_BINARY [*] Modified the relationship between the game state and the paused state [*] Change the data that needs to be saved to long instead of bool type [*] Move whether drag and drop from steam.cpp to board.cpp [*] Move the tutorial judgment to the disk reading part in advance instead of the window reading [*] Modified the display logic of the face state, now the face state will not change due to pausing [*] Put paused state changing code into paused lines instead of separate [/list]