ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/Client.xs
Revision: 1.4
Committed: Sat Apr 8 14:04:14 2006 UTC (18 years, 1 month ago) by root
Branch: MAIN
Changes since 1.3: +7 -0 lines
Log Message:
bigface support

File Contents

# User Rev Content
1 root 1.1 #include "EXTERN.h"
2     #include "perl.h"
3     #include "XSUB.h"
4    
5 root 1.2 #include <SDL.h>
6 root 1.3 #include <SDL_opengl.h>
7 root 1.2 #include <SDL_image.h>
8    
9 root 1.1 MODULE = Crossfire::Client PACKAGE = Crossfire::Client
10    
11 root 1.3 char *
12 root 1.4 gl_version ()
13     CODE:
14     RETVAL = glGetString (GL_VERSION);
15     OUTPUT:
16     RETVAL
17    
18     char *
19 root 1.3 gl_extensions ()
20     CODE:
21     RETVAL = glGetString (GL_EXTENSIONS);
22     OUTPUT:
23     RETVAL
24    
25 root 1.1