Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 116 lines (108 sloc) 2.326 kb
bfd9040 Dave Goehrig Importing SDLPerl 2.2
cthulhuology authored
1 TYPEMAP
2 const Uint16 * T_PTR
3 Uint8 T_U_CHAR
4 Uint8 * T_PTR
5 const Uint8* T_PTR
6 Uint8 ** T_PTR
7 Uint16 T_UV
8 Uint16 * T_PTR
9 Uint32 T_UV
10 Uint32 * T_PTR
11 SDLKey T_UV
741bcb0 added SDL_keysym struct
Tobias Leich authored
12 SDLKey * T_PTR
13 SDLMod T_UV
14 SDLMod * T_PTR
bfd9040 Dave Goehrig Importing SDLPerl 2.2
cthulhuology authored
15 Sint16 T_IV
16 Sint16 * T_PTR
17 Sint32 T_IV
18 Sint32 * T_PTR
263e588 Kartik Thakore Got Event working. Events at 25%. Poll_event and Push_event done
kthakore authored
19 SDL_Event * O_OBJECT
3f36fc2 Kartik Thakore Fix of typemap for Event objects
kthakore authored
20 SDL_ActiveEvent * O_OBJECT
21 SDL_KeyboardEvent * O_OBJECT
22 SDL_TextInputEvent * O_OBJECT
23 SDL_MouseMotionEvent * O_OBJECT
24 SDL_MouseButtonEvent * O_OBJECT
25 SDL_JoyAxisEvent * O_OBJECT
26 SDL_JoyHatEvent * O_OBJECT
87d11e7 Kartik Thakore Fixed JoyButtonEvent
kthakore authored
27 SDL_JoyButtonEvent * O_OBJECT
3f36fc2 Kartik Thakore Fix of typemap for Event objects
kthakore authored
28 SDL_JoyBallEvent * O_OBJECT
29 SDL_ResizeEvent * O_OBJECT
30 SDL_ExposeEvent * O_OBJECT
31 SDL_SysWMEvent * O_OBJECT
32 SDL_UserEvent * O_OBJECT
33 SDL_QuitEvent * O_OBJECT
34 SDL_keysym * O_OBJECT
88a46ef Léon Brocard try seperating out surface - not quite working yet
acme authored
35 SDL_Surface * O_OBJECT
bfd9040 Dave Goehrig Importing SDLPerl 2.2
cthulhuology authored
36 SDL_SysWMmsg * T_PTR
37 SDL_CD * T_PTR
38 SDL_CDtrack * T_PTR
39 SDL_TimerCallback T_PTR
e4ab5b2 Kartik Thakore Using new Rect with v2.2.2.11. Had to change getClipRect paramters.
kthakore authored
40 SDL_Rect * O_OBJECT
3e3f41e Léon Brocard Split out SDL_Color into its own C-level class
acme authored
41 SDL_Color * O_OBJECT
1be4c6f Kartik Thakore Should never malloc SDL_Pallete
kthakore authored
42 SDL_Palette * O_OBJECT
50d9130 Léon Brocard Wrap PixelFormat
acme authored
43 SDL_PixelFormat * O_OBJECT
f1ad86b Kartik Thakore Added VideoInfo as an object with appropriate docs
kthakore authored
44 SDL_VideoInfo * O_OBJECT
ce88b52 Léon Brocard Wrap SDL_version
acme authored
45 SDL_version * O_OBJECT
4bd2d74 Kartik Thakore Typo fixes. NULL is a pointer cannot be assinged to integer value.
kthakore authored
46 SDL_SysWMInfo * O_OBJECT
bfd9040 Dave Goehrig Importing SDLPerl 2.2
cthulhuology authored
47 SDL_Cursor * T_PTR
48 SDL_AudioSpec * T_PTR
49 SDL_AudioCVT * T_PTR
50 Mix_Fading T_UV
42bd71c Léon Brocard Implement MixChunk
acme authored
51 Mix_Chunk * O_OBJECT
47cda86 Léon Brocard Implement MixMusic
acme authored
52 Mix_Music * O_OBJECT
bfd9040 Dave Goehrig Importing SDLPerl 2.2
cthulhuology authored
53 SDL_GLattr T_IV
54 int * T_PTR
55 void * T_PTR
56 SDL_TimerID T_PTR
57 SDL_NewTimerCallback T_PTR
58 SDL_Joystick * T_PTR
59 SDLNet_SocketSet T_PTR
60 TCPsocket T_PTR
61 UDPsocket T_PTR
62 UDPpacket * T_PTR
63 UDPpacket ** T_PTR
64 IPaddress* T_PTR
65 SDLNet_GenericSocket T_PTR
b41abbd Léon Brocard Wrap TTF_Font with a few calls
acme authored
66 TTF_Font * O_OBJECT
fcd68a9 Kartik Thakore Mare Overlay an object with new and DESTROY. Bootstrapper made to
kthakore authored
67 SDL_Overlay * O_OBJECT
bfd9040 Dave Goehrig Importing SDLPerl 2.2
cthulhuology authored
68 SMPEG_Info * T_PTR
69 SMPEG * T_PTR
70 SMPEGstatus T_IV
71 SDL_mutex * T_PTR
72 GLbitfield T_IV
73 GLenum T_IV
74 ConsoleInformation * T_PTR
75 GLboolean T_U_CHAR
45f7368 Kartik Thakore Added types for GLU and Tels Faster color function
kthakore authored
76 GLUquadric * T_PTR
77 GLdouble T_NV
bfd9040 Dave Goehrig Importing SDLPerl 2.2
cthulhuology authored
78 GLUnurbsObj * T_PTR
79 GLUtesselator * T_PTR
80 GLuint T_UV
81 GLuint* T_PTR
82 GLint T_IV
83 GLint* T_PTR
84 float * T_PTR
85 float T_NV
86 GLfloat T_NV
87 Sound_DecoderInfo * T_PTR
88 const Sound_DecoderInfo * T_PTR
89 Sound_Sample * T_PTR
90 Sound_AudioInfo * T_PTR
91 SDL_RWops* T_PTR
92 SDL_svg_context* T_PTR
5e9f278 Kartik Thakore Added in Video.XS set_gamma, and stub for set_gamma_ramp. Added test for...
kthakore authored
93 int T_IV
0b79e0e Kartik Thakore Implemented get_key_state
kthakore authored
94 intArray T_ARRAY
e4ab5b2 Kartik Thakore Using new Rect with v2.2.2.11. Had to change getClipRect paramters.
kthakore authored
95
96 OUTPUT
97
98 # The Perl object is blessed into 'CLASS', which should be a
99 # char* having the name of the package for the blessing.
100 O_OBJECT
101 sv_setref_pv( $arg, CLASS, (void*)$var );
102
103
104 INPUT
105
106 O_OBJECT
107 if( sv_isobject($arg) && (SvTYPE(SvRV($arg)) == SVt_PVMG) )
4510df2 Kartik Thakore Added fix for SDL::Surface->format. Fixed test and typemap if SDL::NULL ...
kthakore authored
108 { $var = ($type)SvIV((SV*)SvRV( $arg )); }
109 else if ($arg == 0)
110 { XSRETURN(0); }
e4ab5b2 Kartik Thakore Using new Rect with v2.2.2.11. Had to change getClipRect paramters.
kthakore authored
111 else{
112 XSRETURN_UNDEF;
113 }
114
115
Something went wrong with that request. Please try again.