Age | Commit message (Collapse) | Author |
|
differ. This commit adds old DMX's voice allocating alogrithm for Hexen and Heretic.
|
|
The Strife binary has another priority check in the first loop inside
S_GetChannel. TODO: Does DOS Doom have this as well? Find out.
Resolves issue #506.
|
|
This change rewrites and simplifies the copyright headers at the top
of all source files:
* Remove "Emacs style mode select" line; this line was included in
the headers for the originally released source files and appears
to be to set the file type for old versions of Emacs. I'm not sure
entirely why it was required but I don't think it is any more.
* Remove "You should have received a copy of..." text from copyright
header. This refers to the old 59 Temple Place address where the
FSF headquarters used to be located and is no longer correct.
Rather than change to the new address, just remove the paragraph
as it is superfluous anyway. This fixes #311.
* Remove ---- separator lines so that the file headers are barer
and more simplified.
|
|
The Windows API has an _snprintf function that is not the same as
Unix's snprintf(): if the string is truncated then no trailing NUL
character is appended. This makes the function unsafe. Define a
replacement/wrapper called M_snprintf that works the same but always
appends a trailing NUL, for safety on Windows and other OSes that
behave like this.
Do the same thing for vsnprintf(), and update HACKING to list
snprintf/vsnprintf as forbidden functions. This fixes #375;
thanks to Quasar for pointing out the different behavior of these
functions.
|
|
Use snprintf() in place of sprintf(). This is part of fixing #371.
|
|
Eliminate use of strcpy, strcat, strncpy, and use the new safe
alternatives.
|
|
Strife's default music volume is 13 as opposed to Doom's value of 8.
This was apparently not changed during the development of Chocolate
Strife. Thanks to Alexandre-Xavier for noticing this and providing the
correct value (bug #347).
|
|
Initialize low-level sound startup (calls to I_InitSound) separately
from the high-level sound startup (S_Init). In particular, make sure
that SDL sound is initialized before the textscreen multiplayer
waiting screen is shown. This is an attempt to fix a bug with sound in
multiplayer games on Windows; calling SDL_QuitSubSystem(SDL_INIT_VIDEO)
(on closedown of the textscreen library) causes subsequent attempts to
initialize audio to fail.
Big thanks go to Alexandre-Xavier (AXDOOMER) for working out a fix for
this bug and James Haley (Quasar) for giving some technical background
about the lack of separation between SDL subsystems. This (hopefully)
fixes #270.
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2555
|
|
isn't in Strife, and added a note about some horribly buggy code in the
S_StartSound I_Error we're not bringing in (for now anyway).
Subversion-branch: /branches/strife-branch
Subversion-revision: 2271
|
|
routines from Eternity.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2252
|
|
treatment of SPR_TOKN objects, and playing proper sounds for different
item types. Fixed most S_StartSound calls in the menu engine. Removed
call to S_StopSound in S_StartSound, as Strife doesn't do it. Added call
to P_DialogDoChoice(-1) in M_Responder when menuindialog is asserted and
the menu exit key is pressed.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2130
|
|
most of those are outside of our own code (get on those signed/unsigned
mismatches in the midi code, fraggle ;)
Subversion-branch: /branches/strife-branch
Subversion-revision: 2110
|
|
cache in the zone heap.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2076
|
|
Subversion-branch: /branches/strife-branch
Subversion-revision: 2071
|
|
problems with playing of voice sounds - especially had to add a dynamic
hashtable of voice sfxinfo_t's because Choco won't tolerate overwriting
them once they've been used (see channel_playing array in i_sdlsound.c)
- PROBLEM: Random Z_Malloc failures when trying to play sounds. Cannot
catch in debugger so far.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2065
|
|
Subversion-branch: /branches/strife-branch
Subversion-revision: 2063
|
|
the proper music playing on all levels. This really feels like Strife
now :)
Subversion-branch: /branches/strife-branch
Subversion-revision: 1990
|
|
+ All doom sound references replaced with sfx_swish as placeholder
+ Removed all but MT_PLAYER mobjinfo in mobjinfo struct
Subversion-branch: /branches/strife-branch
Subversion-revision: 1980
|
|
bar redraw when menus are active as in Strife. Finished up the Strife
"settings" menu which was only for sound volumes in vanilla Doom.
Subversion-branch: /branches/strife-branch
Subversion-revision: 1973
|
|
to build libstrife.a rather than libdoom.a, add chocolate-strife to
src/Makefile.am.
Subversion-branch: /branches/strife-branch
Subversion-revision: 1840
|
|
Subversion-branch: /branches/strife-branch
Subversion-revision: 1839
|
|
needs own Makefile.am, and eventual removal of modules not used by
Strife / addition of modules not sharable with Doom.
Subversion-branch: /branches/strife-branch
Subversion-revision: 1838
|