aboutsummaryrefslogtreecommitdiff
path: root/src/content_cao.cpp
AgeCommit message (Collapse)Author
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
2013-09-10Add offset to automatic_face_movement_dirPilzAdam
2013-08-17Send player damage to all clients and apply [brightenPilzAdam
2013-08-13Add support for entities to automatic face movement directionsapier
2013-07-30Add support for setting stepheight for entitiessapier
2013-07-20Add an option to disable object <-> object collision for Lua entitiesPilzAdam
2013-07-10Fix multiple texture support for animated meshnodesstujones11
2013-07-02Remove texture atlas / AtlasPointer, rename getTextureRaw to getTextureKahrl
2013-04-09fix objects colliding with its own collision boxessapier
2013-04-05unkn own block -> unkn own nodekhonkhortisan
2013-04-05Fix nick completionPilzAdam
2013-04-05Allow modifying movement speed, jump height and gravity per-player via the ↵MirceaKitsune
Lua API.
2013-04-03Fix camera "jumping" when attached and the parent goes too fastZeg9