StoryProgress: update formatting, and use Magnum types.

While I could keep using std::int32_t, as Magnum's Int type maps to it,
I want to be consistent with the rest of Magnum. Also, lots of
whitespace there, but readability is improved.
This commit is contained in:
Guillaume Jacquemin 2021-06-20 13:53:38 +02:00
parent 19262ae05e
commit e9d509fd36

View file

@ -16,12 +16,10 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
#include <cstdint>
#include <Corrade/Containers/Array.h>
struct StoryProgressPoint {
std::int32_t id;
Int id;
const char* chapter;
const char* point;
const char* after = "";
@ -35,7 +33,7 @@ static const Corrade::Containers::Array<StoryProgressPoint> story_progress
{0x0064, "Chapter 1", "First time in the hangar"},
{0x0065, "Chapter 1", "After 1st meeting with Quin in mission section"},
{0x0066, "Chapter 1", "Talking with Reina and Quin in hangar", "After training"},
{0x0067, "Chapter 1", "Returned to hangar","After training"},
{0x0067, "Chapter 1", "Returned to hangar", "After training"},
{0x0068, "Chapter 1", "Talked with Quin in development section", "After training"},
{0x0069, "Chapter 1", "Talked with Waltz in armour section", "After training"},
{0x00C8, "Chapter 1", "Talked with Kael in tuning section", "After training"},
@ -70,6 +68,7 @@ static const Corrade::Containers::Array<StoryProgressPoint> story_progress
{0x0385, "Chapter 1", "Returned to hangar", "After mission 8"},
{0x0386, "Chapter 1", "Got hunt 3 briefing", "After mission 8"},
{0x0387, "Chapter 1", "Talked with Reina, Nier, and Quin in development section", "After mission 8"},
{0x0388, "Chapter 2", "Chapter start"},
{0x0389, "Chapter 2", "Got mission 9 briefing"},
{0x03E8, "Chapter 2", "Talking with Reina in hangar", "After mission 9"},