Re: [TuxKart-devel] Fullscreen mode
Status: Alpha
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2004-07-19 23:57:17
|
Pascal Giard wrote: > I know i can't use glutFullScreen(), we're not using GLUT... No - early versions of TuxKart used GLUT - but I got sick of Windows users whining that it wasn't installed on their systems and that the BeOS version of GLUT was utterly braindead. Hence, PLIB now includes a very simple windowing library which includes all the important= bits of GLUT that most games actually need and none of the junk that it doesn't need. PW uses the convention that passing '-1' as the window width/height will make it fill the screen. So, on startup: pwInit ( 0, 0, -1, -1, FALSE, "TuxKart", FALSE, 0 ) ; =2E..or later... pwSetSizeOrigin ( 0, 0, -1, -1 ) ; =2E..there isn't a mechanism to turn the borders on and off once the window is opened. > I saw your answer Steve=B9, but i don't understand what is managing the= windows > for tuxkart... PW is the windowing library that comes with PLIB: http://plib.sourceforge.net/pw/index.html ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net -----BEGIN GEEK CODE BLOCK----- GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++= -----END GEEK CODE BLOCK----- |