Commit Graph

12 Commits

Author SHA1 Message Date
Ozkan Sezer d239a8911d snd_umx.c (get_objtype): make sure that 'sig' array is initialized. 2022-03-21 20:21:24 +03:00
Ozkan Sezer 1439cc0547 snd_umx: don't overzealously restrict the loader to known upkg versions. 2021-12-28 03:21:10 +03:00
Ozkan Sezer bd8615c235 snd_umx.c: revise sanity checks and check returned values from FS layer. 2021-07-14 03:37:00 +03:00
Ozkan Sezer 81adf62374 Updates for tracker music:
- New console command music_jump: Jump to given order in music,
  like Unreal's music change.  Only for module (tracker) music.
- stream layer: Store the loop setting.
- umx reader: Replaced questionable byte-swap.
- libxmp backend: Handled the loop setting through libxmp apis.
- mikmod backend: Enabled in-module loops. Respect global loop
  setting. More compatible reader callback structure.
2021-02-04 23:28:00 +03:00
Ozkan Sezer 1f46579e55 snd_umx: minor update from umr. minor correction to fshandle offset.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@893 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-02-11 20:00:35 +00:00
Ozkan Sezer 7e452509c2 more correct export read for unreal beta, for correctness sake...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@888 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-01-12 20:50:23 +00:00
Ozkan Sezer e17a2459b7 fix umx export table read order. doesn't affect our umx playback, but correctness is good.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@887 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-01-12 18:27:33 +00:00
Ozkan Sezer 8060407875 snd_umx.c (read_typname): made technically more correct (not that it matters for our case, but still..)
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@879 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-10-24 07:03:49 +00:00
Ozkan Sezer 8d6e912c2a snd_umx.c: support umx files from unreal 1997/98 beta version.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@878 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-10-23 18:57:18 +00:00
Ozkan Sezer 6bdc733591 snd_mikmod.c: fix return type of the Seek function. snd_umx.c: update XM detection. other minor tidy-ups.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@876 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-10-15 18:11:31 +00:00
Ozkan Sezer 5e4849c61f replace all ctype.h functions/macros and strcasecmp/strncasecmp()
by locale-insensitive versions, new header q_ctype.h.


git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@868 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-09-25 17:01:40 +00:00
Ozkan Sezer ffa3bf4413 Merge several FS_* and snd_codec* layer updates from uhexen2 tree:
tidy-ups in FS* stdio replacement functions. add new FS_filelength.
snd codec layer updates: changed codec_open() to operate only on a
stream pointer and moved all file open/close stuff to snd_codec.c.
codec_open now only returns true or false upon success or failure
instead of a stream pointer. added new snd_codec.c toplevel helper
S_CodecForwardStream(), which allows one codec to hand over its
stream from its codec_open() to another codec. Support for tracker
(mod) music, including support for Unreal umx containers. (might
be useful if we ever make a Nehahra version of the engine some day.
edit the makefiles to enable when compiling.)


git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@867 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-09-25 11:01:12 +00:00