Dmitry Marakasov
60f8e7febc
Fix copypasta in documentation
2014-12-27 19:00:03 +03:00
Dmitry Marakasov
e0032de447
Implement wrapper for SDL_image init/deinit
...
Fixes #21
2014-12-27 05:22:12 +03:00
Dmitry Marakasov
ad1e6879df
Check for errors after calling SDL_image functions
...
Fixes #20
2014-12-27 05:17:01 +03:00
Dmitry Marakasov
f6dc70863e
Merge branch 'error-handling'
...
Conflicts:
SDL2pp/Exception.hh
2014-12-27 02:32:38 +03:00
Dmitry Marakasov
64952aea9a
Use stock function instead of reimplementing with RWops
2014-12-27 02:28:42 +03:00
Dmitry Marakasov
4bf7fbd52c
Store SDL error inside Exception
...
Fixes #22
2014-12-27 02:07:07 +03:00
Dmitry Marakasov
0007a489c3
Move Get to the top of memeber functions for consistency with other classes
2014-12-27 00:02:08 +03:00
Dmitry Marakasov
f4c2832d90
Add missing \see
2014-12-27 00:01:22 +03:00
Dmitry Marakasov
e0654f045b
Consistency with other member variable docs
2014-12-27 00:01:09 +03:00
Dmitry Marakasov
7b9f951eff
Document Surface class
2014-12-27 00:00:18 +03:00
Dmitry Marakasov
f1fa69a4ce
Add Surface class stub
2014-12-26 23:00:12 +03:00
Dmitry Marakasov
78e985719e
Add references to SDL docs and exception info
2014-12-26 22:36:29 +03:00
Dmitry Marakasov
f28cd56337
Fix typo
2014-12-26 22:03:53 +03:00
Dmitry Marakasov
3671b60c1f
Fix typo
2014-12-26 22:02:49 +03:00
Dmitry Marakasov
00d57f8867
Member variable documentation consistency
2014-12-26 22:02:40 +03:00
Dmitry Marakasov
8caddb4b39
Fix param documentation
2014-12-26 22:02:00 +03:00
Dmitry Marakasov
0d29b03306
Fix copypasta
2014-12-26 22:01:37 +03:00
Dmitry Marakasov
2e57ed81c7
Add references to SDL docs and exception info
2014-12-26 21:54:53 +03:00
Dmitry Marakasov
28a08d9071
Document new Window methods
2014-12-26 21:51:16 +03:00
Dmitry Marakasov
e67394628c
Merge branch 'master' into doxygen
...
Conflicts:
SDL2pp/Texture.hh
2014-12-26 21:45:34 +03:00
Dmitry Marakasov
bb33cb273d
Fix pitch descriptions
2014-12-26 21:45:00 +03:00
Dmitry Marakasov
9f65195972
Better description for bool returns
2014-12-26 21:42:36 +03:00
Dmitry Marakasov
7d11af7005
Fix case of param/returns descriptions
2014-12-26 21:41:18 +03:00
Dmitry Marakasov
f53f95718a
Document remaining Texture methods
2014-12-26 21:32:34 +03:00
Dmitry Marakasov
9e7482c154
Document Optional
2014-12-26 20:54:22 +03:00
Dmitry Marakasov
d6d272a35d
Fix typo
2014-12-26 20:44:13 +03:00
Dmitry Marakasov
5bac274b58
Fix documentation errors
2014-12-26 20:43:58 +03:00
Dmitry Marakasov
debdf051f8
Document missing bits of AudioDevice
2014-12-26 20:36:54 +03:00
Dmitry Marakasov
af577836eb
Fix header filename
2014-12-26 20:33:42 +03:00
Dmitry Marakasov
d6c070633c
Document Point and Rect
2014-12-26 20:33:22 +03:00
Dmitry Marakasov
5a0623f08e
Add bunch of Window functions
2014-12-26 19:32:40 +03:00
Dmitry Marakasov
2d80a94797
Remove unneeded forward declarations
2014-12-26 17:24:48 +03:00
Dmitry Marakasov
6611d95aba
Provide default argument for Texture::Lock()
...
Unlike 3dd739d, correctly
2014-12-26 17:24:29 +03:00
Dmitry Marakasov
69c4e14424
Fix remaining references to Rect::Null
2014-12-26 16:37:30 +03:00
Dmitry Marakasov
f7ec8612a7
Merge branch 'master' into doxygen
...
Conflicts:
SDL2pp/AudioDevice.hh
SDL2pp/Renderer.hh
SDL2pp/SDL2pp.hh
SDL2pp/Texture.hh
2014-12-26 16:33:01 +03:00
Dmitry Marakasov
92b225c928
Merge branch 'use_optional'
...
Conflicts:
.travis.yml
2014-12-26 16:19:05 +03:00
Dmitry Marakasov
b1e989c835
Merge branch 'optional'
2014-12-26 16:17:57 +03:00
Dmitry Marakasov
7fd9137239
Fix uninitialized member vars
2014-12-26 01:46:08 +03:00
Dmitry Marakasov
dda468ae62
Mark deprecated functions as such
2014-12-25 22:34:16 +03:00
Dmitry Marakasov
0ff5d3cf33
Merge branch 'c++1y-checks' into use_optional
2014-12-25 22:28:08 +03:00
Dmitry Marakasov
f5a2b5fb57
Define a macro for deprecated attribute
2014-12-25 22:26:51 +03:00
Dmitry Marakasov
19154ec765
Ident nested preprocessor
2014-12-25 22:25:44 +03:00
Dmitry Marakasov
74bff27f86
Use experimental/optional if available
2014-12-25 22:17:44 +03:00
Dmitry Marakasov
96c59ff7ed
Add checks for useful c++1y features
2014-12-25 22:16:41 +03:00
Dmitry Marakasov
17053c2bab
Move cpp_optional into separate directory
2014-12-25 19:40:50 +03:00
Dmitry Marakasov
853c159257
No need to use accessors here
2014-12-25 19:32:55 +03:00
Dmitry Marakasov
65b5446fd1
Axe out remaining uses of old Point/Rect API
2014-12-25 19:30:37 +03:00
Dmitry Marakasov
3796a6d246
Switch AudioDevice to Optional
...
No compatibility here, as API is broken anyway (Optional<std::string>
ctor won't accept const char*)
2014-12-25 19:15:28 +03:00
Dmitry Marakasov
6d0213810b
Switch to Optional
...
Remove "valid" flag from Rect and Point, derive them directly from
SDL_Rect and SDL_Point structures, simplify logic. Now x/y/w/h member
variables are directly accessible and Rect/Point may be passed as
SDL_Rect/SDL_Point via pointer or reference.
Change all cases where Null Rects and Points were used to Optional.
invalid state related functions like Null(), IsNull() and Get() are
now deprecated but are not removed yet for compatibility sake.
2014-12-25 19:10:41 +03:00
Dmitry Marakasov
c576b6bc67
Fix build with broken libstdc++
2014-12-25 17:39:43 +03:00