mirror of
https://github.com/open-goal/jak-project
synced 2026-05-31 01:16:12 -04:00
0212aa10c9
* update refs * [decompiler] read and process art groups * finish decompiler art group selection & detect in `ja-group?` * make art stuff work on offline tests! * [decompiler] detect `ja-group!` (primitive) * corrections. * more * use new feature on skel groups! * find `loop!` as well * fully fledged `ja` macro & decomp + `loop` detect * fancy fixed point printing! * update source * `:num! max` (i knew i should've done this) * Update jak1_ntsc_black_label.jsonc * hi imports * make compiling the game work * fix `defskelgroup` * clang * update refs * fix chan * fix seek and finalboss * fix tests * delete unused function * track let rewrite stats * reorder `rewrite_let` * Update .gitattributes * fix bug with `:num! max` * Update robotboss-part.gc * Update goal-lib.gc * document `ja` * get rid of pc fixes thing * use std::abs
10 lines
404 B
C++
10 lines
404 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include "common/common_types.h"
|
|
|
|
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);
|
|
int float_to_cstr(float value, char* buffer, bool append_trailing_decimal = true);
|