Commit Graph
243 Commits
Author SHA1 Message Date
kai 5939c2bd7f shi 2026-10-27 10:52:16 +00:00
kai 705a6f1cff Add custom movement and gameplay features 2026-10-25 00:49:59 +01:00
BrutalSystem 44c4866cc0 two new maps
ac_alcove by Bukz and Halo

ac_lotus by DogDancing and $N!P3R*
2021-08-26 00:17:48 -03:00
flowtron e7016f4f83 defaultmaps now maps_all 2021-08-16 09:44:10 +02:00
flowtron 782ae314d1 updated map/mode menus (issue #387) 2021-08-15 17:59:12 +02:00
BrutalSystem 3aaaeb54cd Updating menu map, adding credit to remaining author and removing map.
Note: Undead said he didn't want cavern, iceroad, or swamp in 1.3.
from those 3, only swamp stays because it is under CC BY-NC-SA 3.0 license (You are free to: Share and adapt.)
2021-08-02 15:31:07 -03:00
flowtron 9e319781a1 coop in menu (fix issue #340) 2021-06-01 17:42:33 +02:00
drian d0a1d7bdf8 synced updated credits from acm 2021-05-22 08:29:15 +02:00
drian 719377e9bb updated maps and preview pics 2021-05-22 06:49:04 +02:00
RonaldReagan 0e5b638b9f Merge remote-tracking branch 'ACMaster/release_1.3' into authimprovements_263
# Conflicts:
#	config/menus_settings.cfg
2021-05-21 21:43:06 -06:00
RonaldReagan 3e950bba2c #263 New auth menus. Allow saving keys without setting password 2021-05-21 12:18:29 -06:00
BrutalSystemandGitHub ffffff2f94 repair accidental error with map name 2021-05-07 21:04:22 -03:00
drian 390a7b908a #272 Update __defaultmaps and __ctfmaps lists 2021-04-24 05:57:46 +02:00
drian 0ca1d0c49a updated maps, thanks to BrutalSystem 2021-04-22 06:03:11 +02:00
RandumKiwiandGitHub 645a3668e9 Remove the "quit" menu
First: it's ugly,
Second: it's not that useful,
Third: it's not so labourious to restart AC as it loads quickly.

Quit menu = GONE.
2021-04-12 07:17:49 +12:00
aurhat 803517e2ef Improve maps menus
Map message moved on the right.
2017-09-04 22:49:01 +02:00
ac-stef 4b26df11df update genmapitems
easier than to fix the persistidents vs. push/pop problem :)
2017-06-17 18:37:32 +02:00
ac-stef 30a0e8608c menu code cleanup and subdirectory support
menuitemmapload mapname action [hoveraction [desc]]

    create menu entry for a map file

  menudirlistsub action dots

    adds subdirectory entries to a menu with a files list
    has to come after the menudirlist command
    <action> is the command to be executed, when the menu entry is chosen
    if <dots> is 1, an entry ".." is added

  enumfiles path [extension]

    lists files in a directory
    if extension is specified, only files of that extension are listed
    if the extension is "dir", only directories are listed

DOCREF menuitemmapload menudirlistsub enumfiles
2017-06-12 20:07:11 +02:00
ac-stef 753474c401 menu updates
- separate settings menus for console and scoreboard
- some sorting
- "return" command removed

DOCREF return
2017-05-29 00:00:26 +02:00
aurhat e126faef15 Cleanup 2017-05-21 22:08:04 +02:00
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
ac-stef 227e6651f5 add option to sync tabs in menus
menusynctabstops 0|1
    if enabled(1), tab positions in a menu are synchronised
    default is off(0)
    affects menu title, header and items but not footer or descriptions

DOCREF menusynctabstops
2017-04-24 19:51:40 +02:00
ac-stef 066c820231 add menu output for reference searches
changed command:

  docfind <pattern> <silent>

    Searches for pattern in all reference entries. If <silent> is zero or
    omitted, all found references are listed.

    A table of all found entries is returned as result. For each entry,
    the index of the doc entry string that contains the pattern is listed.

new command:

  getdoc <ref> <idx>

    Returns a string of the doc entry specified by <ref>. String index
    numbers match with the result of docfind.

      0   name
      1   description
      2-  remarks

DOCREF docfind getdoc
2017-04-24 19:51:40 +02:00
aurhat 72dfcd73fe Cleanup
"showminremain" enabled by default, "fovcompat" removed.

DOCREF showminremain fovcompat
2016-10-14 21:49:53 +02:00
ac-stef 0083c51b3b add menus to assign licenses to maps 2016-07-28 00:35:43 +02:00
aurhat c1e9daee1e Cleanup 2016-07-17 13:27:10 +02:00
aurhat cbddcf05cf Add searching for map and demo in menu
Searching is by map/demo names and descriptions (also custom descriptions,
in case of demo).

DOCREF menudirlist
2015-09-21 20:29:15 +02:00
aurhat 47485bea24 Add rewind menu 2015-07-28 22:17:32 +02:00
aurhat 9c0f99f2a1 Cleanup
Remarks:
1. Changed order in keycmds lets to keep alphabetical order in saved.cfg .
2. Earlier long information in docs about arguments of command could be
invisible for low aspect ratio (example: "weapon" command), now it's fixed.
2015-07-04 11:30:58 +02:00
ac-stef fe6f9e92a7 tab and formfeed cleanup 2015-06-10 14:28:50 +02:00
ac-stef 78115b90b4 remove gettext from menus
also clean up some color codes
2015-06-10 14:28:50 +02:00
ac-stef 631685afb6 new commands curmenu and closecurmenu
curmenu gives back the name of the currently open menu, which can be used
to close just that.

The new script "closecurmenu" uses curmenu to close the current menu.

DOCREF curmenu closecurmenu
2015-03-29 13:21:47 +02:00
ac-stef 6cdb2f88e1 change scripts to use tempalias and push/pop
* no more need to delete aliases "onQuit"
* removed on_quit.cfg
* moved faq.cfg, parsestrings.cfg and survival.cfg to config/opt
* run faq.cfg and survival.cfg when needed

DOCREF addListOnQuit
2015-03-06 22:38:28 +01:00
aurhat 779627cb94 Remove obsolete recorddemo/stopdemo from menu 2014-12-31 16:58:33 +01:00
aurhat fa483e1fcd Add custom description of demos
Custom description is displayed in "Watching demo" and "Play demo" menu.
2014-11-29 16:06:50 +01:00
aurhatandac-stef 79943778e7 Show list of demos in "Download demo" menu 2014-07-08 19:02:17 +02:00
ac-stef eb60302e67 cleanup
- fix possible crash in conc (but it's still an ugly hack)
- fix noob usage of strcmp
- flag some memory leaks (it would be nice, if the author(s) would clean
   up the mess himself)
- fix crash in substr
- whitespace cleanup

there are plenty more memory leaks in command.cpp - for example, every
goto in cubescript does not clean up anything
2014-05-14 22:54:37 +02:00
Lucas GAUTHERON ce6474a9a7 mappack removed, x2
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7521 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-08-02 11:47:18 +00:00
Lucas GAUTHERON 2ddcbf0ac1 no more mappack
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7520 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-08-02 11:32:21 +00:00
Bukz a03986df70 menu prep for translations/guidetoggle cleanup
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7436 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-27 22:52:33 +00:00
RandumKiwi 6cb56591de * Added ac_wasteland.
* Tested "strip and preserve" mode on map cfg files, which worked very well -> deleted spare whitespace.
* Checked clippings on all new models, added them all to menus_edit.cfg

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7354 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-17 02:55:48 +00:00
Bukz cf3799e8a5 aliases defaultmaps/ctfmaps/etc. should be constant
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7345 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-10 23:47:08 +00:00
RandumKiwi 8323a9acb6 Changes happen, classics die. Get over it.
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7303 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-04 23:15:26 +00:00
RandumKiwi 28075ee066 Shit, I got bored again: ac_cavern
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7282 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-02 22:00:06 +00:00
RandumKiwi c29039a333 I got bored, so hello ac_lainio
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7273 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-02 12:08:59 +00:00
RandumKiwi cf8843264c AC_TERROS IS GO. Need a screenshot and a survival zone please? Thanks.
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7263 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-02-28 12:02:47 +00:00
RandumKiwi fe5ce9892e ac_venison
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7240 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-02-20 14:11:53 +00:00
Bukz 1bfb17dab3 cleanup/updates
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7224 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-02-17 05:50:04 +00: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
Bukz b2a77186cc cleanup/quotes to brackets where feasible
Note: This commit effects a lot of configs, be on the look out for little cubescript errors/broken menuitems/etc. and report them ASAP.

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7146 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-02-04 03:30:50 +00:00