add more demos
parent
0a87150932
commit
7f5f6e7a58
4
MAKE.bat
4
MAKE.bat
|
@ -555,7 +555,7 @@ set rc=0
|
|||
if "%1"=="nov4k" set "v4k=no" && goto loop
|
||||
if "%1"=="nodemos" set "demos=no" && goto loop
|
||||
if "%1"=="demos" set "demos=yes" && set "hello=no" && goto loop
|
||||
if "%1"=="extras" set "extras=yes" && set "demos=yes" && set "hello=no" && goto loop
|
||||
if "%1"=="extras" set "extras=yes" && set "hello=no" && goto loop
|
||||
if "%1"=="noeditor" set "editor=no" && goto loop
|
||||
if "%1"=="hello" set "hello=yes" && goto loop
|
||||
if "%1"=="editor" set "editor=yes" && set "hello=no"&& goto loop
|
||||
|
@ -768,8 +768,10 @@ if "!demos!"=="yes" (
|
|||
!echo! 00-ui && !cc! !o! 00-ui.exe demos\00-ui.c !import! !args! || set rc=1
|
||||
!echo! 01-sprite && !cc! !o! 01-sprite.exe demos\01-sprite.c !import! !args! || set rc=1
|
||||
!echo! 02-ddraw && !cc! !o! 02-ddraw.exe demos\02-ddraw.c !import! !args! || set rc=1
|
||||
!echo! 02-frustum && !cc! !o! 02-frustum.exe demos\02-frustum.c !import! !args! || set rc=1
|
||||
!echo! 03-anims && !cc! !o! 03-anims.exe demos\03-anims.c !import! !args! || set rc=1
|
||||
!echo! 04-actor && !cc! !o! 04-actor.exe demos\04-actor.c !import! !args! || set rc=1
|
||||
!echo! 04-lod && !cc! !o! 04-lod.exe demos\04-lod.c !import! !args! || set rc=1
|
||||
!echo! 05-scene && !cc! !o! 05-scene.exe demos\05-scene.c !import! !args! || set rc=1
|
||||
!echo! 06-controller && !cc! !o! 06-controller.exe demos\06-controller.c !import! !args! || set rc=1
|
||||
!echo! 07-network && !cc! !o! 07-network.exe demos\07-network.c !import! !args! || set rc=1
|
||||
|
|
|
@ -339063,10 +339063,6 @@ void network_rpc_send(unsigned id, const char *cmdline) {
|
|||
|
||||
#line 1 "v4k_shaders.c"
|
||||
static const char *const fs_0_0_shadowmap_lit = "//" FILELINE "\n"
|
||||
"// #version 140 // inverse() requires v140\n"
|
||||
"// FILELINE\n"
|
||||
"\n"
|
||||
"\n"
|
||||
"// uniform mat4 view = mat4(1.0);\n"
|
||||
"uniform vec3 lightPos = vec3(1.0);\n"
|
||||
"uniform float doTexture = 1.;\n"
|
||||
|
@ -339698,7 +339694,8 @@ static const char *const vs_323444143_16_332_model = "//" FILELINE "\n"
|
|||
" v_color = att_color;\n"
|
||||
" gl_Position = VP * att_instanced_matrix * vec4( objPos, 1.0 );\n"
|
||||
" do_shadow();\n"
|
||||
" }\n";
|
||||
"}\n"
|
||||
"\n";
|
||||
|
||||
static const char *const vs_324_24_sprite = "//" FILELINE "\n"
|
||||
"uniform mat4 u_mvp;\n"
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
// #version 140 // inverse() requires v140
|
||||
// FILELINE
|
||||
|
||||
|
||||
// uniform mat4 view = mat4(1.0);
|
||||
uniform vec3 lightPos = vec3(1.0);
|
||||
uniform float doTexture = 1.;
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
static const char *const fs_0_0_shadowmap_lit = "//" FILELINE "\n"
|
||||
"// #version 140 // inverse() requires v140\n"
|
||||
"// FILELINE\n"
|
||||
"\n"
|
||||
"\n"
|
||||
"// uniform mat4 view = mat4(1.0);\n"
|
||||
"uniform vec3 lightPos = vec3(1.0);\n"
|
||||
"uniform float doTexture = 1.;\n"
|
||||
|
@ -634,7 +630,8 @@ static const char *const vs_323444143_16_332_model = "//" FILELINE "\n"
|
|||
" v_color = att_color;\n"
|
||||
" gl_Position = VP * att_instanced_matrix * vec4( objPos, 1.0 );\n"
|
||||
" do_shadow();\n"
|
||||
" }\n";
|
||||
"}\n"
|
||||
"\n";
|
||||
|
||||
static const char *const vs_324_24_sprite = "//" FILELINE "\n"
|
||||
"uniform mat4 u_mvp;\n"
|
||||
|
|
|
@ -10138,10 +10138,6 @@ void network_rpc_send(unsigned id, const char *cmdline) {
|
|||
|
||||
#line 1 "v4k_shaders.c"
|
||||
static const char *const fs_0_0_shadowmap_lit = "//" FILELINE "\n"
|
||||
"// #version 140 // inverse() requires v140\n"
|
||||
"// FILELINE\n"
|
||||
"\n"
|
||||
"\n"
|
||||
"// uniform mat4 view = mat4(1.0);\n"
|
||||
"uniform vec3 lightPos = vec3(1.0);\n"
|
||||
"uniform float doTexture = 1.;\n"
|
||||
|
@ -10773,7 +10769,8 @@ static const char *const vs_323444143_16_332_model = "//" FILELINE "\n"
|
|||
" v_color = att_color;\n"
|
||||
" gl_Position = VP * att_instanced_matrix * vec4( objPos, 1.0 );\n"
|
||||
" do_shadow();\n"
|
||||
" }\n";
|
||||
"}\n"
|
||||
"\n";
|
||||
|
||||
static const char *const vs_324_24_sprite = "//" FILELINE "\n"
|
||||
"uniform mat4 u_mvp;\n"
|
||||
|
|
|
@ -596,7 +596,7 @@ details > summary::-webkit-details-marker {
|
|||
|Version: | 2023.7 |
|
||||
|:--------------|:------------|
|
||||
|Branch: | main |
|
||||
|Commit: | 22 |
|
||||
|Commit: | 24 |
|
||||
<!--| Documentation last modified | { {LAST_MODIFIED} } |-->
|
||||
|
||||
# [V·4·K 2023.7 ](https://dev.v4.games/zaklaus/v4k)
|
||||
|
|
Loading…
Reference in New Issue