aboutsummaryrefslogtreecommitdiff
path: root/src/content_cao.cpp
AgeCommit message (Collapse)Author
2016-02-18Move object nametags to cameraRealBadAngel
2016-02-11v2d & aabbox3d<f32> & sky cleanupsnerzhul
* Sky: rename Box => m_box and inline getBoundingBox * Uniformize aabbox3d<f32> to aabb3f
2016-01-29Don't pass non-const references to collision methodsest31
Non const references cause a lot of confusion with behaviour of code, and are disallowed by minetest style guide.
2015-12-29Revert "Add support for using arbitrary meshes as items"Sapier
This reverts commit 91bafceee6606fab79db1bde4cba01b84fed65c7. Reverted due to missinterpretation of agreement, obvious dislike and me not interested in doing fights for feature I don't actually need
2015-12-29Add support for using arbitrary meshes as itemsSapier
2015-12-19Add support for limiting rotation of automatic face movement dir entitysSapier
2015-12-15Add option to give every object a nametagBlockMen
or change the nametag text of players
2015-10-25Add option to disable backface culling for modelsBlockMen
- Disabled by default (except players) - Fixes #2984
2015-10-15Fix enforcing of nametag hidingest31
Commit d2ca662569427d36642660314668e416bf68f3c8 "Enforce hiding nametag" didn't fix the issue for "client" instances, where the nametag update was received before the object was added to the scene. This resulted in the grey shadow on the nametag that commit tried to fix. Thanks to @neoascetic for pointing out that there still is a shadow.
2015-10-14Rename macros with two leading underscoresShadowNinja
These names are reserved for the compiler/library implementations.
2015-10-14Use warningstream for log messages with WARNINGShadowNinja
Remove DTIME macro and its uses, too
2015-08-25Change i++ to ++iDavid Jones
2015-07-23Fix issues with light of attached CAOsRealBadAngel
2015-07-08Use UTF-8 instead of narrowest31
Use wide_to_utf8 and utf8_to_wide instead of wide_to_narrow and narrow_to_wide at almost all places. Only exceptions: test functions for narrow conversion, and chat, which is done in a separate commit.
2015-06-22Fix some issues with animations, and allow non-looped animations to be definedMirceaKitsune
2015-06-20Small CAO improvementsest31
-> remove the old parent as @kahrl suggested -> use indices no iterator as @kwolekr suggested
2015-06-20Generic CAO cleanups and renames for clarificationest31
* Use enum for GENERIC_CMD_* * Rename m_attachements to attachement_parent_ids (public member and clearer name) * Rename GENERIC_CMD_SET_ATTACHMENT to GENERIC_CMD_ATTACH_TO * USHRT_MAX + 1 buffer sizes to prevent overflows as @kahrl suggested * Remove unneccessary m_id from GenericCAO (shadowing protected superclass member for no reason) as @kahrl suggested
2015-06-20Make attached objects visible in 3rd person viewest31
2015-05-21Don't ignore nametag attribute change message for newer versionsest31
This allows newer versions to add additional information that isn't read by us, but still in a backwards compatible manner.
2015-05-18Enforce hiding nametagest31
Work around irrlicht bug and hide nametag if its alpha is set to 0. Thanks @TeTpaAka for pointing out workaround.
2015-05-18Make nametags white againest31
Commit 11a96e4901ce54c4646e47866f7a66cd9034c16b commented out version parsing, resulting in the version byte being parsed as part of the color, making nametags dark grey. Re-introduces version parsing and ignores the packet if the version is more recent than ours, fixing the unused variable warning (should have been done anyway).
2015-05-16Add -Wsign-compare for Clang builds and fix some signed/unsigned compiler ↵kwolekr
warnings
2015-05-15Generalize core.get/set_nametag_color into core.get/set_nametag_attributesTeTpaAka
2015-05-15Add get and set functions for the nametag colorTeTpaAka
2015-04-01Move globals from main.cpp to more sane locationsCraig Robbins
Move debug streams to log.cpp|h Move GUI-related globals to clientlauncher Move g_settings and g_settings_path to settings.cpp|h Move g_menuclouds to clouds.cpp|h Move g_profiler to profiler.cpp|h
2015-03-31Move texture_min_size even further down the pipe. Now, textures are ↵Aaron Suen
JIT-upscaled using an image transformation, right at the time they're added to a mesh or particle; images used in 2D elements are left unscaled. This should fix any remaining issues with HUD elements.
2015-03-07For usages of assert() that are meant to persist in Release builds (when ↵Craig Robbins
NDEBUG is defined), replace those usages with persistent alternatives
2015-03-05Replace std::list to std::vector into tile.cpp (m_texture_trash) and move ↵Loic Blot
tile.hpp to src/client/
2015-02-21Use skin font for usernames (fixes #2363)BlockMen
2015-02-17SAO work: ActiveObject types & SAO cleanup * Replace u8 types with ↵Loic Blot
ActiveObjectType. * Merge content_object.h into activeobject.h * Remove DummyLoadSAO, it's now unused. * Remove ItemSAO, it's also unused
2015-01-17Fix entitiy WieldMeshSceneNode not freed due to additional grabgregorycu
2014-12-12Use std::string::empty() instead of size() where applicableAnton
2014-11-08Implement WieldMeshSceneNode which improves wield mesh renderingKahrl
- 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.
2014-09-21Split settings into seperate source and header filesShadowNinja
This also cleans up settings a bit
2014-07-06Fix client crash on deletion of an object the clients localplayer is attached tosapier
2014-07-02Fix memory leaks in GenericCAO, ShaderSource and Player classessapier
2014-06-29Make sure none of the irrlicht member objects of GenericCAO are deleted ↵sapier
prior deletion of GenericCAO
2014-06-27Fix GenericCAO fails to grabing member animated mesh node to prevent it do ↵sapier
be deleted to early
2014-06-23Speedup attachement handling by replacing vector search by direct array ↵sapier
access and secondary child lookup vector
2014-05-18Add support for interlaced polarized 3d screenssapier
Add (experimental) support for topbottom as well as sidebyside 3d mode
2014-05-17Split declaration of GenericCAO from implementationsapier
2014-05-03Fix player:set_animation() in third person viewBlockMen
2014-04-15Fix all warnings reported by clangSfan5
2014-04-12Use integers instead of float valuesBlockMen
2014-04-12Add player:set_eye_offset() by @MirceaKitsune and clean upBlockMen
2014-04-12Add third person viewBlockMen
2014-03-04Fix rendering glitches when far from the center of the mapNovatux
2014-01-06Create new instance of mesh every time it's required (Solves #703)Perttu Ahola
2013-12-13Fix a bug in GenericCAO GENERIC_CMD_UPDATE_POSITION parsing.Ilya Zhuravlev
2013-12-03Add sneak and sneak_glitch to set_physics_override()PilzAdam