URL: <http://gna.org/bugs/?10270>
Summary: Lobby cursor is rendered wrong. fix included Project: Warzone Resurrection Project Submitted by: buginator Submitted on: Tuesday 11/06/2007 at 04:58 Category: Engine: Graphics Severity: 1 - Trivial Priority: 5 - Normal Status: None Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Release: svn/trunk Operating System: All Planned Release: None _______________________________________________________ Details: This fixes the lobby cursor from a stubby blueish line to a full size white line. That is what the 0xFFFFFF is for. It is a RGB triplet (0xRRBBGG). They also have a option to "blink" the cursor if the #define BLINK is set to 1. It is now set to 0. May want to set it to 1? Index: editbox.c =================================================================== --- editbox.c (revision 2741) +++ editbox.c (working copy) @@ -742,7 +742,8 @@ cx = x0 + WEDB_XGAP + iV_GetTextWidth(psEdBox->aText + psEdBox->printStart); *pInsPoint = ch; cy = fy; - iV_Line(cx,cy+iV_GetTextAboveBase(), cx,cy+iV_GetTextBelowBase(),*(pColours + WCOL_CURSOR)); + iV_Line(cx,cy+iV_GetTextAboveBase(), cx,cy-iV_GetTextBelowBase(),0xFFFFFF);//*(pColours + WCOL_CURSOR)); } #if CURSOR_BLINK else if ((psEdBox->state & WEDBS_MASK) == WEDBS_OVER && blink) _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?10270> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev