Re: [Plib-devel] A new plib release?
Brought to you by:
sjbaker
From: Joerg H. <jo...@lu...> - 2007-09-14 02:06:31
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I am not using the current SVN version of plib (and am too busy atm to check it out - sorry), but it would be nice if you could check that the following fixes are in: 1) In src/ssg/ssgLoadAC.cxx replace: loader_fd = fopen ( filename, "ra" ) ; with loader_fd = fopen ( filename, "r" ) ; Since 'ra' is not accepted by visual C (or #ifdef this). 2) Attached a new version of pwMacOSX.cxx. This file was given to the SuperTuxKart team by Hayden M. (contact me if you need the email address), with the following comments: """ ... The clipping issues are due to PW, when it initialises AGL it doesn't set the z-buffer depth. I guess AGL defaults to 8bit. Also PW has some other issues with the menubar in Mac OS X. Carbon's functions read past the end of the string (upto 255 chars). So on the end of every string being displayed there would be an extra (255 - string length) characters from whatever's after it on the stack. Also clicking anywhere on the menubar caused the game to quit. I've attached the fixed PW src file (pwMacOSX.cxx). I don't know what you can do with it, I guess include a patch for plib or include plib itself in the src archive. As far as I can tell plib is no longer maintained (?). The only significant change I made was setting z-buffer to 32bit. I'm not sure how this will affect other mac users but I don't think it will cause much issues. """ Not having a Mac I can't really comment on that, but I know that the people creating the Mac binary package for SuperTuxKart always have to patch plib with this file to get it to work. Good luck with the new release! Cheers, Joerg - -- - ---------------------------------------------------------------- Joerg Henrichs Luding Administration e-mail: jo...@lu... URL: http://luding.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG6e1xLC0mrNKFwF4RAlihAKC8NZUVBZRnvRn3sLeDPRkCTGomGgCfYOU6 RkqjYyC3GmIb6aYw5PD/aYQ= =7jp8 -----END PGP SIGNATURE----- |