657 Commits

Author SHA1 Message Date
Dmitry Marakasov
ed12546cc5 Fix copypasta 2015-08-28 23:45:24 +03:00
Dmitry Marakasov
30734317c8 It's a good idea to halt playback before Chunk destruction 2015-08-28 23:26:51 +03:00
Dmitry Marakasov
c5dc35574d Implement mixer playback 2015-08-28 23:23:47 +03:00
Dmitry Marakasov
a25c84932c Add stub Mixer class 2015-08-28 23:04:19 +03:00
Dmitry Marakasov
c49b02ea47 Mark Wav move ctor/assign as noexcept 2015-08-28 19:34:56 +03:00
Dmitry Marakasov
94f4a3d7aa Include Chunk into example 2015-08-28 19:32:18 +03:00
Vladimir Gamalian
9a2a741120 Add test ogg sound 2015-08-28 19:29:14 +03:00
Dmitry Marakasov
732bc1a7c6 Add SDL_mixer chunk wrapper class 2015-08-28 19:26:32 +03:00
Dmitry Marakasov
e1c1417c50 Update testing.h (win32 related fixes) 2015-08-27 21:01:40 +03:00
Dmitry Marakasov
7cc56a1ccb Add basic example for SDLMixer 2015-08-27 20:43:41 +03:00
Dmitry Marakasov
c84be04bf2 Connect SDLMixer to build 2015-08-27 20:40:14 +03:00
Dmitry Marakasov
ba7888ec2d Style fix and note for the unapparent code 2015-08-27 20:39:00 +03:00
Dmitry Marakasov
01ca026a25 Add correct seealso URLs 2015-08-27 20:38:22 +03:00
Dmitry Marakasov
a0843fbb7d Add mixer to main SDL2pp include file 2015-08-27 20:34:54 +03:00
Vladimir Gamalian
88ff4a1065 Add libsdl2-mixer-dev to travis 2015-08-27 20:32:23 +03:00
Vladimir Gamalian
b5561e9b30 Update cmake infrastructure for SDL2_mixer 2015-08-27 20:32:02 +03:00
Vladimir Gamalian
5078b44ec8 Add sdl mixer lib init/deinit 2015-08-27 20:31:06 +03:00
Vladimir Gamalian
5c1bf3e6cf Create SDLMixer class skeleton 2015-08-27 20:29:48 +03:00
Dmitry Marakasov
4e12008bcf Implement Texture::Update() which takes pixel data from Surface 2015-08-27 19:11:08 +03:00
Dmitry Marakasov
c54a021d8e Add Surface::GetFormat(), analogus to Texture::GetFormat() 2015-08-27 18:21:31 +03:00
Dmitry Marakasov
7b44685492 Additional 'see also' for Texture::GetFormat() 2015-08-27 18:20:48 +03:00
Dmitry Marakasov
4660fbf7c5 Add another consumer 2015-07-29 02:53:29 +03:00
Dmitry Marakasov
361e99aea4 Merge pull request #44 from vladimirgamalian/master
Missed Font::IsGlyphProvided definition has been added. Removed extra pixels from Font::GetGlyphRect().
2015-07-27 23:51:36 +03:00
Vladimir Gamalian
5bbc990307 Removed extra pixels from Font::GetGlyphRect(). 2015-07-26 19:40:19 +07:00
Vladimir Gamalian
32530ae6da Missed Font::IsGlyphProvided definition has been added. 2015-07-26 13:35:44 +07:00
Dmitry Marakasov
6752baabc1 Don't specify default font size, it doesn't make sense 2015-07-08 18:02:07 +03:00
Dmitry Marakasov
1ec71ddaba Fix documentation 2015-07-07 22:41:03 +03:00
Dmitry Marakasov
539e6c8fd1 Constexprify even more Rect methods 2015-07-07 21:28:30 +03:00
Dmitry Marakasov
beaa9ed3b8 Constexprify more Rect methods 2015-07-07 16:27:03 +03:00
Dmitry Marakasov
4f3256fda5 Constexprify Rect constructors 2015-07-07 15:42:03 +03:00
Dmitry Marakasov
63cd8feebc Move most other Point methods to the header to allow inlining 2015-07-07 15:41:53 +03:00
Dmitry Marakasov
5a55e91987 Constexprify Point arith ops 2015-07-07 15:41:45 +03:00
Dmitry Marakasov
d11345b6df Initial Point constexpr support: constructors and comparison operators 2015-07-07 05:17:09 +03:00
Dmitry Marakasov
6b80bc2c3c Merge branch 'more-point-ops' 2015-07-03 22:30:57 +03:00
Dmitry Marakasov
8dba0f36f4 Add more consumers, sort list 2015-07-03 22:29:40 +03:00
Dmitry Marakasov
51120adc62 Fix documentation 2015-07-03 22:26:57 +03:00
Dmitry Marakasov
dacf1cbf04 Update Point arith test 2015-07-03 22:23:06 +03:00
Dmitry Marakasov
495f873736 Add div/mul/remainder operators with another Point as an argument 2015-07-03 22:22:48 +03:00
Dmitry Marakasov
47f0263ca3 Add unary minus operator for Point 2015-07-03 22:21:02 +03:00
Dmitry Marakasov
1001bf8fa2 Add memberwise remainter operators for Point 2015-07-03 22:00:59 +03:00
Dmitry Marakasov
0215d2526e Fix typo 2015-07-03 21:52:53 +03:00
Dmitry Marakasov
2a337227e4 Add contributor 2015-06-29 19:55:17 +03:00
Dmitry Marakasov
b2d08359e9 Merge pull request #43 from vladimirgamalian/patch-1
Fix mingw compilation.
2015-06-29 19:48:18 +03:00
Vladimir Gamalian
32f5bf0b18 Fix mingw compilation.
SEEK_END and SEEK_SET do not visible for mingw (there is no #include <stdio.h> in the include tree for SDLpp/RWops.cc).
Both constants are using for RWops::Seek -> SDL_RWseek, which accepts "whence" as one of defines RW_SEEK_SET/RW_SEEK_CUR/RW_SEEK_END.
My suggestion is: replace SEEK_END -> RW_SEEK_END, SEEK_SET -> RW_SEEK_SET.
2015-06-28 08:39:41 +07:00
Dmitry Marakasov
4254cc94e4 Mention cmake module file 2015-06-10 05:16:16 +03:00
Dmitry Marakasov
0834e4864e Bump version for next release 2015-06-10 00:20:45 +03:00
Dmitry Marakasov
aa5afc72b5 Bump minor library version 0.8.0 2015-06-10 00:20:30 +03:00
Dmitry Marakasov
356ded0f73 Add contributor 2015-06-10 00:11:03 +03:00
Dmitry Marakasov
727b2b2a80 Merge branch 'cmake-file' 2015-06-10 00:09:00 +03:00
Dmitry Marakasov
93dc374280 Merge branch 'char16_t' 2015-06-10 00:08:53 +03:00