Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 139 lines (132 sloc) 3.073 kb
bfd9040 Dave Goehrig Importing SDLPerl 2.2
cthulhuology authored
1 TYPEMAP
2 const Uint16 * T_PTR
11914b0 xs for SDL::GFX::Primitives done, test and docs open [Ticket #73]
Tobias Leich authored
3 const Sint16 * T_PTR
24042ef Kartik Thakore Using UV instead of IV for Event attributes
kthakore authored
4 Uint8 T_UV
bfd9040 Dave Goehrig Importing SDLPerl 2.2
cthulhuology authored
5 Uint8 * T_PTR
6 const Uint8* T_PTR
7 Uint8 ** T_PTR
8 Uint16 T_UV
9 Uint16 * T_PTR
10 Uint32 T_UV
11 Uint32 * T_PTR
12 SDLKey T_UV
741bcb0 added SDL_keysym struct
Tobias Leich authored
13 SDLKey * T_PTR
14 SDLMod T_UV
15 SDLMod * T_PTR
bfd9040 Dave Goehrig Importing SDLPerl 2.2
cthulhuology authored
16 Sint16 T_IV
17 Sint16 * T_PTR
18 Sint32 T_IV
19 Sint32 * T_PTR
263e588 Kartik Thakore Got Event working. Events at 25%. Poll_event and Push_event done
kthakore authored
20 SDL_Event * O_OBJECT
3f36fc2 Kartik Thakore Fix of typemap for Event objects
kthakore authored
21 SDL_ActiveEvent * O_OBJECT
22 SDL_KeyboardEvent * O_OBJECT
23 SDL_TextInputEvent * O_OBJECT
24 SDL_MouseMotionEvent * O_OBJECT
25 SDL_MouseButtonEvent * O_OBJECT
26 SDL_JoyAxisEvent * O_OBJECT
27 SDL_JoyHatEvent * O_OBJECT
87d11e7 Kartik Thakore Fixed JoyButtonEvent
kthakore authored
28 SDL_JoyButtonEvent * O_OBJECT
3f36fc2 Kartik Thakore Fix of typemap for Event objects
kthakore authored
29 SDL_JoyBallEvent * O_OBJECT
30 SDL_ResizeEvent * O_OBJECT
31 SDL_ExposeEvent * O_OBJECT
32 SDL_SysWMEvent * O_OBJECT
33 SDL_UserEvent * O_OBJECT
34 SDL_QuitEvent * O_OBJECT
35 SDL_keysym * O_OBJECT
88a46ef Léon Brocard try seperating out surface - not quite working yet
acme authored
36 SDL_Surface * O_OBJECT
bfd9040 Dave Goehrig Importing SDLPerl 2.2
cthulhuology authored
37 SDL_SysWMmsg * T_PTR
0ceb978 Kartik Thakore Migrate CD, CDTrack, CDROM. use safemalloc instead of malloc in AudioSpe...
kthakore authored
38 SDL_CD * O_OBJECT
39 SDL_CDtrack * O_OBJECT
bfd9040 Dave Goehrig Importing SDLPerl 2.2
cthulhuology authored
40 SDL_TimerCallback T_PTR
e4ab5b2 Kartik Thakore Using new Rect with v2.2.2.11. Had to change getClipRect paramters.
kthakore authored
41 SDL_Rect * O_OBJECT
3e3f41e Léon Brocard Split out SDL_Color into its own C-level class
acme authored
42 SDL_Color * O_OBJECT
1be4c6f Kartik Thakore Should never malloc SDL_Pallete
kthakore authored
43 SDL_Palette * O_OBJECT
50d9130 Léon Brocard Wrap PixelFormat
acme authored
44 SDL_PixelFormat * O_OBJECT
f1ad86b Kartik Thakore Added VideoInfo as an object with appropriate docs
kthakore authored
45 SDL_VideoInfo * O_OBJECT
ce88b52 Léon Brocard Wrap SDL_version
acme authored
46 SDL_version * O_OBJECT
67bdd32 linked_verion is _const_ SDL_verion *
Tobias Leich authored
47 const SDL_version * O_OBJECT
4bd2d74 Kartik Thakore Typo fixes. NULL is a pointer cannot be assinged to integer value.
kthakore authored
48 SDL_SysWMInfo * O_OBJECT
a95ab5c Kartik Thakore Implemented Mouse and Cursor. Need to test
kthakore authored
49 SDL_Cursor * O_OBJECT
afb3d72 Léon Brocard Implement SDL::AudioSpec
acme authored
50 SDL_AudioSpec * O_OBJECT
e512f66 Kartik Thakore Added stubs for AudioCVT
kthakore authored
51 SDL_AudioCVT * O_OBJECT
bfd9040 Dave Goehrig Importing SDLPerl 2.2
cthulhuology authored
52 Mix_Fading T_UV
42bd71c Léon Brocard Implement MixChunk
acme authored
53 Mix_Chunk * O_OBJECT
47cda86 Léon Brocard Implement MixMusic
acme authored
54 Mix_Music * O_OBJECT
bfd9040 Dave Goehrig Importing SDLPerl 2.2
cthulhuology authored
55 SDL_GLattr T_IV
a74034f added stubs for SDL::Pango and SDL::Pango::Context
Tobias Leich authored
56 SDLPango_Context * O_OBJECT
9af5927 Kartik Thakore Initial XS for Timer
kthakore authored
57 sdlx_timer * O_OBJECT
6cad5e2 added SDLx::Layer, no crashes anymore, SDLx::Layer stores surface and re...
Tobias Leich authored
58 SDLx_LayerManager * O_OBJECT
0c99f56 Kartik Thakore Added SDLx::Controller::Object
kthakore authored
59 SDLx_Layer * O_OBJECT
5322259 Kartik Thakore Renamed SDLx::Controller::Object to Interface
kthakore authored
60 SDLx_Interface * O_OBJECT
0739b15 Kartik Thakore MAde state an object
kthakore authored
61 SDLx_State * O_OBJECT
6f709d8 added alignment support, constants and docs
Tobias Leich authored
62 SDLPango_Alignment T_UV
bfd9040 Dave Goehrig Importing SDLPerl 2.2
cthulhuology authored
63 int * T_PTR
11914b0 xs for SDL::GFX::Primitives done, test and docs open [Ticket #73]
Tobias Leich authored
64 int ** T_PTR
bfd9040 Dave Goehrig Importing SDLPerl 2.2
cthulhuology authored
65 void * T_PTR
66 SDL_TimerID T_PTR
67 SDL_NewTimerCallback T_PTR
f104313 Kartik Thakore Added Joystick XS, Added surface tests. Need a joystick to test the rest...
kthakore authored
68 SDL_Joystick * O_OBJECT
0919311 added FPSManager
Tobias Leich authored
69 FPSmanager * O_OBJECT
bfd9040 Dave Goehrig Importing SDLPerl 2.2
cthulhuology authored
70 SDLNet_SocketSet T_PTR
71 TCPsocket T_PTR
72 UDPsocket T_PTR
73 UDPpacket * T_PTR
74 UDPpacket ** T_PTR
66c9210 Kartik Thakore Testing load of SDL::Net, TCP, UDP, IPaddress
kthakore authored
75 IPaddress* O_OBJECT
bfd9040 Dave Goehrig Importing SDLPerl 2.2
cthulhuology authored
76 SDLNet_GenericSocket T_PTR
b41abbd Léon Brocard Wrap TTF_Font with a few calls
acme authored
77 TTF_Font * O_OBJECT
fcd68a9 Kartik Thakore Mare Overlay an object with new and DESTROY. Bootstrapper made to
kthakore authored
78 SDL_Overlay * O_OBJECT
a469fbe Kartik Thakore Why can it not find any of lib/SDL/SMPEG.pm sub
kthakore authored
79 SMPEG_Info * O_OBJECT
80 SMPEG * O_OBJECT
bfd9040 Dave Goehrig Importing SDLPerl 2.2
cthulhuology authored
81 SMPEGstatus T_IV
82 SDL_mutex * T_PTR
83 GLbitfield T_IV
84 GLenum T_IV
85 ConsoleInformation * T_PTR
86 GLboolean T_U_CHAR
45f7368 Kartik Thakore Added types for GLU and Tels Faster color function
kthakore authored
87 GLUquadric * T_PTR
88 GLdouble T_NV
bfd9040 Dave Goehrig Importing SDLPerl 2.2
cthulhuology authored
89 GLUnurbsObj * T_PTR
90 GLUtesselator * T_PTR
91 GLuint T_UV
92 GLuint* T_PTR
93 GLint T_IV
94 GLint* T_PTR
95 float * T_PTR
96 float T_NV
97 GLfloat T_NV
98 Sound_DecoderInfo * T_PTR
99 const Sound_DecoderInfo * T_PTR
100 Sound_Sample * T_PTR
101 Sound_AudioInfo * T_PTR
0f35edd Kartik Thakore Cleanup. Added RWops xs,pm, and pod. Added tests to 00-load
kthakore authored
102 SDL_RWops* O_OBJECT
bfd9040 Dave Goehrig Importing SDLPerl 2.2
cthulhuology authored
103 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
104 int T_IV
0b79e0e Kartik Thakore Implemented get_key_state
kthakore authored
105 intArray T_ARRAY
e4ab5b2 Kartik Thakore Using new Rect with v2.2.2.11. Had to change getClipRect paramters.
kthakore authored
106
107 OUTPUT
108
8573a51 moved obj2bag and bag2obj to helper.h
Tobias Leich authored
109 O_OBJECT_NPGC
110 sv_setref_pv( $arg, CLASS, (void*)$var );
111
e4ab5b2 Kartik Thakore Using new Rect with v2.2.2.11. Had to change getClipRect paramters.
kthakore authored
112 O_OBJECT
8573a51 moved obj2bag and bag2obj to helper.h
Tobias Leich authored
113 if ($var) {
2536d28 removed debug messages, code cleanup
Tobias Leich authored
114 void** pointers = malloc(3 * sizeof(void*));
115 pointers[0] = (void*)$var;
116 pointers[1] = (void*)PERL_GET_CONTEXT;
0c4b8bb freeing threadid on destroy, using safemalloc everywhere
Tobias Leich authored
117 Uint32 *threadid = (Uint32 *)safemalloc(sizeof(Uint32));
2536d28 removed debug messages, code cleanup
Tobias Leich authored
118 *threadid = SDL_ThreadID();
119 pointers[2] = (void*)threadid;
fb19ae5 Kartik Thakore Fixed leaking of references
kthakore authored
120 sv_setref_pv( $arg, CLASS, (void*)pointers );
8573a51 moved obj2bag and bag2obj to helper.h
Tobias Leich authored
121 } else {
122 XSRETURN_UNDEF;
123 }
e4ab5b2 Kartik Thakore Using new Rect with v2.2.2.11. Had to change getClipRect paramters.
kthakore authored
124
125 INPUT
126
8573a51 moved obj2bag and bag2obj to helper.h
Tobias Leich authored
127 O_OBJECT_NPGC
128 $var = ($type) SvIV((SV*)SvRV($arg));
e4ab5b2 Kartik Thakore Using new Rect with v2.2.2.11. Had to change getClipRect paramters.
kthakore authored
129
8573a51 moved obj2bag and bag2obj to helper.h
Tobias Leich authored
130 O_OBJECT
131 if( sv_isobject($arg) && (SvTYPE(SvRV($arg)) == SVt_PVMG) ) {
132 void** pointers = (void**)(SvIV((SV*)SvRV( $arg )));
133 $var = ($type)(pointers[0]);
134 } else if ($arg == 0) {
135 XSRETURN(0);
136 } else {
137 XSRETURN_UNDEF;
138 }
Something went wrong with that request. Please try again.