]> icculus.org git repositories - divverent/darkplaces.git/commit
this commit adds video mode switching, and preferred mode is saved to config, no...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 26 Sep 2002 01:24:41 +0000 (01:24 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 26 Sep 2002 01:24:41 +0000 (01:24 +0000)
commit55ed30ad15c72f52aea124389b9997745d4dbf02
tree281bf5f237e0e6bb0375f4c081950a4c5c57b3d3
parentd6b08a7881a1cbe01cea5bbad0e2201abf36b638
this commit adds video mode switching, and preferred mode is saved to config, no more need for -window/-width/-height/-bpp (they still work)
IN_Init and IN_Shutdown code has been merged into VID_InitMode and VID_Shutdown code in each of the video systems
VID_InitCvars renamed to VID_Shared_Init
VID_Open and VID_Close functions added in vid_shared, Host_Init now calls VID_Open
S_Open/Close and CDAudio_Open/Close added (none of these do anything yet)
VID_Open and VID_Close call R_Modules_Start, S_Open, and CDAudio_Open and their corresponding Close functions
VID_Restart_f added (vid_restart command)
vid_hidden now starts true (to avoid any refreshs until video is started)
vid_fullscreen/width/height/bitsperpixel are now saved to config
VID_Open is called after configs are parsed
Render_Init now longer starts/stops modules
IN_MouseEvent in vid_wgl.c no longer clamps pitch (since that's done by IN_PostMove)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2442 d7cf8633-e32d-0410-b094-e92efae38249
18 files changed:
cd_linux.c
cd_null.c
cd_win.c
cdaudio.h
gl_rmain.c
host.c
input.h
snd_alsa_0_5.c
snd_alsa_0_9.c
snd_null.c
snd_oss.c
snd_win.c
sound.h
vid.h
vid_glx.c
vid_null.c
vid_shared.c
vid_wgl.c