ivanforum ivanforum
Forum for Iter Vehemens ad Necem
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   fchat fChat   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

right hand text not displaying properly

 
Post new topic   Reply to topic    ivanforum Forum Index -> Trouble Shooting and Bugs
View previous topic :: View next topic  
Author Message
MrSpurious



Joined: 07 Apr 2005
Posts: 1

PostPosted: Thu Apr 07, 2005 6:37 pm    Post subject: right hand text not displaying properly Reply with quote

Hi, I seem to have a problem with the state messages on the right column. Not all text describing a state is drawn, or is being drawn incorrectly. For instance, two blank lines will appear below the turn counter, and then a properly drawn state name. If I then do something to modify my state (eating a kiwi, dropping a lot of things), the properly drawn state will move up one line. Therefore, I know that there was a line of text I couldn't read. Other occurrences are text for a state being drawn as a line of the same character. Often when an attribute changes, a line of single characters will appear, or the text for the entire line will dissappear. Any thoughts?

I thought it might be an SDL problem, I'm using 1.2.7. I am using Gentoo, but compiled this from source myself rather than using the ebuild. I've tried recompiling it with more optimizations (default was -O2, I compiled with CXXFLAGS="-mcpu=athlon-xp -O3 -pipe" as well, but that appeared to work the same.)

I haven't seen any other reports of this - any suggestions?
Back to top
View user's profile Send private message
holybanana
Party Chairman


Joined: 04 Jan 2005
Posts: 155
Location: Above Valpurus

PostPosted: Mon Apr 11, 2005 8:18 pm    Post subject: Reply with quote

Hi. Some Gentoo users have had similiar problems. This is most likely a compiler bug. I'm pretty sure it occurs in the two rawbitmap::Printf functions of <IVAN's source dir>/FeLib/Source/rawbit.cpp, although I don't know where in them. Could you, or someone else with the same problem, test if replacing the aforementioned file with this patched one and recompiling helps:

http://ivan.sourceforge.net/rawbit.cpp
Back to top
View user's profile Send private message Send e-mail
TheFallenOne222
gibberling


Joined: 03 Apr 2005
Posts: 166

PostPosted: Mon Apr 11, 2005 11:13 pm    Post subject: Reply with quote

I think I might know what it is if that's not it...

Whenever I attempt to compile the source in MSVS, it complains about a possible "bit operations order" problem in rawbit, because the order hasn't been clearly defined with brackets. It's possible that it's decided to give some of the operands a different priority, and that's what is causing the problem. There was a similar problem in another file... I'll grab the file lines later tonight if that's not the problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ivanforum Forum Index -> Trouble Shooting and Bugs All times are GMT


Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group