basic features of replay editor
[carveJwlIkooP6JGAAIwe30JlM.git] / build.c
diff --git a/build.c b/build.c
index 9367e81b64929c187d69d6ce5d32e2c337143100..68e485a80a8376aab728044ece7e3c05fd69ee42 100644 (file)
--- a/build.c
+++ b/build.c
@@ -127,6 +127,8 @@ void build_shaders(void){
    _S( "blitcolour","blit.vs",      "colour.fs" );
    _S( "blit_transition", "blit.vs", "blit_transition.fs" );
    _S( "routeui",   "routeui.vs",   "routeui.fs" );
+
+   vg_build_shader_impl( "shaders/impl.c" );
 }
 
 void build_game_content( struct vg_project *proj )
@@ -163,7 +165,8 @@ void build_game_bin( struct vg_project *proj )
             .log_source_info = 1,
             .steam_api = 1,
             .use_3d = 1,
-            .custom_game_settings = 0
+            .custom_game_settings = 0,
+            .custom_shaders = 1
          });
 
    vg_add_source( proj, "skaterift.c " );
@@ -239,7 +242,8 @@ void s_release_all(void){
    fclose( fp );
 }
 
-void s_testing_build(void){
+void s_testing_build(void)
+{
    vg_info( "running script: s_testing_build(void)\n" );
 
    struct vg_project test_proj;
@@ -247,9 +251,11 @@ void s_testing_build(void){
 
    build_game_bin( &test_proj );
    build_game_content( &test_proj );
+   vg_add_blob( &test_proj, "steam_appid.txt", "" );
 }
 
-void s_testing_server(void){
+void s_testing_server(void)
+{
    vg_info( "running script: s_testing_server(void)\n" );
 
    struct vg_project test_proj;
@@ -257,7 +263,8 @@ void s_testing_server(void){
    compile_server( &test_proj );
 }
 
-int main( int argc, char *argv[] ){
+int main( int argc, char *argv[] )
+{
    char *arg;
    while( vg_argp( argc, argv ) ){
       if( vg_long_opt( "release-all" ) )