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
5
class
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
VersionInfo
Definition
versioninfo.h:5
VersionInfo::patch
int32_t patch
Definition
versioninfo.h:8
VersionInfo::hasZSStateLoop
bool hasZSStateLoop() const
Definition
versioninfo.h:10
VersionInfo::game
uint8_t game
Definition
versioninfo.h:7
VersionInfo::dialogGestureCount
uint16_t dialogGestureCount() const
Definition
versioninfo.h:11
game
utils
versioninfo.h
Generated by
1.9.8