3865affb0b2d288befa2f6a121afbb98517d772e
In addition to the existing clip- and plclip-entities, this patch provides a new approach to provide the same: clip areas by tagging cubes. Each cube of a map has a parameter "tag". All tags in all existing ac maps are currently zero. It is a leftover from cube 1. This patch uses the tag value to determine, if a cube (from floor to ceiling) should be forbidden for players (tag 0x80) or every moving object (tag 0x40). Tagclips have several advantages over classic clip entities: they are fast to establish (mark area, then /edittag 0x80) and are "cheap" for the engine. Tagclips do not increase the number of entities. As tagclips are always floor to ceiling, they can't be used to build stairs or platforms. Tagclips should be preferred over clip entities, but can coexist without problems. Technically, setting the tag value to 0x40 or 0x80 causes the physics engine to handle the cube like a "solid".
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta http-equiv="refresh" content="0; url=docs/index.html">
<meta name="description" content="Documentation index of the game AssaultCube @ http://assault.cubers.net/">
<meta name="author" content="Rabid Viper Productions">
<meta name="copyright" content="You may be able to redistribute this content under specific conditions.
Please read the licensing information, available @ http://assault.cubers.net/docs/license.html for the
conditions that would apply to what you may be redistributing.">
<title>AssaultCube Documentation</title>
<style type="text/css">
body
{
background-color: #222222;
}
</style>
</head>
<body>
<div>
</div>
</body>
</html>
Languages
C
57.9%
C++
27.6%
Shell
11.1%
Python
1.2%
Makefile
1%
Other
1.1%