#include "vg_opt.h"
#include "vg_log.h"
#include "vg_string.h"
+#include "vg_build_font.h"
/* we dont free dynamic vg_strs in this program. so, we dont care.. */
const char *__asan_default_options() { return "detect_leaks=0"; }
{
bool use_3d, legacy_support_vg_msg1, log_source_info, steam_api,
custom_game_settings,
- release_mode, custom_shaders;
+ custom_shaders;
i32 fixed_update_hz;
}
vg_engine_default_config = {
.log_source_info = 1,
.steam_api = 0,
.custom_game_settings = 0,
- .release_mode = 0,
.custom_shaders = 0
};
void vg_add_engine( struct vg_project *proj, struct vg_engine_config *config )
{
+ /* building assets */
+ vg_build_default_font();
+
if( !config ) config = &vg_engine_default_config;
vg_str config_string;
vg_strnull( &config_string, NULL, -1 );
vg_strcat( &config_string, "-DVG_LOG_SOURCE_INFO \\\n" );
if( config->custom_game_settings )
vg_strcat( &config_string, "-DVG_GAME_SETTINGS \\\n" );
- if( config->custom_game_settings )
- vg_strcat( &config_string, "-DVG_RELEASE \\\n" );
if( config->custom_shaders )
vg_strcat( &config_string, "-DVG_CUSTOM_SHADERS \\\n" );