libultraship
Reimplementations of libultra (N64 SDK) functions for modern hardware
Loading...
Searching...
No Matches
Version.h File Reference
#include <stdint.h>
Include dependency graph for Version.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Ship
 Core namespace for the libultraship engine framework.
 

Macros

#define LUS_VERSION_EPOCH   0
 
#define LUS_VERSION_MAJOR   0
 
#define LUS_VERSION_MINOR   0
 
#define LUS_VERSION_PATCH   0
 
#define SHIP_VERSION_EPOCH   LUS_VERSION_EPOCH
 
#define SHIP_VERSION_MAJOR   LUS_VERSION_MAJOR
 
#define SHIP_VERSION_MINOR   LUS_VERSION_MINOR
 
#define SHIP_VERSION_PATCH   LUS_VERSION_PATCH
 
#define SHIP_PACK_VERSION(epoch, major, minor, patch)
 
#define SHIP_VERSION_U32    SHIP_PACK_VERSION(SHIP_VERSION_EPOCH, SHIP_VERSION_MAJOR, SHIP_VERSION_MINOR, SHIP_VERSION_PATCH)
 

Variables

constexpr uint32_t Ship::Version = SHIP_VERSION_U32
 

Macro Definition Documentation

◆ LUS_VERSION_EPOCH

#define LUS_VERSION_EPOCH   0

◆ LUS_VERSION_MAJOR

#define LUS_VERSION_MAJOR   0

◆ LUS_VERSION_MINOR

#define LUS_VERSION_MINOR   0

◆ LUS_VERSION_PATCH

#define LUS_VERSION_PATCH   0

◆ SHIP_PACK_VERSION

#define SHIP_PACK_VERSION (   epoch,
  major,
  minor,
  patch 
)
Value:
((((uint32_t)((epoch)&0xFF)) << 24) | (((uint32_t)((major)&0xFF)) << 16) | (((uint32_t)((minor)&0xFF)) << 8) | \
((uint32_t)((patch)&0xFF)))

◆ SHIP_VERSION_EPOCH

#define SHIP_VERSION_EPOCH   LUS_VERSION_EPOCH

◆ SHIP_VERSION_MAJOR

#define SHIP_VERSION_MAJOR   LUS_VERSION_MAJOR

◆ SHIP_VERSION_MINOR

#define SHIP_VERSION_MINOR   LUS_VERSION_MINOR

◆ SHIP_VERSION_PATCH

#define SHIP_VERSION_PATCH   LUS_VERSION_PATCH

◆ SHIP_VERSION_U32