projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update helpers/location to 'frosted' ui
[carveJwlIkooP6JGAAIwe30JlM.git]
/
build.c
diff --git
a/build.c
b/build.c
index eb3de6285879b9f7f6c3196dd3b32349447da76f..3cb9299dbe0b4d4cd9d86a7c54137d4fce465751 100644
(file)
--- a/
build.c
+++ b/
build.c
@@
-7,6
+7,12
@@
#include "vg/vg_msg.h"
#include "addon_types.h"
#include "vg/vg_msg.h"
#include "addon_types.h"
+#define C0_STOPGAP
+#include "vg/vg_m.h"
+#include "model.h"
+#include "model.c"
+#include "c0_stopgap.c"
+
/*
* Addon metadata utilities
* -------------------------------------------------------------------------- */
/*
* Addon metadata utilities
* -------------------------------------------------------------------------- */
@@
-150,12
+156,15
@@
void build_game_content( struct vg_project *proj )
void build_game_bin( struct vg_project *proj )
{
static int meta = 0;
void build_game_bin( struct vg_project *proj )
{
static int meta = 0;
- if( !meta ){
+ if( !meta )
+ {
meta = 1;
build_shaders();
build_game_metadata();
vg_low( "\n\n" );
}
meta = 1;
build_shaders();
build_game_metadata();
vg_low( "\n\n" );
}
+
+#include "control_overlay.h"
vg_project_new_target( proj, "skaterift", k_obj_type_exe );
vg_add_engine( proj, &(struct vg_engine_config )
vg_project_new_target( proj, "skaterift", k_obj_type_exe );
vg_add_engine( proj, &(struct vg_engine_config )
@@
-169,6
+178,11
@@
void build_game_bin( struct vg_project *proj )
.custom_shaders = 1
});
.custom_shaders = 1
});
+ if( proj->env->platform == k_platform_windows )
+ {
+ vg_link( proj, "-lws2_32 " );
+ }
+
vg_add_source( proj, "skaterift.c " );
vg_add_controller_database( proj );
vg_compile_project( proj );
vg_add_source( proj, "skaterift.c " );
vg_add_controller_database( proj );
vg_compile_project( proj );