Module darkplaces: Change committed

havoc at icculus.org havoc at icculus.org
Wed Sep 25 21:24:52 EDT 2002


Commiter   : havoc
CVSROOT    : /cvs/cvsroot/twilight
Module     : darkplaces
Commit time: 2002-09-26 01:24:52 UTC

Log message:

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)

Modified files:
     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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: darkplaces.20020926.012452.havoc.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20020926/22b9f53c/attachment.diff>


More information about the twilight-commits mailing list