Commit graph

163 commits

Author SHA1 Message Date
Ethan Lee a80f8a8f92 Missed a line of tempdoc in that last commit... 2013-04-09 23:37:05 -04:00
Ethan Lee 9ab0d1d2c3 Unfortunately, we need to use IntPtrs for SDL_Surface and Mix_Chunk. Otherwise we cannot free these resources. Just do a PtrToStructure in the application. 2013-04-09 23:04:37 -04:00
Ethan Lee d3dcc117e9 Checked on the ButtonBind struct, should be alright. 2013-04-09 22:03:01 -04:00
Ethan Lee c2359680ae For SDL2#, this will be const, not redefinable. 2013-04-09 13:54:04 -04:00
Ethan Lee 9fab52ec04 These aren't that problematic, we just name them like we do IntPtrs. 2013-04-09 13:43:37 -04:00
Ethan Lee 7dd9cf4272 Fix endianness assumption, make PIXELFORMATs readonly. 2013-04-09 13:38:06 -04:00
Ethan Lee 2377195ecc SDL_Log[Get|Set]OutputFunction 2013-04-09 12:55:01 -04:00
Ethan Lee 9339b5514c SDL_gamecontroller.h done. 2013-04-09 12:29:41 -04:00
Ethan Lee 8212b2864f SDL_joystick written. SDL_gamecontroller is next. 2013-04-09 11:39:16 -04:00
Ethan Lee 5238ccd88e Durr, that is a macro, flibit. 2013-04-09 10:49:31 -04:00
Ethan Lee 26e5d0662d Update README to address SDL2#'s coding style. 2013-04-08 14:28:13 -04:00
Ethan Lee 0827bc6c9d Fix parameter for CreateWindowAndRenderer. 2013-04-08 13:23:45 -04:00
Ethan Lee 281ce130e0 Remove 2 from class names to prevent namespace ambiguity. 2013-04-08 12:09:41 -04:00
Ethan Lee 29d299fa41 Removed SDL2_net. Just use Lidgren.Network instead. 2013-04-07 23:13:39 -04:00
Ethan Lee 5c91529e4f Does C# really have both string and String? 2013-04-07 22:41:22 -04:00
Ethan Lee e7cbc528cc The nativeLibName can/should be private. 2013-04-07 22:39:16 -04:00
Ethan Lee dd28844230 SDL2_mixer first draft is done. 2013-04-07 22:21:02 -04:00
Ethan Lee ce1c082b17 SDL2_mixer mostly implemented, need to do Special Effects API. 2013-04-07 22:05:46 -04:00
Ethan Lee 5f1385b2ea SDL2_ttf done. Unless someone cares about RWops. 2013-04-07 09:36:19 -04:00
Ethan Lee 7e4fffb05b SDL2_image fix, SDL2_ttf paaart oooone 2013-04-07 09:12:02 -04:00
Ethan Lee 0298d74dd9 SDL2_image implemented. Pretty small without RWops. 2013-04-07 08:44:59 -04:00
Ethan Lee 21d630ffee Merge pull request #16 from sulix/master
SDL_LoadBMP and colour mouse cursors working
2013-04-07 04:44:00 -07:00
David Gow c28d2dc0fb Merge branch 'master' of https://github.com/flibitijibibo/SDL2-CS 2013-04-07 19:39:55 +08:00
David Gow 129410c745 Fix SDL_CreateColorCursor and SDL_LoadBMP 2013-04-07 19:39:23 +08:00
David Gow e22aa09e4d Fix some small type issues. 2013-04-07 19:26:08 +08:00
Ethan Lee 356cd8068f Merge pull request #15 from sulix/master
Make more things public
2013-04-07 04:05:52 -07:00
David Gow 6a2149398e Made some struct members public 2013-04-07 17:23:21 +08:00
Ethan Lee 824d610948 Audio CVT cannot be supported in C#, SDL_AudioCallback might work though. 2013-04-06 09:29:00 -04:00
Ethan Lee db33bd5590 Keep it in order according to the APIByCategory page. 2013-04-06 09:18:43 -04:00
Ethan Lee 06f5cd151c Forgot to take out the Audio TODO. Not my morning, is it? 2013-04-06 09:11:06 -04:00
Ethan Lee 332ab6a8ae SDL_audio implemented. Function pointers are a concern here. 2013-04-06 09:07:38 -04:00
Ethan Lee 0d4525d7cb Yet another build fix, so many margfargling keywords 2013-04-06 08:38:47 -04:00
Ethan Lee 37bce8c1aa Quick compile fix, SDL_audio paaaaart twoooooish 2013-04-06 08:37:57 -04:00
Ethan Lee b118961923 SDL_audio paaaart oooone 2013-04-06 08:32:46 -04:00
Ethan Lee 91a4d1cd61 Merge pull request #14 from sulix/master
SDL_mouse.h
2013-04-06 05:18:26 -07:00
David Gow bb7f16fb04 Mouse support. 2013-04-06 20:15:10 +08:00
Ethan Lee 68bcf29cc8 SDL_haptic implemented. 2013-04-06 07:40:57 -04:00
Ethan Lee 72451f6008 Merge pull request #13 from sulix/master
SDL_keyboard.h + small fixes.
2013-04-05 08:50:53 -07:00
David Gow 297a13b5b5 SDL_Keysym for SDL_KeyboardEvent 2013-04-05 23:45:13 +08:00
David Gow 45cbf67088 SDL_keyboard.h bindings 2013-04-05 23:43:43 +08:00
David Gow 7fe351db62 C# likes bitfields to have [Flags] annotations 2013-04-05 23:20:09 +08:00
David Gow 0d070851dd Oops, forgot to add KMODs 2013-04-05 23:18:47 +08:00
Ethan Lee 3bb447a581 Merge pull request #12 from sulix/master
SDL_Keycode (Episode V: The scancode strikes back)
2013-04-05 08:13:06 -07:00
David Gow f0c1ebdabe Add SDL_keycode.h bindings. There be (small) dragons here. 2013-04-05 23:04:35 +08:00
Ethan Lee ecb9b37711 Merge pull request #11 from sulix/master
Added SDL_Scancode
2013-04-05 06:21:58 -07:00
David Gow 073908afce Added SDL_scancode.h definitions 2013-04-05 21:19:17 +08:00
Ethan Lee dd53687c4d Merge pull request #8 from sulix/master
Add SDL_events.h definitions
2013-04-04 08:44:56 -07:00
David Gow 1512009b64 Mostly-done SDL_events.h 2013-04-04 23:36:22 +08:00
Ethan Lee 295a054e5f Video section first draft: COMPLETE! 2013-04-04 10:33:26 -04:00
Ethan Lee 08c3a16f97 Because lol, C# structs 2013-04-04 09:57:43 -04:00