aboutsummaryrefslogtreecommitdiff
path: root/src/wieldmesh.cpp
Commit message (Collapse)AuthorAge
* Silence misc. warningskwolekr2014-12-23
|
* Temporarily fix always bright wieldhand with shaders enabledkwolekr2014-12-22
|
* Change TileSpec::frames to be std::vector not std::mapunknown2014-12-21
| | | | Signed-off-by: Craig Robbins <kde.psych@gmail.com>
* Wield: always obey anisotropic_filter setting, not just for hi res texturesKahrl2014-11-26
|
* EMF_USE_MIP_MAPS was introduced in Irrlicht 1.8, don't use in 1.7.3 or belowKahrl2014-11-26
| | | | | This is not optimal as it will cause minor graphical glitches for Irrlicht 1.7 users, but at least it fixes the build.
* Wieldmesh: don't force anisotropic filtering on, instead disable mipmapsKahrl2014-11-26
| | | | | This should fix #1844. Thanks to oleastre for making the first version of this commit (#1848).
* Wielded fixes. Add shaders support.RealBadAngel2014-11-13
|
* Implement WieldMeshSceneNode which improves wield mesh renderingKahrl2014-11-08
- Don't create and cache an extruded mesh for every (non-node) item. Instead use a single one per image resolution. - For cubic nodes reuse a single wield mesh too - Improve lighting of the wielded item - Increase far value of wield mesh scene camera, fixes #1770 - Also includes some minor refactorings of Camera and GenericCAO.
(version != 0) throw SerializationError("unsupported NameIdMapping version"); u32 count = readU16(is); m_id_to_name.clear(); m_name_to_id.clear(); for (u32 i = 0; i < count; i++) { u16 id = readU16(is); std::string name = deSerializeString(is); m_id_to_name[id] = name; m_name_to_id[name] = id; } }