Skip to content

Commit

Permalink
Readme and comment updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tracktwo committed Jan 7, 2018
1 parent 1c58e7c commit 5bb562f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -41,7 +41,7 @@ Use `git clone --recursive ` to obtain the source otherwise submodule `json11` w

### Windows

Windows builds require Visual Studio 2015. Community Edition is free and will work fine, but older versions of Visual
Windows builds require Visual Studio 2017. Community Edition is free and will work fine, but older versions of Visual
Studio will not.

### Linux
Expand Down
7 changes: 6 additions & 1 deletion xcom.h
Expand Up @@ -83,7 +83,7 @@ namespace xcom

// The header occurs at the start of the save file and is the only
// uncompressed part of the save. The first 1024 bytes of the save are the
// header, although most of it is all zeros. The header contains two
// header, although most of it is all zeros. On PC the header contains two
// checksums: the first checksum occurs at the end of the main header data
// blob (e.g. the data represented in this struct) and is the CRC32 of all
// the compressed data in the file. E.g. everything from byte
Expand All @@ -100,6 +100,11 @@ namespace xcom
// 1016 : Number of bytes of header checksummed (N + 4).
// 1020 : CRC32 of the first N+4 bytes of header.
// 1024-end : Compressed data
//
// In version 0x13 (Enemy Within for Android) there is only a single
// compressed date checksum, no header checksum. It occurs in the same
// place as on PC and checksums data from offset 1024 to the end of the
// file.
struct header
{
// XCom save version
Expand Down

0 comments on commit 5bb562f

Please sign in to comment.