10 Commits

Author SHA1 Message Date
Dmitry Marakasov
77a97972b3 Don't mention C++11 in project description
We currently use C++17 and will switch to a newer standards as
needed.

Fixes #137
2022-09-12 18:06:10 +03:00
Dmitry Marakasov
24482d85f6 Follow SDL2 include path conventions
Though these are broken and error prone, as they ignore the possibility
of conflicts between SDL, SDL2 and wrappers thereof discarding useful
include path prefix (SDL2/), since SDL and satellite libraries follow
these it's too hard to stay away.

So don't use prefixes for SDL include paths any longer.
2017-02-08 13:19:04 +03:00
Dmitry Marakasov
9f8a72db9c Derive Exception from std::runtime_error instead of std::exception
Apart from placing Exception into right place in exception class
hierarchy this change allows more memory usage optimizations.

Fixes #68
2016-05-09 04:05:30 +03:00
Dmitry Marakasov
689f57b864 Exception rework
Now it explicitely stores name of SDL function which caused an error
and generates complete user-readable error message which contains both
function name and SDL error message. Users can now handle SDL2pp
exceptions along with all others in `catch (std::exception&)' and
get complete error info.

While here, fixed incorrect function names in some throw's
2015-01-19 01:41:37 +03:00
Dmitry Marakasov
4bf7fbd52c Store SDL error inside Exception
Fixes #22
2014-12-27 02:07:07 +03:00
Dmitry Marakasov
46591a9cbf Update project comment 2014-12-18 02:52:08 +03:00
Dmitry Marakasov
0124e2703a Update copyright years 2014-12-18 02:51:49 +03:00
Dmitry Marakasov
e183d4b454 Remove excessive comment 2013-11-15 18:55:14 +04:00
Carl Schwope
1c1f37b76e make destructors virtual 2013-11-14 15:53:51 -05:00
Dmitry Marakasov
c122f11643 Initial import 2013-09-06 01:47:05 +04:00