zefram/minetest/minetest_engine.git
10 years agoAdd support for client side movement/acceleration end prediction
sapier [Tue, 15 Jul 2014 18:23:14 +0000 (20:23 +0200)]
Add support for client side movement/acceleration end prediction

10 years agoResumable digging
Zefram [Sat, 5 Jul 2014 20:29:07 +0000 (21:29 +0100)]
Resumable digging

When a node is partially dug but then digging stops, retain the invested
digging effort for a while rather than discard it.  Digging of that node
can be resumed from the partially-dug state.

The ultimate vision towards which this works is that the effort required
to dig a node could be shared not just between multiple left clicks but
also between multiple tools and even multiple players, each involved
tool suffering wear pro rata.  This would necessarily be mediated by
the server, and would even, through partial tool wear, be semantically
visible to mods.  This patch doesn't do that.  This patch does the simple
client-side version, under the prevailing paradigm that all the effort of
digging a node is credited to a single tool.  This requires that the total
time invested to dig the node must be at least what the dominant tool
would take, regardless of which other tools were involved in the digging.

When a node is partially dug, what is retained is the time that was
spent digging it, regardless of which tool was used.  The partially-dug
node shows the crack progression that it had reached with the tool last
used on it, which is based on the time spent digging divided by the time
that would be taken to fully dig using that tool.  When resuming digging,
if a different tool is used, the time spent digging is simply added up,
and the crack progression is recomputed for the new tool's total dig time.
This can result in crack progression jumping forward or backward.

A partially-dug state is retained for only one node at a time: starting
digging on a different node throws away the partially-dug state.
The partial digging effort also decays over time: whatever dig time was
accumulated when digging stops will be lost linearly over the next ten
seconds.  Resuming digging stops the decay, and new dig time is added
onto the decayed accumulated time.  If the resumed digging is stopped
again at a partially-dug state then a fresh ten-second decay process
starts, using the revised accumulated dig time.

10 years agoFormspec escape fixed seen in world creation menu
ShadowNinja [Tue, 5 Aug 2014 19:37:53 +0000 (15:37 -0400)]
Formspec escape fixed seen in world creation menu

10 years agoDisable preload_item_visuals by default
ShadowNinja [Mon, 4 Aug 2014 20:54:11 +0000 (16:54 -0400)]
Disable preload_item_visuals by default

This can delay connections by several minutes.

10 years agoFix issue 1527
Craig Robbins [Wed, 30 Jul 2014 01:39:24 +0000 (11:39 +1000)]
Fix issue 1527
https://github.com/minetest/minetest/issues/1527

10 years agoAdd ZLIBWAPI_DLL and LEVELDB_DLL CMake options Remove legacy MINGWM10_DLL CMake optio...
sfan5 [Tue, 29 Jul 2014 08:47:38 +0000 (10:47 +0200)]
Add ZLIBWAPI_DLL and LEVELDB_DLL CMake options Remove legacy MINGWM10_DLL CMake option Update 32-bit buildbot (OpenAL updated, zlib updated) Change build directory for buildbots to '_build' to prevent removal of Android build files Use -win64 suffix for 64-bit Windows builds Fixes #1476

10 years agoRework texture generating code, add texture grouping via ( ... )
sfan5 [Thu, 24 Jul 2014 19:55:09 +0000 (21:55 +0200)]
Rework texture generating code, add texture grouping via ( ... )

10 years agoDon't include cmake_config_githash.h into files that don't need it
sfan5 [Thu, 24 Jul 2014 11:04:35 +0000 (13:04 +0200)]
Don't include cmake_config_githash.h into files that don't need it

10 years agoDont display interior of glasslike_framed node when its not defined.
RealBadAngel [Thu, 24 Jul 2014 18:58:08 +0000 (20:58 +0200)]
Dont display interior of glasslike_framed node when its not defined.
Fixes https://github.com/minetest/minetest/issues/1514

10 years agoAllow full circle rotation with 2degs step for plantlike drawtype.
RealBadAngel [Thu, 24 Jul 2014 18:02:20 +0000 (20:02 +0200)]
Allow full circle rotation with 2degs step for plantlike drawtype.

10 years agoAdd rotation for plantlike drawtype.
RealBadAngel [Mon, 21 Jul 2014 22:32:03 +0000 (00:32 +0200)]
Add rotation for plantlike drawtype.

10 years agoBugfix in makeCuboid - apply rotations to all faces when 1 tile is given.
RealBadAngel [Sun, 20 Jul 2014 14:22:48 +0000 (16:22 +0200)]
Bugfix in makeCuboid - apply rotations to all faces when 1 tile is given.

10 years agoRemove vector assertions
ShadowNinja [Wed, 9 Jul 2014 00:44:47 +0000 (20:44 -0400)]
Remove vector assertions

These were initially added to get tracebacks for invalid vector errors, but it
didn't work and tracebacks have since been properly fixed in the core.

10 years agoSpeedup mapblock_mesh
RealBadAngel [Tue, 15 Jul 2014 07:07:52 +0000 (09:07 +0200)]
Speedup mapblock_mesh

10 years agoFix texture glitches for plants with visual scale > 1.0 (jungle grass).
RealBadAngel [Thu, 17 Jul 2014 12:10:23 +0000 (14:10 +0200)]
Fix texture glitches for plants with visual scale > 1.0 (jungle grass).

10 years agoFix texture hack in fences.
RealBadAngel [Thu, 17 Jul 2014 11:37:18 +0000 (13:37 +0200)]
Fix texture hack in fences.

10 years agoFix error handling on inconsistent client ready message
sapier [Wed, 16 Jul 2014 18:01:00 +0000 (20:01 +0200)]
Fix error handling on inconsistent client ready message
Fix android makefile to provide a correct dummy githash if detection fails

10 years agoMake tooltip_show_delay=0 work
Zefram [Wed, 2 Jul 2014 13:32:54 +0000 (14:32 +0100)]
Make tooltip_show_delay=0 work

10 years agoPermit non-integer sizes for item_image[]
Zefram [Wed, 2 Jul 2014 14:03:27 +0000 (15:03 +0100)]
Permit non-integer sizes for item_image[]

10 years agoFix indexing error in timer processing
Zefram [Wed, 16 Jul 2014 15:24:39 +0000 (17:24 +0200)]
Fix indexing error in timer processing

10 years agoFix flipped textures for drawtype "glasslike"
sapier [Wed, 16 Jul 2014 14:37:41 +0000 (16:37 +0200)]
Fix flipped textures for drawtype "glasslike"

10 years agoAdd srollbar formspec element
sapier [Thu, 19 Jun 2014 16:17:35 +0000 (18:17 +0200)]
Add srollbar formspec element

10 years agoFix android build after removal of indev and math mapgen
sapier [Wed, 16 Jul 2014 11:40:30 +0000 (13:40 +0200)]
Fix android build after removal of indev and math mapgen

10 years agoFix crash reported here: https://forum.minetest.net/viewtopic.php?f=6&t=9726
Novatux [Sat, 12 Jul 2014 08:51:09 +0000 (10:51 +0200)]
Fix crash reported here: https://forum.minetest.net/viewtopic.php?f=6&t=9726

10 years agoMove MapBlock (de)serializing code out of Database class
sfan5 [Tue, 8 Jul 2014 18:04:37 +0000 (20:04 +0200)]
Move MapBlock (de)serializing code out of Database class

10 years agoRemove proller from credits
proller [Sat, 12 Jul 2014 14:28:17 +0000 (18:28 +0400)]
Remove proller from credits

10 years agoRemove indev mapgen
proller [Sat, 12 Jul 2014 14:21:54 +0000 (18:21 +0400)]
Remove indev mapgen

10 years agoRemove math mapgen
proller [Sat, 12 Jul 2014 14:15:55 +0000 (18:15 +0400)]
Remove math mapgen

10 years agoUpdate default control documentation
BlockMen [Mon, 7 Jul 2014 17:12:38 +0000 (19:12 +0200)]
Update default control documentation

10 years agoSwitch back repository to dev-mode after 0.4.10 release.
sapier [Mon, 7 Jul 2014 17:08:41 +0000 (19:08 +0200)]
Switch back repository to dev-mode after 0.4.10 release.

10 years agoFaces shading fixes
RealBadAngel [Mon, 7 Jul 2014 14:17:51 +0000 (16:17 +0200)]
Faces shading fixes

10 years agoDon't copy back already generated blocks on map generation
kwolekr [Mon, 7 Jul 2014 05:51:04 +0000 (01:51 -0400)]
Don't copy back already generated blocks on map generation

10 years agoDon't unload blocks if save failed
kwolekr [Mon, 7 Jul 2014 05:20:25 +0000 (01:20 -0400)]
Don't unload blocks if save failed

Improve error handling in saveBlock()

10 years agoFix regression in leveldb backend
sapier [Sun, 6 Jul 2014 22:06:06 +0000 (00:06 +0200)]
Fix regression in leveldb backend

10 years agoUpdate version numbers for 0.4.10
sapier [Sun, 6 Jul 2014 20:39:47 +0000 (22:39 +0200)]
Update version numbers for 0.4.10

10 years agoFix client crash on deletion of an object the clients localplayer is attached to
sapier [Sun, 6 Jul 2014 20:11:21 +0000 (22:11 +0200)]
Fix client crash on deletion of an object the clients localplayer is attached to

10 years agoSwitch android to leveldb as sqlite3 is broken and fails to save any mapblock there
sapier [Sun, 6 Jul 2014 19:24:31 +0000 (21:24 +0200)]
Switch android to leveldb as sqlite3 is broken and fails to save any mapblock there

10 years agoImprove error reporting in leveldb backend
sfan5 [Wed, 25 Jun 2014 05:25:33 +0000 (07:25 +0200)]
Improve error reporting in leveldb backend

10 years agoFix non-smooth non-shader node shading (Fixes #1436, regression by commit a0f78659f31abd)
Perttu Ahola [Sun, 6 Jul 2014 18:57:12 +0000 (21:57 +0300)]
Fix non-smooth non-shader node shading (Fixes #1436, regression by commit a0f78659f31abd)

10 years agoFix errors/warnings reported by valgrind
sfan5 [Sun, 6 Jul 2014 14:17:46 +0000 (16:17 +0200)]
Fix errors/warnings reported by valgrind

10 years agoFix memory leak in EmergeManager
PilzAdam [Sun, 6 Jul 2014 13:41:56 +0000 (15:41 +0200)]
Fix memory leak in EmergeManager

10 years agoFix warnings reported by clang
sfan5 [Sun, 6 Jul 2014 11:07:23 +0000 (13:07 +0200)]
Fix warnings reported by clang

10 years agoFix typos in doc/lua-api.txt
sfan5 [Sat, 5 Jul 2014 10:19:55 +0000 (12:19 +0200)]
Fix typos in doc/lua-api.txt

10 years agoRemove FPS from being next to the version string
Perttu Ahola [Sat, 5 Jul 2014 08:54:09 +0000 (11:54 +0300)]
Remove FPS from being next to the version string

10 years agoFix typo in doc/lua_api.txt
Kahrl [Fri, 4 Jul 2014 23:09:53 +0000 (01:09 +0200)]
Fix typo in doc/lua_api.txt

10 years agoFix memory leaks in GenericCAO, ShaderSource and Player classes
sapier [Wed, 2 Jul 2014 21:33:18 +0000 (23:33 +0200)]
Fix memory leaks in GenericCAO, ShaderSource and Player classes

10 years agoFix inversion of full_punch_interval
Novatux [Wed, 2 Jul 2014 14:48:11 +0000 (16:48 +0200)]
Fix inversion of full_punch_interval

10 years agoMove master server to seperate repository
ShadowNinja [Mon, 30 Jun 2014 21:08:22 +0000 (17:08 -0400)]
Move master server to seperate repository

10 years agoFix regression in light calculation
sapier [Mon, 30 Jun 2014 20:56:08 +0000 (22:56 +0200)]
Fix regression in light calculation

10 years agoFix serverlist code style, const-correctness, and types
ShadowNinja [Fri, 20 Jun 2014 04:59:39 +0000 (00:59 -0400)]
Fix serverlist code style, const-correctness, and types

10 years agoFix server list boolean typing and alignment
ShadowNinja [Fri, 20 Jun 2014 00:21:02 +0000 (20:21 -0400)]
Fix server list boolean typing and alignment

10 years agoAdd support for multipart/form-data to HTTPFetch for server announcing
ShadowNinja [Thu, 19 Jun 2014 20:00:22 +0000 (16:00 -0400)]
Add support for multipart/form-data to HTTPFetch for server announcing

10 years agoMasterserver: Fix compiling servers.jst
proller [Mon, 30 Jun 2014 16:47:50 +0000 (20:47 +0400)]
Masterserver: Fix compiling servers.jst

10 years agoAdd redis options to documentation
sfan5 [Sun, 29 Jun 2014 19:34:49 +0000 (21:34 +0200)]
Add redis options to documentation

10 years agoCopy zlib and freetype dll to windows package too
sapier [Sun, 29 Jun 2014 17:36:51 +0000 (19:36 +0200)]
Copy zlib and freetype dll to windows package too

10 years agoAdd support for Android 2.3+
sapier [Mon, 21 Apr 2014 12:10:59 +0000 (14:10 +0200)]
Add support for Android 2.3+

There have been plenty of ppl involved in creating this version.
I don't wanna mention names as I'm sure I'd forget someone so I
just tell where help has been done:
- The partial android versions done by various ppl
- Testing on different android devices
- reviewing code (especially the in core changes)
- testing controls
- reviewing texts

A big thank you to everyone helping this to be completed!

10 years agoDon't spam server console on player/playersao error but just drop the affected client
sapier [Sun, 29 Jun 2014 15:55:21 +0000 (17:55 +0200)]
Don't spam server console on player/playersao error but just drop the affected client

10 years agoGlasslike_framed drawtype rework.
RealBadAngel [Sun, 29 Jun 2014 08:41:49 +0000 (10:41 +0200)]
Glasslike_framed drawtype rework.

10 years agoOS X compatibility fixes
Martin Doege [Thu, 26 Jun 2014 18:30:22 +0000 (20:30 +0200)]
OS X compatibility fixes

10 years agoFix msvc2012 build
sapier [Sun, 29 Jun 2014 14:57:50 +0000 (16:57 +0200)]
Fix msvc2012 build

10 years agoAdd formspec api versioning
sapier [Wed, 25 Jun 2014 17:04:47 +0000 (19:04 +0200)]
Add formspec api versioning

10 years agoMake sure none of the irrlicht member objects of GenericCAO are deleted prior deletio...
sapier [Sun, 29 Jun 2014 09:57:01 +0000 (11:57 +0200)]
Make sure none of the irrlicht member objects of GenericCAO are deleted prior deletion of GenericCAO

10 years agoMake player files saving again
SmallJoker [Sat, 28 Jun 2014 15:01:15 +0000 (17:01 +0200)]
Make player files saving again

10 years agoMasterserver: Fix undefined players
proller [Sat, 28 Jun 2014 18:10:55 +0000 (22:10 +0400)]
Masterserver: Fix undefined players

10 years agoAdd prefixes to enum values and fix style issues
kwolekr [Sat, 28 Jun 2014 06:02:38 +0000 (02:02 -0400)]
Add prefixes to enum values and fix style issues

10 years agoMake GUITable mouse wheel scrolling faster
Kahrl [Fri, 27 Jun 2014 21:55:01 +0000 (23:55 +0200)]
Make GUITable mouse wheel scrolling faster

10 years agoFix GenericCAO fails to grabing member animated mesh node to prevent it do be deleted...
sapier [Fri, 27 Jun 2014 18:42:20 +0000 (20:42 +0200)]
Fix GenericCAO fails to grabing member animated mesh node to prevent it do be deleted to early

10 years agoFix wrong status text rectangle. Fix for #1412
RealBadAngel [Fri, 27 Jun 2014 18:16:37 +0000 (20:16 +0200)]
Fix wrong status text rectangle. Fix for #1412

10 years agoAdd separate download timeout to allow download of bigger files or on low bandwidth...
sapier [Sun, 15 Jun 2014 19:30:44 +0000 (21:30 +0200)]
Add separate download timeout to allow download of bigger files or on low bandwidth lines

10 years agoFix statement not set NULL on deletion
sapier [Wed, 25 Jun 2014 17:59:45 +0000 (19:59 +0200)]
Fix statement not set NULL on deletion
Make local only variables static

10 years agoAdd setting for tooltips show delay.
RealBadAngel [Wed, 25 Jun 2014 09:52:09 +0000 (11:52 +0200)]
Add setting for tooltips show delay.

10 years agoTooltips rework.
RealBadAngel [Tue, 24 Jun 2014 10:28:24 +0000 (12:28 +0200)]
Tooltips rework.
Separate element for tooltips. Delayed showing,
use global color or given ones.

10 years agoHandle missing tablecolumns[], fixes bug #1187
Kahrl [Mon, 23 Jun 2014 23:26:43 +0000 (01:26 +0200)]
Handle missing tablecolumns[], fixes bug #1187

10 years agoGUITable typo fixes in comments
Kahrl [Mon, 23 Jun 2014 23:06:24 +0000 (01:06 +0200)]
GUITable typo fixes in comments

10 years agoStore the maximum player file tries in a constant
ShadowNinja [Mon, 23 Jun 2014 19:55:47 +0000 (15:55 -0400)]
Store the maximum player file tries in a constant

10 years agoOnly try to load from possible player files
ShadowNinja [Sun, 1 Jun 2014 17:11:37 +0000 (13:11 -0400)]
Only try to load from possible player files

10 years agoOnly keep players loaded while they're connected
ShadowNinja [Fri, 30 May 2014 20:04:07 +0000 (16:04 -0400)]
Only keep players loaded while they're connected

10 years agoRemove confusing code block from SQLite3 database
ShadowNinja [Mon, 23 Jun 2014 19:27:54 +0000 (15:27 -0400)]
Remove confusing code block from SQLite3 database

10 years agoClear inventory before setting lists
ShadowNinja [Fri, 13 Jun 2014 21:07:42 +0000 (17:07 -0400)]
Clear inventory before setting lists

10 years agoFix Windows build
sfan5 [Mon, 23 Jun 2014 12:50:00 +0000 (14:50 +0200)]
Fix Windows build

10 years agoFix race condition on accessing m_time_of_day_speed causing day night race on some...
sapier [Sun, 22 Jun 2014 21:19:10 +0000 (23:19 +0200)]
Fix race condition on accessing m_time_of_day_speed causing day night race on some architectures

10 years agoRemove MapVoxelManipulator not really used by anyone
sapier [Mon, 9 Jun 2014 12:25:35 +0000 (14:25 +0200)]
Remove MapVoxelManipulator not really used by anyone

10 years agoRemove emerge and speedup addArea by using memcopy instead of one by one assignment
sapier [Mon, 9 Jun 2014 11:29:22 +0000 (13:29 +0200)]
Remove emerge and speedup addArea by using memcopy instead of one by one assignment

10 years agoMinor fix in check order
sapier [Sun, 8 Jun 2014 12:16:48 +0000 (14:16 +0200)]
Minor fix in check order

10 years agoDon't keep temporary images in RAM
sapier [Thu, 12 Jun 2014 20:41:57 +0000 (22:41 +0200)]
Don't keep temporary images in RAM

10 years agoAvoid doing a full material compare if not even first texture does match
sapier [Thu, 12 Jun 2014 20:33:50 +0000 (22:33 +0200)]
Avoid doing a full material compare if not even first texture does match

10 years agoSpeedup attachement handling by replacing vector search by direct array access and...
sapier [Sun, 8 Jun 2014 10:49:06 +0000 (12:49 +0200)]
Speedup attachement handling by replacing vector search by direct array access and secondary child lookup vector

10 years agoUse memset for flag initialization (compiler optimization is way better)
sapier [Sat, 7 Jun 2014 00:52:58 +0000 (02:52 +0200)]
Use memset for flag initialization (compiler optimization is way better)
use temp variables instead of recalculating array index

10 years agoSpeedup getTileInfo by up to 30%
sapier [Fri, 6 Jun 2014 23:52:07 +0000 (01:52 +0200)]
Speedup getTileInfo by up to 30%

10 years agoSpeedup getBlockNodeIdMapping by up to factor 4 by using a fixed size mapping array
sapier [Sun, 8 Jun 2014 15:25:52 +0000 (17:25 +0200)]
Speedup getBlockNodeIdMapping by up to factor 4 by using a fixed size mapping array

10 years agoFix menu crash due to lack of favourites list
sapier [Sun, 22 Jun 2014 12:00:57 +0000 (14:00 +0200)]
Fix menu crash due to lack of favourites list

10 years agoFix sqlite3 map shutdown fails due to missing to finalize list statement
sapier [Sun, 22 Jun 2014 00:31:24 +0000 (02:31 +0200)]
Fix sqlite3 map shutdown fails due to missing to finalize list statement
Add error output on fail to shutdown sqlite3 map db
Implement shutdown of sqlite3 rollback db

10 years agoSupport for scalable font and gui elements
sapier [Sat, 14 Jun 2014 09:22:09 +0000 (11:22 +0200)]
Support for scalable font and gui elements
Fix positioning of tabheader in order to be usable for scaling GUIs
WARNING: this changes position of current tabheaders, mods have to adjust!

10 years agoFix uncought deserialization error on receiving data
sapier [Sat, 21 Jun 2014 22:05:41 +0000 (00:05 +0200)]
Fix uncought deserialization error on receiving data

10 years agoFix server assert in case of invalid message from client, just kick that client.
sapier [Sat, 21 Jun 2014 21:56:46 +0000 (23:56 +0200)]
Fix server assert in case of invalid message from client, just kick that client.

10 years agoDon't handle lack of IPv6 as fatal in unit tests
sapier [Fri, 20 Jun 2014 20:35:50 +0000 (22:35 +0200)]
Don't handle lack of IPv6 as fatal in unit tests

10 years agoFix labels and vertlabels on some systems.
RealBadAngel [Fri, 20 Jun 2014 19:30:48 +0000 (21:30 +0200)]
Fix labels and vertlabels on some systems.

10 years agoFix small memory leaks on shutdown
sapier [Fri, 20 Jun 2014 17:50:47 +0000 (19:50 +0200)]
Fix small memory leaks on shutdown

10 years agoFix build on big endian architectures.
Matthew Bekkema [Fri, 20 Jun 2014 07:33:28 +0000 (17:33 +1000)]
Fix build on big endian architectures.

10 years agoFix chat overlaying full screen, now it's gonna overlay only up to length of longest...
sapier [Fri, 20 Jun 2014 13:18:45 +0000 (15:18 +0200)]
Fix chat overlaying full screen, now it's gonna overlay only up to length of longest line