#include "vg/vg_steam_ugc.h"
#include "vg/vg_steam_friends.h"
#include "steam.h"
-#include "highscores.h"
static struct ui_enum_opt workshop_form_visibility_opts[] = {
{ k_ERemoteStoragePublishedFileVisibilityPublic, "Public" },
glBufferSubData( GL_UNIFORM_BUFFER, 0,
sizeof(struct ub_world_lighting), &world->ub_lighting );
- render_world( world, &cam, 0, 0, 1, 1 );
+ render_world( world, &cam, 0, 0, 0, 0 );
struct player_board_pose pose = {0};
render_board( &cam, world, board, mmdl, &pose, k_board_shader_entity );
render_board( &cam, world, board, mmdl1, &pose, k_board_shader_entity );
ui_fill( controls, ui_colour( k_ui_bg+1 ) );
char buf[32];
- strcpy( buf, "page " );
- int i = 5;
- i += highscore_intl( buf+i, workshop_form.view_published_page_id+1, 4 );
- buf[ i ++ ] = '/';
- i += highscore_intl( buf+i, workshop_form.view_published_page_count, 4 );
- buf[ i ++ ] = '\0';
+ vg_str str;
+ vg_strnull( &str, buf, sizeof(buf) );
+ vg_strcat( &str, "page " );
+ vg_strcati32( &str, workshop_form.view_published_page_id+1 );
+ vg_strcatch( &str, '/' );
+ vg_strcati32( &str, workshop_form.view_published_page_count );
ui_rect_pad( controls, (ui_px[2]){0,4} );
ui_rect info;