Back to the Korax Forum Archives
Camper
SOURCE=..\..\utils\glbsp\analyze.c # ADD CPP /W3 /D "GLBSP_PLUGIN" # End Source File # Begin Source FileIn source/sv_main.cpp Move:
SV_SetUserInfo(sv_player->UserInfo);From Line 2640 to Line 2638 (Before the Spawn command) Takes care of bots always spawning as fighters first time In source/s_win32.cpp adding a new static long variable named prev_sndvol adding following line near lin 224:
PrimarySoundBuffer->GetVolume(&prev_sndVol);and adding following line in VDefaultSoiundDevice::Shutdown(void) before DSound->Release();
PrimarySoundBuffer->SetVolume(prev_sndVol);Fixes the problem with the Windows soundvolume always changed by vavoom In source/in_input.cpp Adding following line on Line 148:
"MOUSEWHEEL",In source/input.h Adding following line on Line 118:
"MOUSEWHEEL",In source/in_win32.cpp Adding a new static int variable named old_mouse_z. Adding following Lines under Line 686:
int mouse_z; mouse_z = MouseState.lZ; if (mouse_z != old_mouse_z) { IN_KeyEvent(K_MOUSEWHEEL, old_mouse_z>mouse_z); }This adds MouseWheel support under Win32
dj_jl