mixer_GetCDVolume to sound_GetMusicVolume
mixer_SetCDVolume to sound_SetMusicVolume
mixer_GetWavVolume to sound_GetUIVolume
mixer_SetWavVolume to sound_SetUIVolume
mixer_Get3dWavVolume to sound_GetEffectsVolume
mixer_Set3dWavVolume to sound_SetEffectsVolume
* Make the above functions use floats instead of SDWORD (int32_t) and use a range of 0.0 - 1.0 instead of 0 - 100
* Remove global var g_iGlobalVol which was only used by one function and wasn't reused in multiple calls, now use a local function var instead: float originalVolume
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1972 4a71c877-e1ca-e34f-864e-861f7616d084
- Add some debug output (which will never get shown, since we setup the crashhandler before the debughandler).
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1968 4a71c877-e1ca-e34f-864e-861f7616d084
* remove global var g_bStopAll which seems to function as some kind of crude (and non-functional) mutex lock (while Warzone doesn't even uses threads!)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1961 4a71c877-e1ca-e34f-864e-861f7616d084
* Adapt all code that depends on display3D by either removing if (!display3D){} code or removing the conditional around if(display3D){}
* remove now useless function audio_Display3D (returned display3D) and now unused function audio_Get2DPlayerPos
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1958 4a71c877-e1ca-e34f-864e-861f7616d084
* Remove lib/netplay/netcrypt.c from the list of files to extract translatable strings from for gettext
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1954 4a71c877-e1ca-e34f-864e-861f7616d084
- Add debug output to gameserver sanity check
- Set the connection-check timeout to 10s
- Allow reusing of the masterserver address since otherwise lobbyserver restarts don't work immediately
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1951 4a71c877-e1ca-e34f-864e-861f7616d084
pointer field. This would not only not work if the two players with different pointer
bit length were communicating, it would also crash if psDroid->psTarget[i] was not
overwritten before use. Fixed!
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1938 4a71c877-e1ca-e34f-864e-861f7616d084
* This means that in order to get the actual amount of kills by this droid you need to divide this field by 100
* All *Damage functions will now return a negative number if the amount of dealt damage was enough to destroy the target object (instead of TRUE)
Patch #745 (Adds Support For Partial Kills) by Freddie Witherden <evilguru>
Some minor changes by me (expansion of comments)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1937 4a71c877-e1ca-e34f-864e-861f7616d084
Dennis Schridde <devurandom> gave me permission to license his part of these files under the GPL (on IRC)
I hereby (explicitly, implicitly I had already done so) release my contributions to these files under the GPL as well.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1918 4a71c877-e1ca-e34f-864e-861f7616d084
cast to int which is likely to cause bugs on 64bit architectures in projectile code.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1913 4a71c877-e1ca-e34f-864e-861f7616d084
* Change the array iteration code such that it is a bit easier to read
* remove audio_CheckAllUnloaded() which only forwarded to sound_CheckAllUnloaded()
* Add some comments
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1910 4a71c877-e1ca-e34f-864e-861f7616d084
- Adjust camera-smoothness in warcam.h
- Simplify trackHeight(). I experienced an extreme, infinite but irreproducible rotation once: If anyone experiences it again, this is very probably the culprit.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1901 4a71c877-e1ca-e34f-864e-861f7616d084
- no longer use glob
Known (and as of yet unfixed) issues are:
- it does not handle filenames safely (tabs and other whitespace in a filename are not handled correctly, though the likelyhood of this problem arising are low)
- it can parse extremely incorrect pie files (points not defined within a level, for example) when perhaps it should just fail gracefully
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1899 4a71c877-e1ca-e34f-864e-861f7616d084