5974 Commits

Author SHA1 Message Date
HybridDog
8383a61eac Decrease minetest.after globalstep lag
* abort if theres no active timer
* only reduce the timer.time of all timers when its necessary
* move updating timers_to_add into a seperate function
2015-06-06 21:00:38 +02:00
4aiman
dba2d2e8c3 squashed update 2015-06-06 20:06:01 +03:00
paramat
74d8b341bc Mgv5/mgv7: Trigger biome recalculation at underwater surfaces 2015-06-03 06:37:10 +01:00
Bektur Mambetov
210822e4bb unused timer have been removed 2015-06-02 15:25:52 +03:00
est31
ba3ff5ef39 Fix uninitialized variable error
If you run minetest with valgrind, you'll quickly notice uninitialized jump
depend error messages that point to s_base.cpp:131. This commit fixes those.
2015-06-02 13:55:02 +02:00
est31
b8a8be9c86 Nicer time setting logging
Now logs

ACTION[ServerThread]: player sets time to 6:03

instead of

ACTION[ServerThread]: player sets time to 6:3
2015-06-02 06:49:05 +02:00
est31
e479337c1a Fix wrong replace from previous commit 2015-06-02 00:20:12 +02:00
Maksim Gamarnik
a4918946d0 Update and rename README.txt to README.md 2015-06-01 23:46:37 +03:00
Maksim Gamarnik
c8273e684a Merge pull request #10 from MultiCraftProject/revert-9-4aiman-more-proper-copyright-1
Revert "A fair notice on the copyrights of the whole team."
2015-06-01 23:45:32 +03:00
Maksim Gamarnik
096f3ec5c0 Revert "A fair notice on the copyrights of the whole team." 2015-06-01 23:45:00 +03:00
Maksim Gamarnik
3b1b9e45b6 Merge pull request #9 from MultiCraftProject/4aiman-more-proper-copyright-1
A fair notice on the copyrights of the whole team.
2015-06-01 23:37:06 +03:00
Maksim Gamarnik
c557b15d57 Update README.txt 2015-06-01 23:36:55 +03:00
est31
6df6b2a0e0 Localize inside whole misc_helpers.lua 2015-06-01 18:18:18 +02:00
est31
617a3d426f Make split method static 2015-06-01 17:04:21 +02:00
Maksim Gamarnik
6d8a181f19 Remove MtNativeActivity 2015-06-01 09:48:26 +03:00
Maksim Gamarnik
83da0cce6f rename java package 2015-06-01 00:20:48 +03:00
OttoLidenbrock
b035add845 Merge branch 'master' of github.com-otto:MultiCraftProject/MultiCraftPrivate
Conflicts:
	builtin/mainmenu/modmgr.lua
	builtin/mainmenu/tab_texturepacks.lua
2015-05-31 23:38:14 +10:00
est31
39ed0ae6f4 Mapblock: nodecount refactor
Spare direct multoplication, use constant MapBlock::nodecount instead of
local nodecount variables.

Also use strides at one place instead of multiplications.
2015-05-31 23:22:24 +10:00
SmallJoker
c41991541e Only retrieve always_fly_fast setting once 2015-05-31 23:21:55 +10:00
Craig Robbins
a14272a59f (Android) Only simulate holding down fast key if fast_move is toggled to true 2015-05-31 23:21:52 +10:00
kwolekr
04dc77eb65 Make get_biome_list() error message more helpful 2015-05-31 23:21:50 +10:00
Kahrl
3522ac8396 Fix typo in variable name 2015-05-31 23:21:47 +10:00
TeTpaAka
31bed00b9b Add some missing getter functions to the lua API
ObjectRef:
get_properties
get_armor_groups
get_animation
get_attach
get_bone_position

Players:
get_physics_override
hud_get_hotbar_itemcount
hud_get_hotbar_image
hud_get_hotbar_selected_image
get_sky
get_day_night_ratio
get_local_animation
get_eye_offset

Global:
minetest.get_gen_notify
minetest.get_noiseparams
2015-05-31 23:21:45 +10:00
est31
fab6b4ac0a Consistent const string params
Parent commit broke behaviour.
Thanks @TeTpaAka for testing the fix.
2015-05-31 23:21:43 +10:00
est31
e6d38749df Spare some string copies 2015-05-31 23:21:41 +10:00
paramat
b5350c19dd Mgv6: Enable snowbiomes by default. Double biome noise spread. 3 octaves, 0.5 persistence for humidity 2015-05-31 23:21:38 +10:00
est31
9607644dc8 Small clientiface ASCII art improvements
Use v arrows except where there is only one line between two boxes,
and other improvements
(Yea could use ↓ but its an ASCII art not an Unicode art).
2015-05-31 23:21:35 +10:00
paramat
e80d20106a Biome API, mgv7: Increase heat/humidity spreads. Improve mgv7 noise parameters 2015-05-31 23:21:32 +10:00
paramat
4c7d2b62cf Mgv5/v7: Fix generateBiomes biome recalculation logic Biomegen down to y = -192 for mgv5 deep oceans. Improve code 2015-05-31 23:21:30 +10:00
SmallJoker
6b5dcd508b Fix Windows build, clean up included headers
Also fix a startup error caused by s_security.cpp
2015-05-31 23:21:27 +10:00
est31
4cd8e420a2 Deny empty username early in the protocol
Thanks to @UltimateNate for pointing this out :)
2015-05-31 23:21:25 +10:00
est31
009e8b1058 Don't ignore nametag attribute change message for newer versions
This allows newer versions to add additional information that isn't
read by us, but still in a backwards compatible manner.
2015-05-31 23:21:23 +10:00
est31
78c1bd6eff Fix documentation for texture override face selector behaviour 2015-05-31 23:21:21 +10:00
kwolekr
6c28863c37 Replace instances of std::map<std::string, std::string> with StringMap
Also, clean up surrounding code style
Replace by-value parameter passing with const refs when possible
Fix post-increment of iterators
2015-05-31 23:21:19 +10:00
rubenwardy
eb4e791ea9 Add texture overriding 2015-05-31 23:21:17 +10:00
kwolekr
a6835f98cf Fix build with libstdc++
libstdc++ doesn't include <cstring> inside of <string>, unlike libc++.
2015-05-31 23:21:15 +10:00
kwolekr
49087eab2f Split ObjDef/ObjDefManager out to objdef.cpp 2015-05-31 23:21:12 +10:00
est31
f9e1035882 Lower log level for unexpected behaviour
Its a possible mistake to log in to a server with twice the same name.
Before, it triggered a server wide error message, now it logs to actionstream.
2015-05-31 23:21:10 +10:00
est31
af1504efa3 Enforce hiding nametag
Work around irrlicht bug and hide nametag if its alpha is set to 0.
Thanks @TeTpaAka for pointing out workaround.
2015-05-31 23:21:01 +10:00
est31
efd52d6b53 Add more swp files to gitignore
Specifically, the added rule matches .kate-swp files.
2015-05-31 23:20:58 +10:00
est31
dc18ccbfd5 Make nametags white again
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-31 23:20:56 +10:00
kwolekr
522d9c8d73 Fix null dereference when loading schematic from definition without a NodeDefManager 2015-05-31 23:20:53 +10:00
kwolekr
19c0d3ac23 Record MapBlock modification reasons as flags instead of strings
This improves performance of MapBlock::raiseModified by a factor of 6.
Also, clean up mapblock.h a bit and inline small functions.
2015-05-31 23:20:51 +10:00
kwolekr
ed06741a5c SAPI/Noise: Add PerlinNoiseMap:getMapSlice() function
This adds the ability to grab 'slices' of noise calculated by PerlinNoiseMap.
Retrieving smaller slices of noise from the computation result as needed
optimizes memory usage while maintaining a reasonable amount of CPU overhead.
2015-05-31 23:20:49 +10:00
paramat
a4a5d42d49 Mapgen v5/v7: Detect sandstone, enable sandstone brick dungeons 2015-05-31 23:20:47 +10:00
kwolekr
d4d8ef9618 Add optional buffer param for bulk data array writes in Lua 2015-05-31 23:20:45 +10:00
kwolekr
182a3d1978 Noise: Fix interpolation at negative coordinates 2015-05-31 23:20:43 +10:00
ShadowNinja
2142015720 Fix current mod name change missed during rebase 2015-05-31 23:20:39 +10:00
kwolekr
6e9f054982 Add -Wsign-compare for Clang builds and fix some signed/unsigned compiler warnings 2015-05-31 23:20:35 +10:00
kwolekr
9fac373dee SAPI: Accept either ARGB8 table or ColorString to specify colors 2015-05-31 23:20:32 +10:00