From: Todd L. <tl...@me...> - 2000-09-04 15:07:19
|
Hi all, I think the inifile.c problem may actually be endian-related rather than OS-related. I have had a lot of problems with getting invalid data from my inifile (usually just empty data or 0s) on LinuxPPC. (And yes, I have the inifile named Arianne.ini in the same directory as arianne-client). I'm visiting my brother in Maryland at the moment, but when I get back on Tuesday or sometime on Wednesday, I'll try out the inifile_mac.c on LinuxPPC to see if it fixes my problems. Also, does anyone know why it would be segfaulting on SDL_DisplayFormat in GFXData.cpp when it loads the graphic? I know that this is just so that that it can blit to the screen at the fastest rate possible, and it works fine when I just store the loaded bmp. This bug COULD be in SDL, however, the demo in the SDL Docs that uses LoadBMP and DisplayFormat runs fine with the same BMP that Arianne is loading. Strange, eh? I might email an SDL list about this one. Thanks, -Todd +---------------------------------------------------------------+ | Perl CGI scripting email tl...@cs... | | Web Design email tl...@cs... | | My Current Projects: | | NewsWire www.squirrelsw.com | | JavaGroove www.squirrelsw.com | +---------------------------------------------------------------+ On 4 Sep 2000, Masahiro Minami wrote: > >By the way can anyone review the inifile.c code to see where the problem > >is? > >I don't understand what the code is for. If none want to do I will start it > >from > >scracth. > > > > > > What was the problem? I seem to have missed something... > Anyway, I've made several changes to inifile.c ( actually I've made > separate inifile_mac.c file in order not to confuse everything ) and > it seems working correct. > > Masahiro Minami > el...@aa... > > ------------------------------------ sent by Cyberdog > PowerMac G3/233/DT > MacOS 9 > LinuxPPC > > exception handling : www2.age.ne.jp/~except > > > > _______________________________________________ > Arianne-general mailing list > Ari...@li... > http://lists.sourceforge.net/mailman/listinfo/arianne-general > |