Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
 I am trying to compile smaugfuss1.8
Today, 11:18 am
By Tyro
Resets not working.
Yesterday, 5:57 am
By Remcon
Compendium of bugs in SmaugFUSS
May 18, 2013, 8:42 am
By Remcon
SIGCONT?
May 13, 2013, 9:49 am
By Aurin
Try/Catch function?
May 10, 2013, 10:36 am
By Zeno
QSF Portal
Author: QSF Portal Team
Submitted by: Samson
Raspberry Pi Diff File
Author: Dretzile
Submitted by: Dretzile
Replacement mp_*_passage funcs
Author: Andril
Submitted by: Andril
g++ 4.6 unused variables patch
Author: diff
Submitted by: Andril
LOP 1.43
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, Google, ErikMcnam, Baiduspider, GudrunVZT, CarolynWi, Vernon81P, Zeno, GabrielaA, Yandex

Members: 6
Guests: 26
Stats
Files
Topics
Posts
Members
Newest Member
440
3,577
18,328
3,937
BetseyJJK
Today's Birthdays
RonnyGood (46)
Related Links
Smaug Building Institute
» SmaugMuds.org » Codebases » SmaugFUSS » Bug in color.h
Forum Rules | Mark all | Recent Posts

Bug in color.h
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Apr 29, 2012, 12:34 pm
Go to the top of the page
Go to the bottom of the page

ahsatan
Fledgling
GroupMembers
Posts2
JoinedApr 29, 2012

I was looking at some code in color.h today and noticed that there is an off-by-one error with the AT_ defines.

AT_BLINK is defined as 16.

the comment directly under it says:

/* These should be 17 - 31 normaly */

then the next define:

#define AT_BLACK_BLINK AT_BLACK + AT_BLINK

now correct me if i'm wrong but isn't AT_BLACK defined as 0?

which would actually make AT_BLACK_BLINK = 16?

maybe this is intentional and the comment is wrong?

this is from a copy of SmaugFUSS 1.9 downloaded today.

the only reason i found this is because i'm (futilely?) in the process of converting FUSS 1.9 over to Java (why? because i'm bored),
and the numbers just weren't adding up after i got everything copied over.
       
Post is unread #2 Apr 29, 2012, 12:46 pm
Go to the top of the page
Go to the bottom of the page

ahsatan
Fledgling
GroupMembers
Posts2
JoinedApr 29, 2012

nevermind. after digging around a bit more, apparently it's just the comment that is misleading.
       
Post is unread #3 Apr 29, 2012, 3:39 pm
Go to the top of the page
Go to the bottom of the page

Aurin
Magician
GroupMembers
Posts181
JoinedSep 5, 2010

If you get this running in java, I'd be more than interested to see the changes you made for that. :)
       
Pages:<< prev 1 next >>

 
Contact Us