projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fuckin hell
[carveJwlIkooP6JGAAIwe30JlM.git]
/
world_sfd.h
diff --git
a/world_sfd.h
b/world_sfd.h
index d7aeb552fb55b585131a33ec3327007b09f63f2a..3fbbe949482a775ebba620a53b71e25b36f86c50 100644
(file)
--- a/
world_sfd.h
+++ b/
world_sfd.h
@@
-7,8
+7,10
@@
#include "world.h"
#include "world.h"
+#if 0
#include "shaders/scoretext.h"
#include "shaders/vblend.h"
#include "shaders/scoretext.h"
#include "shaders/vblend.h"
+#endif
vg_tex2d tex_scoretext = { .path = "textures/scoretext.qoi",
.flags = VG_TEXTURE_CLAMP|VG_TEXTURE_NEAREST };
vg_tex2d tex_scoretext = { .path = "textures/scoretext.qoi",
.flags = VG_TEXTURE_CLAMP|VG_TEXTURE_NEAREST };
@@
-104,8
+106,8
@@
VG_STATIC void sfd_update(void)
VG_STATIC void bind_terrain_noise(void);
VG_STATIC void sfd_render( camera *cam, m4x3f transform )
{
VG_STATIC void bind_terrain_noise(void);
VG_STATIC void sfd_render( camera *cam, m4x3f transform )
{
+#if 0
mesh_bind( &world.sfd.mesh_display );
mesh_bind( &world.sfd.mesh_display );
-
shader_scoretext_use();
shader_scoretext_uTexGarbage(0);
shader_scoretext_uTexGradients(1);
shader_scoretext_use();
shader_scoretext_uTexGarbage(0);
shader_scoretext_uTexGradients(1);
@@
-147,6
+149,7
@@
VG_STATIC void sfd_render( camera *cam, m4x3f transform )
mesh_bind( &world.sfd.mesh_base );
mesh_draw( &world.sfd.mesh_base );
mesh_bind( &world.sfd.mesh_base );
mesh_draw( &world.sfd.mesh_base );
+#endif
}
VG_STATIC int world_sfd_test( int argc, const char *argv[] )
}
VG_STATIC int world_sfd_test( int argc, const char *argv[] )
@@
-163,7
+166,10
@@
VG_STATIC int world_sfd_test( int argc, const char *argv[] )
VG_STATIC void world_sfd_init(void)
{
vg_info( "world_sfd_init\n" );
VG_STATIC void world_sfd_init(void)
{
vg_info( "world_sfd_init\n" );
+
+#if 0
shader_scoretext_register();
shader_scoretext_register();
+#endif
vg_function_push( (struct vg_cmd){
.name = "sfd",
vg_function_push( (struct vg_cmd){
.name = "sfd",