Void: Difference between revisions
TomEdwards (talk | contribs) (programming definition; cleanup) |
m (Fixed spelling and poor grammer) |
||
Line 1: | Line 1: | ||
:''In [[:Category:Programming|programming]], <code>void</code> is used when declaring a function that does not return a value. <code>void*</code> is a pointer to such a function.'' | :''In [[:Category:Programming|programming]], <code>void</code> is used when declaring a function that does not return a value. <code>void*</code> is a pointer to such a function.'' | ||
'''The void''' is the black space outside [[the world]]. | '''The void''' is the black space outside [[the world]]. It is an infinitely large area of nothingness that surrounds every map. | ||
The map can occasionally share it's inside space with the void | The map can occasionally share it's inside space with the void causing an error known as a [[leak]]. Loading the map's compiled [[pointfile]] plots a course between this void and the closest entity in the map which can help patch leaks. | ||
The Void is not physical. It isn't a [[brush]], [[entity]] or hard-coded into source | The Void is not physical. It isn't a [[brush]], [[entity]] or hard-coded into source but the lack of code, entities and brushes. | ||
When viewing the Void from inside the map, it picks colours from the screen pixels nearby. Much like in computers, clicking and dragging something makes it repeat several times without physically being there. With the Void, moving your view can make [[textures]] repeat several times on the Void. | When viewing the Void from inside the map, it picks colours from the screen pixels nearby. Much like in computers, clicking and dragging something makes it repeat several times without physically being there. With the Void, moving your view can make [[textures]] repeat several times on the Void. | ||
In HDR mode it also makes the view glow, to the point where a solid colour overwrites the whole page. Usually, it keeps on doing so, until the Void visible is completely white. | In HDR mode it also makes the view glow, to the point where a solid colour overwrites the whole page. Usually, it keeps on doing so, until the Void visible is completely white. | ||
The Void is present in both the [[Goldsource]] and [[Source]] engines. It's | The Void is present in both the [[Goldsource]] and [[Source]] engines. It's appearance in other game engines is not entirely impossible though. | ||
[[Category:Glossary]] | [[Category:Glossary]] |
Revision as of 22:59, 20 January 2011
- In programming,
void
is used when declaring a function that does not return a value.void*
is a pointer to such a function.
The void is the black space outside the world. It is an infinitely large area of nothingness that surrounds every map.
The map can occasionally share it's inside space with the void causing an error known as a leak. Loading the map's compiled pointfile plots a course between this void and the closest entity in the map which can help patch leaks.
The Void is not physical. It isn't a brush, entity or hard-coded into source but the lack of code, entities and brushes.
When viewing the Void from inside the map, it picks colours from the screen pixels nearby. Much like in computers, clicking and dragging something makes it repeat several times without physically being there. With the Void, moving your view can make textures repeat several times on the Void. In HDR mode it also makes the view glow, to the point where a solid colour overwrites the whole page. Usually, it keeps on doing so, until the Void visible is completely white.
The Void is present in both the Goldsource and Source engines. It's appearance in other game engines is not entirely impossible though.