OpenGothic
Open source reimplementation of Gothic I and II
Loading...
Searching...
No Matches
directmemory.cpp File Reference
#include "directmemory.h"
#include <zenkit/DaedalusScript.hh>
#include <Tempest/Log>
#include <cassert>
#include <charconv>
#include "world/objects/npc.h"
#include "gothic.h"

Go to the source code of this file.

Functions

static uint32_t nextPot (uint32_t x)
 
static int32_t floatBitsToInt (float f)
 
static float intBitsToFloat (int32_t i)
 

Function Documentation

◆ floatBitsToInt()

static int32_t floatBitsToInt ( float  f)
static

Definition at line 26 of file directmemory.cpp.

◆ intBitsToFloat()

static float intBitsToFloat ( int32_t  i)
static

Definition at line 32 of file directmemory.cpp.

◆ nextPot()

static uint32_t nextPot ( uint32_t  x)
static

Definition at line 15 of file directmemory.cpp.