0f8dbf69aabbe994755f97029cd8b469b0e91e08
An alias, that was at least once used with the new "tempalias" will not be written to saved.cfg. So, now there are four ways to create aliases: 1) alias (or "=") General alias, who's value gets saved at game exit in saved.cfg, and restored at the next restart - unless the alias was created at a time, where persistidents was zero (usually during execution of the game's own config files during startup). 2) const Creates an alias, that can not be changed. Makes it harder for users to destroy their config. 3) push Reassigns an alias with a new value. After "pop", the old value is restored. Allows the use of "local" aliases in scripts. Also avoids name conflicts. 4) tempalias Like "alias", but the value will not be written to saved.cfg. The commit also changes aliases, written by the engine itself, to "temp": gametimestart, __getmaprevisions DOCREF tempalias
<!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%