Commit Graph
34 Commits
Author SHA1 Message Date
ac-stef e318ecd68e integrated automatic embedded map config files
This patch enables an option to keep the map config embedded in the map
file - with autogenerated content. Any changes to map config data will be
written with the map. This includes data by loadnotexture, loadsky,
mapmodel, texture, fog, fogcolour, mapsound and shadowyaw. Once enabled,
all changes with those commands become persistent to the map.

New variables:

mapsoundchanged
  Set to "1" with every command that changes mapsound slots. Should be
  used to trigger a rebuild of mapsound menus.

New/changed commands:

mapsound
  Now returns the number of the created slot.

mapmodel
  Now returns the number of the created slot.

texture
  Now returns the number of the created slot.

loadsky
  Is now a builtin string variable (instead of a command), which means,
  that the current value can easily be retrieved or edited.
  The skymap name in the argument is now required to start with
  "textures/skymaps/" - but that part of the path can be omitted.
  examples:
    loadsky steini/steini2 (loads textures/skymaps/steini/steini2_*)
    loadsky textures/skymaps/steini/steini2 (same)
    loadsky ../foo/bar (loads textures/foo/bar_*)
    echo $loadsky

getnotexture
  Returns the current "notexture" path. (Set by loadnotexture)

dumpmapconfig (available for debug binaries only)
  Writes the current automatically generated map config to
  dumpmapconfig.txt.

DOCREF mapsoundchanged mapsound mapmodel texture loadsky getnotexture
2015-05-18 14:46:03 +02:00
aurhat 3d143a07bc Fix "alive" state for sounds
Earlier player in spectator mode heard still tinnitus and heartbeat sounds.
2015-01-06 13:00:42 +01:00
Ronald Reagan ab31e10ee3 Fixes OpenAl Error (A004) upon shutdown.
Basically removes the buffers _after_ stopping all sounds.
2014-11-13 01:32:52 -08:00
ac-stef 3606a4200c print more version info during init
also fixed parsing the audio device string
2014-07-26 11:19:36 +02:00
Lucas GAUTHERON a7a1e46bcc merged branch
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7382 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-22 19:49:21 +00:00
Bukz 28933e4e8d menu fix/saved.cfg cleanup
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7260 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-02-26 23:07:50 +00:00
aerkefiende 0c371cf539 Dead people don´t have tinnitus
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7023 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-01-01 23:09:51 +00:00
Lucas GAUTHERON c9de0d8eb8 disable heartbeat in osok gamemodes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7014 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-12-30 22:08:35 +00:00
sireus b33116712c sane(r) command signatures (warning: huge commit)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6908 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-10-06 22:49:49 +00:00
Lucas GAUTHERON 37efdcdb3e registersound fix, + new "showgrid" variable
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6729 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-12-10 18:03:04 +00:00
sireus 6b0515e0bb VARP
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6563 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-08-02 10:15:52 +00:00
aerkefiende 06f73f4627 Replaced Tabs with 4 spaces in every source file
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6561 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-07-31 15:44:57 +00:00
sireus 2e3de34c60 heartbeat sound
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6549 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-06-29 20:25:42 +00:00
Lee Salzman a4b83ef2ba warning fixes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6248 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-14 15:24:11 +00:00
flowtron d5b9b3efea FIX: bug-ID 3192360 - text is required for voicecom command.
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6111 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-02-27 22:17:33 +00:00
flowtron 7f6abd3d4b 32 sounds @ once
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5918 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-11-21 00:49:21 +00:00
flowtron b7cf748063 don't play local VCs if voicecomsounds is "Off"
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5569 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-08-08 16:46:11 +00:00
flowtron ed72dc0e7a really use the new VCs - plus attribution to DES|GeneralDisarray in creditmenu.cfg
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5529 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-08-02 23:19:46 +00:00
flowtron ea5bf0cca6 enable new VoiceComs
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5520 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-08-02 18:15:22 +00:00
flowtron 27feddeff8 fix music-delay issues - see end of config/sounds.cfg for preload_music option
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5354 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-13 07:55:38 +00:00
Rafael Barreto 2157072cc7 forbidden speech dictionary, deny coop for read only maps, and some suggestions from sam about client/server crashes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5138 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-06-04 00:42:58 +00:00
Lee Salzman 78ad6b8420 give reload sound higher priority
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4827 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-05-08 22:44:47 +00:00
Lee Salzman be94c703f2 setsize -> shrink
setsizenodelete -> setsize
deletecontentsa -> deletearrays
deletecontentsp -> deletecontents
vrealloc -> growbuf



git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4787 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-03-11 23:06:26 +00:00
Lee Salzman 9256ee374b support for loading from zip files
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4717 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-11-08 00:53:19 +00:00
Lee Salzman e725e5ed8c string function cleanups
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4714 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-11-07 22:44:32 +00:00
Lee Salzman 54cc44c3db revising pch setup
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4690 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-11-07 06:42:37 +00:00
ac_stef 050772c523 16 minor fixes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4153 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-02-09 13:40:44 +00:00
driAn 8b63ffeb44 audiomanager refactoring, class-ified world objects, member access cleanups
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3952 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-12-08 21:17:11 +00:00
driAn 3ef184e1d8 fixed footstep sound radius bug
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3883 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-12-06 13:32:38 +00:00
driAn 04fd93d840 sound radius limitations
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3879 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-12-05 23:02:40 +00:00
driAn 61c6ed5f67 fixed name collision
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3794 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-11-29 00:25:14 +00:00
driAn 02cf7f903f sound code refactoring, made sourcescheduler a singleton
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3792 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-11-28 22:50:15 +00:00
driAn dbcc3317ec further audio code refactoring, new cubescript macro for calling class objects inline-ish
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3764 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-11-26 19:53:23 +00:00
driAn 74e1468ee3 ac audio architecture refactoring
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3760 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2008-11-25 22:50:35 +00:00