1310516c14057f139a683272c55ca213ce2c5883
Collect warnings during load_world() and issue a warning at the end. Most, but not all warnings already printed a message - which usually scrolls out of the console quite fast. The collected value is also given back by the loadmap command, which allows batch editing scripts for maps stop at problematic maps. Mapsound errors are not detected, if soundvol is zero. Missing textures are not flagged, if notexture is set. The error code is ored together from those elements: 0x0000001 entity attribute overflow One or more map entities had attribute values, that are no longer supported with map format 10. Rework manually. 0x0000010 map decoder error Indicates a damaged map file. 0x0000100 world error -1 Map is completely solid. Very funny. 0x0000200 world error -2 Map border is not solid. Fix manually. 0x0001000 missing skymap texture files 0x0002000 missing world texture files (only if no notexture is set) 0x0004000 missing mapmodel files 0x0008000 missing mapsound files 0x0010000 bad mapsound command in map config 0x0020000 bad mapmodel command in map config 0x0040000 bad texture command in map config 0x0080000 bad loadnotexture command in map config 0x0100000 error during loading of mapmodels (see earlier console output) 0x1000000 out of range integer value in map config (for example, "fog 0") 0x2000000 out of range float value in map config 0x4000000 generic cubescript error in map config The command loadmap is now also available for non-debug builds. DOCREF loadmap
<!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%