aboutsummaryrefslogtreecommitdiff
path: root/po/uk/minetest.po
Commit message (Collapse)AuthorAge
* Translated using Weblate (Ukrainian)Fixer2017-06-03
| | | | Currently translated at 40.0% (410 of 1024 strings)
* Translated using Weblate (Ukrainian)Olexandr2017-06-03
| | | | Currently translated at 37.6% (386 of 1024 strings)
* Translated using Weblate (Ukrainian)Fixer2017-06-03
| | | | Currently translated at 37.6% (386 of 1024 strings)
* Run updatepo.shLoic Blot2017-05-21
|
* Translated using Weblate (Ukrainian)Fixer2017-05-21
| | | | Currently translated at 38.1% (350 of 918 strings)
* Footsteps without view bobbing (#5645)Louis Pearson2017-04-25
| | | | | | | | | | | | * Remove redundant view_bobbing setting Also fixes bug where disabling view_bobbing disables footstep sounds. * Removes redundant view_bobbing setting Setting view_bobbing amount to 0 is now the only way to turn view_bobbing on and off. Also fixed a bug where footstep sounds would not play when view_bobbing was disabled.
* Run updatepo.shest312016-12-14
|
* Translated using Weblate (Ukrainian)Fixer2016-12-14
| | | | Currently translated at 38.1% (350 of 918 strings)
* Run updatepo.shest312016-08-30
|
* Run updatepo.shest312016-07-12
|
* Translated using Weblate (Ukrainian)Fixer2016-05-30
| | | | Currently translated at 39.3% (349 of 887 strings)
* Translated using Weblate (Ukrainian)Fixer2016-05-10
| | | | | | Currently translated at 38.4% (341 of 887 strings) This is a merger of two commits.
* Run updatepo.shest312016-05-05
|
* Update po files, minetest.conf.example and settings_translation_file.cppest312016-02-27
|
* Translated using Weblate (Ukrainian)Fixer2016-02-27
| | | | Currently translated at 30.4% (240 of 787 strings)
* Run util/updatepo.shest312015-11-08
|
* Run updatepo.shest312015-10-24
|
* Translated using Weblate (Ukrainian)Olexandr2015-10-05
| | | | Currently translated at 81.6% (227 of 278 strings)
* Translated using Weblate (Ukrainian)Olexandr2015-10-05
| | | | Currently translated at 78.0% (217 of 278 strings)
* Translated using Weblate (Ukrainian)Olexandr2015-10-05
| | | | | | Currently translated at 66.5% (185 of 278 strings) Maybe it is better to describe allowed symbols instead of writing regex?
* Translated using Weblate (Ukrainian)Olexandr2015-10-05
| | | | Currently translated at 46.4% (129 of 278 strings)
* Run updatepo.shest312015-09-12
| | | | | | After this, it should hopefully not record line numbers anymore, so the diffs of updatepo.sh runs are smaller. Well, this is theory, lets see how it will turn out to be in practice.
* Run updatepo.shest312015-07-17
|
* Revert "Update Russian translation"Kahrl2014-12-13
| | | | | | | | This reverts commit e4e4324a30d6bcac5cc06c74e955e4941b14bd38. Conflicts: po/minetest.pot po/*/minetest.po
* Update po filesShadowNinja2014-12-12
|
* Run updatepo.shPilzAdam2013-11-23
|
* Run updatepo.shIlya Zhuravlev2013-09-08
|
* Run util/updatepo.shPilzAdam2013-08-25
|
* Fix *.po errors caused by rebase.Ilya Zhuravlev2013-08-25
|
* Translated using Weblate (Ukrainian)Vladimir a2013-08-25
|
* Translated using Weblate (Ukrainian)sfan52013-08-25
|
* Fix i18n of some strings.arsdragonfly2013-07-02
|
* Fix Problem with uk Translationsfan52013-05-17
|
* Update po filesPilzAdam2013-05-13
|
* Translated using Weblate (Ukrainian)?????? ????????2013-05-01
|
* Add Ukrainian language.Ilya Zhuravlev2013-04-07
16( 1, 1, 0)); // top right m_cache[d].push_back(v3s16( 0, 1, 1)); // top back m_cache[d].push_back(v3s16( 0, 1,-1)); // top front // 18 m_cache[d].push_back(v3s16(-1, 1, 1)); // top back-left m_cache[d].push_back(v3s16( 1, 1, 1)); // top back-right m_cache[d].push_back(v3s16(-1, 1,-1)); // top front-left m_cache[d].push_back(v3s16( 1, 1,-1)); // top front-right m_cache[d].push_back(v3s16(-1,-1, 1)); // bottom back-left m_cache[d].push_back(v3s16( 1,-1, 1)); // bottom back-right m_cache[d].push_back(v3s16(-1,-1,-1)); // bottom front-left m_cache[d].push_back(v3s16( 1,-1,-1)); // bottom front-right // 26 return; } // Take blocks in all sides, starting from y=0 and going +-y for(s16 y=0; y<=d-1; y++) { // Left and right side, including borders for(s16 z=-d; z<=d; z++) { m_cache[d].push_back(v3s16(d,y,z)); m_cache[d].push_back(v3s16(-d,y,z)); if(y != 0) { m_cache[d].push_back(v3s16(d,-y,z)); m_cache[d].push_back(v3s16(-d,-y,z)); } } // Back and front side, excluding borders for(s16 x=-d+1; x<=d-1; x++) { m_cache[d].push_back(v3s16(x,y,d)); m_cache[d].push_back(v3s16(x,y,-d)); if(y != 0) { m_cache[d].push_back(v3s16(x,-y,d)); m_cache[d].push_back(v3s16(x,-y,-d)); } } } // Take the bottom and top face with borders // -d<x<d, y=+-d, -d<z<d for(s16 x=-d; x<=d; x++) for(s16 z=-d; z<=d; z++) { m_cache[d].push_back(v3s16(x,-d,z)); m_cache[d].push_back(v3s16(x,d,z)); } } /* myrand */ PcgRandom g_pcgrand; u32 myrand() { return g_pcgrand.next(); } void mysrand(unsigned int seed) { g_pcgrand.seed(seed); } void myrand_bytes(void *out, size_t len) { g_pcgrand.bytes(out, len); } int myrand_range(int min, int max) { return g_pcgrand.range(min, max); } /* 64-bit unaligned version of MurmurHash */ u64 murmur_hash_64_ua(const void *key, int len, unsigned int seed) { const u64 m = 0xc6a4a7935bd1e995ULL; const int r = 47; u64 h = seed ^ (len * m); const u64 *data = (const u64 *)key; const u64 *end = data + (len / 8); while (data != end) { u64 k; memcpy(&k, data, sizeof(u64)); data++; k *= m; k ^= k >> r; k *= m; h ^= k; h *= m; } const unsigned char *data2 = (const unsigned char *)data; switch (len & 7) { case 7: h ^= (u64)data2[6] << 48; case 6: h ^= (u64)data2[5] << 40; case 5: h ^= (u64)data2[4] << 32; case 4: h ^= (u64)data2[3] << 24; case 3: h ^= (u64)data2[2] << 16; case 2: h ^= (u64)data2[1] << 8; case 1: h ^= (u64)data2[0]; h *= m; } h ^= h >> r; h *= m; h ^= h >> r; return h; } /* blockpos: position of block in block coordinates camera_pos: position of camera in nodes camera_dir: an unit vector pointing to camera direction range: viewing range */ bool isBlockInSight(v3s16 blockpos_b, v3f camera_pos, v3f camera_dir, f32 camera_fov, f32 range, f32 *distance_ptr) { v3s16 blockpos_nodes = blockpos_b * MAP_BLOCKSIZE; // Block center position v3f blockpos( ((float)blockpos_nodes.X + MAP_BLOCKSIZE/2) * BS, ((float)blockpos_nodes.Y + MAP_BLOCKSIZE/2) * BS, ((float)blockpos_nodes.Z + MAP_BLOCKSIZE/2) * BS ); // Block position relative to camera v3f blockpos_relative = blockpos - camera_pos; // Total distance f32 d = blockpos_relative.getLength(); if(distance_ptr) *distance_ptr = d; // If block is far away, it's not in sight if(d > range) return false; // Maximum radius of a block. The magic number is // sqrt(3.0) / 2.0 in literal form. f32 block_max_radius = 0.866025403784 * MAP_BLOCKSIZE * BS; // If block is (nearly) touching the camera, don't // bother validating further (that is, render it anyway) if(d < block_max_radius) return true; // Adjust camera position, for purposes of computing the angle, // such that a block that has any portion visible with the // current camera position will have the center visible at the // adjusted postion f32 adjdist = block_max_radius / cos((M_PI - camera_fov) / 2); // Block position relative to adjusted camera v3f blockpos_adj = blockpos - (camera_pos - camera_dir * adjdist); // Distance in camera direction (+=front, -=back) f32 dforward = blockpos_adj.dotProduct(camera_dir); // Cosine of the angle between the camera direction // and the block direction (camera_dir is an unit vector) f32 cosangle = dforward / blockpos_adj.getLength(); // If block is not in the field of view, skip it if(cosangle < cos(camera_fov / 2)) return false; return true; }