[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Stratagus-CVS] stratagus/src/video font.c
From: |
Jimmy Salmon |
Subject: |
[Stratagus-CVS] stratagus/src/video font.c |
Date: |
Fri, 17 Oct 2003 14:45:27 -0400 |
CVSROOT: /cvsroot/stratagus
Module name: stratagus
Branch:
Changes by: Jimmy Salmon <address@hidden> 03/10/17 14:45:27
Modified files:
src/video : font.c
Log message:
More cleanup
Patches:
Index: stratagus/src/video/font.c
diff -u stratagus/src/video/font.c:1.57 stratagus/src/video/font.c:1.58
--- stratagus/src/video/font.c:1.57 Thu Oct 9 19:04:04 2003
+++ stratagus/src/video/font.c Fri Oct 17 14:45:27 2003
@@ -26,7 +26,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: font.c,v 1.57 2003/10/09 23:04:04 jsalmon3 Exp $
+// $Id: font.c,v 1.58 2003/10/17 18:45:27 jsalmon3 Exp $
//@{
@@ -63,7 +63,7 @@
struct _font_color_mapping_* Next; /// Next pointer
} FontColorMapping;
-local const VMemType *FontPixels; /// Font pixels
+local const VMemType* FontPixels; /// Font pixels
#define FontPixels8 (&FontPixels->D8) /// font pixels 8bpp
#define FontPixels16 (&FontPixels->D16) /// font pixels 16bpp
#define FontPixels24 (&FontPixels->D24) /// font pixels 24bpp
@@ -535,7 +535,7 @@
case '~':
break;
case '!':
- rev=FontPixels;
+ rev = FontPixels;
FontPixels = ReverseTextColor;
++text;
break;
@@ -746,15 +746,15 @@
local void FontMeasureWidths(ColorFont* fp)
{
int y;
- const unsigned char *sp;
- const unsigned char *lp;
- const unsigned char *gp;
+ const unsigned char* sp;
+ const unsigned char* lp;
+ const unsigned char* gp;
- for (y = 1; y < 207; y++) {
+ for (y = 1; y < 207; ++y) {
fp->CharWidth[y] = 0;
}
- for (y = 1; y < 207; y++) {
+ for (y = 1; y < 207; ++y) {
sp = (const unsigned char *)fp->Graphic->Frames +
y * fp->Height * fp->Graphic->Width - 1;
gp = sp + fp->Graphic->Width * fp->Height;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Stratagus-CVS] stratagus/src/video font.c,
Jimmy Salmon <=