Commit Graph
14 Commits
Author SHA1 Message Date
ac-stef b650fca2ca persistidents cleanup
Restore the old persistidents system from AC 1.0, since it's working as
intended - if used properly.

As a reminder:

  * aliases created by "const" and "tempalias" are never persistent
  * aliases created or altered by "alias" or "=" become persistent, if
    the persistidents flag is set during that operation
  * persistidents if false during the execution of almost all config files
    during game start - those files can create aliases with default values
    which will not be persistent (until changed later while the flag is
    set)
  * before saved.cfg is executed, the flag is set and stays set all
    throughout the game - which means, that all changes (from menus, for
    example) will change the altered alias to "persistent"
  * exceptions for map or model config files are unnecessary, since those
    run restricted and can't create aliases anyway
  * exceptions are necessary for "late run" config files like those in
    config/opt/

The new command "persistidents" may be used to manually set or clear the
flag. It also returns the current state of the flag. If used in a config
file, the flag is restored to its original value when the file ends
execution.

In short: only late-run config files (meaning: run after saved.cfg was
restored) may need to manually set/reset the flag. Use const and tempalias
where appropriate and clear persistidents before creating an alias with a
not-to-save default value that may be changed and made persistent later.

DOCREF persistidents
2017-05-05 15:50:59 +02:00
aurhat c1e9daee1e Cleanup 2016-07-17 13:27:10 +02:00
aurhat ea067d54cb Add radaricons font 2015-07-04 22:17:47 +02:00
Bukz 7480f036d3 persistidents fixes (plz review/test)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7213 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-02-16 01:43:47 +00:00
RandumKiwi 55f5407339 more font
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6609 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-08-21 11:32:08 +00:00
RandumKiwi dc4bd08fba font stuff
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6608 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-08-21 09:58:29 +00:00
RandumKiwi 93d40b171a proper naming scheme for font files :P
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6600 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-08-20 11:50:51 +00:00
Bukz 798c79a3c6 config updates
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6187 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-01 02:24:37 +00:00
Alejandro V. Garcia 0f5da9cee9 reverted to a 512x file texture
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5381 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-16 09:45:27 +00:00
Alejandro V. Garcia 5d8eb89062 test character set
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5366 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-14 05:42:05 +00:00
ac_stef f1e879e7fd akimbo bug fixed; some new bugs added
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4598 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-08-05 21:21:57 +00:00
Lee Salzman 658ff286d2 reducing space between hud digits
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3778 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-11-26 23:34:27 +00:00
Lee Salzman b7c756822d hud digit font stuff
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3773 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-11-26 23:00:24 +00:00
Lee Salzman 55510047e2 *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1049 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-06-01 11:06:13 +00:00