View Full Version: right hand text not displaying properly

ivan >>Trouble Shooting and Bugs >>right hand text not displaying properly


<< Prev | Next >>

MrSpurious- 04-07-2005
right hand text not displaying properly
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?

holybanana- 04-11-2005

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

TheFallenOne222- 04-11-2005

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.

Forumer™ is Voted #1 Free Forum Hosting provider
Build your own community today with the largest message board hosting company.