Vladimír Vondruš
2c711a1bb6
MSVC 2013 compatibility: need to explicitly specify POD constructor.
...
I think this is the only place where it fails and it works flawlessly in
other cases. Again, why?!
13 years ago
Vladimír Vondruš
b1d708b4fb
MSVC 2013 compatibility: can't have anonymous typed enum in template class.
...
I think I rather don't want to know in what shape the compiler
implementation needs to be to have this kind of bugs.
13 years ago
Vladimír Vondruš
51e8e546a2
MSVC 2013 compatibility: workarounds for friend function declarations.
...
This is perfectly valid C++03 code, but MSVC can't cope with the <> in
it, so we need to make all templates friends, not only the
particular one. Sometimes it's internal compiler error, sometimes only
cryptic error message.
13 years ago
Vladimír Vondruš
74fcce641a
MSVC 2013 compatibility: more {}-related workarounds.
...
These don't lead to internal compiler errors, but still generate cryptic
error messages.
13 years ago
Vladimír Vondruš
3d3eb8cc8f
MSVC 2013 compatibility: workarounds for {}-related compiler crashes.
...
Initializing values with {} instead of () sometimes leads to internal
compiler error. How amusing.
13 years ago
Vladimír Vondruš
1004d33c7c
MSVC 2013 compatibility: workaround for "can't deduce T" bug.
...
Somehow it's not possible to deduce template parameter if used as
default function arguments. You just can't make this up.
13 years ago
Vladimír Vondruš
6f2485a326
MSVC 2013 compatibility: no Unicode character/string literals.
13 years ago
Vladimír Vondruš
e3168b6a02
MSVC 2013 compatibility: no user-defined literals.
13 years ago
Vladimír Vondruš
cb00fdce57
MSVC 2013 compatibility: some explicit typing is needed.
13 years ago
Vladimír Vondruš
413bd4639e
MSVC 2013 compatibility: constexpr-related issues.
13 years ago
Vladimír Vondruš
25c8c87c1f
SceneGraph: fixed floating-point literals in test.
13 years ago
Vladimír Vondruš
4e0f8ff097
SceneGraph: remove integer TranslationTransformation template instance.
...
We can now use the *.hpp for that even on Windows.
13 years ago
Vladimír Vondruš
e38be052a0
SceneGraph: need to mark the instances with extern template on Windows.
...
Otherwise they don't get properly imported from the DLL. Also the
instantiations don't have to be marked, so mark them as such only on
non-Windows.
13 years ago
Vladimír Vondruš
6a3103e03e
SceneGraph: no need to mark the templates with export macros.
13 years ago
Vladimír Vondruš
3b666d85f4
SceneGraph: instantiate everything consistently on one place.
13 years ago
Vladimír Vondruš
9cb3d17ad9
SceneGraph: fix function signature.
...
Fixes compilation error on MSVC.
13 years ago
Vladimír Vondruš
ddc466a796
SceneGraph: use proper library for tests where graceful assert is wanted.
13 years ago
Vladimír Vondruš
eb877b31ba
SceneGraph: removed *Transformation::move().
...
The original purpose was to allow modifying of drawing order, but this
doesn't affect that at all (the order is preserved in DrawableGroup),
thus the functions are useless.
13 years ago
Vladimír Vondruš
13351f9371
Install all *TestLib libraries on Windows.
...
They are needed when running tests.
13 years ago
Vladimír Vondruš
658839446c
No need to explicitly specify default template parameter.
13 years ago
Vladimír Vondruš
8f12f2a844
Math: simplified internal Vector constructor.
...
Use size we want, not size we got.
13 years ago
Vladimír Vondruš
b6f99db0ad
MSVC 2013 compatibility: need explicit typing for addTests().
...
This annoys the hell out of me.
13 years ago
Vladimír Vondruš
581ce482ea
MSVC 2013 compatibility: more workarounds for array-initialization bug.
...
Follow-up to e2180ee85b .
13 years ago
Vladimír Vondruš
545e07c85b
Math: use proper suffixes for floating-point literals.
...
Catched by MSVC (ha!).
13 years ago
Vladimír Vondruš
e2180ee85b
MSVC 2013 compatibility: work around array-initialization bug.
...
As described in http://stackoverflow.com/questions/19877757/workaround-for-error-c2536-cannot-specify-explicit-initializer-for-arrays-in-vi
and http://connect.microsoft.com/VisualStudio/feedback/details/792161/constructor-initializer-list-does-not-support-braced-init-list-form .
13 years ago
Vladimír Vondruš
974f68a030
MSVC 2013 compatibility: worked around some initializer list bug.
13 years ago
Vladimír Vondruš
e01e56dade
MSVC 2013 compatibility: apparently can't have multiply defined aliases.
...
Also very annoying bug.
13 years ago
Vladimír Vondruš
4c4dc8ae75
MSVC 2013 compatibility: no rvalue references for *this.
13 years ago
Vladimír Vondruš
d720330425
MSVC 2013 compatibility: no user-defined literals.
13 years ago
Vladimír Vondruš
2b5f71b52d
MSVC 2013 compatibility: no Unicode char/string literals.
13 years ago
Vladimír Vondruš
2292469155
MSVC 2013 compatibility: constexpr-related issues.
13 years ago
Vladimír Vondruš
52fc92cb48
MSVC 2013 compatibility: no unrestricted unions.
13 years ago
Vladimír Vondruš
51f7230ed2
MSVC 2013 compatibility: added missing headers.
...
Not sure how this is done in GCC and Clang, they don't need ~60k LOC
<algorithm> just for std::max().
13 years ago
Vladimír Vondruš
d00aa0c560
doc: thoroughly explained plugin usage.
13 years ago
Vladimír Vondruš
e111854f53
GCC 4.5 compatibility: don't include deprecated headers.
13 years ago
Vladimír Vondruš
ea776256bb
GCC 4.5 compatibility: can't default function in class body.
13 years ago
Vladimír Vondruš
4d4b3e57e5
GCC 4.5 compatibility: nullptr-related issues.
13 years ago
Vladimír Vondruš
53c0f517b1
GCC 4.5 compatibility: no forward declarations for enums.
13 years ago
Vladimír Vondruš
fff5950253
MagnumFontConverter: use Range::padded().
13 years ago
Vladimír Vondruš
fd987c9e4e
Text: clean up GlyphCache::insert().
...
Const is good is good.
13 years ago
Vladimír Vondruš
8cafb555dc
MeshTools: code cleanup.
...
No need to repeat size computation, this way it's also safer (we won't
read memory after the end).
13 years ago
Vladimír Vondruš
2c97326d8d
std::fstream accepts filename as std::string in C++11.
...
Finally.
13 years ago
Vladimír Vondruš
3df67b370f
SceneGraph: fix TranslationTransformationTest on Windows.
...
*.hpp files are probably not working as expected here, will fix that
later. Added TODO for that.
13 years ago
Vladimír Vondruš
1d0bc114a6
SceneGraph: allow creating TranslationTransformation only from Object.
13 years ago
Vladimír Vondruš
c5d85166e0
SceneGraph: mention that Int TranslationTransformation is also included.
13 years ago
Vladimír Vondruš
be48953642
SceneGraph: deinline Object constructor.
...
Might save some generated code.
13 years ago
Vladimír Vondruš
228ef24e57
Bumped minimal version of exts related to layout() GLSL qualifier to 1.50.
...
Related to issue #27 -- layout() qualifier causes compiler errors on
GLSL 1.40 (GL 3.1) on Mac OS X even that the extensions are marked as
supported. Bumping the minimal required version disables the extensions
on this versions, which should avoid the issue.
It is not proper fix at all, but most of the GL3 implementations are
now at least GL 3.2, so it shouldn't be too much of an issue. The only
exception is Mesa (GL 2.1/3.1 on most of the machines), but we need
to maintain GL 2.1 compatibility for it anyway.
13 years ago
Vladimír Vondruš
769838dbd5
Documented custom engine initialization, various doc updates.
13 years ago
Vladimír Vondruš
794c934dc1
Shotgun documentation updates.
...
Fixed old references to Buffer::Usage, fixed parameter order in Image
constructor, fixed some function references. Added explicit references
to linkable stuff.
13 years ago
Vladimír Vondruš
ce9a9212ca
Fix linking of tests in static Windows build.
...
Also fixes the "multiple definition" Emscripten issue, which was worked
around in f44af271df .
13 years ago