ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/crossedit/xutil.c
(Generate patch)

Comparing deliantra/server/crossedit/xutil.c (file contents):
Revision 1.1.1.1 by root, Fri Feb 3 07:11:45 2006 UTC vs.
Revision 1.3 by elmex, Sun Aug 13 17:16:01 2006 UTC

1/* 1/*
2 * static char *rcsid_xutil_c = 2 * static char *rcsid_xutil_c =
3 * "$Id: xutil.c,v 1.1.1.1 2006/02/03 07:11:45 root Exp $"; 3 * "$Id: xutil.c,v 1.3 2006/08/13 17:16:01 elmex dead $";
4 */ 4 */
5 5
6/* 6/*
7 CrossFire, A Multiplayer game for X-windows 7 CrossFire, A Multiplayer game for X-windows
8 8
39#endif 39#endif
40 40
41#include <Defines.h> 41#include <Defines.h>
42#include <funcpoint.h> 42#include <funcpoint.h>
43#include <loader.h> 43#include <loader.h>
44
45/*
46 * Converts between Fontindex and XChar2b types.
47 * Used in global.h, for draw_face (in face, FontindextoXChars
48 * is defined to this function name
49 */
50
51XChar2b fontindex_to_XChar2b(Fontindex s)
52{
53 XChar2b c;
54
55 c.byte1 = s/256;
56 c.byte2 = s%256;
57
58 return c;
59}
60
61 44
62#define IMAGE_BUF 65536 45#define IMAGE_BUF 65536
63 46
64/* 47/*
65 * ReadPixmaps(): When color pixmaps are used instead of fonts, this function 48 * ReadPixmaps(): When color pixmaps are used instead of fonts, this function

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines