Added shaders and doomscript from the build.

This commit is contained in:
Justin Marshall
2026-08-09 04:23:10 -07:00
parent 82cfb1972d
commit 1d0c9d6657
734 changed files with 19587 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
/***********************************************************************
debug_drawtext.script
Tool for drawing text in world.
***********************************************************************/
object debug_drawtext {
void onTrigger( entity activator );
string text; // text to draw
float scale; // size of text
vector color; // color of text
float align; // 0-left, 1-center, 2-right
};
/*
================
debug_drawtext::onTrigger
================
*/
void debug_drawtext::onTrigger( entity activator ) {
sys.drawText( text, getOrigin(), scale * 0.0545, color, align, 0.5 );
}