2020-09-13 21:32:55 -04:00
|
|
|
#pragma once
|
|
|
|
|
2020-08-22 22:30:12 -04:00
|
|
|
/*!
|
|
|
|
* @file versions.h
|
|
|
|
* Version numbers for GOAL Language, Kernel, etc...
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "common/common_types.h"
|
|
|
|
|
|
|
|
namespace versions {
|
2020-12-19 15:21:29 -05:00
|
|
|
// language version (OpenGOAL)
|
2020-09-25 21:11:27 -04:00
|
|
|
constexpr s32 GOAL_VERSION_MAJOR = 0;
|
2022-04-07 19:13:22 -04:00
|
|
|
constexpr s32 GOAL_VERSION_MINOR = 9;
|
2020-12-19 15:21:29 -05:00
|
|
|
|
2021-02-14 18:50:45 -05:00
|
|
|
constexpr int DECOMPILER_VERSION = 4;
|
2021-02-11 14:35:28 -05:00
|
|
|
|
2022-06-06 17:58:49 -04:00
|
|
|
namespace jak1 {
|
2020-12-19 15:21:29 -05:00
|
|
|
// these versions are from the game
|
2020-11-16 19:57:45 -05:00
|
|
|
constexpr u32 ART_FILE_VERSION = 6;
|
|
|
|
constexpr u32 LEVEL_FILE_VERSION = 30;
|
|
|
|
constexpr u32 DGO_FILE_VERSION = 1;
|
|
|
|
constexpr u32 RES_FILE_VERSION = 1;
|
|
|
|
constexpr u32 TX_PAGE_VERSION = 7;
|
2022-06-06 17:58:49 -04:00
|
|
|
} // namespace jak1
|
|
|
|
|
|
|
|
namespace jak2 {
|
|
|
|
constexpr u32 ART_FILE_VERSION = 7;
|
|
|
|
}
|
|
|
|
|
2020-08-26 01:21:33 -04:00
|
|
|
} // namespace versions
|
2020-08-22 22:30:12 -04:00
|
|
|
|
2020-12-19 15:21:29 -05:00
|
|
|
// GOAL kernel version (OpenGOAL changes this version from the game's version)
|
2020-08-22 22:30:12 -04:00
|
|
|
constexpr int KERNEL_VERSION_MAJOR = 2;
|
|
|
|
constexpr int KERNEL_VERSION_MINOR = 0;
|
2021-06-12 12:55:38 -04:00
|
|
|
|
|
|
|
// OVERLORD version returned by an RPC
|
|
|
|
constexpr int IRX_VERSION_MAJOR = 2;
|
2022-06-06 17:58:49 -04:00
|
|
|
constexpr int IRX_VERSION_MINOR = 0;
|
|
|
|
|
|
|
|
enum class GameVersion { Jak1 = 1, Jak2 = 2 };
|