mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 11:26:18 -04:00
308038a20f
Fixes https://github.com/open-goal/jak-project/issues/1931 Also decompile collectables.gc
15 lines
649 B
C++
15 lines
649 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#include "common/common_types.h"
|
|
|
|
float fixed_point_to_float(s64 value, s64 scale);
|
|
std::string fixed_point_to_string(s64 value, s64 scale, bool append_trailing_decimal = false);
|
|
std::string float_to_string(float value, bool append_trailing_decimal = true);
|
|
std::string meters_to_string(float value, bool append_trailing_decimal = false);
|
|
std::string degrees_to_string(float value, bool append_trailing_decimal = false);
|
|
std::string seconds_to_string(s64 value, bool append_trailing_decimal = false);
|
|
int float_to_cstr(float value, char* buffer, bool append_trailing_decimal = true);
|
|
bool proper_float(float value);
|