Dmitry Marakasov
a1717d8b18
Merge branch 'image'
2014-09-05 05:23:25 +04:00
Dmitry Marakasov
e3ad1a4ad7
Add custom RWops for use with constant containers
2014-09-05 05:23:13 +04:00
Dmitry Marakasov
1993fd3ec6
Add demo for SDL_image support
2014-09-05 05:06:21 +04:00
Dmitry Marakasov
2fad6762ff
Update documentation for new features
2014-09-05 05:05:31 +04:00
Dmitry Marakasov
2b84c17ce2
Allow to load texture fro file or via RWops
2014-09-05 05:03:12 +04:00
Dmitry Marakasov
d69a07ea1c
Options should only be used in standalone build
2014-09-05 05:01:27 +04:00
Dmitry Marakasov
9a0a6b9da6
Add Config.hh to record build-time settings
2014-09-05 05:00:06 +04:00
Dmitry Marakasov
955d6f7bc1
Add SDL_image2 support to cmake
2014-09-05 04:57:32 +04:00
Dmitry Marakasov
5542acd252
Add tests for RWops
2014-09-05 04:54:53 +04:00
Dmitry Marakasov
fbf5d046ea
Add custom RWops class which works with arbitrary container as a storage
2014-09-05 04:54:50 +04:00
Dmitry Marakasov
aaea702856
Add RWops class
2014-09-05 04:46:30 +04:00
Dmitry Marakasov
1ddf04e823
Make test which depend on OpenGL behavior non-fatal
2014-09-02 07:27:16 +04:00
Dmitry Marakasov
cced165fbd
Update testing.h
2014-09-02 07:27:13 +04:00
Dmitry Marakasov
b92804536c
Make gui test result visible
2014-07-27 00:30:49 +04:00
Dmitry Marakasov
dfb464ea7b
Implement init/deinit/check of separate SDL subsystems
2014-07-27 00:30:26 +04:00
Dmitry Marakasov
d4426eb36a
Make build MSVC-aware, provide specific set of flags
2014-07-22 21:22:14 +04:00
Dmitry Marakasov
42fa7bdd70
Fix return value checking
2014-07-21 19:12:48 +04:00
Dmitry Marakasov
3f4e0c79be
Only enable -Werror in standalone build
2014-07-21 19:04:28 +04:00
Dmitry Marakasov
ab5ca5a395
Fix compiler flag handling
2014-07-21 18:57:38 +04:00
Dmitry Marakasov
626fcaa567
List header files in project
2014-07-21 18:49:35 +04:00
Dmitry Marakasov
1f7a2bb64f
Sort sources list
2014-07-21 18:47:28 +04:00
Dmitry Marakasov
6ed9b7a578
Remove unneeded argument names
2014-02-22 00:39:50 +04:00
Dmitry Marakasov
1ec8df2964
More Get() tests
2014-02-21 23:54:22 +04:00
Dmitry Marakasov
5a61a8f51b
Fix Get() for null Points and Rects, add tests for it
2014-02-21 23:46:37 +04:00
Dmitry Marakasov
8e6bf5fc2f
Add basic Point arith
2014-02-21 20:09:11 +04:00
Dmitry Marakasov
7b4b6c051a
Don't use allocations inside Point and Rect
...
Instead, use boolean validity flag, which is much more practical
2014-02-21 17:11:48 +04:00
Dmitry Marakasov
2c7cb50fd9
Implement SetClipRect, SetScale, SetViewport, TargetSupported in Renderer
2014-02-17 03:28:57 +04:00
Dmitry Marakasov
015a9e5be5
Add partial GUI test
0.0.2
2014-02-11 07:41:23 +04:00
Dmitry Marakasov
2f91553068
Implement Renderer::ReadPixels
2014-02-11 07:41:20 +04:00
Dmitry Marakasov
47625fcd6c
Make travis run tests
2014-02-11 06:16:05 +04:00
Dmitry Marakasov
820813b79f
Improve testing framework, add stub for GUI tests
2014-02-11 06:15:01 +04:00
Dmitry Marakasov
f6d6572602
Fix Rect::FromCenter and add test for it
2014-02-11 06:01:36 +04:00
Dmitry Marakasov
07bf0aa3d5
Add Point and Rect tests
2014-02-11 05:51:15 +04:00
Dmitry Marakasov
66f4d5b57a
Properly handle self-assignment
2014-02-11 05:51:15 +04:00
Dmitry Marakasov
1e4e1cb560
Define default ctors/assignments in source files to avoid using objects of incomplete type in them
2014-02-11 05:51:13 +04:00
Dmitry Marakasov
0365329dc0
Add Point and Rect comparison operators
2014-02-11 05:44:08 +04:00
Dmitry Marakasov
802322ef1b
Add Point and Rect setters
...
While here, fix Rect::GetX2 and Rect::GetY2 off-by-one errors
2014-02-11 04:33:24 +04:00
Dmitry Marakasov
14819ba188
Remove Swap() methods as there's std::swap for this
2014-02-11 04:19:51 +04:00
Dmitry Marakasov
d55950f8aa
Reword, fix typo
2014-02-07 04:48:41 +04:00
Dmitry Marakasov
11f19228ad
Mention projects using this library
2014-02-06 13:33:05 +04:00
Dmitry Marakasov
fe210e177e
Add another pixel perfectness test
2014-02-04 22:21:29 +04:00
Dmitry Marakasov
26de0e0cbd
Remove demo_ prefix from demos
2014-02-04 22:21:15 +04:00
Dmitry Marakasov
7357952e5a
Add SetTitle, use std::string for window title
2014-02-03 05:00:36 +04:00
Dmitry Marakasov
c89ec85164
Add window size getters
2014-02-03 04:37:31 +04:00
Dmitry Marakasov
648a43369b
Add missing includes and forward declarations
2014-02-03 01:50:21 +04:00
Dmitry Marakasov
3df16d40d1
Add basic tests
...
For now the only thing checked is that header files compile by
themselves, e.g. includes and forward declarations in them are
complete and they do not require extra includes
2014-02-03 01:48:38 +04:00
Dmitry Marakasov
a8baa2df30
Move demos into separate CMakeLists.txt
2014-02-03 01:48:07 +04:00
Dmitry Marakasov
a64d6825d5
Update README
0.0.1
2014-02-01 03:36:52 +04:00
Dmitry Marakasov
c3702a1eb8
Add explicit check for nullptr before destroying SDL objects
...
This is not really needed as SDL has these checks internally,
but this way it's still safer and more apparent that moved-from
objects are handled properly.
2014-02-01 03:36:48 +04:00
Dmitry Marakasov
411c62a3cc
Implement c++11 move for renderers, textures and windows
2014-02-01 00:18:15 +04:00