OpenGothic
Open source reimplementation of Gothic I and II
Loading...
Searching...
No Matches
versioninfo.h
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4
5class VersionInfo final {
6 public:
7 uint8_t game =2;
8 int32_t patch=0;
9
10 bool hasZSStateLoop() const { return game==2 && patch>=5; }
11 uint16_t dialogGestureCount() const { return game==2 ? 11 : 21; }
12 };
13
int32_t patch
Definition versioninfo.h:8
bool hasZSStateLoop() const
Definition versioninfo.h:10
uint8_t game
Definition versioninfo.h:7
uint16_t dialogGestureCount() const
Definition versioninfo.h:11