Windows in Quake

Tyrann has released some lovely new compiler tools recently. One of the fantastic enhancements that they offer is support for detail brushes – brushes which are excluded from the vis process. Although their intended use is to shorten vis time, today we’re going to see how to use them to make windows. Before anyone gets too excited, a window here is an entirely transparent thing which is solid to all entities. There’s nothing semi-transparent going on! Click here to find out how…

Advertisements

Text manipulation in Quake I: The basics

It’s fair to say that QuakeC does not have strong support for strings. Essentially all strings in QuakeC are static and pre-compiled, with a few built-in functions for constructing a string from a float or a vector at runtime. Although strings are very helpful for communicating messages to the player, the strings can only be concatenated through functions like bprint or centerprint. There is no way to edit a string dynamically.
Click here to explore an alternative…