ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/Client.xs
(Generate patch)

Comparing deliantra/Deliantra-Client/Client.xs (file contents):
Revision 1.10 by root, Sun Apr 9 17:34:15 2006 UTC vs.
Revision 1.11 by root, Mon Apr 10 19:34:03 2006 UTC

18 18
19static PangoContext *context; 19static PangoContext *context;
20static PangoFontMap *fontmap; 20static PangoFontMap *fontmap;
21 21
22MODULE = Crossfire::Client PACKAGE = Crossfire::Client 22MODULE = Crossfire::Client PACKAGE = Crossfire::Client
23
24PROTOTYPES: ENABLE
23 25
24BOOT: 26BOOT:
25{ 27{
26 fontmap = pango_ft2_font_map_new (); 28 fontmap = pango_ft2_font_map_new ();
27 context = pango_ft2_font_map_create_context ((PangoFT2FontMap *)fontmap); 29 context = pango_ft2_font_map_create_context ((PangoFT2FontMap *)fontmap);
98 EXTEND (SP, 3); 100 EXTEND (SP, 3);
99 PUSHs (sv_2mortal (newSViv (w))); 101 PUSHs (sv_2mortal (newSViv (w)));
100 PUSHs (sv_2mortal (newSViv (h))); 102 PUSHs (sv_2mortal (newSViv (h)));
101 PUSHs (sv_2mortal (retval)); 103 PUSHs (sv_2mortal (retval));
102} 104}
105
106MODULE = Crossfire::Client PACKAGE = Crossfire::Client::Texture
107
108void
109texture_quad (SV *self, double x0, double y0, double w, double h)
110 CODE:
111{
112 //glBegin
113}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines